]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Add per-thread cache to malloc
[thirdparty/glibc.git] / ChangeLog
1 2017-07-06 DJ Delorie <dj@delorie.com>
2
3 * config.make.in: Enable experimental malloc option.
4 * configure.ac: Likewise.
5 * configure: Regenerate.
6 * manual/install.texi: Document it.
7 * INSTALL: Regenerate.
8 * malloc/Makefile: Likewise.
9 * malloc/malloc.c: Add per-thread cache (tcache).
10 (tcache_put): New.
11 (tcache_get): New.
12 (tcache_thread_freeres): New.
13 (tcache_init): New.
14 (__libc_malloc): Use cached chunks if available.
15 (__libc_free): Initialize tcache if needed.
16 (__libc_realloc): Likewise.
17 (__libc_calloc): Likewise.
18 (_int_malloc): Prefill tcache when appropriate.
19 (_int_free): Likewise.
20 (do_set_tcache_max): New.
21 (do_set_tcache_count): New.
22 (do_set_tcache_unsorted_limit): New.
23 * manual/probes.texi: Document new probes.
24 * malloc/arena.c: Add new tcache tunables.
25 * elf/dl-tunables.list: Likewise.
26 * manual/tunables.texi: Document them.
27 * NEWS: Mention the per-thread cache.
28
29 2017-07-06 Joseph Myers <joseph@codesourcery.com>
30
31 * iconvdata/tst-loading.c (TIMEOUT): Define to 30.
32 * misc/tst-tsearch.c (TIMEOUT): Remove.
33 * nptl/tst-create-detached.c (TIMEOUT): Define to 100.
34 * nptl/tst-robust-fork.c (TIMEOUT): Likewise.
35 * nptl/tst-rwlock19.c (TIMEOUT): Likewise.
36 * string/tst-cmp.c (TIMEOUT): Define to 600.
37
38 2017-07-06 Matthew Krupcale <mkrupcale@matthewkrupcale.com>
39
40 [BZ #21715]
41 * sysdeps/nptl/bits/pthreadtypes.h (__have_pthread_attr_t): Fix typo
42 on definition.
43
44 2017-07-06 Florian Weimer <fweimer@redhat.com>
45 H.J. Lu <hongjiu.lu@intel.com>
46
47 [BZ #21609]
48 * sysdeps/x86_64/Makefile (sysdep-dl-routines): Add tls_get_addr.
49 (gen-as-const-headers): Add rtld-offsets.sym.
50 * sysdeps/x86_64/dl-tls.c: New file.
51 * sysdeps/x86_64/rtld-offsets.sym: Likwise.
52 * sysdeps/x86_64/tls_get_addr.S: Likewise.
53 * sysdeps/x86_64/dl-tls.h: Add multiple inclusion guards.
54 * sysdeps/x86_64/tlsdesc.sym (TI_MODULE_OFFSET): New.
55 (TI_OFFSET_OFFSET): Likwise.
56
57 2017-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
58
59 [BZ# 21697]
60 * sysdeps/posix/spawni.c (__spawni_child): Fix return value.
61
62 2017-07-05 Florian Weimer <fweimer@redhat.com>
63
64 * resolv/Makefile (tests-internal): Add tst-resolv-threads.
65 (tst-resolv-threads): Link with -ldl, -lresolv, -lpthread.
66 * resolv/tst-resolv-threads.c: New file.
67
68 2017-07-05 Florian Weimer <fweimer@redhat.com>
69
70 support: Add resolver testing mode which does not patch _res.
71 * support/resolv_test.h (struct resolv_redirect_config): Add
72 disable_redirect, server_address_overrides.
73 * support/resolv_test.c (make_server_sockets_for_address): New
74 function.
75 (resolv_test_start): Call it.
76
77 2017-07-05 Florian Weimer <fweimer@redhat.com>
78
79 * support/namespace.h (struct support_chroot_configuration)
80 (struct support_chroot): Define.
81 (support_chroot_create, support_chroot_free): New functions.
82 * support/support_chroot.c: New file.
83 * support/Makefile (libsupport-routines): Add support_chroot.
84 * resolv/tst-resolv-res_init-skeleton.c (path_chroot)
85 (path_resolv_conf): Remove definitions.
86 (chroot_env): New variable.
87 (prepare): Call support_chroot_create.
88 (check_chroot_working, setup_nss_dns_and_chroot, run_res_init)
89 (special_test_callback, do_test): Likewise.
90
91 2017-07-05 Florian Weimer <fweimer@redhat.com>
92
93 Add subtest to check isolation of multiple loopback addresses.
94 * support/tst-support-namespace.c (test_localhost_bind): New function.
95 (do_test): Call it.
96
97 2017-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
98
99 * libio/libio.h (_IO_FLAGS2_NEED_LOCK, _IO_need_lock): Define.
100 * libio/libioP.h (_IO_enable_locks): Declare.
101 * libio/Versions (_IO_enable_locks): New symbol.
102 * libio/genops.c (_IO_enable_locks): Define.
103 (_IO_old_init): Initialize flags2.
104 * libio/feof.c.c (_IO_feof): Avoid locking when not needed.
105 * libio/ferror.c (_IO_ferror): Likewise.
106 * libio/fputc.c (fputc): Likewise.
107 * libio/putc.c (_IO_putc): Likewise.
108 * libio/getc.c (_IO_getc): Likewise.
109 * libio/getchar.c (getchar): Likewise.
110 * libio/ioungetc.c (_IO_ungetc): Likewise.
111 * nptl/pthread_create.c (__pthread_create_2_1): Enable stdio locks.
112 * libio/iofopncook.c (_IO_fopencookie): Enable locking for the file.
113 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
114
115 2017-07-04 Florian Weimer <fweimer@redhat.com>
116
117 [BZ #21542]
118 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Default to
119 two if no accurate information is available.
120 * posix/tst-sysconf-empty-chroot.c: New file.
121 * posix/Makefile (tests): Add it.
122
123 2017-07-04 Florian Weimer <fweimer@redhat.com>
124
125 * resolv/resolv_conf.c (resolv_conf_matches): Tighten check for name
126 server and sort list counts. Fix improper check for empty search
127 path (completely missing domain name) leading to assertion failure
128 in update_from_conf.
129 * resolv/tst-resolv-res_init-skeleton.c (struct test_case): Add
130 hostname member.
131 (run_res_init): Set host name if requested.
132 (test_cases): Update.
133
134 2017-07-04 Joseph Myers <joseph@codesourcery.com>
135
136 * scripts/build-many-glibcs.py (Context.checkout): Default
137 binutils version to 2.29 branch, GMP version to 6.1.2 and Linux
138 kernel version to 4.12.
139
140 2017-07-04 Florian Weimer <fweimer@redhat.com>
141
142 * resolv/resolv_conf.c (struct resolv_conf_global): Clarify free
143 list management and the role of free_list_start.
144 (decrement_at_index): Put zero at the end of the free list.
145 (__resolv_conf_attach): Fix bogus assert.
146 * resolv/Makefile (tests): Add tst-resolv-res_init-multi.
147 (tst-resolv-res_init-multi): Link with -lresolv, -lpthread.
148
149 2017-07-03 Florian Weimer <fweimer@redhat.com>
150
151 resolv: Introduce free list for resolv_conf index slosts.
152 * resolv/resolv_conf.c (struct resolv_conf_array): Change element
153 type to uintptr_t.
154 (struct resolv_conf_global): Add free_list_start member.
155 (resolv_conf_get_1): Check for free list entry.
156 (decrement_at_index): Put freed slot on the free list.
157 (__resolv_conf_attach): Obtain new slot from the free list.
158 * resolv/tst-resolv-res_ninit.c: New file.
159 * resolv/Makefile (tests-internal): Add tst-resolv-res_ninit.
160 (tests-special): Add mtrace-tst-resolv-res_ninit.out.
161 (generated): Add mtrace-tst-resolv-res_ninit.out,
162 tst-resolv-res_ninit.mtrace.
163 (mtrace-tst-resolv-res_ninit.out): Add target.
164
165 2017-06-30 Florian Weimer <fweimer@redhat.com>
166
167 [BZ #984]
168 Reload /etc/resolv.conf if has been changed on disk.
169 * resolv/resolv_conf.h (resolv_conf): Remove initstamp member.
170 (__resolv_conf_load, __resolv_conf_get_current): Declare.
171 * resolv/resolv_conf.c (struct resolv_conf_global): Add
172 conf_current, conf_mtime, conf_ctime, conf_size, conf_ino members.
173 (__resolv_conf_get_current): New function.
174 (__resolv_conf_allocate): Do not initialize initstamp.
175 (freeres): Deallocate global->conf_current.
176 * resolv/resolv.h (RES_NORELOAD): Define.
177 * resolv/res_debug.c (p_option): Add RES_NORELOAD.
178 * resolv/resolv-internal.h (__res_initstamp): Remove declaration.
179 * resolv/resolv_context.c (replicated_configuration_matches): New.
180 (maybe_init): Call it. Use __resolv_conf_get_current to obtain
181 the current configration.
182 * resolv/res_init.c (__res_initstamp): Remove variable definition.
183 (has_preinit_values): New function.
184 (__resolv_conf_load): Renamed from __res_vinit. Drop res_state
185 parameter and do not call __resolv_conf_attach.
186 (__res_vinit): Reimplement based __resolv_conf_load.
187 (res_options): Handle no-reload.
188 * resolv/res_libc.c (atomicinclock, atomicincunlock, atomicinc)
189 (lock): Remove.
190 (res_int): Do not update __res_initstamp.
191 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Handle
192 RES_NORELOAD.
193 (test_cases): Test no-reload.
194 (special_test_call_res_init): Remove.
195 (special_test_callback): Rely on automated reloading. Add tests
196 for no-reload.
197
198 2017-06-30 Florian Weimer <fweimer@redhat.com>
199
200 Mirror the entire resolver configuration in struct resolv_conf.
201 * resolv/resolv_context.h (__resolv_context_nameserver_count)
202 (__resolv_context_nameserver): New functions.
203 (__resolv_context_sort_count, __resolv_context_sort_entry):
204 Likewise.
205 * resolv/nss_dns/dns-host.c (getanswer_r): Add struct
206 resolv_context parameter.
207 (gethostbyname3_context, _nss_dns_gethostbyaddr2_r): Adjust.
208 (addrsort): Switch to struct resolv_context.
209 * resolv/resolv_conf.h (struct resolv_sortlist_entry): Define.
210 (struct resolv_conf): Add nameserver_list, nameserver_list_size,
211 sort_list, sort_list_size, options, retrans, retry, ndots members.
212 * resolv/resolv_conf.c (same_address_v4, same_address_v6)
213 (same_address): New functions.
214 (resolv_conf_matches): Compare the new array members.
215 (__resolv_conf_allocate): Allocate and copy the new array members.
216 (update_from_conf): Copy the entire configuration.
217 * resolv/res_init.c (struct nameserver_list, struct sort_list):
218 Define using dynarray.
219 (struct resolv_conf_parser): Add nameserver_list, sort_list,
220 template members.
221 (resolv_conf_parser_init): Add preinit argument. Initialize the
222 new members.
223 (resolv_conf_parser_free): Deallocate the new arrays.
224 (allocate_address_v4): New function.
225 (res_setoptions): Switch to struct resolv_conf_parser * parameter.
226 (res_vinit_1): Drop res_state parameter. Write all parsed date to
227 the parser object instead. Use allocate_address_v4 to allocate
228 IPv4 addresses.
229 (__res_vinit): Adjust.
230 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print the
231 extended name server list.
232 (test_cases): Adjust.
233
234 2017-06-30 Florian Weimer <fweimer@redhat.com>
235
236 [BZ #19569]
237 [BZ #21475]
238 Support an arbitrary number of search domains.
239 * resolv/resolv_context.h (__resolv_context_search_list): New.
240 * resolv/resolv_conf.h (struct resolv_conf): Add search_list,
241 search_list_size members.
242 * resolv/resolv_conf.c (resolv_conf_matches): Compare search list.
243 (__resolv_conf_allocate): Allocate and and copy search list.
244 (update_from_conf): Copy the search list.
245 * resolv/res_init.c (struct search_list): Define using dynarray.
246 (struct resolv_conf_parser): Define.
247 (resolv_conf_parser_init, resolv_conf_parser_free)
248 (domain_from_hostname): New functions.
249 (res_vinit_1): Add struct resolv_conf_parser * parameter. Use
250 struct search_list to collect search list entries. Call
251 domain_from_hostname to obtain the fallback domain name.
252 (__res_vinit): Create and destroy parser object. Pass search list
253 to __resolv_conf_allocate.
254 * resolv/res_query.c (__res_context_search): Use
255 __resolv_context_search_list to obtain search list entries.
256 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print data
257 from extended resolver context.
258 (test_cases): Update.
259
260 2017-06-30 Florian Weimer <fweimer@redhat.com>
261
262 Add extended resolver state/configuration (struct resolv_conf).
263 * resolv/resolv_conf.h, resolv/resolv_conf.c: New files.
264 * resolv/res-close.c (__res_iclose): Call __resolv_conf_detach.
265 * resolv/res_init.c (res_vinit_1): Do not initialize initstamp.
266 (__res_vinit): Call __resolv_conf_allocate and
267 __resolv_conf_attach.
268 * resolv/resolv_context.h (struct resolv_context): Add conf member
269 of type struct resolv_conf.
270 * resolv/resolv_context.c (maybe_init): Get initstamp from struct
271 resolv_conf. Update conf member after initialization.
272 * resolv/Makefile (routines): Add resolv_conf.
273 * resolv/bits/types/res_state.h [_LIBC] (struct __res_state):
274 Rename _u._ext.initstamp to _u._ext.__glibc_extension_index.
275 [!_LIBC] (struct __res_state): Rename _u._ext._initstamp to
276 _u._ext.__glibc_reserved.
277
278 2017-06-30 Florian Weimer <fweimer@redhat.com>
279
280 [BZ #21668]
281 Introduce temporary resolver contexts (struct resolv_conf).
282 * resolv/resolv-internal.h (__res_context_mkquery)
283 (__res_context_searchl __res_context_query, __res_context_send)
284 (__res_context_hostalias): Declare.
285 (__res_nopt): Switch to struct resolv_context.
286 * resolv/res_use_inet6.h: New file.
287 * resolv/resolv_context.h: Likewise.
288 * resolv/resolv_context.c: Likewise.
289 * resolv/compat-gethnamaddr.c (res_gethostbyname2_context):
290 Renamed from res_gethostbyname2. Use struct resolv_context.
291 (res_gethostbyname2): New function. Implement using
292 res_gethostbyname2_context.
293 (res_gethostbyaddr_context): Renamed from res_gethostbyaddr. Use
294 struct resolv_context.
295 (res_gethostbyaddr): New function. Implement using
296 res_gethostbyaddr_context.
297 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Use struct
298 resolv_context.
299 * resolv/nss_dns/dns-host.c (gethostbyname3_context): Renamed from
300 _nss_dns_gethostbyname3_r. Use struct resolv_context.
301 (_nss_dns_gethostbyname3_r): Implement using gethostbyname3_context.
302 (_nss_dns_gethostbyname_r, _nss_dns_gethostbyname4_r): Likewise.
303 (_nss_dns_gethostbyaddr2_r): Use struct resolv_context.
304 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r)
305 (_nss_dns_getnetbyaddr_r): Likewise.
306 * resolv/res-close.c (res_thread_freeres): Call
307 __resolv_context_freeres.
308 * resolv/res_libc.c (__res_maybe_init): Remove function. Moved to
309 maybe_init in resolv/resolv_context.c.
310 * resolv/res_mkquery.c (__res_context_mkquery): Rename from
311 res_nmkquery. Use struct resolv_context.
312 (context_mkquery_common): New function.
313 (res_nmkquery, res_mkquery): Use it.
314 (res_nopt): Switch to struct resolv_context.
315 * resolv/res_query.c (__res_context_querydomain): Renamed from
316 __libc_res_nquerydomain. Use struct resolv_context.
317 (__res_context_query): Renamed from __libc_res_nquery. Use struct
318 resolv_context.
319 (context_query_common): New function.
320 (res_nquery, res_query): Use it.
321 (__res_context_search): Renamed from __libc_res_nsearch. Use
322 struct resolv_context.
323 (context_search_common): New function.
324 (res_nsearch, res_search): Use it.
325 (__res_context_querydomain): Rename from __libc_res_nquerydomain.
326 Use struct resolv_context.
327 (context_querydomain_common): New function.
328 (res_nquerydomain, res_querydomain): Use it.
329 (__res_context_hostalias): Rename from res_hostalias. Use struct
330 resolv_context.
331 (context_hostalias_common): New function.
332 (res_hostalias, hostalias): Use it.
333 * resolv/res_send.c (__res_context_send): Renamed from
334 __libc_res_nsend. Use struct resolv_context.
335 (context_send_common): New function.
336 (res_nsend, res_send): Use it.
337 * resolv/Makefile (routines): Add resolv_context.
338 * resolv/Versions (libc): Export __resolv_context_get,
339 __resolv_context_get_preinit, __resolv_context_get_override,
340 __resolv_context_put. Remove __res_maybe_init.
341 (libresolv): Export __res_context_query, __res_context_search,
342 __res_context_hostalias. Remove __libc_res_nquery,
343 __libc_res_nsearch.
344 * include/resolv.h (__res_maybe_init, __libc_res_nquery)
345 (__libc_res_nsearch, __libc_res_nsend): Remove declaration.
346 (__hostalias, __res_nmkquery, __res_nquery, __res_nquerydomain)
347 (__res_hostalias, __res_nsearch, __res_nsend): Remove hidden
348 prototypes.
349 * nss/nsswitch.h (__nss_hostname_digits_dots_context): Declare.
350 * nss/digits_dots.c (__nss_hostname_digits_dots_context): Renamed
351 from __nss_hostname_digits_dots. Use struct resolv_context.
352 (__nss_hostname_digits_dots): New function.
353 * nss/getXXbyYY.c [HANDLE_DIGITS_DOTS] (FUNCTION_NAME): Acquire
354 struct resolv_context object. Call new function
355 __nss_hostname_digits_dots_context.
356 * nss/getXXbyYY_r.c (REENTRANT_NAME): Use struct resolv_context.
357 * nss/getnssent_r.c (__nss_setent): Likewise.
358 * nscd/aicache.c (addhstaiX): Use struct resolv_context,
359 __resolv_context_disable_inet6 and __resolv_context_enable_inet6
360 instead of direct _res manipulation.
361 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Likewise.
362
363 2017-07-03 Florian Weimer <fweimer@redhat.com>
364
365 * resolv/tst-resolv-res_init-skeleton.c
366 (special_tests_count, special_test_call_res_init)
367 (special_test_callback, special_test_thread_func)
368 (run_special_test_on_thread, special_test): Define.
369 (do_test): call special_test.
370 (test_init_names): Fix typo.
371
372 2017-07-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
373
374 * sysdeps/powerpc/powerpc64/power8/strlen.S: Remove unreachable code.
375 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
376
377 2017-07-01 Florian Weimer <fweimer@redhat.com>
378 H.J. Lu <hongjiu.lu@intel.com>
379
380 [BZ #21696]
381 * posix/sched_cpucount.c: Don't include <limits.h>.
382 (__sched_cpucount): Use __builtin_popcount.
383
384 2017-07-01 Ramana Radhakrishnan <ramana.gcc@googlemail.com>
385
386 * sysdeps/unix/sysv/aarch64/cpu-features.c (init_cpu_features):
387 Fix typo.
388
389 2017-06-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
390
391 * include/math.h (__signbitf128): Define as hidden.
392 * sysdeps/ieee754/float128/s_signbitf128.c (__signbitf128):
393 Reimplement without builtins.
394 * sysdeps/ia64/bits/floatn.h [!__GNUC_PREREQ (6, 0)]
395 (__builtin_signbitf128): Define to __signbitf128.
396 * sysdeps/powerpc/bits/floatn.h: Likewise.
397 * sysdeps/x86/bits/floatn.h: Likewise.
398
399 2017-06-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
400
401 * sysdeps/unix/sysv/linux/arm/fcntl.c: Remove file.
402 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
403 * sysdeps/unix/sysv/linux/hppa/fcntl.c: Likewise.
404 * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
405 * sysdeps/unix/sysv/linux/m68k/fcntl.c: Likewise.
406 * sysdeps/unix/sysv/linux/microblaze/fcntl.c: Likewise.
407 * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: Likewise.
408 * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise.
409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: Likewise.
410 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: Likewise.
411 * sysdeps/unix/sysv/linux/sh/fcntl.c: Likewise.
412 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: Likewise.
413 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Rename to
414 fcntl_common and add check for F_GETOWN.
415 (__libc_fcntl): Use SYSCALL_CANCEL macro.
416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Refactor to
417 use default implementation.
418
419 2017-06-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
420
421 * elf/dl-tunables.h (tunable_is_name): Move from...
422 * elf/dl-tunables.c (is_name): ... here.
423 (parse_tunables, __tunables_init): Adjust.
424 * manual/tunables.texi: Document glibc.tune.cpu.
425 * sysdeps/aarch64/dl-tunables.list: New file.
426 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (struct
427 cpu_list): New type.
428 (cpu_list): New list of CPU names and their MIDR.
429 (get_midr_from_mcpu): New function.
430 (init_cpu_features): Override MIDR if necessary.
431
432 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
433 (__libc_ifunc_impl_list): Unconditionally select thunderx
434 routine for testing.
435
436 2017-06-30 H.J. Lu <hongjiu.lu@intel.com>
437
438 [BZ #21120]
439 * malloc/malloc-internal.h (MALLOC_ALIGNMENT): Moved to ...
440 * sysdeps/generic/malloc-alignment.h: Here. New file.
441 * sysdeps/i386/malloc-alignment.h: Likewise.
442 * sysdeps/generic/malloc-machine.h: Include <malloc-alignment.h>.
443
444 2017-06-30 Florian Weimer <fweimer@redhat.com>
445
446 * resolv/tst-resolv-res_init-skeleton.c (test_init_names): New
447 variable.
448 (test_file_contents): Use it.
449
450 2017-06-30 Florian Weimer <fweimer@redhat.com>
451
452 * resolv/res_init.c (res_setoptions): Remove source argument.
453 (res_vinit_1): Adjust.
454
455 2017-06-30 Florian Weimer <fweimer@redhat.com>
456
457 * resolv/res_query.c (DEBUG): Remove preprocessor conditional.
458
459 2017-06-30 Florian Weimer <fweimer@redhat.com>
460
461 * resolv/res_data.c: Reformat to GNU style.
462 (res_close): Update comments.
463
464 2017-06-30 Florian Weimer <fweimer@redhat.com>
465
466 * resolv/res_data.c (res_query, res_search, res_querydomain)
467 (hostalias): Move to ...
468 * resolv/res_Send.c (res_query, res_search, res_querydomain)
469 (hostalias): here.
470
471 2017-06-30 Florian Weimer <fweimer@redhat.com>
472
473 * resolv/res_data.c (res_isourserver, res_send): Move to ...
474 * resolv/res_send.c (res_isourserver, res_send): here.
475
476 2017-06-30 Florian Weimer <fweimer@redhat.com>
477
478 * resolv/res_debug.c (_res_opcodes): Rename ...
479 (res_opcodes): ... as compatibility symbol.
480 (fp_nquery): Use res_opcodes.
481 * include/resolv.h (_res_opcodes): Remove declaration.
482
483 2017-06-30 Florian Weimer <fweimer@redhat.com>
484
485 * include/resolv.h (res_pquery): Remove declaration.
486 * resolv/res_data.c (fp_nquery, fp_query, p_query): Remove
487 functions.
488 (_res_opcodes): Remove variable.
489 * resolv/res_debug.c (do_section): Receive pfcode instead of
490 statp.
491 (res_pquery): Rename ...
492 (fp_nquery): to this function. Skip unnecessary _res
493 initialization.
494 (fp_query, p_query, _res_opcodes): Copied from resolv/res_data.c.
495
496 2017-06-30 Florian Weimer <fweimer@redhat.com>
497
498 * resolv/res_debug.h: Remove file.
499 * resolv/README: Adjust.
500
501 2017-06-30 Florian Weimer <fweimer@redhat.com>
502
503 * resolv/res_end.c (DEBUG): Remove macro and preprocessor
504 conditionals.
505 (Aerror, Perror): Remove function definitions.
506
507 2017-06-30 Florian Weimer <fweimer@redhat.com>
508
509 * resolv/res_data.c (res_mkquery): Move ...
510 * resolv/res_mkquery.c (res_mkquery): to here.
511
512 2017-06-30 Florian Weimer <fweimer@redhat.com>
513
514 * resolv/res_mkquery.c: Reformat to GNU style.
515 (T_OPT): Remove definition. It is present in the header file.
516
517 2017-06-30 Florian Weimer <fweimer@redhat.com>
518
519 * resolv/res_mkquery.c (DEBUG): Remove macro and preprocessor
520 conditionals.
521
522 2017-06-30 Florian Weimer <fweimer@redhat.com>
523
524 * support/support_capture_subprocess_check.c
525 (support_capture_subprocess_check): Report actual exit status.
526
527 2017-06-30 Florian Weimer <fweimer@redhat.com>
528
529 [BZ #19570]
530 * resolv/res_send.c (nameserver_offset): New function.
531 (__libc_res_nsend): Use it to implement RES_ROTATE.
532 (get_nsaddr): Add assert with name server
533 range check.
534 * resolv/Makefile (xtests): Add tst-resolv-rotate.
535 (tst-resolv-rotate): Link against libpthread.
536 * resolv/tst-resolv-rotate.c: New file.
537
538 2017-06-29 Joseph Myers <joseph@codesourcery.com>
539
540 [BZ #21457]
541 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (__ctx): New macro.
542 [__WORDSIZE == 64] (MC_TSTATE): Define only for [__USE_MISC].
543 [__WORDSIZE == 64] (MC_PC): Likewise.
544 [__WORDSIZE == 64] (MC_NPC): Likewise.
545 [__WORDSIZE == 64] (MC_Y): Likewise.
546 [__WORDSIZE == 64] (MC_G1): Likewise.
547 [__WORDSIZE == 64] (MC_G2): Likewise.
548 [__WORDSIZE == 64] (MC_G3): Likewise.
549 [__WORDSIZE == 64] (MC_G4): Likewise.
550 [__WORDSIZE == 64] (MC_G5): Likewise.
551 [__WORDSIZE == 64] (MC_G6): Likewise.
552 [__WORDSIZE == 64] (MC_G7): Likewise.
553 [__WORDSIZE == 64] (MC_O0): Likewise.
554 [__WORDSIZE == 64] (MC_O1): Likewise.
555 [__WORDSIZE == 64] (MC_O2): Likewise.
556 [__WORDSIZE == 64] (MC_O3): Likewise.
557 [__WORDSIZE == 64] (MC_O4): Likewise.
558 [__WORDSIZE == 64] (MC_O5): Likewise.
559 [__WORDSIZE == 64] (MC_O6): Likewise.
560 [__WORDSIZE == 64] (MC_O7): Likewise.
561 [__WORDSIZE == 64] (MC_NGREG): Rename to __MC_NGREG and define to
562 __MC_NGREG if [__USE_MISC].
563 [__WORDSIZE == 64] (MC_MAXFPQ): Define only for [__USE_MISC].
564 [__WORDSIZE == 64] (mc_gregset_t): Define using __MC_NGREG.
565 [__WORDSIZE == 64] (struct mc_fq): Rename to struct __mc_fq.
566 Define fields using __ctx.
567 [__WORDSIZE == 64] (mc_fpu_t): Remove struct tag. Define fields
568 using __ctx.
569 [__WORDSIZE == 64] (mcontext_t): Define fields using __ctx.
570 (REG_PSR): Define only for [__USE_MISC].
571 (REG_PC): Likewise.
572 (REG_nPC): Likewise.
573 (REG_Y): Likewise.
574 (REG_G1): Likewise.
575 (REG_G2): Likewise.
576 (REG_G3): Likewise.
577 (REG_G4): Likewise.
578 (REG_G5): Likewise.
579 (REG_G6): Likewise.
580 (REG_G7): Likewise.
581 (REG_O0): Likewise.
582 (REG_O1): Likewise.
583 (REG_O2): Likewise.
584 (REG_O3): Likewise.
585 (REG_O4): Likewise.
586 (REG_O5): Likewise.
587 (REG_O6): Likewise.
588 (REG_O7): Likewise.
589 [__WORDSIZE == 64] (REG_ASI): Define only for [__USE_MISC].
590 [__WORDSIZE == 64] (REG_FPRS): Likewise.
591 (NGREG): Rename to __NGREG and define to __NGREG if [__USE_MISC].
592 (gregset_t): Define using __NGREG.
593 (SPARC_MAXREGWINDOW): Rename to __SPARC_MAXREGWINDOW and define to
594 __SPARC_MAXREGWINDOW if [__USE_MISC].
595 (struct rwindow): Rename to struct __rwindow. Define fields using
596 __ctx.
597 (rw_fp): Define only for [__USE_MISC].
598 (rw_rtn): Likewise.
599 (gwindows_t): Remove struct tag. Define fields using __ctx and
600 __SPARC_MAXREGWINDOW.
601 (MAXFPQ): Define only for [__USE_MISC].
602 (struct fpq): Rename to struct __fpq. Define fields using __ctx.
603 (struct fq): Rename to struct __fq. Define fields using __ctx.
604 (FPU_REGS_TYPE): Define only for [__USE_MISC].
605 (FPU_DREGS_TYPE): Likewise.
606 (V7_FPU_FSR_TYPE): Likewise.
607 (V9_FPU_FSR_TYPE): Likewise.
608 (V9_FPU_FPRS_TYPE): Likewise.
609 [__WORDSIZE == 64] (fpregset_t): Remove struct tag. Define fields
610 using __ctx.
611 [__WORDSIZE != 64] (fpregset_t): Likewise.
612 [__WORDSIZE != 64] (xrs_t): Define fields using __ctx.
613 [__WORDSIZE != 64] (XRS_ID): Define only for [__USE_MISC].
614 [__WORDSIZE != 64] (mcontext_t): Define fields using __ctx.
615 Rename field filler to __glibc_reserved1.
616 * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym
617 (MC_FILLER): Remove.
618
619 2017-06-29 Florian Weimer <fweimer@redhat.com>
620
621 * stdio-common/tst-vfprintf-user-type.c (my_printf_function):
622 Adjust format string.
623 * stdio-common/Makefile (tst-vfprintf-mbs-prec.out): Add locale
624 dependency.
625
626 2017-06-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
627
628 * sysdeps/posix/spawni.c (__spawni_child): New function.
629 (__spawni): Rename to __spawnix.
630
631 2017-06-29 Florian Weimer <fweimer@redhat.com>
632
633 * stdio-common/vfprintf.c (group_number): Add front_ptr argument.
634 Use it to make the temporary copy at the start of the work buffer.
635 (process_arg): Adjust call to group_number.
636
637 2017-06-29 Florian Weimer <fweimer@redhat.com>
638
639 * stdio-common/vfprintf.c (printf_positional): Use struct
640 scratch_buffer to allocate backing storage for the args_value,
641 args_size, args_type arrays.
642
643 2017-06-29 Florian Weimer <fweimer@redhat.com>
644
645 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Use struct
646 scratch_buffer.
647
648 2017-06-29 Florian Weimer <fweimer@redhat.com>
649
650 * stdio-common/vfprintf.c (WORK_BUFFER_SIZE): Reduce size for
651 wchar_t builds.
652
653 2017-06-29 Florian Weimer <fweimer@redhat.com>
654
655 * stdio-common/tst-vfprintf-mbs-prec.c: New file.
656 * stdio-common/Makefile (tests): Add tst-vfprintf-mbs-prec.
657
658 2017-06-29 Florian Weimer <fweimer@redhat.com>
659
660 * stdio-common/tst-vfprintf-user-type.c: New file.
661 * stdio-common/Makefile (tests): Add tst-vfprintf-user-type.
662
663 2017-06-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
664
665 * posix/tst-spawn2.c (do_test): Use libsupport.
666 * posix/tst-spawn3.c (do_test): Likewise.
667
668 2017-06-28 Joseph Myers <joseph@codesourcery.com>
669
670 * math/gen-tgmath-tests.py (Tests.__init__): Define
671 __STDC_WANT_IEC_60559_TYPES_EXT__ at start of generated file.
672
673 * math/tgmath.h: Include <bits/libc-header-start.h> and
674 <bits/floatn.h>.
675 (__TGMATH_F128): New macro.
676 (__TGMATH_CF128): Likewise.
677 (__TGMATH_UNARY_REAL_ONLY): Use __TGMATH_F128.
678 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
679 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
680 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): New macro.
681 (__TGMATH_BINARY_REAL_ONLY): Use __TGMATH_F128.
682 (__TGMATH_BINARY_REAL_STD_ONLY): New macro.
683 (__TGMATH_BINARY_REAL_RET_ONLY): Use __TGMATH_F128.
684 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
685 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
686 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
687 (__TGMATH_UNARY_REAL_IMAG): Use __TGMATH_CF128.
688 (__TGMATH_UNARY_IMAG): Use __TGMATH_F128.
689 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __TGMATH_CF128.
690 (__TGMATH_BINARY_REAL_IMAG): Likewise.
691 (nexttoward): Use __TGMATH_BINARY_FIRST_REAL_STD_ONLY.
692 [__USE_MISC] (scalb): Use __TGMATH_BINARY_REAL_STD_ONLY.
693 * math/gen-tgmath-tests.py (Type.init_types): Enable _FloatN and
694 _FloatNx types if the corresponding HUGE_VAL macros are defined.
695
696 * math/tgmath.h [__USE_GNU] (log10): Use clog10 not __clog10.
697 * math/gen-tgmath-tests.py (Tests.add_all_tests): Test log10 for
698 complex arguments.
699
700 [BZ #21687]
701 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): New macro.
702 (totalorder): Use it.
703 (totalordermag): Likewise.
704 * math/gen-tgmath-tests.py (Tests.add_all_tests): Enable tests of
705 totalorder and totalordermag.
706 * math/test-tgmath.c (F(compile_test)): Do not call totalorder or
707 totalordermag in arguments of calls to those functions.
708 (NCALLS): Change to 134.
709
710 * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): Do not take or
711 cast to return type argument.
712 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
713 (lrint): Update call to __TGMATH_UNARY_REAL_RET_ONLY.
714 (llrint): Likewise.
715 (lround): Likewise.
716 (llround): Likewise.
717 (ilogb): Likewise.
718 (llogb): Likewise.
719 (fromfp): Update call to __TGMATH_TERNARY_FIRST_REAL_RET_ONLY.
720 (ufromfp): Likewise.
721 (fromfpx): Likewise.
722 (ufromfpx): Likewise.
723
724 [BZ #21607]
725 * math/basic-test.c [!NO_LONG_DOUBLE]: Change conditionals to
726 [LDBL_MANT_DIG > DBL_MANT_DIG].
727 * math/bug-nextafter.c [!NO_LONG_DOUBLE]: Remove conditionals.
728 * math/bug-nexttoward.c [!NO_LONG_DOUBLE]: Likewise.
729 * math/test-math-isinff.cc [!NO_LONG_DOUBLE]: Likewise.
730 * math/test-math-iszero.cc [!NO_LONG_DOUBLE]: Likewise.
731 * math/test-nan-overflow.c [!NO_LONG_DOUBLE]: Likewise.
732 * math/test-nan-payload.c [!NO_LONG_DOUBLE]: Likewise.
733 * math/test-nearbyint-except-2.c [!NO_LONG_DOUBLE]: Likewise.
734 * math/test-nearbyint-except.c [!NO_LONG_DOUBLE]: Likewise.
735 * math/test-powl.c [!NO_LONG_DOUBLE]: Likewise.
736 * math/test-signgam-finite-c99.c [!NO_LONG_DOUBLE]: Likewise.
737 * math/test-signgam-finite.c [!NO_LONG_DOUBLE]: Likewise.
738 * math/test-signgam-main.c [!NO_LONG_DOUBLE]: Likewise.
739 * math/test-snan.c [!NO_LONG_DOUBLE]: Likewise.
740 * math/test-tgmath-ret.c [!NO_LONG_DOUBLE]: Likewise.
741 * math/test-tgmath.c: Include <float.h>.
742 [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
743 DBL_MANT_DIG].
744 * math/test-tgmath2.c: Include <float.h>.
745 [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
746 DBL_MANT_DIG].
747
748 * math/gen-tgmath-tests.py: New file.
749 * math/Makefile [PYTHON] (tests): Add test-tgmath3.
750 [PYTHON] (generated): Add test-tgmath3.c.
751 [PYTHON] (CFLAGS-test-tgmath3.c): New variable.
752 [PYTHON] ($(objpfx)test-tgmath3.c): New rule.
753
754 * configure.ac (AS): Require binutils 2.25 or later.
755 (LD): Likewise.
756 * configure: Regenerated.
757 * sysdeps/s390/configure.ac (AS): Remove version check.
758 * sysdeps/s390/configure: Regenerated.
759 * sysdeps/x86_64/configure.ac (AS): Remove version check.
760 * sysdeps/x86_64/configure: Regenerated.
761 * manual/install.texi (Tools for Compilation): Document
762 requirement for binutils 2.25 or later.
763 * INSTALL: Regenerated.
764
765 2017-06-28 H.J. Lu <hongjiu.lu@intel.com>
766
767 [BZ #14995]
768 * configure.ac: Allow gold 1.14 or above to configire glibc
769 * configure: Regenerated.
770
771 2017-06-28 Joseph Myers <joseph@codesourcery.com>
772
773 [BZ #21457]
774 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset_t): Remove
775 struct tag.
776 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (fpregset_t):
777 Likewise.
778 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (mcontext_t):
779 Likewise.
780 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (pt_regs):
781 Declare struct type with __ctx.
782 [__WORDSIZE != 32] (mcontext_t): Use __ctx with pt_regs struct
783 tag.
784 (ucontext_t) [__WORDSIZE == 32]: Use __ctx with pt_regs struct tag
785 and regs field name.
786
787 2017-06-27 Joseph Myers <joseph@codesourcery.com>
788
789 * elf/loadtest.c (OUT): Define using do { } while (0).
790
791 * time/strftime_l.c (DO_NUMBER): Define using do { } while (0).
792 (DO_NUMBER_SPACEPAD): Likewise.
793
794 2017-06-27 Prakhar Bahuguna <prakhar.bahuguna@arm.com>
795
796 * sysdeps/arm/armv7/multiarch/Makefile: Add memchr_neon to
797 sysdep_routines.
798 * sysdeps/arm/armv7/multiarch/ifunc-impl-list.c: Add define for
799 __memchr_neon.
800 Add ifunc definitions for __memchr_neon and __memchr_noneon.
801 * sysdeps/arm/armv7/multiarch/memchr.S: New file.
802 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Likewise.
803 * sysdeps/arm/armv7/multiarch/memchr_neon.S: Likewise.
804
805 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
806
807 * sysdeps/s390/utf8-utf16-z9.c (__to_utf8_loop_vx_cu):
808 Use vector and cu21 instruction.
809 * sysdeps/s390/multiarch/utf8-utf16-z9.c:
810 Add __to_utf8_loop_vx_cu in ifunc resolver.
811
812 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
813
814 * sysdeps/s390/utf16-utf32-z9.c (__from_utf16_loop_vx_cu):
815 Use vector and cu24 instruction.
816
817 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
818
819 * sysdeps/s390/utf16-utf32-z9.c (__to_utf16_loop_vx_cu):
820 Use vector and cu42 instruction.
821 * sysdeps/s390/multiarch/utf16-utf32-z9.c:
822 Add __to_utf16_loop_vx_cu in ifunc resolver.
823
824 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
825
826 * sysdeps/s390/utf8-utf32-z9.c (__to_utf8_loop_vx_cu):
827 Use vector and cu41 instruction.
828 * sysdeps/s390/multiarch/utf8-utf32-z9.c: Add __to_utf8_loop_vx_cu
829 in ifunc resolver.
830
831 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
832
833 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
834 Add vxd, vxe, gs flag.
835 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXD, HWCAP_S390_VXE,
836 HWCAP_S390_GS capability.
837 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
838 (HWCAP_S390_VXD, HWCAP_S390_VXE, HWCAP_S390_GS): Define.
839
840 2017-06-27 H.J. Lu <hongjiu.lu@intel.com>
841
842 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (MEMCMP): Check
843 the first 32 bytes before checking size when size >= 32 bytes.
844 Replace vpmovmskb/subl/jnz with vptest/jnc.
845
846 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
847
848 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE): Use r12 for GOT address.
849 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE): Likewise.
850
851 2017-06-27 Florian Weimer <fweimer@redhat.com>
852
853 Work around test timeouts with ICMP rate limiting on localhost.
854 * resolv/tst-resolv-res_init-skeleton.c (start_dummy_server): New
855 function.
856 (do_test): Call it.
857
858 2017-06-27 Florian Weimer <fweimer@redhat.com>
859
860 Call _res_hconf_init from __res_vinit.
861 * inet/gethstbyad_r.c (NEED__RES_HCONF): Remove.
862 * inet/gethstbynm2_r.c (NEED__RES_HCONF): Likewise.
863 (NEED__RES): Define.
864 * inet/gethstbynm_r.c (NEED__RES_HCONF): Remove.
865 (NEED__RES): Define.
866 * nscd/aicache.c (addhstaiX): Remove call to _res_hconf_init.
867 * nscd/gethstbyad_r.c (NEED__RES_HCONF): Remove.
868 * nscd/gethstbynm3_r.c (NEED__RES_HCONF): Likewise.
869 (NEED__RES): Define.
870 * nss/getXXbyYY_r.c (REENTRANT_NAME): Remove call to
871 _res_hconf_init.
872 * resolv/res_hconf.h (_res_hconf_init): Declare as hidden.
873 * resolv/res_init.c (__res_vinit): Call _res_hconf_init.
874 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove call to
875 _res_hconf_init.
876
877 2017-06-26 Joseph Myers <joseph@codesourcery.com>
878
879 * sysdeps/ia64/Implies: Add ieee754/float128.
880 * sysdeps/ia64/bits/floatn.h: New file.
881 * sysdeps/ia64/float128-abi.h: Likewise.
882 * manual/math.texi (Mathematics): Document support for _Float128
883 on ia64.
884 * sysdeps/ia64/Makefile [$(subdir) = math] (CPPFLAGS): Append to
885 Makefile variable.
886 * sysdeps/ia64/fpu/e_sqrtf128.c: New file.
887 * sysdeps/ia64/fpu/k_rem_pio2.c: Remove file.
888 * sysdeps/ia64/fpu/sfp-machine.h: New file. Based on libgcc.
889 * sysdeps/ia64/math-tests.h: New file.
890 * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): Also define
891 based on TEST_COND_binary128 for [__ia64__].
892 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Update.
893 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise,
894
895 [BZ #21457]
896 * sysdeps/arm/sys/ucontext.h (struct ucontext): Rename to struct
897 ucontext_t.
898 * sysdeps/generic/sys/ucontext.h (struct ucontext): Likewise.
899 * sysdeps/i386/sys/ucontext.h (struct ucontext): Likewise.
900 * sysdeps/m68k/sys/ucontext.h (struct ucontext): Likewise.
901 * sysdeps/mips/sys/ucontext.h (struct ucontext): Likewise.
902 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (struct
903 ucontext): Likewise.
904 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (struct ucontext):
905 Likewise.
906 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (struct ucontext):
907 Likewise.
908 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (struct ucontext):
909 Likewise.
910 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (struct ucontext):
911 Likewise.
912 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (struct ucontext):
913 Likewise.
914 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (struct ucontext):
915 Likewise.
916 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (struct ucontext):
917 Likewise.
918 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (struct
919 ucontext): Likewise.
920 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (struct ucontext):
921 Likewise.
922 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (struct ucontext):
923 Likewise.
924 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct ucontext):
925 Likewise.
926 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (struct ucontext):
927 Likewise.
928 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (struct ucontext):
929 Likewise.
930 * sysdeps/powerpc/powerpc32/backtrace.c (struct
931 rt_signal_frame_32): Likewise.
932 * sysdeps/powerpc/powerpc64/backtrace.c (struct signal_frame_64):
933 Likewise.
934 * sysdeps/unix/sysv/linux/aarch64/kernel_rt_sigframe.h (struct
935 kernel_rt_sigframe): Likewise.
936 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT):
937 Likewise.
938 * sysdeps/unix/sysv/linux/arm/register-dump.h (register_dump):
939 Likewise.
940 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h (SIGCONTEXT):
941 Likewise.
942 * sysdeps/unix/sysv/linux/hppa/profil-counter.h
943 (__profil_counter): Likewise.
944 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
945 (SIGCONTEXT): Likewise.
946 * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
947 kernel_rt_sigframe): Likewise.
948 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h (struct
949 kernel_rt_sigframe): Likewise.
950 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h (SIGCONTEXT):
951 Likewise.
952 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext):
953 Likewise.
954 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
955 (__start_context): Likewise.
956 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h (SIGCONTEXT):
957 Likewise.
958 * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
959 Likewise.
960 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
961 Likewise.
962
963 * sysdeps/i386/Implies: Add ieee754/float128.
964 * sysdeps/x86_64/Implies: Likewise.
965 * sysdeps/x86/bits/floatn.h: New file.
966 * sysdeps/x86/float128-abi.h: Likewise.
967 * manual/math.texi (Mathematics): Document support for _Float128
968 on x86_64 and x86.
969 * sysdeps/i386/fpu/fenv_private.h: Include <bits/floatn.h>.
970 (math_opt_barrier): Do not put _Float128 values in floating-point
971 registers.
972 (math_force_eval): Likewise.
973 [__x86_64__] (SET_RESTORE_ROUNDF128): New macro.
974 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (CPPFLAGS): Append
975 to Makefile variable.
976 * sysdeps/x86/fpu/e_sqrtf128.c: New file.
977 * sysdeps/x86/fpu/sfp-machine.h: Likewise. Based on libgcc.
978 * sysdeps/x86/math-tests.h: New file.
979 * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): New macro.
980 * math/libm-test-getpayload.inc (getpayload_test_data): Use
981 XFAIL_FLOAT128_PAYLOAD.
982 * math/libm-test-setpayload.inc (setpayload_test_data): Likewise.
983 * math/libm-test-totalorder.inc (totalorder_test_data): Likewise.
984 * math/libm-test-totalordermag.inc (totalordermag_test_data):
985 Likewise.
986 * sysdeps/unix/sysv/linux/i386/libc.abilist: Update.
987 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
988 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
989 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
990 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
991 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
992 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
993 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
995
996 2017-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
997
998 [BZ #21512]
999 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Call exit
1000 syscall instead of jump to _exit.
1001 (CLONE_VM_BIT): Remove unused define.
1002 (CLONE_VM): Likewise.
1003 (CLONE_THREAD_BIT): Likewise.
1004 (CLONE_THREAD): Likewise.
1005 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1006 (CLONE_VM): Remove unused define.
1007 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1008 (CLONE_VM): Remove unused define.
1009 (CLONE_THREAD): Likewise.
1010 * sysdeps/unix/sysv/linux/i386/clone.S (CLONE_VM): Likewise.
1011 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Call exit
1012 syscall instead of jump to _exit.
1013 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1014 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1015 (CLONE_VM): Remove unused define.
1016 (CLONE_THREAD): Likewise.
1017 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1018 (CLONE_VM): Remove unused define.
1019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1020 Likewise.
1021 (CLONE_VM): Remove unused define.
1022 (CLONE_THREAD): Likewise.
1023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1024 Likewise.
1025 (CLONE_VM): Remove unused define.
1026 (CLONE_THREAD): Likewise.
1027 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
1028 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1029 (CLONE_VM): Remove unused define.
1030 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1031 (CLONE_VM): Remove unused define.
1032 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1033 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1034 (CLONE_VM): Remove unused define.
1035 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-clone3.
1036 * sysdeps/unix/sysv/linux/tst-clone3.c: New file.
1037
1038 2017-06-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1039 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1040
1041 * manual/math.texi (Mathematics): Mention the enabling of float128
1042 for powerpc64le.
1043 * sysdeps/powerpc/bits/floatn.h: New file.
1044 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1045 * sysdeps/powerpc/fpu/math_private.h:
1046 (__ieee754_sqrtf128): New inline override.
1047 * sysdeps/powerpc/powerpc64le/Implies-before: New file.
1048 * sysdeps/powerpc/powerpc64le/Makefile: New file.
1049 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: New file.
1050 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: New file.
1051 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: New file.
1052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1053 Updated.
1054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1055 Likewise.
1056 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h:
1057 New file.
1058
1059 2017-06-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1060
1061 * sysdeps/powerpc/powerpc64le/configure.ac: Check for POWER8.
1062 * sysdeps/powerpc/powerpc64le/configure: Update.
1063
1064 2017-06-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1065 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1066
1067 * INSTALL: Regenerate.
1068 * manual/install.texi (Recommended Tools for Compilation): Mention
1069 the powerpc64le-specific requirement in the manual.
1070 * sysdeps/powerpc/powerpc64le/configure.ac: New file with checks
1071 for the compiler features required for building float128.
1072 * sysdeps/powerpc/powerpc64le/configure: New, auto-generated file.
1073
1074 2017-06-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1075
1076 * malloc/tst-alloc_buffer.c (test_misaligned): Cast to char
1077 before comparing with another char.
1078
1079 2017-06-25 Rical Jasan <ricaljasan@pacific.net>
1080
1081 * manual/math.texi: Fix a grammatical error.
1082
1083 2017-06-24 Florian Weimer <fweimer@redhat.com>
1084
1085 [BZ #21295]
1086 * resolv/tst-resolv-basic.c (do_test): Add new test cases.
1087
1088 2017-06-24 Dmitry Bilunov <kmeaw@kmeaw.com>
1089
1090 [BZ #21295]
1091 * sysdeps/posix/getaddrinfo.c (convert_hostent_to_gaih_addrtuple):
1092 Append addresses at the end of the list.
1093
1094 2017-06-23 H.J. Lu <hongjiu.lu@intel.com>
1095
1096 [BZ #21666]
1097 * misc/regexp.c (loc1): Add __attribute__ ((nocommon));
1098 (loc2): Likewise.
1099 (locs): Likewise.
1100
1101 2017-06-23 Florian Weimer <fweimer@redhat.com>
1102
1103 [BZ #16637]
1104 inet_pton: Reject invalid IPv6 addresses with many leading zeros.
1105 * resolv/inet_pton.c (inet_pton6): Count number of hexadecimal
1106 digits between colons.
1107 * resolv/tst-inet_pton.c (test_cases): Adjust test expectations.
1108
1109 2017-05-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1110 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
1111
1112 * include/sched.h (__sched_get_priority_max): Add libc hidden proto.
1113 (__sched_get_prioriry_min): Likewise.
1114 * include/sys/mman.h (__mmap): Likewise.
1115 (__mmap64): Likewise.
1116 (__munmap): Likewise.
1117 (__mprotect): Likewise.
1118 * include/termios.h (__tcsetattr): Likewise.
1119 * include/time.h (__nanosleep): Use hidden_proto instead of
1120 libc_hidden_proto.
1121 * posix/nanosleep.c (__nanosleep): Likewise.
1122 * misc/Versions (libc): Export __mmap, __munmap, __mprotect,
1123 __sched_get_priority_min, and __sched_get_priority_max under
1124 GLIBC_PRIVATE.
1125 * nptl/allocatestack.c (__free_stacks): Use internal definition for
1126 libc symbols.
1127 (change_stack_perm): Likewise.
1128 (change_stack_perm): Likewise.
1129 (allocate_stack): Likewise.
1130 * sysdeps/posix/gethostname.c: Likewise.
1131 * nptl/tpp.c (__init_sched_fifo_prio): Likewise.
1132 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
1133 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
1134 * nptl/pthreadP.h (__pthread_mutex_timedlock): Add definition.
1135 (__pthread_key_delete): Likewise.
1136 (__pthread_detach): Likewise.
1137 (__pthread_cancel): Likewise.
1138 (__pthread_mutex_trylock): Likewise.
1139 (__pthread_mutexattr_init): Likewise.
1140 (__pthread_mutexattr_settype): Likewise.
1141 * nptl/pthread_cancel.c (pthread_cancel): Change to internal name and
1142 create alias for exported one.
1143 * nptl/pthread_join.c (pthread_join): Likewise.
1144 * nptl/pthread_detach.c (pthread_detach): Likewise.
1145 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
1146 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1147 * nptl/pthread_create.c: Change static requirements for pthread
1148 symbols.
1149 * nptl/pthread_equal.c (__pthread_equal): Change strong alias to weak
1150 for internal definition.
1151 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1152 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
1153 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
1154 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy): Likewise.
1155 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1156 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1157 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1158 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock): Likewise.
1159 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likwise.
1160 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
1161 Likewise.
1162 * nptl/pthread_self.c (__pthread_self): Likewise.
1163 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
1164 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
1165 * misc/mmap.c (__mmap): Add internal symbol definition.
1166 * misc/mmap.c (__mmap64): Likewise.
1167 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
1168 * sysdeps/unix/sysv/linux/mmap64.c (__mmap): Likewise.
1169 (__mmap64): Likewise.
1170 * sysdeps/unix/sysv/linux/i386/Versions (libc) [GLIBC_PRIVATE):
1171 Add __uname.
1172
1173 2017-06-23 Joseph Myers <joseph@codesourcery.com>
1174
1175 * sysdeps/i386/fpu/libm-test-ulps: Update.
1176 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1177
1178 * libm-test-support.c (check_float_internal): Clear exceptions at
1179 end of function.
1180 (check_int): Likewise.
1181 (check_long): Likewise.
1182 (check_bool): Likewise.
1183 (check_longlong): Likewise.
1184 (check_intmax_t): Likewise.
1185 (check_uintmax_t): Likewise.
1186
1187 * sysdeps/x86/fpu/bits/fenv.h [_LIBC] (__feraiseexcept_renamed):
1188 Do not declare.
1189 * sysdeps/x86/fpu/include/bits/fenv.h [_LIBC &&
1190 __USE_EXTERN_INLINES] (__feraiseexcept_renamed): Declare here,
1191 redirected to __GI_feraiseexcept if [SHARED && IS_IN (libm)].
1192
1193 2017-06-23 H.J. Lu <hongjiu.lu@intel.com>
1194
1195 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1196 Replace movzbl and orl with movb.
1197
1198 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1199
1200 * manual/arith.texi (Infinity and NaN): Document SNANFN and SNANFNx.
1201 (Error Reporting by Mathematical Functions): Document HUGE_VAL_FN
1202 and HUGE_VAL_FNx.
1203 (Absolute Value): Document fabsfN, fabsfNx, cabsfN, cabsfNx.
1204 Rephrase the paragraph that mentions that fabs, fabsf, and fabsl
1205 are in math.h, to avoid having to list the _FloatN and _FloatNx
1206 variants as well. Likewise for the cabs functions.
1207 (Normalization Functions): Document frexpfN, frexpfNx, ldexpfN,
1208 ldexpfNx, scalbnfN, scalbnfNx, scalblnfN, scalblnfNx.
1209 Mention that _FloatN and _FloatNx variants of scalbn and scalbln
1210 come from TS 18661-3, since this section explicitly states that
1211 these functions come from BSD.
1212 (Rounding Functions): Document ceilfN, ceilfNx, floorfN, floorfNx,
1213 truncfN, truncfNx, rintfN, rintfNx, nearbyintfN, nearbyintfNx,
1214 roundfN, roundfNx, roundevenfN, roundevenfNx, lrintfN, lrintfNx,
1215 llrintfN, llrintfNx, lroundfN, lroundfNx, llroundfN, llroundfNx,
1216 fromfpfN, fromfpfNx, ufromfpfN, ufromfpfNx, fromfpxfN, fromfpxfNx,
1217 ufromfpxfN, ufromfpxfNx, modffN, modffNx.
1218 (Remainder Functions): Document fmodfN, fmodfNx, remainderfN,
1219 remainderfNx.
1220 (Setting and modifying single bits of FP values): Document
1221 copysignfN, copysignfNx, nextafterfN, nextafterfNx, nextupfN,
1222 nextupfNx, nextdownfN, nextdownfNx, nanfN, nanfNx, canonicalizefN,
1223 canonicalizefNx, getpayloadfN, getpayloadfNx, setpayloadfN,
1224 setpayloadfNx, setpayloadsigfN, setpayloadsigfNx.
1225 (Floating-Point Comparison Functions): Document totalorderfN,
1226 totalorderfNx, totalordermagfN, totalordermagfNx.
1227 (Miscellaneous FP arithmetic functions): Document fminfN, fminfNx,
1228 fmaxfN, fmaxfNx, fminmagfN, fminmagfNx, fmaxmagfN, fmaxmagfNx,
1229 fdimfN, fdimfNx, fmafN, fmafNx.
1230 (Complex Numbers): Document the complex types: _FloatN complex and
1231 _FloatNx complex.
1232 (rojections, Conjugates, and Decomposing of Complex Numbers):
1233 Document crealfN, crealfNx, cimagfN, cimagfNx, conjfN, conjfNx,
1234 cargfN, cargfNx, cprojfN, cprojfNx.
1235 * manual/math.texi (Mathematics): Mention that the _FloatN and
1236 _FloatNx variants of the math functions come from TS 18661-3,
1237 unless otherwise stated.
1238 (Predefined Mathematical Constants): Document the _FloatN and
1239 _FloatNx variants of the macros prefixed with M_.
1240 (Trigonometric Functions): Document sinfN, sinfNx, cosfN, cosfNx,
1241 tanfN, tanfNx, sincosfN, sincosfNx, csinfN, csinfNx, ccosfN,
1242 ccosfNx, ctanfN, ctanfNx.
1243 (Inverse Trigonometric Functions): Document asinfN, asinfNx,
1244 acosfN, acosfNx, atanfN, atanfNx, atan2fN, atan2fNx.
1245 (Exponentiation and Logarithms): Document expfN, expfNx, exp2fN,
1246 exp2fNx, exp10fN, exp10fNx, logfN, logfNx, log10fN, log10fNx,
1247 log2fN, log2fNx, logbfN, logbfNx, ilogbfN, ilogbfNx, llogbfN,
1248 llogbfNx, powfN, powfNx, sqrtfN, sqrtfNx, cbrtfN, cbrtfNx, hypotfN,
1249 hypotfNx, expm1fN, expm1fNx, log1pfN, log1pfNx, cexpfN, cexpfNx,
1250 clogfN, clogfNx, clog10fN, clog10fNx, csqrtfN, csqrtfNx, cpowfN,
1251 cpowfNx.
1252 (Hyperbolic Functions): sinhfN, sinhfNx, coshfN, coshfNx, tanhfN,
1253 tanhfNx, csinhfN, csinhfNx, ccoshfN, ccoshfNx, ctanhfN, ctanhfNx,
1254 asinhfN, asinhfNx, acoshfN, acoshfNx, atanhfN, atanhfNx, casinhfN,
1255 casinhfNx, cacoshfN, cacoshfNx, catanhfN, catanhfNx.
1256 (Special Functions): Document erffN, erffNx, erfcfN, erfcfNx,
1257 lgammafN, lgammafNx, lgammarfN_r, lgammafNx_r, tgammafN, tgammafNx,
1258 j0fN, j0fNx, j1fN, j1fNx, jnfN, jnfNx, y0fN, y0fNx, y1fN, y1fNx,
1259 ynfN, ynfNx.
1260
1261 2017-06-23 Florian Weimer <fweimer@redhat.com>
1262
1263 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3): Fix typo in comment.
1264
1265 2017-06-23 Florian Weimer <fweimer@redhat.com>
1266
1267 * resolv/res_libc.c: Reformat to GNU style.
1268
1269 2017-06-23 Florian Weimer <fweimer@redhat.com>
1270
1271 * resolv/resolv-internal.h (__res_initstamp): Declare.
1272 * resolv/res_init.c (__res_initstamp): Remove hidden attribute.
1273 It is implied by the declaration.
1274 * resolv/res_libc.c (__res_initstamp): Remove declaration.
1275
1276 2017-06-23 Florian Weimer <fweimer@redhat.com>
1277
1278 [BZ #21662]
1279 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1280 Use only 24 bits of the register before the subtraction.
1281 * string/test-memcmp.c (check1): Check with different lengths.
1282
1283 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1284
1285 * sysdeps/ieee754/float128/Makefile (CFLAGS-strfromf128.c): Add
1286 $(libio-mtsafe) to get the value of IO_MTSAFE_IO.
1287
1288 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1289
1290 * manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps):
1291 Enable generation of float128 entries on the error table.
1292
1293 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1294
1295 * include/float.h: Include libc-header-start.h to get the
1296 definition of __GLIBC_USE.
1297
1298 2017-06-23 Paul A. Clarke <pc@us.ibm.com>
1299
1300 * sysdeps/ieee754/flt-32/e_powf.c: Optimized implementation utilizing
1301 rearranged code and doubles float types.
1302
1303 2017-06-23 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
1304
1305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Change
1306 s_sinf.c from sysdeps/ieee754/flt-32/ to sysdeps/powerpc/fpu/.
1307
1308 2017-06-23 Paul A. Clarke <pc@us.ibm.com>
1309
1310 * sysdeps/unix/sysv/linux/powerpc/sysconf.c: Remove references
1311 to errno, and simplify remaining related code.
1312
1313 2017-06-23 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1314
1315 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_DARN and
1316 PPC_FEATURE2_SCV.
1317 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add scv
1318 and darn.
1319
1320 2017-06-23 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1321
1322 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S(STRRCHR): Define
1323 the implementation-specific function name and remove unneeded macros
1324 definition.
1325 * sysdeps/powerpc/powerpc64/power8/strrchr.S(STRRCHR): Set a default
1326 function name if not defined and pass as parameter to macros
1327 accordingly.
1328
1329 2017-06-23 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1330
1331 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1332 (libm-sysdep_routines): Add s_llroundf-ppc64.
1333 * sysdeps/powerpc/powerpc64/power5+fpu/s_llround.S
1334 (__llroundf): Define as strong alias of __llround.
1335 (llroundf): Define as weak alias of __llround.
1336 (__lroundf): Define as strong alias of __llround.
1337 (lroundf): Define as weak alias of __llround.
1338 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1339 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: New file.
1341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Likewise.
1342 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
1343 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
1344 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
1345
1346 2017-06-22 Joseph Myers <joseph@codesourcery.com>
1347
1348 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h
1349 [__HAVE_DISTINCT_FLOAT128] (__iscanonicalf128): New macro.
1350
1351 * sysdeps/generic/math-tests.h: Include <bits/floatn.h>.
1352 (MATH_TESTS_TG): New macro.
1353 (SNAN_TESTS_float128): Likewise.
1354 (ROUNDING_TESTS_float128): Likewise.
1355 (EXCEPTION_TESTS_float128): Likewise.
1356 (SNAN_TESTS): Define using MATH_TESTS_TG.
1357 (ROUNDING_TESTS): Likewise.
1358 (EXCEPTION_TESTS): Likewise.
1359
1360 * sysdeps/ieee754/float128/float128_private.h
1361 [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and
1362 pass it to SET_RESTORE_ROUNDF128.
1363
1364 * sysdeps/ieee754/float128/float128_private.h: Include
1365 <ieee754.h>.
1366
1367 * sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply
1368 typeof to argument passed to __builtin_types_compatible_p.
1369 (min_of_type): Pass type argument, not x, to __EXPR_FLT128.
1370
1371 * math/w_acos_template.c [__USE_WRAPPER_TEMPLATE]: Include
1372 <errno.h>.
1373 * math/w_acosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1374 * math/w_asin_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1375 * math/w_atanh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1376 * math/w_cosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1377 * math/w_exp10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1378 * math/w_exp2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1379 * math/w_exp_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1380 * math/w_fmod_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1381 * math/w_hypot_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1382 * math/w_j0_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1383 * math/w_j1_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1384 * math/w_jn_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1385 * math/w_lgamma_r_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1386 * math/w_lgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1387 * math/w_log10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1388 * math/w_log2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1389 * math/w_log_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1390 * math/w_pow_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1391 * math/w_remainder_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1392 * math/w_sinh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1393 * math/w_sqrt_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1394 * math/w_tgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1395
1396 * sysdeps/ieee754/float128/strtof128_l.c: Include
1397 <bits/types/locale_t.h> instead of <xlocale.h>.
1398 * sysdeps/ieee754/float128/wcstof128.c: Likewise.
1399 * sysdeps/ieee754/float128/wcstof128_l.c: Likewise.
1400
1401 2017-06-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
1402
1403 * benchtests/scripts/benchout_strings.schema.json: New file.
1404 * benchtests/scripts/compare_strings.py: New file.
1405
1406 * benchtests/bench-memcpy-large.c: Include json-lib.h.
1407 (do_one_test): Print json.
1408 (do_test): Likewise.
1409 (test_main): Likewise.
1410 * benchtests/bench-memcpy-random.c: Include json-lib.h.
1411 (do_one_test): Print json.
1412 (do_test): Likewise.
1413 (test_main): Likewise.
1414 * benchtests/bench-memcpy.c: Include json-lib.h.
1415 (do_one_test): Print json.
1416 (do_test): Likewise.
1417 (test_main): Likewise.
1418
1419 * benchtests/json-lib.h: Include inttypes.h.
1420 (json_attr_int, json_attr_int, json_element_string,
1421 json_element_int, json_element_uint): New functions.
1422 * benchtests/json-lib.c: (json_attr_int, json_attr_int,
1423 json_element_string, json_element_int, json_element_uint): New
1424 functions.
1425
1426 2017-06-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1427
1428 * manual/arith.texi (Remainder Functions): Describe remainder as
1429 primary and drem as an alternative name. Change the comment on
1430 remainder to ISO, since it is defined in ISO C99.
1431
1432 2017-06-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1433
1434 * stdlib/tst-strtod.h (MMFUNC): New macro to provide an addition
1435 macro expansion.
1436 (GEN_TEST_STRTOD_FOREACH): Use MMFUNC for _Float128.
1437
1438 2017-06-22 Mike FABIAN <mfabian@redhat.com>
1439
1440 [BZ #21533]
1441 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1442 201706L for Unicode 10.0.
1443
1444 2017-06-21 Benjamin Cama <b.cama@kerlink.fr>
1445
1446 [BZ #21657]
1447 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Permit scopes
1448 on node-local addresses.
1449 * inet/tst-inet6_scopeid_pton.c (do_test): Adjust test.
1450
1451 2017-06-21 Florian Weimer <fweimer@redhat.com>
1452
1453 * intl/loadmsgcat.c: Remove alloca support.
1454 (_nl_load_domain): Use calloc instead of alloca.
1455
1456 2017-04-21 Florian Weimer <fweimer@redhat.com>
1457
1458 * malloc/Makefile (tests-internal): Add tst-alloc_buffer.
1459 (routines): Add alloc_buffer_alloc_array, alloc_buffer_allocate,
1460 alloc_buffer_copy_bytes, alloc_buffer_copy_string,
1461 alloc_buffer_create_failure.
1462 * malloc/Versions (__libc_alloc_buffer_alloc_array)
1463 (__libc_alloc_buffer_allocate, __libc_alloc_buffer_copy_bytes)
1464 (__libc_alloc_buffer_copy_string)
1465 (__libc_alloc_buffer_create_failure): Export as GLIBC_PRIVATE.
1466 * malloc/alloc_buffer_alloc_array.c: New file.
1467 * malloc/alloc_buffer_allocate.c: Likewise.
1468 * malloc/alloc_buffer_copy_bytes.c: Likewise.
1469 * malloc/alloc_buffer_copy_string.c: Likewise.
1470 * malloc/alloc_buffer_create_failure.c: Likewise.
1471 * malloc/tst-alloc_buffer.c: Likewise.
1472
1473 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
1474
1475 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1476 strcmp-sse2, strcmp-sse4_2, strncmp-sse2, strncmp-sse4_2,
1477 strcasecmp_l-sse2, strcasecmp_l-sse4_2, strcasecmp_l-avx,
1478 strncase_l-sse2, strncase_l-sse4_2 and strncase_l-avx.
1479 * sysdeps/x86_64/multiarch/ifunc-strcasecmp.h: New file.
1480 * sysdeps/x86_64/multiarch/strcasecmp.c: Likewise.
1481 * sysdeps/x86_64/multiarch/strcasecmp_l-avx.S: Likewise.
1482 * sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S: Likewise.
1483 * sysdeps/x86_64/multiarch/strcasecmp_l-sse4_2.S: Likewise.
1484 * sysdeps/x86_64/multiarch/strcasecmp_l.c: Likewise.
1485 * sysdeps/x86_64/multiarch/strcmp-sse2.S: Likewise.
1486 * sysdeps/x86_64/multiarch/strcmp-sse4_2.S: Likewise.
1487 * sysdeps/x86_64/multiarch/strcmp.c: Likewise.
1488 * sysdeps/x86_64/multiarch/strncase.c: Likewise.
1489 * sysdeps/x86_64/multiarch/strncase_l-avx.S : Likewise.
1490 * sysdeps/x86_64/multiarch/strncase_l-sse2.S: Likewise.
1491 * sysdeps/x86_64/multiarch/strncase_l-sse4_2.S: Likewise.
1492 * sysdeps/x86_64/multiarch/strncase_l.c: Likewise.
1493 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Likewise.
1494 * sysdeps/x86_64/multiarch/strncmp-sse4_2.S: Likewise.
1495 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
1496 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Removed.
1497 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1498 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1499 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1500 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Include <sysdep.h>.
1501 (STRCMP_SSE42): New. Defined to __strcmp_sse42 if not defined.
1502 [USE_AS_STRCASECMP_L || USE_AS_STRNCASECMP_L]: Include
1503 "locale-defines.h".
1504 (UPDATE_STRNCMP_COUNTER): New.
1505 (SECTION): Likewise.
1506 (GLABEL): Likewise.
1507 (LABEL): Likewise.
1508 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Rewrite and enable
1509 for libc.a.
1510
1511 2017-06-21 Joseph Myers <joseph@codesourcery.com>
1512
1513 [BZ #21622]
1514 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
1515 Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
1516 __USE_MISC].
1517 (SA_NODEFER): Likewise.
1518 (SA_RESETHAND): Likewise.
1519
1520 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
1521
1522 * elf/dl-tunables.list (glibc.tune.ifunc): Removed.
1523 * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New.
1524 Remove security_level on all fields.
1525 * manual/tunables.texi: Replace ifunc with hwcaps.
1526 * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)):
1527 Renamed to ..
1528 (TUNABLE_CALLBACK (set_hwcaps)): This.
1529 (init_cpu_features): Updated.
1530 * sysdeps/x86/cpu-features.h (cpu_features): Change type of
1531 data_cache_size, data_cache_size and non_temporal_threshold to
1532 unsigned long int.
1533 * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed.
1534 (TUNABLE_CALLBACK (set_ifunc)): Renamed to ...
1535 (TUNABLE_CALLBACK (set_hwcaps)): This. Update comments. Don't
1536 use DEFAULT_STRLEN.
1537
1538 2017-06-21 Florian Weimer <fweimer@redhat.com>
1539
1540 * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and
1541 asprintf to construct an absolute pathname.
1542
1543 2017-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1544
1545 * misc/tst-preadvwritev2-common.c: New file.
1546 * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
1547 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
1548
1549 2017-06-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1550
1551 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
1552 annotation.
1553 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1554
1555 2017-06-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1556
1557 * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
1558 hidden __GI__dl_argv symbol.
1559
1560 2017-06-21 Florian Weimer <fweimer@redhat.com>
1561
1562 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length
1563 to parse addresses with IPv6 scope IDs.
1564
1565 2017-06-21 Florian Weimer <fweimer@redhat.com>
1566
1567 Add the __inet_pton_length helper function.
1568 * resolv/resolv-internal.h (__inet_pton_length): Declare.
1569 * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton.
1570 Add length argument.
1571 (__inet_pton): New function.
1572 (inet_pton4): Add length argument.
1573 (hex_digit_value): New function.
1574 (inet_pton6): Add length argument. Call hex_digit_value. Use
1575 memmove and memset to fill :: gap.
1576 * resolv/Makefile (tests, tsts-static, tests-internal): Add
1577 tst-inet_pton.
1578 * resolv/tst-inet_pton.c: New file.
1579 * support/Makefile (libsupport-routines): Add xmprotect.
1580 * support/xunistd.h (xmprotect): Declare.
1581 * support/xmprotect.c: New file.
1582
1583 2017-06-21 Florian Weimer <fweimer@redhat.com>
1584
1585 Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c.
1586 * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>.
1587 (call_gai, check_ai): New functions.
1588 (expect_failure, expect_success): Use them. Add logging.
1589
1590 2017-06-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1591
1592 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1593 (sysdep_routines): Add memchr_power8.
1594 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1595 (memchr): Add __memchr_power8 to list of memchr functions.
1596 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
1597 * sysdeps/powerpc/powerpc64/multiarch/memchr.c
1598 (memchr): Add __memchr_power8 to ifunc list.
1599 * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
1600
1601 2017-06-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1602
1603 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
1604 (__llrintf): Define as strong alias of __llrint.
1605 (llrintf): Define as weak alias of __llrint.
1606 (__lrintf): Define as strong alias of __llrint.
1607 (lrintf): Define as weak alias of __llrint.
1608 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1609 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1610 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Remove file content.
1611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
1612
1613 2017-06-20 Zack Weinberg <zackw@panix.com>
1614
1615 * bits/signum-generic.h: Renamed from bits/signum.h.
1616 Add proper multiple include guard and misuse check.
1617 Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
1618 Move definition of SIGIO to "archaic names for compatibility" section.
1619 * bits/signum.h: New file which just includes bits/signum-generic.h.
1620 * sysdeps/unix/bsd/bits/signum.h
1621 * sysdeps/unix/sysv/linux/bits/signum.h
1622 * sysdeps/unix/sysv/linux/alpha/bits/signum.h
1623 * sysdeps/unix/sysv/linux/hppa/bits/signum.h
1624 * sysdeps/unix/sysv/linux/mips/bits/signum.h
1625 * sysdeps/unix/sysv/linux/sparc/bits/signum.h
1626 Just include <bits/signum-generic.h> and then add or adjust
1627 signal constants. Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
1628
1629 * signal/Makefile: Install bits/signum-generic.h.
1630 * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
1631
1632 * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
1633 universal. Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
1634
1635 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
1636 * sysdeps/unix/sysv/linux/Makefile: Run it.
1637
1638 2017-06-20 Zack Weinberg <zackw@panix.com>
1639
1640 * locale/xlocale.h: Rename to...
1641 * locale/bits/types/__locale_t.h: ...here. Adjust commentary.
1642 Only define struct __locale_struct and __locale_t, not locale_t.
1643 * locale/bits/types/locale_t.h: New file; define locale_t here.
1644 * locale/Makefile (headers): Update to match.
1645
1646 * include/xlocale.h: Delete wrapper.
1647 * include/bits/types/__locale_t.h: New wrapper.
1648 * include/bits/types/locale_t.h: New wrapper.
1649
1650 * ctype/ctype.h, include/printf.h, include/time.h
1651 * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
1652 * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
1653 * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
1654 Correct outdated comments regarding the standardization status of
1655 the functions that take locale_t arguments.
1656
1657 * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
1658 * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1659 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1660 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1661 * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1662 * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
1663 Don't include xlocale.h. If necessary, include locale.h instead.
1664
1665 * stdlib/strtold_l.c: Unconditionally include wchar.h.
1666
1667 * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
1668 * include/monetary.h, include/stdlib.h, include/time.h
1669 * include/wchar.h, locale/duplocale.c, locale/freelocale.c
1670 * locale/global-locale.c, locale/langinfo.h, locale/locale.h
1671 * locale/localeinfo.h, locale/newlocale.c
1672 * locale/nl_langinfo_l.c, locale/uselocale.c
1673 * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
1674 * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
1675 * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
1676 * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
1677 * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1678 * string/strcasecmp.c, string/strcoll_l.c, string/string.h
1679 * string/strings.h, string/strncase.c, string/strxfrm_l.c
1680 * sysdeps/ieee754/float128/strtof128_l.c
1681 * sysdeps/ieee754/float128/wcstof128.c
1682 * sysdeps/ieee754/float128/wcstof128_l.c
1683 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1684 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1685 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1686 * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
1687 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
1688 * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
1689 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
1690 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1691 * sysdeps/x86_64/strcasecmp_l-nonascii.c
1692 * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
1693 * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
1694 * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
1695 * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1696 * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
1697 * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
1698 * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
1699 * wctype/towctrans_l.c, wctype/wcfuncs_l.c
1700 * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
1701 Change all uses of __locale_t to locale_t.
1702
1703 2017-06-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1704
1705 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
1706 for !__OFF_T_MATCHES_OFF64_T.
1707 * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
1708 implementation based on open64.
1709 * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
1710 * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
1711
1712 2017-06-20 H.J. Lu <hongjiu.lu@intel.com>
1713
1714 * elf/dl-tunables.list: Move x86 specific tunables to ...
1715 * sysdeps/x86/dl-tunables.list: Here. New file.
1716
1717 2017-06-20 Joseph Myers <joseph@codesourcery.com>
1718
1719 [BZ #21635]
1720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1721 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1722 * conform/data/signal.h-data (uc_mcontext): XFAIL for
1723 powerpc32-linux.
1724 * conform/data/ucontext.h-data (uc_mcontext): Likewise.
1725
1726 [BZ #21634]
1727 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
1728 (conformtest-xfail-conds): New variable.
1729 * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
1730 * conform/data/ucontext.h-data (uc_sigmask): Likewise.
1731
1732 2017-06-20 Wilco Dijkstra <wdijkstr@arm.com>
1733
1734 * benchtests/powf-inputs: Add reduced trace from wrf.
1735
1736 2017-06-20 H.J. Lu <hongjiu.lu@intel.com>
1737 Erich Elsen <eriche@google.com>
1738
1739 * elf/dl-tunables.list (tune): Add ifunc,
1740 x86_non_temporal_threshold,
1741 x86_data_cache_size and x86_shared_cache_size.
1742 * manual/tunables.texi: Document glibc.tune.ifunc,
1743 glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
1744 and glibc.tune.x86_non_temporal_threshold.
1745 * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
1746 * sysdeps/x86/cpu-tunables.c: Likewise.
1747 * sysdeps/x86/cacheinfo.c
1748 (init_cacheinfo): Check and get data cache size, shared cache
1749 size and non temporal threshold from cpu_features.
1750 * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
1751 New.
1752 [HAVE_TUNABLES] Include <unistd.h>.
1753 [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
1754 [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
1755 [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
1756 IFUNC selection, data cache size, shared cache size and non
1757 temporal threshold.
1758 * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
1759 shared_cache_size and non_temporal_threshold.
1760
1761 2017-06-20 Wilco Dijkstra <wdijkstr@arm.com>
1762
1763 * benchtests/README: Describe workload feature.
1764 * benchtests/bench-skeleton.c (main): Add support for
1765 benchmarking traces from workloads.
1766
1767 2017-06-20 Zack Weinberg <zackw@panix.com>
1768
1769 * string/string.h (__mempcpy_inline): Delete.
1770 * sysdeps/x86_64/multiarch/mempcpy.c
1771 * sysdeps/x86_64/multiarch/stpcpy.c:
1772 Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
1773 before including string.h.
1774
1775 2017-06-20 Paul A. Clarke <pc@us.ibm.com>
1776
1777 * benchtests/Makefile (bench-math): Add powf.
1778 * benchtests/powf-inputs: New file.
1779
1780 2017-06-20 Zack Weinberg <zackw@panix.com>
1781
1782 * bits/string.h, string/bits/string.h
1783 * sysdeps/aarch64/bits/string.h
1784 * sysdeps/m68k/m680x0/m68020/bits/string.h
1785 * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
1786 * sysdeps/x86/bits/string.h: Delete file.
1787
1788 * string/string.h: Don't include bits/string.h.
1789 * string/bits/string3.h: Rename to bits/string_fortified.h.
1790 No need to undef various symbols that the removed headers
1791 might have defined as macros.
1792 * string/Makefile (headers): Remove bits/string.h, change
1793 bits/string3.h to bits/string_fortified.h.
1794 * string/string-inlines.c: Update commentary. Remove definitions
1795 of various macros that nothing looks at anymore. Don't directly
1796 include bits/string.h. Set _STRING_INLINE_unaligned here, based on
1797 compiler-predefined macros.
1798 * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
1799 _is_ defined, provide internal hidden alias __strncat.
1800 * include/string.h: Declare internal hidden alias __strncat.
1801 Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
1802 not defined.
1803 * include/bits/string3.h: Rename to bits/string_fortified.h,
1804 update to match above.
1805
1806 * sysdeps/i386/string-inlines.c: Define compat symbols for
1807 everything formerly defined by sysdeps/x86/bits/string.h.
1808 Make existing definitions into compat symbols as well.
1809 Remove some no-longer-necessary messing around with macros.
1810
1811 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1812 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1813 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1814 * sysdeps/s390/multiarch/mempcpy.c
1815 No need to define _HAVE_STRING_ARCH_mempcpy.
1816 Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
1817
1818 * sysdeps/i386/i686/multiarch/strncat-c.c
1819 * sysdeps/s390/multiarch/strncat-c.c
1820 * sysdeps/x86_64/multiarch/strncat-c.c
1821 Define STRNCAT_PRIMARY. Don't change definition of libc_hidden_def.
1822
1823 2017-06-20 Rical Jasan <ricaljasan@pacific.net>
1824
1825 * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
1826 (LDBL_DIG): Likewise.
1827 (LDBL_MIN_EXP): Likewise.
1828 (LDBL_MIN_10_EXP): Likewise.
1829 (LDBL_MAX_EXP): Likewise.
1830 (LDBL_MAX_10_EXP): Likewise.
1831 (LDBL_MAX): Likewise.
1832 (LDBL_MIN): Likewise.
1833 (LDBL_EPSILON): Likewise.
1834 (FLT_ROUNDS): Change standard from ISO to C90.
1835 (FLT_RADIX): Likewise.
1836 (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
1837 (FLT_DIG, DBL_DIG): Likewise.
1838 (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
1839 (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
1840 (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
1841 (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
1842 (FLT_MAX, DBL_MAX): Likewise.
1843 (FLT_MIN, DBL_MIN): Likewise.
1844 (FLT_EPSILON, DBL_EPSILON): Likewise.
1845
1846 2017-06-19 Joseph Myers <joseph@codesourcery.com>
1847
1848 * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
1849 [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
1850 [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
1851 * sysdeps/mips/math-tests.h
1852 [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
1853 conditional code.
1854
1855 2017-06-19 Florian Weimer <fweimer@redhat.com>
1856
1857 * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
1858 It cannot change while __libc_setlocale_lock is acquired.
1859
1860 2017-06-19 Florian Weimer <fweimer@redhat.com>
1861
1862 * elf/rtld.c (audit_list_string): New variable.
1863 (audit_list): Update comment.
1864 (struct audit_list_iter): Define.
1865 (audit_list_iter_init, audit_list_iter_next): New function.
1866 (dl_main): Use struct audit_list_iter to process audit modules.
1867 (process_dl_audit): Call dso_name_valid_for_suid.
1868 (process_envvars): Set audit_list_string instead of calling
1869 process_dl_audit.
1870
1871 2017-06-19 Florian Weimer <fweimer@redhat.com>
1872
1873 * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
1874 (dso_name_valid_for_suid): New function.
1875 (handle_ld_preload): Likewise.
1876 (dl_main): Call it. Remove alloca.
1877
1878 2017-06-19 Joseph Myers <joseph@codesourcery.com>
1879
1880 [BZ #21625]
1881 * posix/sys/wait.h (strust rusage forward declaration): Change
1882 [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
1883 !__USE_XOPEN2K].
1884 (wait3): Likewise.
1885
1886 * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
1887 * configure: Regenerated.
1888 * manual/install.texi (Tools for Compilation): Document
1889 requirement for GCC 4.9 or later.
1890 * INSTALL: Regenerated.
1891
1892 2017-06-19 Florian Weimer <fweimer@redhat.com>
1893
1894 [BZ #21624]
1895 CVE-2017-1000366
1896 * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
1897 __libc_enable_secure.
1898
1899 2017-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1900
1901 [BZ #21539]
1902 * NEWS: Mention s390 ptrace request changes.
1903 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
1904 (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
1905 PTRACE_SETFPREGS): Remove enum constant.
1906 (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
1907 Remove defines.
1908 (PTRACE_SINGLEBLOCK): New enum constant.
1909 (PT_STEPBLOCK): New define.
1910 (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
1911 PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
1912 PTRACE_TE_ABORT_RAND): New enum constant and define.
1913 * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
1914 * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
1915 New file.
1916 * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
1917
1918 2017-06-16 Florian Weimer <fweimer@redhat.com>
1919
1920 * resolv/res_init.c (res_vinit_1): Use getline to read from the
1921 configuration file.
1922 (__res_vinit): Adjust.
1923
1924 2017-06-19 Florian Weimer <fweimer@redhat.com>
1925
1926 * resolv/res_init.c (res_vinit_1): New function.
1927 (__res_vinit): Call it. Handle file open and memory allocation
1928 failures.
1929 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
1930 erno from __res_maybe_init failure.
1931 (_nss_dns_gethostbyname4_r): Likewise.
1932 (_nss_dns_gethostbyaddr2_r): Likewise.
1933 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
1934 (_nss_dns_getnetbyaddr_r): Likewise.
1935
1936 2017-06-19 Florian Weimer <fweimer@redhat.com>
1937
1938 * resolv/res_init.c: Reformat to GNU style.
1939
1940 2017-06-19 Florian Weimer <fweimer@redhat.com>
1941
1942 * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
1943 (is_sort_mask): New function.
1944 (__res_vinit): Use it.
1945
1946 2017-06-19 Florian Weimer <fweimer@redhat.com>
1947
1948 * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
1949 conditionals.
1950
1951 2017-06-19 Florian Weimer <fweimer@redhat.com>
1952
1953 * resolv/res-close.c: New file.
1954 * resolv/res_init.c (__res_iclose, res_nclose)
1955 (res_thread_freeres): Remove definitions.
1956 * resolv/Makefile (routines): Add res-close.
1957
1958 2017-06-19 Florian Weimer <fweimer@redhat.com>
1959
1960 * resolv/res_randomid.c: New file.
1961 * resolv/res_init.c (res_randomid): Remove definition.
1962 * resolv/Makefile (routines): Add res_randomid.
1963
1964 2017-06-19 Florian Weimer <fweimer@redhat.com>
1965
1966 * include/resolv.h (__res_vinit): Declare as hidden.
1967 * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
1968 * resolv/res_libc.c (res_init): Likewise.
1969
1970 2017-06-19 Joseph Myers <joseph@codesourcery.com>
1971
1972 [BZ #21457]
1973 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
1974 _libc_xmmreg): Use __ctx in defining field.
1975
1976 [BZ #21597]
1977 * signal/signal.h (siginterrupt): Make declaration conditional on
1978 [__USE_XOPEN_EXTENDED || __USE_MISC].
1979
1980 [BZ #21584]
1981 * signal/signal.h: Make includes of <bits/sigstack.h> and
1982 <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
1983 __USE_MISC].
1984 (sigaltstack): Make declaration conditional on
1985 [__USE_XOPEN_EXTENDED || __USE_MISC].
1986
1987 [BZ #21575]
1988 * resource/bits/types/struct_rusage.h: New file.
1989 * include/bits/types/struct_rusage.h: Likewise.
1990 * bits/resource.h (struct rusage): Include
1991 <bits/types/struct_rusage.h> instead of defining here.
1992 * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
1993 Likewise.
1994 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
1995 Likewise.
1996 * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
1997 Likewise.
1998 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
1999 Likewise.
2000 * resource/Makefile (headers): Add bits/types/struct_rusage.h.
2001 * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
2002 Include <bits/types/struct_rusage.h>
2003
2004 2017-06-19 Florian Weimer <fweimer@redhat.com>
2005
2006 * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
2007
2008 2017-06-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
2009
2010 * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
2011
2012 2017-06-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2013
2014 * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
2015
2016 2017-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
2017
2018 [BZ #21537]
2019 * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2020 Check SHARED instead of PIC.
2021 (SYSCALL_PIC_SETUP): Add missing semicolons.
2022 * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2023 Check SHARED instead of PIC.
2024 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
2025 (__makecontext_ret): Adjust code to jump to exit.
2026
2027 2017-06-19 Christian Borntraeger <borntraeger@de.ibm.com>
2028
2029 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
2030 Simplify code by always using SVC 0 instead of EX.
2031 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2032
2033 2017-06-16 H.J. Lu <hongjiu.lu@intel.com>
2034
2035 * elf/Versions (ld): Remove _dl_out_of_memory.
2036
2037 2017-06-16 Joseph Myers <joseph@codesourcery.com>
2038
2039 * timezone/private.h: Update from tzcode 2017b.
2040 * timezone/tzfile.h: Likewise.
2041 * timezone/tzselect.ksh: Likewise.
2042 * timezone/zdump.c: Likewise.
2043 * timezone/zic.c: Likewise.
2044 * timezone/Makefile (tz-cflags): Add -D_ISOMAC
2045 -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
2046 * time/tzset.c (SECSPERDAY): New macro.
2047
2048 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
2049
2050 * manual/string.texi (strdup): Complete header and standards
2051 annotation.
2052 (strncpy): Likewise.
2053
2054 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
2055
2056 * manual/arith.texi (FP_NAN): Add or complete header and standard
2057 annotations.
2058 (FP_INFINITE): Likewise.
2059 (FP_ZERO): Likewise.
2060 (FP_SUBNORMAL): Likewise.
2061 (FP_NORMAL): Likewise.
2062 (SNAN): Likewise.
2063 (SNANL): Likewise.
2064 (totalorderf): Likewise.
2065 (totalorderl): Likewise.
2066 (totalordermagf): Likewise.
2067 (totalordermagl): Likewise.
2068 (_Complex_I): Likewise.
2069 (I): Likewise.
2070
2071 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
2072
2073 * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
2074 standard annotation.
2075 (ARGP_HELP_SHORT_USAGE): Likewise.
2076 (ARGP_HELP_SEE): Likewise.
2077 (ARGP_HELP_LONG): Likewise.
2078 (ARGP_HELP_PRE_DOC): Likewise.
2079 (ARGP_HELP_POST_DOC): Likewise.
2080 (ARGP_HELP_DOC): Likewise.
2081 (ARGP_HELP_BUG_ADDR): Likewise.
2082 (ARGP_HELP_LONG_ONLY): Likewise.
2083 (ARGP_HELP_EXIT_ERR): Likewise.
2084 (ARGP_HELP_EXIT_OK): Likewise.
2085 (ARGP_HELP_STD_ERR): Likewise.
2086 (ARGP_HELP_STD_USAGE): Likewise.
2087 (ARGP_HELP_STD_HELP): Likewise.
2088
2089 2017-06-15 Rical Jasan <ricaljasan@pacific.net>
2090
2091 * manual/Makefile: Generate summary.texi with summary.pl. Force
2092 use of the C locale. Update Perl dependency comment.
2093 * manual/header.texi: Update reference to summary.awk.
2094 * manual/macros.texi: Refer authors to `summary.pl --help'.
2095 * manual/summary.awk: Remove file.
2096 * manual/summary.pl: New file. Generate summary.texi, and check
2097 for @standards-related syntax errors.
2098 * manual/argp.texi: Convert header and standards @comments to
2099 @standards.
2100 * manual/arith.texi: Likewise.
2101 * manual/charset.texi: Likewise.
2102 * manual/conf.texi: Likewise.
2103 * manual/creature.texi: Likewise.
2104 * manual/crypt.texi: Likewise.
2105 * manual/ctype.texi: Likewise.
2106 * manual/debug.texi: Likewise.
2107 * manual/errno.texi: Likewise.
2108 * manual/filesys.texi: Likewise.
2109 * manual/getopt.texi: Likewise.
2110 * manual/job.texi: Likewise.
2111 * manual/lang.texi: Likewise.
2112 * manual/llio.texi: Likewise.
2113 * manual/locale.texi: Likewise.
2114 * manual/math.texi: Likewise.
2115 * manual/memory.texi: Likewise.
2116 * manual/message.texi: Likewise.
2117 * manual/pattern.texi: Likewise.
2118 * manual/pipe.texi: Likewise.
2119 * manual/process.texi: Likewise.
2120 * manual/resource.texi: Likewise.
2121 * manual/search.texi: Likewise.
2122 * manual/setjmp.texi: Likewise.
2123 * manual/signal.texi: Likewise.
2124 * manual/socket.texi: Likewise.
2125 * manual/startup.texi: Likewise.
2126 * manual/stdio.texi: Likewise.
2127 * manual/string.texi: Likewise.
2128 * manual/sysinfo.texi: Likewise.
2129 * manual/syslog.texi: Likewise.
2130 * manual/terminal.texi: Likewise.
2131 * manual/threads.texi: Likewise.
2132 * manual/time.texi: Likewise.
2133 * manual/users.texi: Likewise.
2134
2135 2017-06-15 Rical Jasan <ricaljasan@pacific.net>
2136
2137 * manual/macros.texi (@standards): New macro. Provide placeholder
2138 for header and standards annotations.
2139 (@standardsx): New macro. Likewise, for lists of @*x elements.
2140
2141 2017-06-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2142
2143 * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
2144 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
2145 rule.
2146 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
2147 sync_file_range.
2148
2149 * support/support_test_main.c (support_test_main): Use optstring
2150 member for option string in getopt_long.
2151 * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
2152 (CMDLINE_OPTSTRING): New define.
2153 * support/test-driver.h (test_config): Add optstring member.
2154
2155 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2156
2157 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2158 strcspn-sse2, strpbrk-sse2 and strspn-sse2.
2159 * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
2160 Check USE_AS_STRPBRK instead of STRPBRK_P.
2161 * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
2162 * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
2163 * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
2164 * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
2165 * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
2166 * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
2167 * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
2168 * sysdeps/x86_64/multiarch/strspn.c: Likewise.
2169 * sysdeps/x86_64/multiarch/strcspn.S: Removed.
2170 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2171 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2172 * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
2173 and "#endif".
2174
2175 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2176
2177 * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
2178 * sysdeps/x86_64/multiarch/wcscpy.c: New file.
2179
2180 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2181
2182 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2183 strcat-sse2.
2184 * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
2185 * sysdeps/x86_64/multiarch/strcat.c: Likewise.
2186 * sysdeps/x86_64/multiarch/strncat.c: Likewise.
2187 * sysdeps/x86_64/multiarch/strcat.S: Removed.
2188 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2189
2190 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2191 Erich Elsen <eriche@google.com>
2192
2193 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2194 memcmp-sse2.
2195 * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
2196 * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
2197 * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
2198 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2199 * sysdeps/x86_64/multiarch/memcmp.S: Removed.
2200 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2201
2202 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2203 Erich Elsen <eriche@google.com>
2204
2205 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2206 memset-sse2-unaligned-erms, and memset_chk-nonshared.
2207 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2208 (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
2209 Update comments.
2210 * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
2211 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
2212 * sysdeps/x86_64/multiarch/memset.c: Likewise.
2213 * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
2214 * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
2215 * sysdeps/x86_64/multiarch/memset.S: Removed.
2216 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2217 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2218 (__memset_chk_erms): New function.
2219
2220 2017-06-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
2221
2222 * configure.ac(--enable-tunables): Enable by default.
2223 * configure: Regenerate.
2224 * NEWS: Mention change.
2225 * manual/install.texi (enable-tunables): Adjust documentation.
2226 * INSTALL: Regenerate.
2227
2228 2017-06-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2229
2230 [BZ #18988]
2231 * benchtests/thread_create-inputs: New file.
2232 * benchtests/thread_create-source.c: Likewise.
2233 * support/xpthread_attr_setguardsize.c: Likewise.
2234 * support/Makefile (libsupport-routines): Add
2235 xpthread_attr_setguardsize object.
2236 * support/xthread.h: Add xpthread_attr_setguardsize prototype.
2237 * benchtests/Makefile (bench-pthread): Add thread_create.
2238 * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
2239 then mprotect the required area.
2240 (guard_position): New function.
2241 (setup_stack_prot): Likewise.
2242
2243 2017-06-14 H.J. Lu <hongjiu.lu@intel.com>
2244 Erich Elsen <eriche@google.com>
2245 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2246
2247 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2248 memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
2249 mempcpy_chk-nonshared and memmove_chk-nonshared.
2250 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2251 (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
2252 __memcpy_chk_erms and __mempcpy_chk_erms. Update comments.
2253 * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
2254 * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
2255 * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
2256 * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
2257 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
2258 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2259 * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
2260 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2261 * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
2262 * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
2263 * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
2264 * sysdeps/x86_64/multiarch/memcpy.S: Removed.
2265 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2266 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2267 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2268 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2269 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2270 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2271 (__mempcpy_chk_erms): New function.
2272 (__memmove_chk_erms): Likewise.
2273 (__memcpy_chk_erms): New alias.
2274
2275 2017-06-14 Florian Weimer <fweimer@redhat.com>
2276
2277 * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
2278 * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
2279
2280 2017-06-14 Zack Weinberg <zackw@panix.com>
2281
2282 * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
2283 Reorganize file. Declare errno here. When __ASSEMBLER__ is
2284 defined, don't declare anything other than the E-constants.
2285
2286 * include/errno.h: Change conditional for exposing internal
2287 declarations to (not _ISOMAC and not __ASSEMBLER__).
2288 * bits/errno.h: Remove logic for __need_Emath. Document
2289 requirements for a port-specific bits/errno.h.
2290
2291 * sysdeps/unix/sysv/linux/bits/errno.h
2292 * sysdeps/unix/sysv/linux/alpha/bits/errno.h
2293 * sysdeps/unix/sysv/linux/hppa/bits/errno.h
2294 * sysdeps/unix/sysv/linux/mips/bits/errno.h
2295 * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
2296 Add multiple-include guard and check against improper inclusion.
2297 Remove __need_Emath logic. Don't declare errno here. Ensure all
2298 constants are defined as simple integer literals. Consistent
2299 formatting.
2300 * sysdeps/mach/hurd/errnos.awk: Likewise. Only define error_t and
2301 enum __error_t_codes if __ASSEMBLER__ is not defined.
2302 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2303
2304 * argp/argp.h, string/argz.h: Don't define __need_error_t before
2305 including errno.h.
2306 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
2307 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
2308 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
2309 * sysdeps/x86_64/fpu/s_cosf.S
2310 * sysdeps/x86_64/fpu/s_sincosf.S
2311 * sysdeps/x86_64/fpu/s_sinf.S:
2312 Just include errno.h; don't define __need_Emath or include
2313 bits/errno.h directly.
2314
2315 2017-06-14 Zack Weinberg <zackw@panix.com>
2316
2317 * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
2318 * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
2319 * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
2320
2321 * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
2322 for IOV_MAX.
2323 * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
2324 Don't install bits/uio.h.
2325 * misc/sys/uio.h: Don't include bits/uio.h. Do include
2326 bits/types/struct_iovec.h and bits/uio_lim.h. Set UIO_MAXIOV
2327 based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
2328
2329 * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
2330 and __need_IOV_MAX. Don't define IOV_MAX at all.
2331 * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
2332
2333 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
2334 Include bits/types/struct_iovec.h, not bits/uio.h.
2335 Use __ssize_t, not ssize_t, in function prototypes.
2336 Don't use hard TAB for double space after period in comments.
2337
2338 2017-06-14 Alan Modra <amodra@gmail.com>
2339
2340 * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
2341 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
2342 refsym and sym parameters. Adjust callers.
2343 * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2344 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
2345 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
2346 * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
2347 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
2348 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2349 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
2350 * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
2351 * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
2352 * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
2353 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
2354 Likewise.
2355 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2356 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2357 * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
2358 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2359 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2360 * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
2361 * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2362 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
2363 (_dl_reloc_overflow): Increase buffser size. Formatting.
2364 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2365 Delete reloc param, add refsym and sym. Check optimized plt
2366 call stubs for localentry:0 functions. Adjust callers.
2367 (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
2368 and sym parameters. Adjust callers.
2369 (_dl_reloc_overflow): Move attribute.
2370 (_dl_error_localentry): Declare.
2371 * elf/dl-runtime.c (_dl_fixup): Save original sym. Pass
2372 refsym and sym to elf_machine_fixup_plt.
2373 * elf/testobj6.c (preload): Call printf.
2374
2375 2017-06-14 Alan Modra <amodra@gmail.com>
2376
2377 * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2378 (NOPS, ENTRY_3): New macros.
2379 (ENTRY): Rewrite.
2380 (ENTRY_TOCLESS): Define.
2381 (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
2382 EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
2383 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
2384 * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
2385 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2386 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2387 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2388 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2389 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
2390 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2391 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2392 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2393 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2394 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2395 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2396 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2397 * sysdeps/powerpc/powerpc64/memset.S: Likewise.
2398 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2399 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2400 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2401 * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
2402 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2403 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
2404 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2405 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
2406 * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
2407 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2408 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2409 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2410 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
2411 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2412 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2413 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2414 * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
2415 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2416 * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
2417 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2418 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2419 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2420 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2421 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2422 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2423 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2424 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2425 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2426 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2427 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2428 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2429 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2430 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2431 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2432 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2433 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2434 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2435 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2436 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2437 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2438 * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
2439 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2440 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2441 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2442 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
2443 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
2444 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2445 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2446 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
2447 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
2448 Likewise.
2449 * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
2450 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
2451 * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
2452 * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
2453 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2454 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
2455 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
2456 * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
2457 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2458 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2459 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2460 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2461 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2462 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
2463 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2464 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2465 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2466 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
2467 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2468 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2469 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2470 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
2471 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
2472 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
2473 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2474 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
2475 * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
2476 * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
2477 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2478 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2479 * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier. Don't
2480 add nop when SHARED.
2481 * sysdeps/powerpc/powerpc64/start.S: Fix comment.
2482 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
2483 define.
2484 (ENTRY_TOCLESS): Define.
2485 * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
2486 * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
2487 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2488
2489 2017-06-14 Alan Modra <amodra@gmail.com>
2490
2491 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
2492 MEMSET_is_local.
2493 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
2494 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
2495 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
2496 Define MEMSET.
2497 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
2498 STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
2499 * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise. Don't add
2500 nop after local calls.
2501 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
2502 Don't add nop after local call.
2503 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise. Add missing
2504 CALL_MCOUNT.
2505
2506 2017-06-14 Alan Modra <amodra@gmail.com>
2507
2508 * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2509 (FUNC_LABEL): Rename from DOT_LABEL.
2510 (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
2511 Use .p2align rather than .align.
2512 (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
2513 (ABORT_TRANSACTION): Likewise.
2514 (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
2515 particularly at end. Add semicolon at invocation as necessary.
2516 (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
2517 (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
2518 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
2519 END): Adjust to suit.
2520
2521 2017-06-14 Alan Modra <amodra@gmail.com>
2522
2523 * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
2524 FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
2525 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2526 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2527 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
2528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
2529 uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
2530
2531 2017-06-14 Alan Modra <amodra@gmail.com>
2532
2533 * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
2534 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
2535
2536 2017-06-13 Gordana Cmiljanovic <gordana.cmiljanovic@imgtec.com>
2537
2538 [BZ #21548]
2539 * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
2540 8 and use it when copying general purpose registers.
2541 * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
2542 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
2543 mips o32.
2544 * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
2545 new test for mips o32.
2546 * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
2547 8 and use it when copying general purpose registers.
2548 * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
2549
2550 2017-06-13 Florian Weimer <fweimer@redhat.com>
2551
2552 * configure.ac (find_cxx_header): Suppress compiler error message.
2553
2554 2017-06-13 Florian Weimer <fweimer@redhat.com>
2555
2556 * malloc/dynarray-skeleton.c: List begin/end as defined functions.
2557 (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
2558 * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
2559 begin/end.
2560 * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
2561 dynarray_int_end.
2562 (test_str): Test dynarray_str_begin, dynarray_str_end.
2563
2564 2017-06-13 H.J. Lu <hongjiu.lu@intel.com>
2565
2566 [BZ #21573]
2567 * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
2568 $(common-objpfx)bits/std_abs.h.
2569 [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
2570 New target.
2571 * config.make.in (c++-bits-std_abs-h): New.
2572 * configure.ac (find_cxx_header): Use "\,$1," with sed.
2573 (CXX_BITS_STD_ABS_H): New.
2574 (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
2575 * configure: Regenerated.
2576
2577 2017-06-13 Zack Weinberg <zackw@panix.com>
2578
2579 * posix/bits/cpu-set.h: Correct indentation of preprocessor
2580 directives.
2581
2582 2017-06-12 Zack Weinberg <zackw@panix.com>
2583
2584 * bits/sched.h: Remove __need_schedparam logic and replace with a
2585 normal multiple-include guard. Change field name in struct
2586 sched_param from __sched_priority to sched_priority. Delete
2587 everything under #ifndef __cpu_set_t_defined.
2588 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. Also sync with
2589 kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
2590
2591 * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
2592 For compatibility, #define sched_priority to itself, and #define
2593 __sched_priority as sched_priority.
2594 * posix/bits/cpu-set.h: New file containing, verbatim, the code
2595 that was under #ifndef __cpu_set_t_defined in
2596 sysdeps/unix/sysv/linux/bits/sched.h.
2597 * include/bits/cpu-set.h: New wrapper.
2598 * posix/Makefile: Install bits/cpu-set.h.
2599
2600 2017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2601 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2602 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2603
2604 * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
2605 (%all_floats_pfx): Add macro prefix for float128 (FLT128).
2606 * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
2607 * math/libm-test-isfinite.inc (finite_test): Likewise.
2608 * math/libm-test-lgamma.inc (gamma_test): Likewise.
2609 * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
2610 (nexttoward_test_data}: Likewise.
2611 * math/libm-test-remainder.inc (drem_test): Likewise.
2612 * math/libm-test-scalb.inc (scalb_test): Likewise.
2613 (scalb_test_data): Likewise.
2614 * math/libm-test-significand.inc (significand_test): Likewise.
2615 (significand_test_data): Likewise.
2616 * math/libm-test-support.c (check_complex): Replace __complex__
2617 FLOAT with CFLOAT to get the support for old compiler.
2618 * math/libm-test-support.h (check_complex): Likewise.
2619 * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
2620 * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
2621 * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
2622 * math/test-float128.h: New file.
2623 * math/test-math-floatn.h: New file.
2624
2625 2017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2626
2627 * include/float.h: Allow the definition of macros prefixed with
2628 FLT128 even if _ISOMAC is defined, but provided that
2629 __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
2630
2631 2017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2632
2633 * manual/math.texi (Mathematics): Add description for _FloatN and
2634 _FloatNx types and mentions that they are not support in glibc for
2635 any architecture, so far.
2636 * manual/arith.texi (wcstof, wcstold): Replace the mention to
2637 stdlib.h with wchar.h.
2638 (Parsing of Floats): Add descriptions for strtofN and wcstofN.
2639 (Printing of Floats): Add description for strfromfN.
2640
2641 2017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2642 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2643 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2644
2645 * include/gmp.h (__mpn_construct_float128): New declaration.
2646 * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
2647 (__strtof128_l): New declaration.
2648 (__strtof128_nan): Likewise.
2649 (__wcstof128_nan): Likewise.
2650 (__strtof128_internal): Likewise.
2651 (____strtof128_l_internal): Likewise.
2652 * include/wchar.h: Include bits/floatn.h for _Float128 tests.
2653 (__wcstof128_l): New declaration.
2654 (__wcstof128_internal): Likewise.
2655
2656 * stdlib/Makefile (bug-strtod2): Link libm too.
2657
2658 * stdlib/stdlib.h (strtof128): New declaration.
2659 (strtof128_l): Likewise.
2660
2661 * stdlib/tst-strtod-nan-locale-main.c: Updated to use
2662 tst-strtod.h macros to ensure float128 gets tested too.
2663
2664 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
2665
2666 * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
2667 tests.
2668 (IF_FLOAT128): New macro.
2669 (GEN_TEST_STRTOD): Update to optionally include _Float128 in
2670 the tests.
2671 (STRTOD_TEST_FOREACH): Likewise.
2672
2673 * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
2674 wcstof128 functions into libc.
2675
2676 * sysdeps/ieee754/float128/Versions: Add exports for the above
2677 new functions.
2678
2679 * sysdeps/ieee754/float128/mpn2float128.c: New file.
2680 * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
2681 * sysdeps/ieee754/float128/strtof128.c: New file.
2682 * sysdeps/ieee754/float128/strtof128_l.c: New file.
2683 * sysdeps/ieee754/float128/strtof128_nan.c: New file.
2684 * sysdeps/ieee754/float128/wcstof128.c: New file.
2685 * sysdeps/ieee754/float128/wcstof128_l.c: New file.
2686 * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
2687 * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
2688 (CFLAGS-wcstof128_l): Likewise.
2689
2690 * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
2691 (wcstof128): New declaration.
2692 (wcstof128_l): Likewise.
2693
2694 2017-06-12 Joseph Myers <joseph@codesourcery.com>
2695
2696 [BZ #21552]
2697 * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
2698 not [__USE_XOPEN].
2699 * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
2700
2701 [BZ #21550]
2702 * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
2703
2704 2017-06-12 H.J. Lu <hongjiu.lu@intel.com>
2705
2706 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2707 strcpy-sse2 and stpcpy-sse2.
2708 * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
2709 * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
2710 * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
2711 * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
2712 * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
2713 * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
2714 * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
2715 * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
2716 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2717 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2718 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2719 * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
2720 (libc_hidden_def): Always defined as empty.
2721 * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
2722 Always Defined as empty.
2723
2724 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2725
2726 * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
2727
2728 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2729
2730 [BZ #15105]
2731 [BZ #19463]
2732 * include/string.h: Add internal redirect for __stpcpy.
2733 * string/Makefile: Remove bits/string2.h.
2734 * string/string.h: Update comment.
2735 * string/string-inlines.c: Remove bits/string2.h include and comment.
2736 * string/bits/string2.h: Remove file.
2737
2738 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2739
2740 * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
2741 * sunrpc/clnt_gen.c (clnt_create): Likewise.
2742 * sunrpc/des_impl.c (_des_crypt): Likewise.
2743 * sunrpc/key_call.c (key_gendes): Likewise.
2744 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2745 * sunrpc/svc_simple.c (universal): Likewise.
2746 * sunrpc/svc_tcp.c (svctcp_create): Likewise.
2747 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
2748 * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
2749
2750 2017-06-10 Zack Weinberg <zackw@panix.com>
2751
2752 * stdlib/errno.h: Correct an outdated comment.
2753
2754 2017-06-09 Paul A. Clarke <pc@us.ibm.com>
2755
2756 * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
2757 Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
2758 CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
2759 * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
2760 New file. Invoke newly supported sysconf values for powerpc,
2761 and report results. If none are supported, report so.
2762 * sysdeps/unix/sysv/linux/powerpc/Makefile (tests): Add new test,
2763 tst-sysconf.
2764
2765 2017-06-09 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2766
2767 * include/sys/auxv.h (__getauxval): Add a prototype and its
2768 libc_hidden_proto.
2769 * misc/getauxval.c (__getauxval): Use libc_hidden_def.
2770
2771 2017-06-09 Joseph Myers <joseph@codesourcery.com>
2772
2773 [BZ #21561]
2774 * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
2775 [__USE_XOPEN_EXTENDED].
2776 (id_t): Likewise.
2777 (include of <bits/types/siginfo_t.h): Likewise.
2778 (waitid): Likewise.
2779 * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
2780 on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
2781 (WEXITED): Likewise.
2782 (WCONTINUED): Likewise.
2783 (WNOWAIT): Likewise.
2784 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
2785 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2786 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2787
2788 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
2789 libc.so PLT entry optional.
2790 (__gtsf2): Likewise.
2791 (__unorddf2): Likewise.
2792 (__unordsf2): Likewise.
2793 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
2794 New optional libc.so PLT entry.
2795
2796 [BZ #21554]
2797 * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
2798 not [__USE_XOPEN].
2799
2800 [BZ #21560]
2801 * posix/sys/wait.h: Condition include of <signal.h> on
2802 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]. Include <bits/types.h>
2803 unconditionally.
2804 [!__pid_t_defined] (pid_t): Define typedef.
2805
2806 2017-06-09 Zack Weinberg <zackw@panix.com>
2807
2808 * include/errno.h (__errno_location): Use __attribute_const__
2809 instead of bare __attribute__.
2810
2811 2017-06-09 Zack Weinberg <zackw@panix.com>
2812
2813 * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
2814 (common-generated): Add libc-modules.h and libc-modules.stmp in a
2815 more appropriate location. Also add dl-tunable-list.h and
2816 dl-tunable-list.stmp.
2817
2818 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2819
2820 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
2821
2822 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2823
2824 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2825 strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
2826 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2827 (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
2828 __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
2829 * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
2830 * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
2831 * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
2832 * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
2833 * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
2834 * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
2835
2836 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2837
2838 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2839 memrchr-sse2 and memrchr-avx2.
2840 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2841 (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
2842 __memrchr_sse2.
2843 * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
2844 * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
2845 * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
2846
2847 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2848
2849 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2850 strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
2851 wcschr-sse2 and wcschr-avx2.
2852 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2853 (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
2854 __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
2855 __wcschr_sse2.
2856 * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
2857 * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
2858 * sysdeps/x86_64/multiarch/strchr.c: Likewise.
2859 * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
2860 * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
2861 * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
2862 * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
2863 * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
2864 * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
2865 * sysdeps/x86_64/multiarch/strchr.S: Removed.
2866
2867 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2868
2869 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2870 strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
2871 wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
2872 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2873 (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
2874 __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
2875 __wcslen_sse2 and __wcsnlen_avx2.
2876 * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
2877 * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
2878 * sysdeps/x86_64/multiarch/strlen.c: Likewise.
2879 * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
2880 * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
2881 * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
2882 * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
2883 * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
2884 * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
2885 * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
2886 * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
2887 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
2888 vzeroupper is preferred and AVX unaligned load is fast.
2889
2890 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2891
2892 * sysdeps/x86_64/memchr.S (MEMCHR): New. Depending on if
2893 USE_AS_WMEMCHR is defined.
2894 (PCMPEQ): Likewise.
2895 (memchr): Renamed to ...
2896 (MEMCHR): This. Support wmemchr if USE_AS_WMEMCHR is defined.
2897 Replace pcmpeqb with PCMPEQ.
2898 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2899 memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
2900 wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
2901 * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
2902 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
2903 * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
2904 * sysdeps/x86_64/multiarch/memchr.c: Likewise.
2905 * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
2906 * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
2907 * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
2908 * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
2909 * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
2910 * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
2911 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2912 (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
2913 __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
2914 __wmemchr_sse2.
2915
2916 2017-06-09 Florian Weimer <fweimer@redhat.com>
2917
2918 * malloc/Makefile (test-srcs): Remove tst-dynarray,
2919 tst-dynarray-fail.
2920
2921 2017-06-09 Florian Weimer <fweimer@redhat.com>
2922
2923 Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
2924 * support/support_test_verify_impl.c
2925 (support_test_verify_exit_impl): Split from
2926 support_test_verify_impl.
2927 * support/check.h (TEST_VERIFY): Drop status argument from
2928 support_test_verify_impl call.
2929 (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
2930 (support_test_verify_impl): Remove status argument.
2931 (support_test_verify_exit_impl): Declare.
2932
2933 2017-06-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
2934
2935 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
2936 mention of magic numbers in comments.
2937 (_dl_procinfo): Fix undefined behavior
2938
2939 2017-06-08 Joseph Myers <joseph@codesourcery.com>
2940
2941 * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
2942 [XPG4].
2943 (WEXITED): Likewise.
2944 (WSTOPPED): Likewise.
2945 (WCONTINUED): Likewise.
2946 (WNOHANG): Likewise.
2947 (WNOWAIT): Likewise.
2948 (idtype_t): Likewise.
2949 (P_ALL): Likewise.
2950 (P_PID): Likewise.
2951 (P_PGID): Likewise.
2952 (id_t): Likewise.
2953 (siginfo_t): Likewise.
2954 (wait3): Likewise.
2955 (waitid): Likewise.
2956 (signal.h): Do not allow header for [XPG4].
2957 (sys/resource.h): Likewise.
2958 (si_*): Do not allow for [XPG4].
2959 (W*): Likewise.
2960 (P_*): Likewise.
2961 (BUS_): Likewise.
2962 (CLD_): Likewise.
2963 (FPE_): Likewise.
2964 (ILL_): Likewise.
2965 (POLL_): Likewise.
2966 (SEGV_): Likewise.
2967 (SI_): Likewise.
2968 (TRAP_): Likewise.
2969 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
2970 variable.
2971
2972 2017-06-08 H.J. Lu <hongjiu.lu@intel.com>
2973
2974 [BZ #21528]
2975 * elf/dl-minimal.c (__strtoul_internal): Removed.
2976 (strtoul): Likewise.
2977 * elf/dl-misc.c (_dl_strtoul): New function.
2978 * elf/dl-tunables.c (tunables_strtoul): Removed.
2979 (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
2980 * elf/rtld.c (process_envvars): Likewise.
2981 * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
2982 Likewise.
2983 * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
2984
2985 2017-06-08 Zack Weinberg <zackw@panix.com>
2986
2987 * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
2988 * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
2989 * wcsmbs/bits/types/wint_t.h: New single-type definition files.
2990 * wctype/bits/wctype-wchar.h: New file holding declarations shared
2991 between wctype.h and wchar.h.
2992
2993 * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
2994 Install them.
2995
2996 * include/bits/types/FILE.h, include/bits/types/__FILE.h
2997 * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
2998 * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
2999 New wrappers.
3000 * include/stdio.h, include/wchar.h, include/wctype.h:
3001 No need to handle __need macros.
3002
3003 * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
3004 * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
3005 * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
3006 * wcsmbs/wchar.h, wctype/wctype.h
3007 * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
3008 Use the new files instead of __need macros.
3009
3010 2017-06-08 H.J. Lu <hongjiu.lu@intel.com>
3011
3012 * string/test-memrchr.c (test_main): Add tests for len == 0
3013 and tests for positions close to the beginning, which are
3014 equivalent to positions close to the end for memchr.
3015
3016 2017-06-07 H.J. Lu <hongjiu.lu@intel.com>
3017
3018 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
3019 comments.
3020 * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
3021 instead of wmemset.h.
3022 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3023 * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
3024 * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
3025
3026 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3027
3028 * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
3029 spec->info.is_binary128 to zero.
3030 * stdio-common/printf.h (printf_info): Add new member is_binary128
3031 to indicate that the number being converted to string is compatible
3032 with the IEC 60559 binary128 format.
3033 * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
3034 _Float128 numbers.
3035 * stdio-common/printf_fphex.c: Include ieee754_float128.h and
3036 ldbl-128/printf_fphex_macros.h
3037 (__printf_fphex): Add code to deal with _Float128 numbers.
3038 * stdio-common/printf_size.c (__printf_size): Likewise.
3039 * stdio-common/vfprintf.c (process_arg): Initialize member
3040 info.is_binary128 to zero.
3041 * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
3042 * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
3043 (strfromf128): New declaration.
3044 * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
3045 to one.
3046 * sysdeps/ieee754/float128/Makefile: Add strfromf128.
3047 * sysdeps/ieee754/float128/Versions: Likewise.
3048 * sysdeps/ieee754/float128/strfromf128.c: New file.
3049
3050 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3051
3052 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
3053 ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
3054 (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
3055 * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
3056 (PRINT_FPHEX): New function-like macro that can be used for long
3057 double, as well as for _Float128
3058
3059 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3060
3061 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
3062 (__printf_fp_l): Use the new macro to avoid duplicating code.
3063 * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
3064 (__printf_fphex): Use the new macro to avoid duplicating code.
3065 * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
3066 (__printf_size): Use the new macro to avoid duplicating code.
3067
3068 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3069
3070 * include/gmp.h: Include bits/floatn.h
3071 (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
3072 * stdlib/gmp-impl.h: Also check if alloca is not defined before
3073 including stack-alloc.h. It could have been defined by other header
3074 which not necessarily defines HAVE_ALLOCA.
3075 * sysdeps/ieee754/float128/Makefile: New file.
3076 * sysdeps/ieee754/float128/float1282mpn.c: New file.
3077 * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
3078 redefining __mpn_extract_long_double to __mpn_extract_float128, then
3079 redefine __mpn_extract_long_double to __mpn_extract_float128.
3080 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
3081 _Float128 to allow float128_private.h overrides.
3082
3083 2017-06-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3084
3085 * stdlib/fpioconst.h: Include bits/floatn.h.
3086 (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
3087 power of ten table should be.
3088 (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
3089 * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
3090 to include larger tables when _Float128 support is enabled.
3091 (_fpioconst_pow10): Likewise.
3092
3093 2017-06-07 Joseph Myers <joseph@codesourcery.com>
3094
3095 * include/bits/types/clock_t.h: Use #include <path> instead of
3096 #include "../../path".
3097 * include/bits/types/clockid_t.h: Likewise.
3098 * include/bits/types/struct_iovec.h: Likewise.
3099 * include/bits/types/struct_itimerspec.h: Likewise.
3100 * include/bits/types/struct_osockaddr.h: Likewise.
3101 * include/bits/types/struct_sigstack.h: Likewise.
3102 * include/bits/types/struct_timespec.h: Likewise.
3103 * include/bits/types/struct_timeval.h: Likewise.
3104 * include/bits/types/struct_tm.h: Likewise.
3105 * include/bits/types/time_t.h: Likewise.
3106 * include/bits/types/timer_t.h: Likewise.
3107
3108 [BZ #14096]
3109 * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
3110 America/New_York.
3111
3112 2017-06-07 H.J. Lu <hongjiu.lu@intel.com>
3113
3114 * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
3115 into ...
3116 * sysdeps/x86_64/multiarch/wcsnlen.c: Here. Don't include
3117 ifunc-sse4_1.h.
3118
3119 2017-06-07 Arjun Shankar <arjun.is@lostca.se>
3120
3121 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
3122 Remove check for NULL 'buf'.
3123 * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
3124
3125 2017-06-07 Arjun Shankar <arjun.is@lostca.se>
3126
3127 * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
3128 include test-skeleton.c.
3129 Include support/check.h and support/test-driver.c.
3130
3131 2017-06-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
3132
3133 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
3134 (_dl_aarch64_cap_flags): New array.
3135 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
3136 (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
3137 functions.
3138
3139 * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
3140 * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
3141 Likewise.
3142 * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
3143 up hwcap and hwcap_mask.
3144
3145 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
3146 (init_cpu_features): Use glibc.tune.hwcap_mask.
3147 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
3148
3149 * elf/dl-hwcaps.h: New file.
3150 * elf/dl-hwcaps.c: Include it.
3151 (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
3152 glibc.tune.hwcap_mask.
3153 * elf/dl-cache.c: Include dl-hwcaps.h.
3154 (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
3155 glibc.tune.hwcap_mask.
3156 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3157 * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
3158 _dl_hwcap_mask.
3159 * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
3160 _dl_hwcap_mask.
3161 (process_envvars)[HAVE_TUNABLES]: Likewise.
3162 * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
3163 Likewise.
3164 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
3165 initialize dl_hwcap_mask when tunables are enabled.
3166
3167 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
3168 guard.
3169 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3170
3171 * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
3172 * scripts/gen-tunables.awk: Include dl-procinfo.h.
3173 * manual/tunables.texi: Document glibc.tune.hwcap_mask.
3174
3175 * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
3176 * elf/dl-tunables.c: Likewise.
3177 (do_tunable_update_val): New function.
3178 (__tunable_set_val): New function.
3179 (__tunable_get_val): Call CB only if the tunable was externally
3180 initialized.
3181 (tunables_strtoul): Replace strval with initialized.
3182 * elf/dl-tunables.h (strval): Replace with a bool initialized.
3183 (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
3184 prevent collision.
3185 (__tunable_set_val): New function.
3186 (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
3187 (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
3188 (TUNABLE_SET_VAL): Remove.
3189 (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
3190 * README.tunables: Document the new macros.
3191 * malloc/arena.c (ptmalloc_init): Adjust.
3192
3193 2017-06-06 H.J. Lu <hongjiu.lu@intel.com>
3194
3195 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3196 wcsnlen-sse4_1 and wcsnlen-c.
3197 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3198 (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
3199 __wcsnlen_sse2.
3200 * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
3201 * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
3202 * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
3203 * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
3204 * sysdeps/x86_64/wcsnlen.S: Removed.
3205
3206 2017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
3207
3208 * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
3209 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
3210 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
3211 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
3212
3213 2017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
3214
3215 * NEWS: Mention new spinlock implementation.
3216 * include/atomic.h:
3217 (__atomic_val_bysize): Cast type to omit volatile qualifier.
3218 (atomic_exchange_acq): Likewise.
3219 (atomic_load_relaxed): Likewise.
3220 (ATOMIC_EXCHANGE_USES_CAS): Check definition.
3221 * nptl/pthread_spin_init.c (pthread_spin_init):
3222 Use atomic_store_relaxed.
3223 * nptl/pthread_spin_lock.c (pthread_spin_lock):
3224 Use C11-like atomic macros.
3225 * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3226 Likewise.
3227 * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
3228 Use atomic_store_release.
3229 * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
3230 * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
3231 * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
3232 * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
3233 * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
3234 * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
3235 * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
3236 * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
3237 * sysdeps/alpha/atomic-machine.h: Likewise.
3238 * sysdeps/arm/atomic-machine.h: Likewise.
3239 * sysdeps/i386/atomic-machine.h: Likewise.
3240 * sysdeps/ia64/atomic-machine.h: Likewise.
3241 * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
3242 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
3243 * sysdeps/microblaze/atomic-machine.h: Likewise.
3244 * sysdeps/mips/atomic-machine.h: Likewise.
3245 * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
3246 * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
3247 * sysdeps/s390/atomic-machine.h: Likewise.
3248 * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
3249 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
3250 * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
3251 * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
3252 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
3253 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
3254 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
3255 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
3256 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
3257 * sysdeps/x86_64/atomic-machine.h: Likewise.
3258
3259 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3260
3261 * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
3262 and use it instead of dl_x86_cpu_features.
3263 (handle_intel): Replace maxidx with cpu_features. Pass
3264 cpu_features to intel_check_word.
3265 (__cache_sysconf): Pass cpu_features to handle_intel.
3266 (init_cacheinfo): Likewise. Use cpu_features instead of
3267 dl_x86_cpu_features.
3268
3269 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3270
3271 * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
3272 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3273 memcmp-avx2 and wmemcmp-avx2.
3274 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3275 (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
3276 * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
3277 * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
3278 * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
3279 2 machines if AVX unaligned load is fast and vzeroupper is
3280 preferred.
3281 * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
3282 2 machines if AVX unaligned load is fast and vzeroupper is
3283 preferred.
3284
3285 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3286
3287 * include/wchar.h (__wmemset_chk): New.
3288 * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
3289 to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
3290 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3291 (WMEMSET_CHK_SYMBOL): Likewise.
3292 (WMEMSET_SYMBOL): Likewise.
3293 (__wmemset): Add hidden definition.
3294 (wmemset): Add weak hidden definition.
3295 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3296 wmemset_chk-nonshared.
3297 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3298 (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
3299 __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
3300 __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
3301 and __wmemset_chk_avx512_unaligned.
3302 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
3303 (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3304 (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3305 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3306 (WMEMSET_SYMBOL): Likewise.
3307 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
3308 (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3309 (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3310 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3311 (WMEMSET_SYMBOL): Likewise.
3312 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
3313 (WMEMSET_CHK_SYMBOL): New.
3314 (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
3315 (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
3316 * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
3317 (libc_hidden_builtin_def): Also define __GI_wmemset and
3318 __GI___wmemset.
3319 (weak_alias): New.
3320 * sysdeps/x86_64/multiarch/wmemset.c: New file.
3321 * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
3322 * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
3323 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3324 * sysdeps/x86_64/wmemset.c: Likewise.
3325 * sysdeps/x86_64/wmemset_chk.c: Likewise.
3326
3327 2017-06-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3328 H.J. Lu <hongjiu.lu@intel.com>
3329
3330 * sysdeps/x86/init-arch.h (PASTER1): New.
3331 (EVALUATOR1): Likewise.
3332 (PASTER2): Likewise.
3333 (EVALUATOR2): Likewise.
3334 (REDIRECT_NAME): Likewise.
3335 (OPTIMIZE): Likewise.
3336 (IFUNC_SELECTOR): Likewise.
3337
3338 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3339
3340 * sysdeps/x86_64/strlen.S (PMINU): New.
3341 (PCMPEQ): Likewise.
3342 (SHIFT_RETURN): Likewise.
3343 (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
3344 (strlen): Add SHIFT_RETURN before ret. Replace pcmpeqb and
3345 pminub with PCMPEQ and PMINU.
3346 * sysdeps/x86_64/wcsnlen.S: New file.
3347
3348 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3349
3350 * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
3351 the lower 32 bits. Remove redundant instructions.
3352
3353 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3354
3355 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
3356 0 as the high part of offset.
3357 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
3358
3359 2017-06-05 Joseph Myers <joseph@codesourcery.com>
3360
3361 [BZ #21538]
3362 * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
3363 [__USE_UNIX98].
3364 * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
3365 * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
3366 Likewise.
3367 * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
3368 * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
3369 * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
3370 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
3371 Likewise.
3372
3373 [BZ #21517]
3374 * bits/types/stack_t.h (stack_t): Remove struct tag.
3375 * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
3376 Likewise.
3377 * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
3378 Likewise.
3379 * debug/segfault.c (install_handler): Use stack_t instead of
3380 struct sigaltstack.
3381 * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
3382 * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
3383 * include/signal.h (__sigaltstack): Likwise.
3384 * signal/sigaltstack.c (__sigaltstack): Likewise.
3385 * signal/signal.h (sigaltstack): Likewise.
3386 * sysdeps/mach/hurd/i386/signal-defines.sym
3387 (SIGALTSTACK__SS_SP__OFFSET): Likewise.
3388 (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
3389 (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
3390 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3391 * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
3392 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
3393 elf_prstatus): Likewise.
3394 * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
3395 Likewise.
3396 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
3397 Likewise.
3398 * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
3399 Likewise.
3400 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
3401 elf_prstatus): Likewise.
3402 * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
3403 Likewise.
3404 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
3405 Likewise.
3406
3407 2017-06-04 Zack Weinberg <zackw@panix.com>
3408
3409 * sysdeps/gnu/errlist.c: Regenerate.
3410
3411 2017-06-04 H.J. Lu <hongjiu.lu@intel.com>
3412
3413 * benchtests/bench-memchr.c (do_test): Print out both length
3414 and position.
3415 (test_main): Also test the position close to the beginning for
3416 memrchr.
3417
3418 2017-06-04 Zack Weinberg <zackw@panix.com>
3419
3420 * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
3421 * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
3422 * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
3423 * nis/nis_destroygroup.c, nis/nis_domain_of.c
3424 * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
3425 * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
3426 * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
3427 * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
3428 * nis/nis_print_group_entry.c, nis/nis_remove.c
3429 * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
3430 * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
3431 * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
3432 * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
3433 * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
3434 * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
3435 * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
3436 * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
3437 * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
3438 * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
3439 * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
3440 * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
3441 * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
3442 * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
3443 * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
3444 * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
3445 * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
3446 * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
3447 * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
3448 * sunrpc/xdr_stdio.c: Include shlib-compat.h.
3449
3450 * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
3451 abi-versions.h as well as shlib-compat.h.
3452 * sunrpc/get_myaddr.c: Remove obsolete comment.
3453 * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
3454 * sunrpc/rpc_thread.c: Include libc-lock.h only once.
3455 * resolv/res_libc.c: Include shlib-compat.h only once.
3456
3457 2017-06-03 Florian Weimer <fweimer@redhat.com>
3458
3459 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
3460 of strdup.
3461
3462 2017-06-02 H.J. Lu <hongjiu.lu@intel.com>
3463
3464 * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
3465 Set to the 3/4 of the total shared cache size.
3466
3467 2017-06-02 Rical Jasan <ricaljasan@pacific.net>
3468
3469 * manual/errno.texi: Remove redundant error strings.
3470 * manual/macros.texi (@errno): Render the error string in every
3471 description.
3472
3473 2017-06-02 Joseph Myers <joseph@codesourcery.com>
3474
3475 [BZ #21543]
3476 * signal/signal.h: Only include <bits/types/sigevent_t.h> and
3477 <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
3478 [__USE_XOPEN_EXTENDED].
3479
3480 2017-06-02 Florian Weimer <fweimer@redhat.com>
3481
3482 * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
3483 strdupa.
3484 (getcanonname): Use __strdup instead of strdup.
3485
3486 2017-06-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3487
3488 * misc/Makefile (CFLAGS-preadv2.c): New rule.
3489 (CFLAGS-preadv64v2.c): Likewise.
3490 (CFLAGS-pwritev2.c): Likewise.
3491 (CFLAGS-pwritev64v2.c): Likewise.
3492
3493 2017-06-02 Florian Weimer <fweimer@redhat.com>
3494
3495 Test res_init with several configuration files.
3496 * resolv/Makefile [build-shared] (tests-internal): Add
3497 tst-resolv-res_init, tst-resolv-res_init-thread.
3498 (tst-resolv-res_init): Link against libdl, libresolv.
3499 (tst-resolv-res_init-thread): Link against libdl, libresolv,
3500 libpthread.
3501 * resolv/tst-resolv-res_init.c: New file.
3502 * resolv/tst-resolv-res_init-skeleton.c: Likewise.
3503 * resolv/tst-resolv-res_init-thread.c: Likewise.
3504 * support/Makefile (libsupport-routines): Add support-xstat,
3505 support_can_chroot, support_capture_subprocess_check,
3506 support_isolate_in_subprocess, support_shared_allocate,
3507 support_write_file_string, xchroot, xmkdir, xopen.
3508 * support/capture_subprocess.h (enum support_capture_allow): Define.
3509 (support_capture_subprocess_check): Declare.
3510 * support/namespace.h (support_can_chroot)
3511 (support_isolate_in_subprocess): Declare.
3512 * support/support-xstat.c: New file.
3513 * support/support.h (support_shared_allocate, support_shared_free)
3514 (support_write_file_string): Declare.
3515 * support/support_can_chroot.c: New file.
3516 * support/support_capture_subprocess_check.c: Likewise.
3517 * support/support_isolate_in_subprocess.c: Likewise.
3518 * support/support_shared_allocate.c: Likewise.
3519 * support/support_write_file_string.c: Likewise.
3520 * support/xchroot.c: Likwise.
3521 * support/xmkdir.c: Likwise.
3522 * support/xopen.c: Likwise.
3523 * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
3524
3525 2017-06-02 Florian Weimer <fweimer@redhat.com>
3526
3527 * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
3528 (gaih_inet): Remove malloc_canonbuf variable. Call getcanonname.
3529
3530 2017-06-02 Florian Weimer <fweimer@redhat.com>
3531
3532 * malloc/Makefile (routines): Add dynarray_at_failure,
3533 dynarray_emplace_enlarge, dynarray_finalize.
3534 (tests-internal): Add tst-dynarray, tst-dynarray-fail,
3535 tst-dynarray-at-fail.
3536 (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
3537 (tests-special): Add tst-dynarray-mem.out,
3538 tst-dynarray-mem-fail.out.
3539 (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
3540 (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
3541 mtrace.
3542 * malloc/Versions (__libc_dynarray_at_failure)
3543 (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
3544 (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
3545 GLIBC_PRIVATE.
3546 * malloc/dynarray.h: New file.
3547 * malloc/dynarray-skeleton.c: Likewise.
3548 * malloc/dynarray_at_failure.c: Likewise.
3549 * malloc/dynarray_emplace_enlarge.c: Likewise.
3550 * malloc/dynarray_finalize.c: Likewise.
3551 * malloc/dynarray_resize.c: Likewise.
3552 * malloc/dynarray_resize_clear.c: Likewise.
3553 * malloc/tst-dynarray.c: Likewise.
3554 * malloc/tst-dynarray-fail.c: Likewise.
3555 * malloc/tst-dynarray-at-fail.c: Likewise.
3556 * malloc/tst-dynarray-shared.h: Likewise.
3557 * support/Makefile (libsupport-routines): Add
3558 support_capture_subprocess, xdup2, xpipe.
3559 (tests): Add tst-support_capture_subprocess.
3560 * support/capture_subprocess.h: New file.
3561 * support/support_capture_subprocess.c: Likewise.
3562 * support/tst-support_capture_subprocess.c: Likewise.
3563 * support/xdup2.c: Likewise.
3564 * support/xpipe.c: Likewise.
3565 * support/xunistd.h (xdup2, xpipe): Declare.
3566
3567 2017-06-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3568
3569 * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
3570 macros MAX and MIN.
3571
3572 2017-06-01 Joseph Myers <joseph@codesourcery.com>
3573
3574 * conform/data/signal.h-data (sa_sigaction): Do not expect for
3575 [XPG4].
3576 (SA_SIGINFO): Likewise.
3577 (SA_ONSTACK): Likewise.
3578 (SA_RESETHAND): Likewise.
3579 (SA_RESTART): Likewise.
3580 (SA_NOCLDWAIT): Likewise.
3581 (SA_NODEFER): Likewise.
3582 (SS_ONSTACK): Likewise.
3583 (SS_DISABLE): Likewise.
3584 (MINSIGSTKSZ): Likewise.
3585 (SIGSTKSZ): Likewise.
3586 (ucontext_t): Likewise.
3587 (stack_t): Likewise.
3588 (struct sigstack): Likewise.
3589 (SI_USER): Do not expect for [XPG4 || XPG42].
3590 (SI_QUEUE): Likewise.
3591 (SI_TIMER): Likewise.
3592 (SI_ASYNCIO): Likewise.
3593 (SI_MESGQ): Likewise.
3594 (bsd_signal): Do not expect for [XPG4].
3595 (killpg): Likewise.
3596 (sigaltstack): Likewise.
3597 (sighold): Likewise.
3598 (sigignore): Likewise.
3599 (siginterrupt): Likewise.
3600 (sigpause): Likewise.
3601 (sigrelse): Likewise.
3602 (sigset): Likewise.
3603 (sigwait): Do not expect for [XPG4 || XPG42].
3604
3605 2017-06-01 Zack Weinberg <zackw@panix.com>
3606
3607 [BZ #21514]
3608 * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
3609 pointing to the generated file in <builddir>/misc/bits/syscall.h.
3610
3611 2017-06-01 Joseph Myers <joseph@codesourcery.com>
3612
3613 [BZ #21457]
3614 * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
3615 NGREG to __NGREG if [__USE_MISC].
3616 (gregset_t): Define using __NGREG.
3617 (__ctx): New macro.
3618 (mcontext_t): Use __ctx in defining fields.
3619 * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
3620 define NGREG to __NGREG if [__USE_MISC].
3621 (gregset_t): Define using __NGREG.
3622 (__ctx): New macro.
3623 (__ctxt): Likewise.
3624 (fpregset_t): Use __ctx and __ctxt in defining fields.
3625 (mcontext_t): Likewise.
3626 * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
3627 define NGREG to __NGREG if [__USE_MISC].
3628 (gregset_t): Define using __NGREG.
3629 (__ctx): New macro.
3630 (mcontext_t): Use __ctx in defining fields.
3631 * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
3632 define NGREG to __NGREG if [__USE_MISC].
3633 (gregset_t): Define using __NGREG.
3634 (__ctx): New macro.
3635 (fpregset_t): Use __ctx in defining fields.
3636 (mcontext_t): Likewise.
3637 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
3638 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3639 (gregset_t): Define using __NGREG.
3640 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3641 [__USE_MISC].
3642 (fpregset_t): Define using __NFPREG.
3643 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
3644 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3645 (gregset_t): Define using __NGREG.
3646 (__ctx): New macro.
3647 (fpregset_t): Use __ctx in defining fields.
3648 (mcontext_t): Likewise.
3649 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
3650 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3651 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3652 [__USE_MISC].
3653 (gregset_t): Define using __NGREG.
3654 (__ctx): New macro.
3655 (fpregset_t): Use __ctx in defining fields.
3656 (mcontext_t): Likewise.
3657 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
3658 (mcontext_t): Use __ctx in defining fields.
3659 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
3660 macro.
3661 [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
3662 __NGREG if [__USE_MISC].
3663 [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
3664 [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
3665 (mcontext_t): Likewise.
3666 [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
3667 __NGREG if [__USE_MISC].
3668 [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
3669 to __NFPREG if [__USE_MISC].
3670 [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
3671 to __NVRREG if [__USE_MISC].
3672 [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
3673 [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
3674 [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
3675 [__WORDSIZE != 32] (vrregset_t): Likewise.
3676 [__WORDSIZE != 32] (mcontext_t): Likewise.
3677 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
3678 (__psw_t): Use __ctx in defining fields.
3679 (NGREG): Rename to __NGREG and define NGREG to __NGREG if
3680 [__USE_MISC].
3681 (gregset_t): Define using __NGREG.
3682 (fpreg_t): Use __ctx in defining fields.
3683 (fpregset_t): Likewise.
3684 (mcontext_t): Likewise.
3685 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
3686 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3687 (gregset_t): Define using __NGREG.
3688 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3689 [__USE_MISC].
3690 (fpregset_t): Define using __NFPREG.
3691 (__ctx): New macro.
3692 (mcontext_t): Use __ctx in defining fields.
3693 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
3694 [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
3695 __NGREG if [__USE_MISC].
3696 [__x86_64__] (gregset_t): Define using __NGREG.
3697 [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
3698 [__x86_64__] (struct _libc_fpstate): Likewise.
3699 [__x86_64__] (mcontext_t): Likewise.
3700 [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
3701 __NGREG if [__USE_MISC].
3702 [!__x86_64__] (gregset_t): Define using __NGREG.
3703 [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
3704 [!__x86_64__] (struct _libc_fpstate): Likewise.
3705 [!__x86_64__] (mcontext_t): Likewise.
3706
3707 2017-06-01 Zack Weinberg <zackw@panix.com>
3708
3709 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
3710 alpha/pt-vfork.S. Provide own compat shim for vfork and __vfork.
3711 * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
3712 * sysdeps/unix/sysv/linux/microblaze/localplt.data:
3713 libpthread.so no longer references __errno_location.
3714
3715 2017-05-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3716
3717 * NEWS: Add note about pwritev2 and preadv2 inclusion.
3718 * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
3719 pwritev64v2.
3720 (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
3721 * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
3722 pwritev64v2.
3723 * misc/preadv2.c: New file.
3724 * misc/preadv64v2.c: Likewise.
3725 * misc/pwritev2.c: Likewise.
3726 * misc/pwritev64v2.c: Likewise.
3727 * misc/tst-preadvwritev2.c: Likewise.
3728 * misc/tst-preadvwritev64v2.c: Likewise.
3729 * manual/llio.texi: Add preadv2 and pwritev2 documentation.
3730 * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
3731 prototype.
3732 [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
3733 [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
3734 [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
3735 * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
3736 (PWRITEV): Likewise.
3737 (do_test_with_offset): Use PREADV and PWRITEV macros and check for
3738 ENOSYS.
3739 * nptl/tst-cancel4.c (tf_pwritev2): New test.
3740 (tf_preadv2): Likewise.
3741 (tf_fsync): Add tf_pwritev2 and tf_preadv2.
3742 * sysdeps/posix/preadv2.c: Likewise.
3743 * sysdeps/posix/preadv64v2.c: Likewise.
3744 * sysdeps/posix/pwritev2.c: Likewise.
3745 * sysdeps/posix/pwritev64v2.c: Likewise.
3746 * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
3747 support in kernel.
3748 * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
3749 * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
3750 * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
3751 * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
3752 * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
3753 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
3754 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
3755 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
3756 * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
3757 support flags on Linux.
3758 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
3759 preadv2, preadv64v2, pwritev2, pwritev64v2.
3760 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
3761 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
3762 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
3763 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
3764 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
3765 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
3766 Likewise.
3767 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
3768 Likewise.
3769 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
3770 Likewise.
3771 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
3772 Likewise.
3773 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
3774 Likewise.
3775 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
3776 Likewise.
3777 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
3778 Likewise.
3779 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
3780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3781 (GLIBC_2.26): Likewise.
3782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3783 (GLIBC_2.26): Likewise.
3784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
3785 Likewise.
3786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3787 (GLIBC_2.26): Likewise.
3788 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
3789 Likewise.
3790 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
3791 Likewise.
3792 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
3793 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
3794 Likewise.
3795 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
3796 Likewise.
3797 * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
3798 Likewise.
3799 * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
3800 Likewise.
3801 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
3802 Likewise.
3803 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
3804 Likewise.
3805 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
3806 Likewise.
3807
3808 2017-05-31 Andreas Schwab <schwab@suse.de>
3809
3810 * nptl/tst-fork3.c: Include <support/test-driver.c>.
3811 (main): Rename to do_test and make static.
3812
3813 2017-05-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
3814
3815 * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
3816 ARCH_INIT_CPU_FEATURES.
3817 (LIBC_START_MAIN): Call it.
3818 * sysdeps/unix/sysv/linux/aarch64/libc-start.c
3819 (__libc_start_main): Remove.
3820 (ARCH_INIT_CPU_FEATURES): New macro.
3821 * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
3822 (ARCH_INIT_CPU_FEATURES): New macro.
3823
3824 2017-05-30 Dennis Wölfing <denniswoelfing@gmx.de>
3825 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3826
3827 * include/stdlib.h (__libc_reallocarray): New declaration.
3828 * malloc/Makefile (routines): Add reallocarray.
3829 (tests): Add tst-reallocarray.c.
3830 * malloc/Versions: Add reallocarray and __libc_reallocarray.
3831 * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
3832 function.
3833 * malloc/malloc.h (reallocarray): New declaration.
3834 * stdlib/stdlib.h (reallocarray): Likewise.
3835 * malloc/reallocarray.c: New file.
3836 * malloc/tst-reallocarray.c: New test file.
3837 * manual/memory.texi: Document reallocarray.
3838 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
3839 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3840 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3841 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3842 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3843 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3844 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3845 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3846 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3847 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3848 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3849 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3850 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3851 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3853 Likewise.
3854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3855 Likewise.
3856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3858 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3859 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3860 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3861 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3862 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3865 * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
3866 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3867 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3868
3869 2017-05-30 H.J. Lu <hongjiu.lu@intel.com>
3870
3871 * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
3872 the lower 32 bits.
3873
3874 2017-05-29 Andreas Schwab <schwab@linux-m68k.org>
3875
3876 * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
3877 $(build-pie-default) = yes]: Define.
3878
3879 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
3880
3881 * string/test-memchr.c (test_main): Add tests for n == 0.
3882
3883 2017-05-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3884
3885 * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
3886 nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
3887 (tests-internal): ... here.
3888
3889 2017-05-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
3890 H.J. Lu <hongjiu.lu@intel.com>
3891
3892 * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
3893 * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
3894 (__tunable_set_val): Likewise.
3895
3896 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
3897
3898 * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
3899 dl-tunables.list in subdirectories.
3900
3901 2017-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3902 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3903 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3904
3905 * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3906 (SNANF128): New macro.
3907 * math/e_sqrtf128.c: New file.
3908 * math/s_fmaxmag_template.c: Include math_private.h in order to
3909 make inline expansion of fabs128().
3910 * math/s_fminmag_template.c: Likewise.
3911
3912 * sysdeps/ieee754/float128/e_acosf128.c: New file.
3913 * sysdeps/ieee754/float128/e_acoshf128.c: New file.
3914 * sysdeps/ieee754/float128/e_asinf128.c: New file.
3915 * sysdeps/ieee754/float128/e_atan2f128.c: New file.
3916 * sysdeps/ieee754/float128/e_atanhf128.c: New file.
3917 * sysdeps/ieee754/float128/e_coshf128.c: New file.
3918 * sysdeps/ieee754/float128/e_exp10f128.c: New file.
3919 * sysdeps/ieee754/float128/e_expf128.c: New file.
3920 * sysdeps/ieee754/float128/e_fmodf128.c: New file.
3921 * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
3922 * sysdeps/ieee754/float128/e_hypotf128.c: New file.
3923 * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
3924 * sysdeps/ieee754/float128/e_j0f128.c: New file.
3925 * sysdeps/ieee754/float128/e_j1f128.c: New file.
3926 * sysdeps/ieee754/float128/e_jnf128.c: New file.
3927 * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
3928 * sysdeps/ieee754/float128/e_log10f128.c: New file.
3929 * sysdeps/ieee754/float128/e_log2f128.c: New file.
3930 * sysdeps/ieee754/float128/e_logf128.c: New file.
3931 * sysdeps/ieee754/float128/e_powf128.c: New file.
3932 * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
3933 * sysdeps/ieee754/float128/e_remainderf128.c: New file.
3934 * sysdeps/ieee754/float128/e_scalbf128.c: New file.
3935 * sysdeps/ieee754/float128/e_sinhf128.c: New file.
3936 * sysdeps/ieee754/float128/float128_private.h: New file.
3937 * sysdeps/ieee754/float128/gamma_productf128.c: New file.
3938 * sysdeps/ieee754/float128/ieee754_float128.h: New file.
3939 * sysdeps/ieee754/float128/k_cosf128.c: New file.
3940 * sysdeps/ieee754/float128/k_sincosf128.c: New file.
3941 * sysdeps/ieee754/float128/k_sinf128.c: New file.
3942 * sysdeps/ieee754/float128/k_tanf128.c: New file.
3943 * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
3944 * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
3945 * sysdeps/ieee754/float128/s_asinhf128.c: New file.
3946 * sysdeps/ieee754/float128/s_atanf128.c: New file.
3947 * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
3948 * sysdeps/ieee754/float128/s_ceilf128.c: New file.
3949 * sysdeps/ieee754/float128/s_copysignf128.c: New file.
3950 * sysdeps/ieee754/float128/s_cosf128.c: New file.
3951 * sysdeps/ieee754/float128/s_erff128.c: New file.
3952 * sysdeps/ieee754/float128/s_expm1f128.c: New file.
3953 * sysdeps/ieee754/float128/s_fabsf128.c: New file.
3954 * sysdeps/ieee754/float128/s_finitef128.c: New file.
3955 * sysdeps/ieee754/float128/s_floorf128.c: New file.
3956 * sysdeps/ieee754/float128/s_fmaf128.c: New file.
3957 * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
3958 * sysdeps/ieee754/float128/s_frexpf128.c: New file.
3959 * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
3960 * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
3961 * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
3962 * sysdeps/ieee754/float128/s_isinff128.c: New file.
3963 * sysdeps/ieee754/float128/s_isnanf128.c: New file.
3964 * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
3965 * sysdeps/ieee754/float128/s_llrintf128.c: New file.
3966 * sysdeps/ieee754/float128/s_llroundf128.c: New file.
3967 * sysdeps/ieee754/float128/s_log1pf128.c: New file.
3968 * sysdeps/ieee754/float128/s_logbf128.c: New file.
3969 * sysdeps/ieee754/float128/s_lrintf128.c: New file.
3970 * sysdeps/ieee754/float128/s_lroundf128.c: New file.
3971 * sysdeps/ieee754/float128/s_modff128.c: New file.
3972 * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
3973 * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
3974 * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
3975 * sysdeps/ieee754/float128/s_nextupf128.c: New file.
3976 * sysdeps/ieee754/float128/s_remquof128.c: New file.
3977 * sysdeps/ieee754/float128/s_rintf128.c: New file.
3978 * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
3979 * sysdeps/ieee754/float128/s_roundf128.c: New file.
3980 * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
3981 * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
3982 * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
3983 * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
3984 * sysdeps/ieee754/float128/s_signbitf128.c: New file.
3985 * sysdeps/ieee754/float128/s_significandf128.c: New file.
3986 * sysdeps/ieee754/float128/s_sincosf128.c: New file.
3987 * sysdeps/ieee754/float128/s_sinf128.c: New file.
3988 * sysdeps/ieee754/float128/s_tanf128.c: New file.
3989 * sysdeps/ieee754/float128/s_tanhf128.c: New file.
3990 * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
3991 * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
3992 * sysdeps/ieee754/float128/s_truncf128.c: New file.
3993 * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
3994 * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
3995 * sysdeps/ieee754/float128/t_sincosf128.c: New file.
3996 * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
3997
3998 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
3999 (__iscanonicalf128): Define as a macro.
4000
4001 2017-05-24 Steve Ellcey <sellcey@caviumnetworks.com>
4002
4003 * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
4004 (memmove): Use MEMMOVE for name.
4005 (memcpy): Use MEMCPY for name. Change internal labels
4006 to external labels.
4007 * sysdeps/aarch64/multiarch/Makefile: New file.
4008 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
4009 * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
4010 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
4011 * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
4012 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
4013 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
4014
4015 2017-05-24 Siddhesh Poyarekar <siddhesh@sourceware.org>
4016
4017 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4018 (_dl_arm_cap_flags): Fix array subscript.
4019 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4020 Fix count.
4021
4022 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
4023
4024 * sysdeps/x86/cacheinfo.c: Skip if not in libc.
4025
4026 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
4027
4028 * sysdeps/x86/cacheinfo.c (is_intel): Removed.
4029 (is_amd): Likewise.
4030 (max_cpuid): Likewise.
4031 (__cache_sysconf): Use __get_cpu_features to get cpu_features.
4032 (init_cacheinfo): Likewise.
4033
4034 2017-05-23 Joseph Myers <joseph@codesourcery.com>
4035
4036 [BZ #21511]
4037 * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
4038 [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
4039 (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
4040 !__USE_XOPEN2K) || __USE_MISC].
4041 * conform/data/signal.h-data (struct sigstack): Expect type only
4042 if [!XOPEN2K8 && !POSIX2008].
4043 (sigstack): Expect function only if [XPG42 || UNIX98].
4044
4045 [BZ #21457]
4046 * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
4047 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4048 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4049 <bits/types/__sigset_t.h>.
4050 (ucontext_t): Use sigset_t instead of __sigset_t.
4051 * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
4052 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4053 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4054 <bits/types/__sigset_t.h>.
4055 (ucontext_t): Use sigset_t instead of __sigset_t.
4056 * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
4057 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4058 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4059 <bits/types/__sigset_t.h>.
4060 (ucontext_t): Use sigset_t instead of __sigset_t.
4061 * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
4062 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4063 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4064 <bits/types/__sigset_t.h>.
4065 (ucontext_t): Use sigset_t instead of __sigset_t.
4066 * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
4067 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4068 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4069 <bits/types/__sigset_t.h>.
4070 (ucontext_t): Use sigset_t instead of __sigset_t.
4071 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
4072 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4073 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4074 <bits/types/__sigset_t.h>.
4075 (ucontext_t): Use sigset_t instead of __sigset_t.
4076 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
4077 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4078 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4079 <bits/types/__sigset_t.h>.
4080 (ucontext_t): Use sigset_t instead of __sigset_t.
4081 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
4082 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4083 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4084 <bits/types/__sigset_t.h>.
4085 (ucontext_t): Use sigset_t instead of __sigset_t.
4086 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
4087 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4088 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4089 <bits/types/__sigset_t.h>.
4090 (ucontext_t): Use sigset_t instead of __sigset_t.
4091 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4092 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4093 <bits/ss_flags.h>. Include <bits/types/sigset_t.h>.
4094 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
4095 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4096 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4097 <bits/types/__sigset_t.h>.
4098 (ucontext_t): Use sigset_t instead of __sigset_t.
4099 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
4100 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4101 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4102 <bits/types/__sigset_t.h>.
4103 (ucontext_t): Use sigset_t instead of __sigset_t.
4104 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
4105 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4106 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4107 <bits/types/__sigset_t.h>.
4108 (ucontext_t): Use sigset_t instead of __sigset_t.
4109 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
4110 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4111 <bits/ss_flags.h>.
4112 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
4113 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4114 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4115 <bits/types/__sigset_t.h>.
4116 (ucontext_t): Use sigset_t instead of __sigset_t.
4117 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
4118 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4119 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4120 <bits/types/__sigset_t.h>.
4121 (ucontext_t): Use sigset_t instead of __sigset_t.
4122 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
4123 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4124 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4125 <bits/types/__sigset_t.h>.
4126 (ucontext_t): Use sigset_t instead of __sigset_t.
4127 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
4128 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4129 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4130 <bits/types/__sigset_t.h>.
4131 (ucontext_t): Use sigset_t instead of __sigset_t.
4132 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
4133 <bits/types.h>.
4134 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
4135 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4136 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4137 <bits/types/__sigset_t.h>.
4138 (ucontext_t): Use sigset_t instead of __sigset_t.
4139
4140 2017-05-22 Zack Weinberg <zackw@panix.com>
4141
4142 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4143 (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
4144 bits/siginfo-arch.h, only if not already defined.
4145 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
4146 (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
4147 (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
4148 Likewise.
4149
4150 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4151 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4152 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4153 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4154 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4155 Unconditionally define __SI_* macros.
4156
4157 2017-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4158
4159 [BZ #21393]
4160 * libio/freopen.c (freopen): Avoid dup already opened file descriptor
4161 and add a check for dup3 failure.
4162 * libio/freopen64.c (freopen64): Likewise.
4163 * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
4164 libsupport.
4165 (do_test_bz21398): New test.
4166 * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
4167
4168 2017-05-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
4169
4170 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
4171 Remove invalid comment.
4172
4173 2017-05-21 Zack Weinberg <zackw@panix.com>
4174
4175 * signal/Makefile (headers): Add bits/types/sigval_t.h.
4176
4177 2017-05-20 Zack Weinberg <zackw@panix.com>
4178
4179 * bits/sigevent-consts.h
4180 * bits/siginfo-consts.h
4181 * bits/types/__sigset_t.h
4182 * bits/types/sigevent_t.h
4183 * bits/types/siginfo_t.h
4184 * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
4185 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4186 * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
4187 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
4188 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
4189 New system-dependent bits headers.
4190
4191 * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
4192 * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
4193 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4194 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
4195 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4196 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4197 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4198 * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
4199 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4200 New Linux-only system-dependent bits headers.
4201
4202 * signal/bits/types/sig_atomic_t.h
4203 * signal/bits/types/sigset_t.h
4204 * signal/bits/types/sigval_t.h:
4205 New non-system-dependent bits headers.
4206
4207 * sysdeps/generic/sigsetops.h
4208 * sysdeps/unix/sysv/linux/sigsetops.h:
4209 New internal headers.
4210
4211 * include/bits/types/sig_atomic_t.h
4212 * include/bits/types/sigset_t.h
4213 * include/bits/types/sigval_t.h:
4214 New wrappers.
4215
4216 * signal/sigsetops.h
4217 * bits/siginfo.h
4218 * bits/sigset.h
4219 * sysdeps/unix/sysv/linux/bits/siginfo.h
4220 * sysdeps/unix/sysv/linux/bits/sigset.h
4221 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
4222 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
4223 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
4224 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
4225 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
4226 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
4227 Deleted.
4228
4229 * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
4230 Update lists of installed headers.
4231
4232 * posix/bits/types.h: Define __sig_atomic_t here.
4233 * signal/signal.h: Use the new bits headers; no need to handle
4234 __need_sig_atomic_t nor __need_sigset_t. Don't use __sigmask
4235 to define sigmask.
4236 * include/signal.h: No need to handle __need_sig_atomic_t
4237 nor __need_sigset_t. Don't define __sigemptyset.
4238
4239 * io/sys/poll.h, setjmp/setjmp.h
4240 * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
4241 * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
4242 * sysdeps/mach/hurd/i386/bits/sigcontext.h
4243 * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
4244 * sysdeps/pthread/bits/sigthread.h
4245 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
4246 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
4247 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
4248 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
4249 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4250 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
4251 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
4252 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
4253 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
4254 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
4255 Use bits/types/__sigset_t.h.
4256
4257 * misc/sys/select.h, posix/spawn.h
4258 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4259 * sysdeps/unix/sysv/linux/sys/epoll.h
4260 * sysdeps/unix/sysv/linux/sys/signalfd.h:
4261 Use bits/types/sigset_t.h.
4262
4263 * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
4264 * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
4265 * socket/sys/socket.h: Don't include bits/sigset.h.
4266
4267 * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
4268 * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
4269 * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
4270 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
4271 * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
4272 * sysdeps/unix/sysv/linux/nptl-signals.h:
4273 Include sigsetops.h.
4274
4275 * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
4276 * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
4277 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
4278 __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
4279 now return no value.
4280
4281 * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
4282 Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
4283 "sigsetops.h".
4284
4285 * signal/sigsetops.c: Explicitly define __sigismember,
4286 __sigaddset, and __sigdelset as compatibility symbols.
4287
4288 * signal/Versions: Correct commentary on __sigpause,
4289 __sigaddset, __sigdelset, __sigismember.
4290
4291 * inet/rcmd.c: Include sigsetops.h. Convert old code using
4292 __sigblock/__sigsetmask to use __sigprocmask and friends.
4293
4294 * resolv/resolv.h: Remove __need_res_state logic.
4295 Move definition of res_state and related constants to ...
4296 * resolv/bits/types/res_state.h: ...this new file.
4297 * resolv/Makefile: Install bits/types/res_state.h.
4298 * include/bits/types/res_state.h: New wrapper.
4299 * include/list.h: Remove __need_list_t logic.
4300 Move definition of list_t to ...
4301 * include/list_t.h: ...this new file.
4302
4303 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4304 instead of list.h and resolv.h.
4305
4306 * resolv/resolv.h: Remove __need_res_state logic.
4307 Move definition of res_state and related constants to ...
4308 * resolv/bits/types/res_state.h: ...this new file.
4309 * resolv/Makefile: Install bits/types/res_state.h.
4310 * include/bits/types/res_state.h: New wrapper.
4311 * include/list.h: Remove __need_list_t logic.
4312 Move definition of list_t to ...
4313 * include/list_t.h: ...this new file.
4314
4315 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4316 instead of list.h and resolv.h.
4317
4318 2017-05-20 H.J. Lu <hongjiu.lu@intel.com>
4319
4320 * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
4321
4322 2017-05-20 Zack Weinberg <zackw@panix.com>
4323
4324 * sysdeps/arm/sysdep.h
4325 (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
4326
4327 * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
4328 * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
4329 * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
4330 * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
4331 * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
4332 * sysdeps/arm/armv6t2/strlen.S
4333 * sysdeps/arm/armv7/multiarch/memcpy_impl.S
4334 * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
4335 * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
4336 * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
4337 * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
4338 Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
4339
4340 2017-05-20 Zack Weinberg <zackw@panix.com>
4341
4342 Remove the NaCl port.
4343 * sysdeps/arm/nacl: Remove directory and contents.
4344 * sysdeps/nacl: Remove directory and contents.
4345 * abi-tags: Remove .*-.*-nacl.* entry.
4346
4347 2017-05-19 Rical Jasan <ricaljasan@pacific.net>
4348
4349 * manual/errno.texi: Convert @comment-based errno documentation to
4350 @errno.
4351 * manual/macros.texi (@errno): New macro. Consolidate errors,
4352 their values, and messages, adding the error string to the Concept
4353 Index. Provide a warning in the comment about external (to the
4354 manual) dependencies.
4355 * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
4356 * sysdeps/mach/hurd/errnos.awk: Likewise.
4357
4358 2017-05-19 Joseph Myers <joseph@codesourcery.com>
4359
4360 * bits/ss_flags.h: New file.
4361 * bits/types/stack_t.h: Likewise.
4362 * include/bits/types/struct_sigstack.h: Likewise.
4363 * signal/bits/types/struct_sigstack.h: Likewise.
4364 * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
4365 * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
4366 * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
4367 * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
4368 bits/types/stack_t.h and bits/ss_flags.h.
4369 * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
4370 Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4371 <bits/ss_flags.h>.
4372 * bits/sigstack.h (struct sigstack): Remove.
4373 (stack_t): Likewise.
4374 (SS_ONSTACK): Likewise.
4375 (SS_DISABLE): Likewise.
4376 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
4377 (struct sigstack): Likewise.
4378 (stack_t): Likewise.
4379 (SS_ONSTACK): Likewise.
4380 (SS_DISABLE): Likewise.
4381 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
4382 Likewise.
4383 (stack_t): Likewise.
4384 (SS_ONSTACK): Likewise.
4385 (SS_DISABLE): Likewise.
4386 * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
4387 Likewise.
4388 (stack_t): Likewise.
4389 (SS_ONSTACK): Likewise.
4390 (SS_DISABLE): Likewise.
4391 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
4392 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
4393 Likewise.
4394 (stack_t): Likewise.
4395 (SS_ONSTACK): Likewise.
4396 (SS_DISABLE): Likewise.
4397 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
4398 (struct sigstack): Likewise.
4399 (stack_t): Likewise.
4400 (SS_ONSTACK): Likewise.
4401 (SS_DISABLE): Likewise.
4402 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
4403 Likewise.
4404 (stack_t): Likewise.
4405 (SS_ONSTACK): Likewise.
4406 (SS_DISABLE): Likewise.
4407 * sysdeps/arm/sys/ucontext.h: Include
4408 <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4409 <bits/ss_flags.h>.
4410 * sysdeps/generic/sys/ucontext.h: Likewise.
4411 * sysdeps/i386/sys/ucontext.h: Likewise.
4412 * sysdeps/m68k/sys/ucontext.h: Likewise.
4413 * sysdeps/mips/sys/ucontext.h: Likewise.
4414 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
4415 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
4416 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
4417 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
4418 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
4419 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
4420 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
4421 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
4422 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
4423 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4424 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
4425 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
4426 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
4427 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
4428 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
4429
4430 2017-05-19 H.J. Lu <hongjiu.lu@intel.com>
4431
4432 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
4433 "edx + ecx - 16" to avoid possible addition overflow.
4434 * sysdeps/x86_64/memchr.S (memchr): Likewise.
4435
4436 2017-05-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4437
4438 * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
4439 (CFLAGS-splice.c): Likewise.
4440 (CFLAGS-open_by_handle_at.c): Likewise.
4441 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
4442 (CFLAGS-splice.c): Likewise.
4443 (CFLAGS-open_by_handle_at.c): Likewise.
4444
4445 2017-05-19 Joseph Myers <joseph@codesourcery.com>
4446
4447 * scripts/versions.awk: Generate ldbl-compat-choose.h.
4448 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
4449 <ldbl-compat-choose.h>.
4450 (maybe_long_double_symbol): New macro.
4451 [!declare_mgen_alias] (declare_mgen_alias): Use
4452 maybe_long_double_symbol.
4453 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
4454 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
4455 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
4456 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
4457 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4458 * Makerules [$(build-shared) = yes && !avoid-generated]
4459 (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
4460 [$(build-shared) = yes && !avoid-generated]
4461 ($(common-objpfx)ldbl-compat-choose.h): New target.
4462
4463 * scripts/versions.awk: Generate first-versions.h.
4464 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
4465 <first-versions.h>.
4466 (LDOUBLE_cabsl_libm_version): Remove macro.
4467 (LDOUBLE_cargl_libm_version): Likewise.
4468 (LDOUBLE_cimagl_libm_version): Likewise.
4469 (LDOUBLE_conjl_libm_version): Likewise.
4470 (LDOUBLE_creall_libm_version): Likewise.
4471 (LDOUBLE_cacosl_libm_version): Likewise.
4472 (LDOUBLE_cacoshl_libm_version): Likewise.
4473 (LDOUBLE_ccosl_libm_version): Likewise.
4474 (LDOUBLE_ccoshl_libm_version): Likewise.
4475 (LDOUBLE_casinl_libm_version): Likewise.
4476 (LDOUBLE_csinl_libm_version): Likewise.
4477 (LDOUBLE_casinhl_libm_version): Likewise.
4478 (LDOUBLE_csinhl_libm_version): Likewise.
4479 (LDOUBLE_catanl_libm_version): Likewise.
4480 (LDOUBLE_catanhl_libm_version): Likewise.
4481 (LDOUBLE_ctanl_libm_version): Likewise.
4482 (LDOUBLE_ctanhl_libm_version): Likewise.
4483 (LDOUBLE_cexpl_libm_version): Likewise.
4484 (LDOUBLE_clogl_libm_version): Likewise.
4485 (LDOUBLE_cprojl_libm_version): Likewise.
4486 (LDOUBLE_csqrtl_libm_version): Likewise.
4487 (LDOUBLE_cpowl_libm_version): Likewise.
4488 (LDOUBLE_clog10l_libm_version): Likewise.
4489 (LDOUBLE___clog10l_libm_version): Likewise.
4490 (LDOUBLE_fdiml_libm_version): Likewise.
4491 (LDOUBLE_fmaxl_libm_version): Likewise.
4492 (LDOUBLE_fminl_libm_version): Likewise.
4493 (LDOUBLE_ilogbl_libm_version): Likewise.
4494 (LDOUBLE_nanl_libm_version): Likewise.
4495 [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
4496 FIRST_VERSION_libm_* macros.
4497 [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
4498 * Makerules [$(build-shared) = yes && !avoid-generated]
4499 (before-compile): Add $(common-objpfx)first-versions.h.
4500 [$(build-shared) = yes && !avoid-generated]
4501 ($(common-objpfx)first-versions.h): New target.
4502 ($(common-objpfx)sysd-versions): Depend on and change to rule for
4503 building $(common-objpfx)versions.stmp.
4504
4505 2017-05-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4506
4507 * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
4508 * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
4509 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
4510 auto-generation list.
4511
4512 * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
4513 * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
4514 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
4515 from auto-generation list.
4516
4517 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4518 open_by_handle_at.
4519 (CFLAGS-open_by_handle_at.c): New flag.
4520 * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
4521 * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
4522 file.
4523 * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
4524
4525 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
4526 (CFLAGS-splice.c): New flag.
4527 * sysdeps/unix/sysv/linux/splice.c: New file.
4528 * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
4529 auto-generation syscall list.
4530 * misc/Makefile (CFLAGS-splice.c): New rule.
4531
4532 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
4533 * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
4534 auto-generation syscall list.
4535 * sysdeps/unix/sysv/linux/vmsplice.c: New file.
4536 * misc/Makefile (CFLAGS-vmsplice.c): New rule.
4537
4538 * misc/Makefile (CFLAGS-fsync.c): New flag.
4539 * nptl/Makefile (CFLAGS-fsync.c): Likewise.
4540 * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
4541 syscall list.
4542 * sysdeps/unix/sysv/linux/fsync.c: New file.
4543 * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
4544 (__errno_location): Remove.
4545
4546 * misc/Makefile (CFLAGS-fdatasync.c): New rule.
4547 * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
4548 * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
4549 list.
4550 * sysdeps/unix/sysv/linux/fdatasync.c: New file.
4551
4552 * misc/Makefile (CFLAGS-msync.c): New rule.
4553 * nptl/Makefile (CFLAGS-msync.c): Likewise.
4554 * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
4555 * sysdeps/unix/sysv/linux/msync.c: New file.
4556
4557 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
4558 * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
4559 * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
4560 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4561 (CFLAGS-sigsuspend.c): Remove rule.
4562
4563 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
4564 (CFLAGS-tee.c): New rule.
4565 * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
4566 auto-generated list.
4567 * sysdeps/unix/sysv/linux/tee.c: New file.
4568
4569 * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
4570 * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
4571 * sysdeps/unix/sysv/linux/nanosleep.c: New file.
4572 * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
4573 auto-generated list.
4574
4575 * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
4576 auto-generated list.
4577 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
4578 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4579 * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
4580 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4581 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
4582
4583 * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
4584 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
4585 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
4586 (__NR_pause): Undefine.
4587 * sysdeps/unix/sysv/linux/pause.c: New file.
4588 * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
4589 auto-generation list.
4590 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
4591 Remove rule.
4592 * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
4593
4594 2017-05-18 H.J. Lu <hongjiu.lu@intel.com>
4595
4596 * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
4597 comments.
4598
4599 2017-05-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
4600
4601 * elf/Makefile (tst-env-setuid-ENV): Reduce value of
4602 LD_HWCAP_MASK.
4603
4604 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
4605
4606 * manual/conf.texi: Convert @tables of annotated @items to
4607 @vtables.
4608 * manual/lang.texi: Likewise.
4609 * manual/pattern.texi: Likewise.
4610 * manual/resource.texi: Likewise.
4611 * manual/socket.texi: Likewise.
4612
4613 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
4614
4615 * manual/crypt.texi: Move a comment out of an @*x list.
4616 * manual/filesys.texi: Refactor some comments, one of which looks
4617 like a standard. Fix incorrectly separated standards.
4618 * manual/locale.texi: Invert an annotation.
4619 * manual/resource.texi: Fix incorrectly separated standards.
4620 * manual/time.texi: Refactor a @vtable that obscures an
4621 annotation.
4622 * manual/users.texi: Refactor multiple headers to occupy a single
4623 @comment.
4624
4625 2017-05-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4626
4627 * sysdeps/powerpc/powerpc64/multiarch/Makefile
4628 (sysdep_routines): Add memcmp-power8.
4629 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4630 (memcmp): Add __memcmp_power8 to list of memcmp functions.
4631 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
4632 (memcmp): Add __memcmp_power8 to ifunc list.
4633 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
4634 * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
4635
4636 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4637 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4638
4639 * math/math.h (__MATH_TG): Extend the conditions to add
4640 _Float128 support.
4641 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
4642
4643 2017-05-17 Paul A. Clarke <pc@us.ibm.com>
4644
4645 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4646 [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
4647 s_cosf-ppc64.
4648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
4649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
4650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
4651 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
4652
4653 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4654
4655 * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
4656 (gen-libm-calls): Add e_exp2F to use the template.
4657 * math/e_exp2l.c: Rename to math/e_exp2_template.c.
4658 * math/e_exp2_template.c: New file, renamed from
4659 math/e_exp2l.c, and made into a template.
4660 * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
4661
4662 2017-05-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
4663
4664 * elf/dl-tunable-types.h (tunable_type_code_t): New type
4665 TUNABLE_TYPE_UINT_64.
4666 * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
4667 Simplify computation of overflow.
4668 (tunable_set_val_if_valid_range_signed,
4669 tunable_set_val_if_valid_range_unsigned): Remove and replace
4670 with this...
4671 (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
4672 (tunable_initialize): Adjust. Add uint64_t support.
4673 (__tunable_set_val): Add uint64_t support.
4674 * README.tunables: Document it.
4675
4676 * scripts/gen-tunables.awk: Recognize 'default' keyword in
4677 dl-tunables.list.
4678 * README.tunables: Document it.
4679
4680 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4681
4682 * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
4683 * sysdeps/posix/preadv64.c: Likewise.
4684 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4685 * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
4686 * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
4687 * sysdeps/posix/pwritev64.c: Likewise.
4688 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4689 * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
4690 * sysdeps/posix/preadv_common.c: New file.
4691 * sysdeps/posix/pwritev_common.c: Likewise.
4692
4693 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4694
4695 * sysdeps/generic/math-type-macros-float128.h
4696 (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
4697 wrapper templates.
4698
4699 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4700 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4701
4702 * include/complex.h (__kernel_casinhf128): New declaration.
4703 * include/float.h: New file.
4704 * include/math.h (__finitef128): Add a hidden def.
4705 (__isinff128): Likewise.
4706 (__isnanf128): Likewise.
4707 (__fpclassify): Likewise.
4708 (__issignalling): Likewise.
4709 (__expf128): Likewise.
4710 (__expm1f128): Likewise.
4711
4712 * sysdeps/generic/fix-fp-int-convert-overflow.h:
4713 (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
4714 (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
4715
4716 * sysdeps/generic/math-type-macros-float128.h: New file.
4717
4718 * sysdeps/generic/math_private.h: Include bits/floatn.h and
4719 math_private_calls.h for _Float128.
4720 (__isinff128): New inline implementation used when GCC < 7.0,
4721 since in this case __builtin_isinf_sign is broken.
4722 (fabsf128): New inline implementation that calls the builtin.
4723 (__EXPR_FLT128): New macro.
4724 (min_of_type): Optionally include _Float128 types too.
4725
4726 * sysdeps/generic/math_private_calls.h (__kernel_sincos):
4727 Declare for _Float128.
4728 (__kernel_rem_pio2): Likewise.
4729
4730 * sysdeps/ieee754/ldbl-opt/s_sin.c:
4731 (__DECL_SIMD_sincos_disablef128): New macro.
4732
4733 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4734
4735 * math/math.h: Include bits/math-finite.h for float128.
4736 (__MATH_DECLARING_FLOATN): Define to control declaration of
4737 float128 functions.
4738 * math/bits/math-finite.h (pow10): Do not declare for float128.
4739 (gamma): Likewise.
4740 (scalb): Likewise.
4741
4742 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4743 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4744
4745 * bits/floatn.h: New file.
4746 * bits/huge_val_flt128.h: Likewise.
4747
4748 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
4749 (__DECL_SIMD_sinf128): Likewise.
4750 (__DECL_SIMD_sincosf128): Likewise.
4751 (__DECL_SIMD_logf128): Likewise.
4752 (__DECL_SIMD_expf128): Likewise.
4753 (__DECL_SIMD_powf128): Likewise.
4754
4755 * math/Makefile (headers): Install bits/floatn.h and
4756 bits/huge_val_flt128.h.
4757
4758 * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
4759 defined.
4760
4761 * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
4762 (isnan, gamma, nexttoward, scalb): Only define if not
4763 __MATH_DECLARING_FLOATN.
4764 (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
4765 (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
4766 (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
4767 _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
4768
4769 * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
4770 Include bits/cmathcalls.h to get the declarations of _Float128
4771 versions of complex functions.
4772 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
4773 Define macro.
4774
4775 * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
4776 Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
4777 get the declarations of _Float128 versions of math functions.
4778 (__MATH_DECLARING_FLOATN): New macro to control declaration of
4779 _FloatN types.
4780 [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
4781 is type-generic, so use it without __MATH_TG.
4782 [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
4783 _Float128 type on GCC < 7.0. Explicitly call __isinff128 for
4784 _Float128 type and GCC < 7.0, otherwise use the builtin.
4785 [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
4786 (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
4787 (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
4788 New _GNU_SOURCE enabled macros.
4789
4790 2017-05-12 Joseph Myers <joseph@codesourcery.com>
4791
4792 * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
4793 (signbitf): Likewise.
4794 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
4795 Likewise.
4796 (signbitl): Likewise.
4797 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
4798 Likewise.
4799 * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
4800 (signbitl): Likewise.
4801 * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
4802
4803 2017-05-12 Florian Weimer <fweimer@redhat.com>
4804
4805 [BZ #21386]
4806 * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
4807 parent PID. The assertion in the child is incorrect with PID
4808 namespaces.
4809
4810 2017-05-12 Joseph Myers <joseph@codesourcery.com>
4811
4812 * sysdeps/unix/sysv/linux/kernel-features.h
4813 (__ASSUME_STATFS_F_FLAGS): Remove macro.
4814 * sysdeps/unix/sysv/linux/internal_statvfs.c
4815 [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
4816
4817 2017-05-11 Zack Weinberg <zackw@panix.com>
4818
4819 * Makerules: New subdir configuration variables 'tests-internal'
4820 and 'test-internal-extras'. Test files in these categories will
4821 still be compiled with MODULE_NAME=nonlib. Test files in the
4822 existing categories (tests, xtests, test-srcs, test-extras) are
4823 now compiled with MODULE_NAME=testsuite.
4824 New subdir configuration variable 'modules-names-tests'. Files
4825 which are in both 'modules-names' and 'modules-names-tests' will
4826 be compiled with MODULE_NAME=testsuite instead of
4827 MODULE_NAME=extramodules.
4828 (gen-as-const-headers): Move to tests-internal.
4829 (do-tests-clean, common-mostlyclean): Support tests-internal.
4830 * Makeconfig (built-modules): Add testsuite.
4831 * Makefile: Change libof-check-installed-headers-c and
4832 libof-check-installed-headers-cxx to 'testsuite'.
4833 * Rules: Likewise. Support tests-internal.
4834 * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
4835 Remove extra-modules.mk.
4836
4837 * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
4838 * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
4839 PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
4840 very top of the file and rationalize their order.
4841 If MODULE_NAME is not defined at all, define IS_IN to always be
4842 false, and don't define _ISOMAC.
4843 If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
4844 true, define _ISOMAC and suppress everything else in this file,
4845 starting with the inclusion of config.h.
4846 Do check for inappropriate definitions of __OPTIMIZE__ and
4847 __FAST_MATH__ here, but only if _ISOMAC is not defined.
4848 Correct some out-of-date commentary.
4849
4850 * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
4851 and _Mlong_double_ before including math.h.
4852 * include/string.h: If _ISOMAC is defined, don't expose
4853 _STRING_ARCH_unaligned. Move a comment to a more appropriate
4854 location.
4855
4856 * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
4857 * include/time.h, include/unistd.h, include/wchar.h: No need to
4858 check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
4859
4860 * misc/sys/cdefs.h (__NTHNL): New macro.
4861 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
4862 (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
4863
4864 * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
4865 defined, for HAVE_TUNABLES.
4866 * inet/tst-checks-posix.c: No need to define _ISOMAC.
4867 * intl/tst-gettext2.c: Provide own definition of N_.
4868 * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
4869 * math/test-signgam-main.c: No need to define _ISOMAC.
4870 * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
4871 * stdlib/tst-strtod1i.c: ...this new file.
4872 * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
4873 Split tests of __strtod_internal to...
4874 * stdlib/tst-strtod5i.c: ...this new file.
4875 * string/test-string.h: Include stdint.h. Duplicate definition of
4876 inhibit_loop_to_libcall here (from libc-symbols.h).
4877 * string/test-strstr.c: Provide dummy definition of
4878 libc_hidden_builtin_def when including strstr.c.
4879 * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
4880 mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
4881 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
4882 Don't include init-arch.h.
4883 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
4884 Don't include init-arch.h.
4885
4886 * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
4887 tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
4888 unload, unload2, circleload1, neededtest, neededtest2,
4889 neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
4890 tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
4891 tst-stackguard1, tst-_dl_addr_inside_object, and all of the
4892 ifunc tests to tests-internal.
4893 Don't add $(modules-names) to test-extras.
4894 * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
4895 Add tst-deadline to tests-static-internal.
4896 * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
4897 tests-internal.
4898 * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
4899 * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
4900 tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
4901 tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
4902 tst-sem12-static, and tst-stackguard1-static to tests-internal.
4903 Link tests-internal with libpthread also.
4904 Don't add $(modules-names) to test-extras.
4905 * nss/Makefile: Move tst-field to tests-internal.
4906 * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
4907 tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
4908 * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
4909 tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
4910 tests-internal.
4911 * sunrpc/Makefile: Move tst-svc_register to tests-internal.
4912 * sysdeps/powerpc/Makefile: Move test-get_hwcap and
4913 test-get_hwcap-static to tests-internal.
4914 * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
4915 tests-internal.
4916 * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
4917 modules-names-tests.
4918
4919 2017-05-11 Zack Weinberg <zackw@panix.com>
4920
4921 * libio/libio.h: Condition dummy definition of _IO_lock_t on
4922 _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
4923 non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
4924 _IO_funlockfile, and _IO_ftrylockfile. Only define
4925 _IO_cleanup_region_start and _IO_cleanup_region_end if not
4926 already defined.
4927 * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
4928 _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
4929 appropriately.
4930 * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
4931 Define _IO_lock_t_defined after defining _IO_lock_t.
4932
4933 2016-05-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4934
4935 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
4936 void* for argument type and use VDSO_SYMBOL macro.
4937 (is_sigtramp_address_rt): Likewise.
4938 (__backtrace): Setup expected frame pointer address for signal
4939 handling.
4940 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
4941 void* for argumetn type and use VSDO_SYMBOL macro.
4942 (__backtrace): Setup expected frame pointer address for signal
4943 handling.
4944
4945 * sysdeps/unix/sysv/linux/writev.c: New file.
4946
4947 * sysdeps/unix/sysv/linux/readv.c: New file.
4948
4949 * include/unistd.h (write): Add hidden proto.
4950 * io/Makefile (CFLAGS-write.c): New define.
4951 * nptl/Makefile (CFLAGS-write.c): Likewise.
4952 * sysdeps/unix/sysv/linux/write.c: New file.
4953
4954 [BZ #21428]
4955 * include/unistd.h (read): Add hidden proto.
4956 * io/Makefile (CFLAGS-read.c): New define.
4957 * nptl/Makefile (CFLAGS-read.c): Likewise.
4958 * sysdeps/unix/sysv/linux/read.c: New file.
4959
4960 * io/Makefile (CFLAGS-creat.c): New rule.
4961 (CFLAGS-creat64.c): Likewise.
4962 * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
4963 * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
4964 * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
4965 * sysdeps/unix/sysv/linux/creat.c: New file.
4966 * sysdeps/unix/sysv/linux/creat64.c: Likewise.
4967 * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
4968 auto-generated list.
4969 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4970
4971 * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
4972 * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
4973 * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
4974 * sysdeps/unix/sysv/linux/open.c: New file.
4975 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
4976 iff __WORDSIZE != 64 and use __NR_openat when available.
4977 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
4978 from auto-generated list.
4979
4980 * nptl/Makefile (CFLAGS-close.c): New flag.
4981 * sysdeps/unix/sysv/linux/close.c: New file.
4982
4983 2017-05-11 DJ Delorie <dj@redhat.com>
4984
4985 * MAINTAINERS: New. Points to wiki.
4986
4987 2017-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
4988
4989 * scripts/gen-tunables.awk: Add attribute_relro to
4990 tunable_list.
4991
4992 2017-05-11 Joseph Myers <joseph@codesourcery.com>
4993
4994 [BZ #21457]
4995 * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
4996 (R1): Likewise.
4997 (R2): Likewise.
4998 (R3): Likewise.
4999 (R4): Likewise.
5000 (R5): Likewise.
5001 (R6): Likewise.
5002 (R7): Likewise.
5003 (R8): Likewise.
5004 (R9): Likewise.
5005 (R10): Likewise.
5006 (R11): Likewise.
5007 (R12): Likewise.
5008 (R13): Likewise.
5009 (R14): Likewise.
5010 (R15): Likewise.
5011 * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
5012 (REG_FS): Likewise.
5013 (REG_ES): Likewise.
5014 (REG_DS): Likewise.
5015 (REG_EDI): Likewise.
5016 (REG_ESI): Likewise.
5017 (REG_EBP): Likewise.
5018 (REG_ESP): Likewise.
5019 (REG_EBX): Likewise.
5020 (REG_EDX): Likewise.
5021 (REG_ECX): Likewise.
5022 (REG_EAX): Likewise.
5023 (REG_TRAPNO): Likewise.
5024 (REG_ERR): Likewise.
5025 (REG_EIP): Likewise.
5026 (REG_CS): Likewise.
5027 (REG_EFL): Likewise.
5028 (REG_UESP): Likewise.
5029 (REG_SS): Likewise.
5030 * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
5031 (R_D1): Likewise.
5032 (R_D2): Likewise.
5033 (R_D3): Likewise.
5034 (R_D4): Likewise.
5035 (R_D5): Likewise.
5036 (R_D6): Likewise.
5037 (R_D7): Likewise.
5038 (R_A0): Likewise.
5039 (R_A1): Likewise.
5040 (R_A2): Likewise.
5041 (R_A3): Likewise.
5042 (R_A4): Likewise.
5043 (R_A5): Likewise.
5044 (R_A6): Likewise.
5045 (R_A7): Likewise.
5046 (R_SP): Likewise.
5047 (R_PC): Likewise.
5048 (R_PS): Likewise.
5049 (fpregset_t): Likewise.
5050 (MCONTEXT_VERSION): Likewise.
5051 * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
5052 (CTX_AT): Likewise.
5053 (CTX_V0): Likewise.
5054 (CTX_V1): Likewise.
5055 (CTX_A0): Likewise.
5056 (CTX_A1): Likewise.
5057 (CTX_A2): Likewise.
5058 (CTX_A3): Likewise.
5059 (CTX_T0): Likewise.
5060 (CTX_T1): Likewise.
5061 (CTX_T2): Likewise.
5062 (CTX_T3): Likewise.
5063 (CTX_T4): Likewise.
5064 (CTX_T5): Likewise.
5065 (CTX_T6): Likewise.
5066 (CTX_T7): Likewise.
5067 (CTX_S0): Likewise.
5068 (CTX_S1): Likewise.
5069 (CTX_S2): Likewise.
5070 (CTX_S3): Likewise.
5071 (CTX_S4): Likewise.
5072 (CTX_S5): Likewise.
5073 (CTX_S6): Likewise.
5074 (CTX_S7): Likewise.
5075 (CTX_T8): Likewise.
5076 (CTX_T9): Likewise.
5077 (CTX_K0): Likewise.
5078 (CTX_K1): Likewise.
5079 (CTX_GP): Likewise.
5080 (CTX_SP): Likewise.
5081 (CTX_S8): Likewise.
5082 (CTX_RA): Likewise.
5083 (CTX_MDLO): Likewise.
5084 (CTX_MDHI): Likewise.
5085 (CTX_CAUSE): Likewise.
5086 (CTX_EPC): Likewise.
5087 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
5088 inclusion of <sys/procfs.h> on [__USE_MISC].
5089 (greg_t): Condition on [__USE_MISC].
5090 (gregset_t): Likewise.
5091 (fpregset_t): Likewise.
5092 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
5093 (NGREG): Likewise.
5094 (gregset_t): Likewise.
5095 (REG_R0): Likewise.
5096 (REG_R1): Likewise.
5097 (REG_R2): Likewise.
5098 (REG_R3): Likewise.
5099 (REG_R4): Likewise.
5100 (REG_R5): Likewise.
5101 (REG_R6): Likewise.
5102 (REG_R7): Likewise.
5103 (REG_R8): Likewise.
5104 (REG_R9): Likewise.
5105 (REG_R10): Likewise.
5106 (REG_R11): Likewise.
5107 (REG_R12): Likewise.
5108 (REG_R13): Likewise.
5109 (REG_R14): Likewise.
5110 (REG_R15): Likewise.
5111 (struct _libc_fpstate): Likewise.
5112 (fpregset_t): Likewise.
5113 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
5114 (NFPREG): Likewise.
5115 (gregset_t): Likewise.
5116 (fpregset_t): Likewise.
5117 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
5118 (R_D1): Likewise.
5119 (R_D2): Likewise.
5120 (R_D3): Likewise.
5121 (R_D4): Likewise.
5122 (R_D5): Likewise.
5123 (R_D6): Likewise.
5124 (R_D7): Likewise.
5125 (R_A0): Likewise.
5126 (R_A1): Likewise.
5127 (R_A2): Likewise.
5128 (R_A3): Likewise.
5129 (R_A4): Likewise.
5130 (R_A5): Likewise.
5131 (R_A6): Likewise.
5132 (R_A7): Likewise.
5133 (R_SP): Likewise.
5134 (R_PC): Likewise.
5135 (R_PS): Likewise.
5136 (fpregset_t): Likewise.
5137 (MCONTEXT_VERSION): Likewise.
5138 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
5139 Likewise.
5140 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
5141 (REG_R1): Likewise.
5142 (REG_R2): Likewise.
5143 (REG_R3): Likewise.
5144 (REG_R4): Likewise.
5145 (REG_R5): Likewise.
5146 (REG_R6): Likewise.
5147 (REG_R7): Likewise.
5148 (REG_R8): Likewise.
5149 (REG_R9): Likewise.
5150 (REG_R10): Likewise.
5151 (REG_R11): Likewise.
5152 (REG_R12): Likewise.
5153 (REG_R13): Likewise.
5154 (REG_R14): Likewise.
5155 (REG_R15): Likewise.
5156 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
5157 of <arch/abi.h> on [__USE_MISC].
5158 (greg_t): Condition on [__USE_MISC].
5159 (NGREG): Likewise.
5160 (gregset_t): Likewise.
5161
5162 2017-05-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5163
5164 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
5165 (__pthread_rwlock_arch_t): Remove __data definition.
5166 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
5167 (__pthread_rwlock_arch_t): Likewise.
5168
5169 2017-05-11 Florian Weimer <fweimer@redhat.com>
5170
5171 * resolv/inet_pton.c: Reformat in GNU style. Remove
5172 internal_function on static functions.
5173
5174 2017-05-11 Florian Weimer <fweimer@redhat.com>
5175
5176 * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
5177 from format_ai_flags.
5178 (format_ai_flags): New function. Incorporate flag formatting code
5179 from format_ai_one.
5180 (format_ai_canonname): New function.
5181 (format_ai_one): Remove flags parameter.
5182 (format_ai_family): Likewise.
5183 (support_format_addrinfo): Call format_ai_flags,
5184 format_ai_canonname.
5185 * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
5186 check_ai.
5187 (check_ai): Call check_ai_hints.
5188 (do_test): Add AI_CANONNAME tests.
5189
5190 2017-05-11 Florian Weimer <fweimer@redhat.com>
5191
5192 * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
5193 (gaih_inet): Likewise.
5194
5195 2017-05-10 Andreas Schwab <schwab@suse.de>
5196
5197 * nptl/tst-fork1.c: Include <support/test-driver.c>.
5198 (main): Rename to do_test and make static.
5199
5200 2017-05-10 Joseph Myers <joseph@codesourcery.com>
5201
5202 * string/rawmemchr.c: Include <libc-diag.h>.
5203 (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
5204 with size (size_t)-1.
5205
5206 2017-05-09 Joseph Myers <joseph@codesourcery.com>
5207
5208 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
5209 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5210 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5211
5212 * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
5213 [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
5214 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
5215 [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
5216 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
5217 [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
5218 * sysdeps/unix/sysv/linux/kernel-features.h
5219 (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
5220 socket syscalls.
5221 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5222 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5223 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5224 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5225 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5226 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5227 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5228 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5229 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5230 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5231 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5232 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5233 (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5234 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5235 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5236
5237 2017-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5238
5239 * posix/Makefile (headers): Add pthreadtypes-arch.h and
5240 thread-shared-types.h.
5241 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
5242 specific thread definition.
5243 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
5244 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
5245 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
5246 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
5247 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
5248 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
5249 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
5250 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
5251 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
5252 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
5253 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
5254 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
5255 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
5256 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
5257 * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
5258 thread definition between POSIX and C11.
5259 * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
5260 * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
5261 * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
5262 * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
5263 * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
5264 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
5265 * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
5266 * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
5267 * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
5268 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
5269 * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
5270 * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
5271 * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
5272 * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
5273 * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
5274 * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
5275 definitions shared across all architectures.
5276
5277 2017-05-09 Joseph Myers <joseph@codesourcery.com>
5278
5279 * sysdeps/unix/sysv/linux/kernel-features.h
5280 (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
5281 (__ASSUME_SENDMMSG): Likewise.
5282 (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
5283 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
5284 sendmmsg syscall if that can be assumed to be present, socketcall
5285 otherwise, with no fallback for runtime failure.
5286
5287 * sysdeps/unix/sysv/linux/kernel-features.h
5288 (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
5289 (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
5290 (__ASSUME_RECVMMSG): Likewise.
5291 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
5292 recvmmsg syscall if it can be assumed to be present, socketcall
5293 otherwise, with no fallback for runtime failure.
5294
5295 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5296 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5297
5298 * bits/libc-header-start.h:
5299 (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
5300 * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
5301 * manual/creature.texi: Likewise.
5302
5303 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5304 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5305
5306 * math/Makefile:
5307 (type-float128-suffix): New variable
5308 (type-float128-routines): Likewise
5309 (type-float128-yes): Likewise
5310 (types): Append float128 if supported
5311 (types-basic): New variable to control the use of templates for
5312 float, double, and long double, but not for float128 or newer types.
5313 (type-basic-foreach): Likewise.
5314
5315 * sysdeps/ieee754/float128/Makeconfig: New file.
5316 * sysdeps/ieee754/float128/Versions: New file.
5317
5318 2017-05-09 Joseph Myers <joseph@codesourcery.com>
5319
5320 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
5321 Remove macro.
5322 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
5323 prlimit64 is always available and does not give an ENOSYS error.
5324 * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
5325 unconditional.
5326 [!__NR_prlimit64]: Remove conditional code.
5327 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
5328 prlimit64 is always available and does not give an ENOSYS error.
5329 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
5330
5331 2017-05-09 Zack Weinberg <zackw@panix.com>
5332
5333 * sunrpc/tst-xdrmem2.c: Include stdint.h.
5334
5335 2017-05-09 Florian Weimer <fweimer@redhat.com>
5336
5337 [BZ #21474]
5338 * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
5339 (__res_maybe_init): Likewise.
5340
5341 2017-05-09 Zack Weinberg <zackw@panix.com>
5342
5343 * extra-modules.mk: Delete file.
5344 * cppflags-iterator.mk: Rename to ...
5345 * libof-iterator.mk: ...this. Adjust comments.
5346
5347 * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
5348 * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
5349 * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
5350 Use libof-iterator.mk instead of cppflags-iterator.mk or
5351 extra-modules.mk.
5352
5353 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
5354 extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
5355
5356 2017-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
5357
5358 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5359
5360 2017-05-08 Carlos O'Donell <carlos@redhat.com>
5361
5362 * stdio-common/vfprintf.c (EXTSIZ): Define.
5363 (vfprintf): Use EXTSIZ.
5364 (printf_positional): Likewise.
5365
5366 2017-05-08 Joseph Myers <joseph@codesourcery.com>
5367
5368 * sysdeps/unix/sysv/linux/kernel-features.h
5369 (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
5370 * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
5371 <kernel-features.h>.
5372 (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
5373
5374 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5375 (__ASSUME_GETCPU_SYSCALL): Remove macro.
5376
5377 2017-05-08 Florian Weimer <fweimer@redhat.com>
5378
5379 Prevent multiple deletion of temporary files.
5380 * support/temp_file.c (struct temp_name_list): Add owner member.
5381 (add_temp_file): Record owner.
5382 (support_delete_temp_files): Delete file only if owner matches.
5383 * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
5384 (do_prepare): Use create_temp_file instead of add_temp_file.
5385 Initialize temp_fd1, temp_fd2.
5386 (do_test): Use global temp_fd1, temp_fd2 variables. Let the test
5387 framework remove the temporary files.
5388 * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
5389 (do_prepare): Use create_temp_file instead of add_temp_file.
5390 Initialize temp_fd1, temp_fd2, temp_fd3.
5391 (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables. Let
5392 the test framework remove the temporary files.
5393 * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
5394 deletion.
5395 * posix/tst-pathconf.c (do_test): Do not call rmdir on the
5396 temporary directory. It is removed by the test framework.
5397 * dirent/tst-scandir.c (do_test): Likewise.
5398
5399 2017-05-08 Florian Weimer <fweimer@redhat.com>
5400
5401 Delete temporary files in LIFO order.
5402 * support/temp_file.c (struct temp_name_list): Replace q member
5403 with next.
5404 (add_temp_file): Add new file to front of linked list.
5405 (support_delete_temp_files): Use next member.
5406 (support_print_temp_files): Likewise.
5407
5408 2017-05-08 Florian Weimer <fweimer@redhat.com>
5409
5410 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
5411 sys/ultrasound.h.
5412 * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
5413
5414 2017-05-08 Joseph Myers <joseph@codesourcery.com>
5415
5416 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5417 Remove.
5418 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5419 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5420 (arch_minimum_kernel): Remove.
5421 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5422 * README: Update statement about Linux kernel requirements.
5423
5424 2017-05-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5425
5426 * manual/llio.texi: Add preadv and pwritev documentation.
5427
5428 2017-05-04 Joseph Myers <joseph@codesourcery.com>
5429
5430 [BZ #21455]
5431 * bits/stdint-intn.h: New file.
5432 * bits/stdint-uintn.h: Likewise.
5433 * stdlib/Makefile (headers): Add bits/stdint-intn.h and
5434 bits/stdint-uintn.h.
5435 * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
5436 <stdint.h>.
5437 * posix/sys/types.h: Include <bits/stdint-intn.h>.
5438 (__int8_t_defined): Do not define here.
5439 (int8_t): Likewise.
5440 (int16_t): Likewise.
5441 (int32_t): Likewise.
5442 (int64_t): Likewise.
5443 [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
5444 * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
5445 <stdint.h>.
5446 * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
5447 * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
5448 <bits/stdint-uintn.h>.
5449 (int8_t): Do not define here.
5450 (int16_t): Likewise.
5451 (int32_t): Likewise.
5452 (int64_t): Likewise.
5453 (uint8_t): Likewise.
5454 (uint16_t): Likewise.
5455 (uint32_t): Likewise.
5456 (uint64_t): Likewise.
5457 * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
5458 variable.
5459 (test-xfail-XPG42/netdb.h/conform): Likewise.
5460 (test-xfail-XPG42/netinet/in.h/conform): Likewise.
5461 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5462 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5463 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5464
5465 2017-05-04 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5466
5467 * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
5468 * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
5469 the above.
5470 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5471 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5472
5473 2017-05-04 Joseph Myers <joseph@codesourcery.com>
5474
5475 [BZ #21445]
5476 * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
5477
5478 [BZ #21457]
5479 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5480 [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
5481 __glibc_reserved1.
5482 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5483 (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
5484 (struct _fpxreg): Likewise.
5485 [!__x86_64__] (struct _fpstate): Rename field reserved to
5486 __glibc_reserved1. Rename field padding to __glibc_reserved2.
5487 [__x86_64__] (struct _fpstate): Rename field padding to
5488 __glibc_reserved1.
5489 (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
5490 Rename field reserved2 to __glibc_reserved2.
5491 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
5492 [__x86_64__] (struct _libc_fpxreg): Rename field padding to
5493 __glibc_reserved1.
5494 [__x86_64__] (struct _libc_fpstate): Rename field padding to
5495 __glibc_reserved1.
5496
5497 2017-05-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5498
5499 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
5500 variable name.
5501
5502 2017-05-03 H.J. Lu <hongjiu.lu@intel.com>
5503
5504 [BZ #21391]
5505 * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
5506 Only call init_cpu_features.
5507 [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
5508 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5509 * sysdeps/i386/dl-procinfo.h: Removed.
5510 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
5511 <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>. Include
5512 <sysdeps/x86/dl-procinfo.h>.
5513 (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
5514 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
5515 Include <sysdeps/x86/dl-procinfo.h> instead of
5516 <sysdeps/generic/dl-procinfo.h>.
5517 * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
5518 (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
5519 * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
5520 (bit_cpu_MOVBE): Likewise.
5521 (bit_cpu_BMI1): Likewise.
5522 (bit_cpu_BMI2): Likewise.
5523 (index_cpu_BMI1): Likewise.
5524 (index_cpu_BMI2): Likewise.
5525 (index_cpu_LZCNT): Likewise.
5526 (index_cpu_MOVBE): Likewise.
5527 (index_cpu_POPCNT): Likewise.
5528 (reg_BMI1): Likewise.
5529 (reg_BMI2): Likewise.
5530 (reg_LZCNT): Likewise.
5531 (reg_MOVBE): Likewise.
5532 (reg_POPCNT): Likewise.
5533 * sysdeps/x86/dl-hwcap.h: New file.
5534 * sysdeps/x86/dl-procinfo.h: Likewise.
5535 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
5536 (_dl_x86_platforms): Likewise.
5537
5538 2017-05-03 DJ Delorie <dj@redhat.com>
5539
5540 [BZ #21411]
5541 * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
5542
5543 2017-05-03 Phil Blundell <pb@pbcl.net>
5544
5545 * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
5546 comments.
5547
5548 2017-05-03 Carlos O'Donell <carlos@redhat.com>
5549
5550 [BZ #20116]
5551 * nptl/pthread_create.c: Expand comments to describe
5552 semaphore-like and mutex-like uses of PD->lock.
5553
5554 2017-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5555
5556 * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
5557 * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
5558 * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
5559 auto-generation list.
5560 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5561 epoll_wait.
5562 * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
5563 Remove epoll_wait.
5564
5565 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
5566 osf_select.
5567 * sysdeps/unix/sysv/linux/alpha/select.c: New file.
5568 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
5569 osf_select from auto-generation list.
5570 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5571 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5572 * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
5573 * sysdeps/unix/sysv/linux/select.c: New file.
5574
5575 * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
5576 * sysdeps/unix/sysv/linux/poll.c: New file.
5577 * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
5578 auto-generation list.
5579
5580 2017-05-03 Joseph Myers <joseph@codesourcery.com>
5581
5582 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
5583 New macro.
5584
5585 2017-05-02 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
5586
5587 [BZ #21179]
5588 * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
5589 R_SPARC_REGISTER relocations.
5590
5591 2017-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5592
5593 * include/unistd.h (__pread): Add libc_hidden_proto.
5594 (__pread64): Likewise.
5595 (__pwrite): Likewise.
5596 * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
5597 (__pread64): Remove.
5598 * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
5599 * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
5600 * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
5601
5602 2017-05-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5603
5604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5605
5606 2017-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5607
5608 * nptl/tst-cancel4-common.c: Use libsupport.
5609 * nptl/tst-cancel4-common.h: Likewise.
5610 * nptl/tst-cancel4.c (tf_read): Likewise.
5611 (tf_readv): Likewise.
5612 (tf_write): Likewise.
5613 (tf_writev): Likewise.
5614 (tf_sleep): Likewise.
5615 (tf_usleep): Likewise.
5616 (tf_nanosleep): Likewise.
5617 (tf_select): Likewise.
5618 (tf_pselect): Likewise.
5619 (tf_poll): Likewise.
5620 (tf_ppoll): Likewise.
5621 (tf_wait): Likewise.
5622 (tf_waitpid): Likewise.
5623 (tf_waitid): Likewise.
5624 (tf_sigpause): Likewise.
5625 (tf_sigsuspend): Likewise.
5626 (tf_sigwait): Likewise.
5627 (tf_sigwaitinfo): Likewise.
5628 (tf_sigtimedwait): Likewise.
5629 (tf_pause): Likewise.
5630 (tf_accept): Likewise.
5631 (tf_send): Likewise.
5632 (tf_recv): Likewise.
5633 (tf_recvfrom): Likewise.
5634 (tf_recvmsg): Likewise.
5635 (tf_open): Likewise.
5636 (tf_close): Likewise.
5637 (tf_pread): Likewise.
5638 (tf_pwrite): Likewise.
5639 (tf_preadv): Likewise.
5640 (tf_pwritev): Likewise.
5641 (tf_fsync): Likewise.
5642 (tf_fdatasync): Likewise.
5643 (tf_msync): Likewise.
5644 (tf_sendto): Likewise.
5645 (tf_sendmsg): Likewise.
5646 (tf_creat): Likewise.
5647 (tf_connect): Likewise.
5648 (tf_tcdrain): Likewise.
5649 (tf_msgrcv): Likewise.
5650 (tf_msgsnd): Likewise.
5651 * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
5652 * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
5653
5654 * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
5655 expected arguments.
5656 (do_test): Adapt to use libsupport.
5657
5658 2017-05-01 Joseph Myers <joseph@codesourcery.com>
5659
5660 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
5661
5662 * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
5663 (PF_MAX): Set to 44.
5664 (AF_SMC): New macro.
5665
5666 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5667 kernel version to 4.11.
5668
5669 2017-04-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5670
5671 [BZ #21280]
5672 * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
5673 signal of subnormals and adjust the exponent of power of 2 down
5674 when low part has opposite sign.
5675
5676 2017-04-28 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5677
5678 * sysdeps/powerpc/powerpc64le/Implies: New file.
5679 * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
5680 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
5681 * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
5682 * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
5683 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
5684 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
5685 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
5686 * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
5687 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
5688 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
5689 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
5690 * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
5691 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
5692 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
5693 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
5694 * sysdeps/powerpc/preconfigure: New file.
5695 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
5696 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
5697
5698 2017-04-28 Joseph Myers <joseph@codesourcery.com>
5699
5700 * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
5701 inclusion.
5702 * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
5703 Remove.
5704
5705 2017-04-27 Joseph Myers <joseph@codesourcery.com>
5706
5707 * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
5708 (XPG3): Rename standard to XPG4.
5709 * conform/Makefile: Likewise.
5710 * conform/list-header-symbols.pl: Likewise.
5711 * conform/data/aio.h-data: Likewise.
5712 * conform/data/arpa/inet.h-data: Likewise.
5713 * conform/data/complex.h-data: Likewise.
5714 * conform/data/ctype.h-data: Likewise.
5715 * conform/data/dlfcn.h-data: Likewise.
5716 * conform/data/fcntl.h-data: Likewise.
5717 * conform/data/fenv.h-data: Likewise.
5718 * conform/data/float.h-data: Likewise.
5719 * conform/data/fmtmsg.h-data: Likewise.
5720 * conform/data/ftw.h-data: Likewise.
5721 * conform/data/grp.h-data: Likewise.
5722 * conform/data/inttypes.h-data: Likewise.
5723 * conform/data/iso646.h-data: Likewise.
5724 * conform/data/langinfo.h-data: Likewise.
5725 * conform/data/libgen.h-data: Likewise.
5726 * conform/data/limits.h-data: Likewise.
5727 * conform/data/locale.h-data: Likewise.
5728 * conform/data/math.h-data: Likewise.
5729 * conform/data/mqueue.h-data: Likewise.
5730 * conform/data/ndbm.h-data: Likewise.
5731 * conform/data/net/if.h-data: Likewise.
5732 * conform/data/netdb.h-data: Likewise.
5733 * conform/data/netinet/in.h-data: Likewise.
5734 * conform/data/poll.h-data: Likewise.
5735 * conform/data/pthread.h-data: Likewise.
5736 * conform/data/pwd.h-data: Likewise.
5737 * conform/data/sched.h-data: Likewise.
5738 * conform/data/search.h-data: Likewise.
5739 * conform/data/semaphore.h-data: Likewise.
5740 * conform/data/signal.h-data: Likewise.
5741 * conform/data/spawn.h-data: Likewise.
5742 * conform/data/stdbool.h-data: Likewise.
5743 * conform/data/stdint.h-data: Likewise.
5744 * conform/data/stdio.h-data: Likewise.
5745 * conform/data/stdlib.h-data: Likewise.
5746 * conform/data/string.h-data: Likewise.
5747 * conform/data/strings.h-data: Likewise.
5748 * conform/data/stropts.h-data: Likewise.
5749 * conform/data/sys/mman.h-data: Likewise.
5750 * conform/data/sys/resource.h-data: Likewise.
5751 * conform/data/sys/select.h-data: Likewise.
5752 * conform/data/sys/socket.h-data: Likewise.
5753 * conform/data/sys/stat.h-data: Likewise.
5754 * conform/data/sys/statvfs.h-data: Likewise.
5755 * conform/data/sys/time.h-data: Likewise.
5756 * conform/data/sys/timeb.h-data: Likewise.
5757 * conform/data/sys/types.h-data: Likewise.
5758 * conform/data/sys/uio.h-data: Likewise.
5759 * conform/data/sys/un.h-data: Likewise.
5760 * conform/data/sys/wait.h-data: Likewise.
5761 * conform/data/syslog.h-data: Likewise.
5762 * conform/data/termios.h-data: Likewise.
5763 * conform/data/tgmath.h-data: Likewise.
5764 * conform/data/time.h-data: Likewise.
5765 * conform/data/ucontext.h-data: Likewise.
5766 * conform/data/unistd.h-data: Likewise.
5767 * conform/data/utmpx.h-data: Likewise.
5768 * conform/data/varargs.h-data: Likewise.
5769 * conform/data/wchar.h-data: Likewise.
5770 * conform/data/wctype.h-data: Likewise.
5771
5772 2017-04-26 Joseph Myers <joseph@codesourcery.com>
5773
5774 * scripts/build-many-glibcs.py (Context.checkout): Default gcc
5775 version to 7 branch.
5776
5777 2017-04-25 Uros Bizjak <ubizjak@gmail.com>
5778
5779 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
5780 earlyclobber to output operand of sqrt insn.
5781 (__ieee754_sqrtf): Ditto.
5782
5783 2017-04-25 Joseph Myers <joseph@codesourcery.com>
5784
5785 [BZ #21426]
5786 * misc/bits/types/struct_iovec.h: New file.
5787 * misc/Makefile (headers): Add bits/types/struct_iovec.h.
5788 * include/bits/types/struct_iovec.h: New file.
5789 * bits/uio.h (struct iovec): Replace by inclusion of
5790 <bits/types/struct_iovec.h>.
5791 * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
5792 * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
5793 of <sys/uio.h>.
5794 * nptl/tst-cancel4.c: Include <sys/uio.h>
5795 * posix/test-errno.c: Likewise.
5796 * support/resolv_test.c: Likewise.
5797 * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
5798 Remove.
5799 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5800 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5801 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5802
5803 * conform/data/sys/socket.h-data (*_t): Allow.
5804
5805 2017-04-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5806
5807 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
5808 assignment.
5809
5810 2017-04-24 Daurnimator <quae@daurnimator.com>
5811 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5812
5813 [BZ #21340]
5814 * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
5815 * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
5816 * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
5817 valid flags.
5818 * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
5819 * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
5820 POSIX_SPAWN_SETSID.
5821 * sysdeps/posix/spawni.c (__spawni): Likewise.
5822 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5823 * NEWS: Add note about POSIX_SPAWN_SETSID support.
5824
5825 2017-04-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5826
5827 * sysdeps/generic/math_private.h: Move the declaration of many
5828 functions to sysdeps/generic/math_private_calls.h.
5829 * sysdeps/generic/math_private_calls.h: New file with the
5830 declarations of the functions removed from math_private.h
5831 macroized by floating-point type.
5832
5833 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5834
5835 * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
5836 * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
5837 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
5838 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
5839 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
5840 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
5841
5842 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5843
5844 * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
5845 * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
5846 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
5847 (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
5848 FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
5849 New Define.
5850
5851 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5852
5853 * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
5854 * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
5855 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
5856 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
5857 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
5858 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
5859
5860 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5861
5862 * sysdeps/s390/multiarch/ifunc-resolve.h
5863 (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
5864 * sysdeps/s390/multiarch/8bit-generic.c
5865 (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
5866 define ifunc resolvers.
5867
5868 2017-04-21 Florian Weimer <fweimer@redhat.com>
5869
5870 [BZ #20424]
5871 * manual/memory.texi (Replacing malloc): New section.
5872 (Allocating Storage For Program Data): Reference it.
5873 (The GNU Allocator): Likewise.
5874
5875 2017-04-20 Joseph Myers <joseph@codesourcery.com>
5876
5877 * stdlib/Versions (__strtod_internal): List explicitly, not as
5878 wildcard.
5879 (__strtof_internal): Likewise.
5880 (__strtold_internal): Likewise.
5881 (__strtol_internal): Likewise.
5882 (__strtoll_internal): Likewise.
5883 (__strtoul_internal): Likewise.
5884 (__strtoull_internal): Likewise.
5885 (__strtoq_internal): Likewise.
5886 (__strtouq_internal): Likewise.
5887 * wcsmbs/Versions (__wcstod_internal): Likewise.
5888 (__wcstof_internal): Likewise.
5889 (__wcstold_internal): Likewise.
5890 (__wcstol_internal): Likewise.
5891 (__wcstoll_internal): Likewise.
5892 (__wcstoul_internal): Likewise.
5893 (__wcstoull_internal): Likewise.
5894
5895 2017-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5896
5897 * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
5898 struct timespec definition.
5899
5900 2017-04-19 Florian Weimer <fweimer@redhat.com>
5901
5902 * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
5903
5904 2017-04-19 Florian Weimer <fweimer@redhat.com>
5905
5906 * inet/rcmd.c (rresvport_af): Fix typo in comment.
5907 * inet/rexec.c (rexec_af): Likewise.
5908
5909 2017-04-19 Zack Weinberg <zackw@panix.com>
5910
5911 * posix/tst-mmap-offset.c: Include stdint.h.
5912 * resolv/tst-ns_name_compress.c: Include string.h.
5913 * resolv/tst-resolv-edns.c: Include resolv.h.
5914
5915 2017-04-19 Florian Weimer <fweimer@redhat.com>
5916
5917 * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
5918 with __glibc_likely.
5919 * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
5920 Replace __builtin_expect with __glibc_unlikely.
5921 * resolv/res_init.c (__res_vinit): Likewise.
5922 * resolv/res_query.c (__libc_res_nquery): Likewise.
5923 * resolv/res_send.c (__libc_res_nsend): Likewise.
5924
5925 2017-04-19 Florian Weimer <fweimer@redhat.com>
5926
5927 [BZ #15722]
5928 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
5929 with SOCK_CLOEXEC.
5930 * resolv/res_send.c (send_vc, reopen): Likewise.
5931 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
5932 * sysdeps/unix/sysv/linux/check_native.c (__check_native):
5933 Likewise.
5934 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
5935 * inet/rexec.c (rexec_af): Add comment.
5936 * inet/rcmd.c (rresvport_af): Likewise.
5937
5938 2017-04-19 Florian Weimer <fweimer@redhat.com>
5939
5940 * nscd/connections.c (have_accept4): Removed definition.
5941 (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
5942 accept4 works.
5943 * manual/install.texi (Linux): Require at least kernel 3.2.18 for
5944 ia64 because that was the first version with accept4 support.
5945 * support/Makefile (libsupport-routines): Add xaccept4.
5946 * support/xsocket.h (xaccept4): Declare.
5947 * support/xaccept4.c: New file.
5948 * socket/tst-accept4.c: New file.
5949 * socket/Makefile (tests): Add tst-accept4.
5950 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
5951 definition.
5952 * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
5953 comment.
5954 * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
5955 implementation is available.
5956 (accept4): Use the system call if available, otherwise use the
5957 socket call.
5958 * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
5959 Set to 3.2.18.
5960 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5961 (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
5962 accept4 is unconditionally available in later 3.2 stable kernels.
5963 (__ASSUME_ACCEPT4_SYSCALL): Define.
5964 * sysdeps/unix/sysv/linux/kernel-features.h
5965 (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
5966 definitions.
5967 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5968 (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
5969
5970 2017-04-18 Joseph Myers <joseph@codesourcery.com>
5971
5972 * conform/Makefile (tests-special): Do not make addition of
5973 $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
5974 (generated): Do not make addition of $(conformtest-header-base)
5975 conditional on [$(cross-compiling) = no].
5976
5977 [BZ #21267]
5978 * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
5979 if defined by <asm/socket.h> and not previously defined.
5980 (IOCSIZE_SHIFT): Likewise.
5981 (IOC_IN): Likewise.
5982 (IOC_INOUT): Likewise.
5983 (IOC_OUT): Likewise.
5984
5985 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
5986
5987 [BZ #21396]
5988 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5989 Prefer_No_AVX512 if AVX512ER isn't available.
5990 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
5991 (index_arch_Prefer_No_AVX512): Likewise.
5992 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
5993 AVX512 version if Prefer_No_AVX512 is set.
5994 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
5995 Likewise.
5996 * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
5997 * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
5998 Likewise.
5999 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6000 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
6001 Likewise.
6002 * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
6003 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
6004 Likewise.
6005
6006 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
6007
6008 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6009 Prefer_No_VZEROUPPER if AVX512ER is available.
6010 * sysdeps/x86/cpu-features.h
6011 (bit_cpu_AVX512PF): New.
6012 (bit_cpu_AVX512ER): Likewise.
6013 (bit_cpu_AVX512CD): Likewise.
6014 (bit_cpu_AVX512BW): Likewise.
6015 (bit_cpu_AVX512VL): Likewise.
6016 (index_cpu_AVX512PF): Likewise.
6017 (index_cpu_AVX512ER): Likewise.
6018 (index_cpu_AVX512CD): Likewise.
6019 (index_cpu_AVX512BW): Likewise.
6020 (index_cpu_AVX512VL): Likewise.
6021 (reg_AVX512PF): Likewise.
6022 (reg_AVX512ER): Likewise.
6023 (reg_AVX512CD): Likewise.
6024 (reg_AVX512BW): Likewise.
6025 (reg_AVX512VL): Likewise.
6026
6027 2017-04-18 Florian Weimer <fweimer@redhat.com>
6028
6029 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
6030 O_CLOEXEC is defined.
6031 * include/fcntl.h (__have_o_cloexec): Remove declaration.
6032 * io/Makefile (aux): Remove.
6033 * io/have_o_cloexec.c: Remove file.
6034 * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
6035 defined and works.
6036 * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
6037 defined.
6038 * login/utmp_file.c (O_flags): Remove definition.
6039 (setutent_file): Use O_CLOEXEC instead of O_flags. Assume that
6040 O_CLOEXEC works.
6041 (pututline_file): Likewise.
6042 * malloc/mtrace.c: Assume that O_CLOEXEC works.
6043 * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
6044 definition.
6045 (internal_setgrent): Assume that O_CLOEXEC works.
6046 * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
6047 Remove definition.
6048 (internal_setgrent): Assume that O_CLOEXEC works.
6049 * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
6050 definition.
6051 (internal_setpwent): Assume that O_CLOEXEC works.
6052 * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
6053 definition.
6054 (internal_setspent): Assume that O_CLOEXEC works.
6055 * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
6056 (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS. Assume that
6057 O_CLOEXEC is defined and works.
6058 * nss/Makefile (libnss_files-routines): Remove
6059 files-have_o_cloexec.
6060 * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
6061 defined.
6062 * nss/nss_files/files-XXX.c (internal_setent): Assume that
6063 O_CLOEXEC is defined and works.
6064 * nss/nss_files/files-alias.c (internal_setent): Likewise.
6065 * nss/nss_files/files-have_o_cloexec.c: Remove.
6066 * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
6067 defined.
6068 * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
6069 and works.
6070 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
6071 definition.
6072 * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
6073 * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
6074 * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
6075 (__opendirat, __opendir): Adjust opendir_oflags call.
6076 (check_have_o_cloexec): Remove.
6077 (__alloc_dir): Assume that O_CLOEXEC is defined and works.
6078 * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
6079 defined.
6080 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
6081 Remove definition.
6082
6083 2017-04-18 Florian Weimer <fweimer@redhat.com>
6084
6085 * include/unistd.h (__have_dup3): Remove declaration.
6086 * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
6087 dup3 is available.
6088 * libio/freopen64.c (freopen64): Likewise.
6089 * socket/Makefile (aux): Remove have_sock_cloexec.
6090 * socket/have_sock_cloexec.c: Remove file.
6091 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
6092 definition.
6093 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
6094 Likewise.
6095 * sysdeps/nacl/kernel-features.h: Update comment.
6096
6097 2017-04-18 Florian Weimer <fweimer@redhat.com>
6098
6099 * include/unistd.h (__have_pipe2): Remove declaration.
6100 * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
6101 * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
6102 available.
6103 * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
6104 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
6105 Remove definition.
6106
6107 2017-04-18 Florian Weimer <fweimer@redhat.com>
6108
6109 * malloc/malloc.c (cfree): Turn into compat symbol.
6110 (__cfree): Remove alias.
6111 * stdlib/stdlib.h (cfree): Remove declaration.
6112 * malloc/malloc.h (cfree): Likewise.
6113 * manual/memory.texi (Freeing after Malloc): Remove cfree.
6114 * malloc/Versions (GLIBC_2.26): Add.
6115
6116 2017-04-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6117
6118 * sysdeps/powerpc/powerpc64/multiarch/Makefile
6119 (sysdep_routines): Add strrchr-power8.
6120 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6121 (strrchr): Add __strrchr_power8 to list of strrchr functions.
6122 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
6123 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
6124 (strrchr): Add __strrchr_power8 to ifunc list.
6125 * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
6126
6127 2017-04-17 Rabin Vincent <rabinv@axis.com>
6128
6129 [BZ #21357]
6130 * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
6131 Call free() outside of mutex.
6132
6133 2017-04-13 Florian Weimer <fweimer@redhat.com>
6134
6135 * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
6136 is defined.
6137 * elf/rtld.c (process_envvars): Likewise.
6138 * sysdeps/posix/shm_open.c (shm_open): Likewise.
6139 * elf/dl-profile.c (EXTRA_FLAGS): Remove definition. Use
6140 O_NOFOLLOW directly.
6141 * gmon/gmon.c (O_NOFOLLOW): Remove definition.
6142
6143 2017-04-13 Florian Weimer <fweimer@redhat.com>
6144
6145 [BZ #21369]
6146 Remove EDNS fallback.
6147 * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
6148 handling.
6149 * resolv/res_send.c (send_dg): Likewise.
6150 * resolv/tst-resolv-edns.c (response): Handle "formerr." and
6151 "tcp." prefixes.
6152 (do_test): Send a "formerr."-prefixed query in an attempt to
6153 trigger EDNS fallback.
6154
6155 2017-04-13 Florian Weimer <fweimer@redhat.com>
6156
6157 [BZ #21361]
6158 Limit EDNS buffer size to 1200 bytes.
6159 * include/resolv.h (__res_nopt): Remove declaration.
6160 * resolv/Makefile (tests): tst-resolv-edns.
6161 (tst-resolv-edns): Link with -lresolv, -lpthread.
6162 * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
6163 interval [512, 1200].
6164 * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
6165 we can resize the buffer.
6166 * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
6167 (__res_nopt): Declare.
6168 * resolv/tst-resolv-edns.c: New file.
6169 * resolv/resolv_test.h (struct resolv_edns_info): Define.
6170 (struct resolv_response_context): Add edns member.
6171 * resolv/resolv_test.c (struct query_info): Add edns member.
6172 (parse_query): Extract EDNS information from the query.
6173 (server_thread_udp_process_one): Propagate EDNS data.
6174 (server_thread_tcp_client): Likewise.
6175
6176 2017-04-13 Florian Weimer <fweimer@redhat.com>
6177
6178 [BZ #21359]
6179 * resolv/ns_name.c (ns_name_pack): Do not require an additional
6180 byte in the destination buffer. Avoid out-of-bounds pointer
6181 arithmetic.
6182 * resolv/Makefile (tests): Add tst-ns_name_compress.
6183 (tst-ns_name_compress): Link with -lresolv.
6184 * resolv/tst-ns_name_compress.c: New file.
6185 * resolv/tst-resolv-basic.c (LONG_NAME): Define.
6186 (response): Recognize LONG_NAME.
6187 (do_test): Add LONG_NAME tests.
6188 * resolv/tst-ns_name.c (run_test_case): Fix expected data check
6189 for ns_name_unpack. Add tests for ns_name_pton and
6190 ns_name_compress.
6191
6192 2017-04-13 Florian Weimer <fweimer@redhat.com>
6193
6194 * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
6195 (res_nisourserver): Remove definition.
6196 (p_section, res_npquery, res_nisourserver): Remove declaration.
6197 (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
6198 * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
6199 ... here.
6200 * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
6201 <resolv.h>.
6202 * resolv/res_query.c: Likewise.
6203 * resolv/res_debug.c (p_section): Define as static.
6204
6205 2017-04-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6206
6207 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
6208 strncat-power8.
6209 * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
6210 __strncat_power8 to ifunc list.
6211 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6212 (strncat): Add __strncat_power8 to list of strncat functions.
6213 * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
6214
6215 2017-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6216
6217 [BZ #21270]
6218 * posix/tst-mmap-offset.c (do_prepare): New function.
6219 (do_test): Rename to do_test_bz18877 and use FAIL_RET.
6220 (do_test_bz21270): New function.
6221 * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
6222 * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
6223 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
6224 * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
6225 * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
6226 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
6227 * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
6228 * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
6229 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
6230 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
6231 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
6232 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6233 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6234 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6235 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
6236 * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
6237 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6238 * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
6239 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
6240 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
6241 * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
6242 * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
6243 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
6244 from auto-generation list.
6245 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
6246 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6247 * sysdeps/unix/sysv/linux/mmap.c: New file.
6248 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
6249 offsets and support for mmap2 syscall.
6250
6251 * posix/globtest.sh: Add cleanup routine on trap 0.
6252
6253 2017-04-11 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6254
6255 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
6256 implementation-specific function name and remove unneeded
6257 macros definition.
6258 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
6259 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
6260 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
6261 name if not defined and pass as parameter to macros accordingly.
6262 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6263 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
6264
6265 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
6266 implementation-specific function name and remove unneeded
6267 macros definition.
6268 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
6269 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
6270 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
6271 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
6272 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6273 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
6274 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
6275 name if not defined and pass as parameter to macros accordingly.
6276 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6277 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6278 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6279 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6280 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6281 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
6282
6283 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
6284 implementation-specific function name and remove unneeded macros
6285 definition.
6286 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
6287 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
6288 * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
6289 function name if not defined and pass as parameter to macros
6290 accordingly.
6291 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6292 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
6293
6294 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
6295 implementation-specific function name and remove unneeded macros
6296 definition.
6297 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6298 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6299 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
6300 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
6301 * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
6302 not defined and pass as parameter to macros accordingly.
6303 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6304 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6305 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6306 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
6307
6308 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
6309 strcasestr implementation name and remove unneeded macros definition.
6310 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
6311 strstr implementation name and remove unneeded macros definition.
6312 * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
6313 name if not defined and pass as parameter to macros accordingly.
6314 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
6315
6316 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
6317 implementation-specific function name and remove unneeded macros
6318 definition.
6319 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
6320 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
6321 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
6322 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
6323 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
6324 * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
6325 function name if not defined and pass as parameter to macros
6326 accordingly.
6327 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
6328 * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
6329 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
6330 * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
6331
6332 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
6333 the strlen implementation name and remove unneeded macros definition.
6334 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
6335 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6336 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
6337 the strnlen implementation name and remove unneeded macros definition.
6338 * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
6339 name if not defined and pass as parameter to macros accordingly.
6340 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
6341 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
6342 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6343
6344 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
6345 the implementation-specific function name and remove unneeded
6346 macros definition.
6347 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
6348 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
6349 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
6350 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6351 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
6352 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
6353 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
6354 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
6355 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6356 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
6357 name if not defined and pass as parameter to macros accordingly.
6358 * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
6359 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6360 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
6361 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
6362 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
6363 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
6364 * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
6365 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6366
6367 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
6368 implementation-specific function name and remove unneeded macros
6369 definition.
6370 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
6371 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
6372 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
6373 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
6374 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
6375 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
6376 function name if not defined.
6377 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
6378 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
6379
6380 2017-04-11 Paul Clarke <pc@us.ibm.com>
6381
6382 * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
6383 AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
6384 AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New. Add auxvec
6385 identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
6386
6387 2017-04-11 Florian Weimer <fweimer@redhat.com>
6388 Zack Weinberg <zackw@panix.com>
6389
6390 * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
6391 readdir64 as thread-safe. Update warning about readdir_r.
6392
6393 2017-04-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6394
6395 * sysdeps/unix/sysv/linux/x86/Implies: New file.
6396 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
6397 * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
6398 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
6399 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
6400 * sysdeps/x86/bits/pthreadtypes.h: Move to ...
6401 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6402
6403 2017-04-10 H.J. Lu <hongjiu.lu@intel.com>
6404
6405 * sysdeps/i386/dl-procinfo.c: Include
6406 <sysdeps/x86/dl-procinfo.c>.
6407 * sysdeps/x86_64/dl-procinfo.c: Likewise.
6408 * sysdeps/x86/dl-procinfo.c: New file.
6409
6410 2017-04-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6411
6412 * sysdeps/generic/math_private.h: Remove declarations of
6413 many functions that are already declared in math.h.
6414 * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
6415 declaration for __frexpl.
6416 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
6417 the declarations for __scalbnl and fabsl.
6418
6419 2017-04-09 Dmitry V. Levin <ldv@altlinux.org>
6420
6421 [BZ #20831]
6422 * elf/dl-map-segments.h (_dl_map_segments): Check for failure
6423 of __mprotect to change protection on the excess portion
6424 to disallow all access.
6425
6426 2017-04-07 H.J. Lu <hongjiu.lu@intel.com>
6427
6428 * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
6429 HAS_CPU_FEATURE to check for SSE.
6430 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6431 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
6432 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
6433 * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
6434 * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
6435 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
6436 * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
6437 * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
6438 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6439 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
6440 * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6441 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
6442 * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
6443 * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
6444 (index_cpu_SSE): Likewise.
6445 (reg_SSE): Likewise.
6446
6447 2017-04-07 Paul Eggert <eggert@cs.ucla.edu>
6448
6449 * posix/getopt1.c: Include <config.h>, not "config.h".
6450
6451 2017-04-07 Zack Weinberg <zackw@panix.com>
6452
6453 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
6454 * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
6455 Mention in top-of-file boilerplate that these files are shared
6456 with gnulib.
6457 * posix/getopt.h, posix/bits/getopt_posix.h:
6458 Mention in top-of-file boilerplate that these files are NOT shared
6459 with gnulib, unlike the rest of the getopt implementation.
6460
6461 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
6462 New files, intended to be shared with gnulib.
6463 * posix/bits/getopt_posix.h:
6464 New file, not intended to be shared with gnulib.
6465 * posix/getopt.h: Now just includes features.h,
6466 bits/getopt_core.h, and bits/getopt_ext.h. Will
6467 no longer be shared with gnulib.
6468 * include/bits/getopt_core.h, include/bits/getopt_ext.h
6469 * include/bits/getopt_posix.h: New wrappers.
6470 * posix/Makefile: Install new headers.
6471 * posix/unistd.h, libio/stdio.h:
6472 Include bits/getopt_posix.h instead of getopt.h.
6473
6474 * include/libc-symbols.h: For gnulib compatibility, define
6475 _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
6476 _GL_ATTRIBUTE_CONST.
6477 * posix/getopt.c (_getopt_initialize): Mark argc and argv
6478 parameters with _GL_UNUSED.
6479
6480 * posix/getopt.c: When used standalone, define __libc_use_alloca
6481 as always false and alloca to abort if called.
6482 (process_long_option): Rewrite handling of ambiguous long options
6483 to use a single boolean vector, not a linked list; use
6484 __libc_use_alloca to decide whether to allocate this using alloca.
6485 * posix/tst-getopt_long1.c: Adjust text of expected error message.
6486
6487 * posix/getopt.c (process_long_option): New function split out
6488 from _getopt_internal_r.
6489 (_getopt_internal_r): Replace both copies of the long-option
6490 processing code with calls to process_long_option.
6491 * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
6492 (do_test): Differentiate argv[0] in the two subtests.
6493
6494 * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
6495 * posix/getopt.c (_getopt_internal_r): Move some initialization code...
6496 (_getopt_initialize): ...here. Don't set d->__posixly_correct.
6497
6498 * posix/getopt.h: Add backup definition of __nonnull for
6499 consistency with gnulib. Define __getopt_argv_const to const
6500 if not already defined.
6501 (getopt): Update doc comment from gnulib. Prototype
6502 unconditionally. Add __nonnull annotation.
6503 (__posix_getopt): Add __nonnull annotation.
6504 (getopt_long, getopt_long_only): Use __getopt_argv_const in
6505 prototypes for consistency with gnulib. Add __nonnull
6506 annotations.
6507 * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
6508 (getopt_internal): Change 'argv' argument to type 'char **'.
6509 Remove now-unnecessary casts.
6510 (getopt, __posix_getopt): Eliminate repetition with a macro.
6511 Cast 'argv' to 'char **' when calling _getopt_internal.
6512 * posix/getopt1.c (getopt_long, getopt_long_only):
6513 Use __getopt_argv_const for consistency with gnulib.
6514 Cast 'argv' to 'char **' when calling _getopt_internal.
6515 (_getopt_long_r, _getopt_long_only_r):
6516 Change 'argv' argument to type 'char **'.
6517 (main): Constify 'long_options'.
6518 * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
6519 (_getopt_long_r, _getopt_long_only_r):
6520 Change 'argv' argument to type 'char **'.
6521
6522 * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
6523 (locked_vfxprintf): New helper function. Handle arbitrary
6524 multibyte strings, not just ASCII.
6525 * include/stdio.h: Declare __fxprintf_nocancel.
6526 * posix/getopt.c: When _LIBC is defined, define fprintf to
6527 __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
6528 to _IO_funlockfile. When neither _LIBC nor
6529 _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
6530 funlockfile as no-ops.
6531 (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
6532 the standalone error-printing code can now be used for libc as
6533 well. Add an flockfile/funlockfile pair around one case where
6534 the error message is printed in several chunks. Don't use fputc.
6535 * posix/tst-getopt-cancel.c: New test.
6536 * posix/Makefile: Run it.
6537
6538 * posix/getopt.c (_getopt_internal_r): Don't increment
6539 d->optind a second time when reporting ambiguous -W options.
6540
6541 * posix/getopt_int.h: Include getopt.h.
6542 Use impl-namespace names for all arguments to _getopt_internal and
6543 _getopt_internal_r.
6544 Declare __ordering enum outside the struct.
6545 Harmonize comments with gnulib.
6546 * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
6547 ELIDE_CODE logic entirely. Move inclusion of stdlib.h to
6548 #ifdef TEST block and make unconditional. Do not define NULL.
6549 * posix/getopt.c: Partial merge from gnulib, covering the
6550 initial includes and global declarations, commentary, and
6551 a couple of semantically-neutral code changes.
6552
6553 * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
6554 Use '...' instead of `...' for quotation marks inside
6555 comments and strings.
6556
6557 * config.h.in (USE_NONOPTION_FLAGS): Remove.
6558 * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
6559 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
6560 * posix/getopt_int.h: Likewise.
6561 * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
6562 __libc_argc and __libc_argv externs, which were only used by
6563 #ifdef USE_NONOPTION_FLAGS blocks.
6564 * posix/getopt_init.c: Remove file.
6565 * posix/Makefile (routines): Remove getopt_init.
6566 * include/getopt.h: Don't declare __getopt_initialize_environment.
6567 * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
6568 a comment.
6569
6570 2017-04-07 Florian Weimer <fweimer@redhat.com>
6571
6572 * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
6573
6574 2017-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6575
6576 * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
6577 * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
6578 to __wrap_.udiv.
6579 * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
6580 * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
6581
6582 * sysdeps/i386/symbol-hacks.h: New file.
6583 * sysdeps/m68k/symbol-hacks.h: New file.
6584 * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
6585 * sysdeps/s390/s390-32/symbol-hacks.h: New file.
6586 * sysdeps/unix/sysv/linux/i386/Makefile
6587 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
6588 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6589 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6590 * sysdeps/unix/sysv/linux/m68k/Makefile
6591 [$(subdir) = csu] (sysdep_routines): Likewise.
6592 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6593 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6595 [$(subdir) = csu] (sysdep_routines): Likewise.
6596 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6597 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6598 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
6599 [$(subdir) = csu] (sysdep_routines): Likewise.
6600 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6601 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6602 * sysdeps/wordsize-32/Makefile: Remove file.
6603 * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
6604 * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
6605
6606 2017-04-05 H.J. Lu <hongjiu.lu@intel.com>
6607
6608 * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
6609 (TEST_FUNCTION_ARGV): New.
6610
6611 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6612
6613 * elf/next.c: Import support/test-driver.c instead of
6614 test-skeleton.c and delete TEST_FUNCTION macro definition.
6615 * elf/nodelete.c: Likewise.
6616 * elf/order2.c: Likewise.
6617 * elf/tst-_dl_addr_inside_object.c: Likewise.
6618 * elf/tst-addr1.c: Likewise.
6619 * elf/tst-align.c: Likewise.
6620 * elf/tst-align2.c: Likewise.
6621 * elf/tst-audit11.c: Likewise.
6622 * elf/tst-audit12.c: Likewise.
6623 * elf/tst-audit2.c: Likewise.
6624 * elf/tst-audit9.c: Likewise.
6625 * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
6626 * elf/tst-deep1.c: Likewise.
6627 * elf/tst-dl-iter-static.c: Likewise.
6628 * elf/tst-dlmodcount.c: Likewise.
6629 * elf/tst-dlmopen1.c: Likewise.
6630 * elf/tst-dlmopen2.c: Likewise.
6631 * elf/tst-dlmopen3.c: Likewise.
6632 * elf/tst-dlopen-aout.c: Likewise.
6633 * elf/tst-dlopenrpath.c: Likewise.
6634 * elf/tst-dlsym-error.c: Likewise.
6635 * elf/tst-execstack-needed.c: Likewise.
6636 * elf/tst-execstack-prog.c: Likewise.
6637 * elf/tst-execstack.c: Likewise.
6638 * elf/tst-global1.c: Likewise.
6639 * elf/tst-gnu2-tls1.c: Likewise.
6640 * elf/tst-latepthread.c: Likewise.
6641 * elf/tst-leaks1.c: Likewise.
6642 * elf/tst-linkall-static.c: Likewise.
6643 (do_test): New function.
6644 * elf/tst-nodelete-opened.c: Likewise.
6645 * elf/tst-nodelete.cc: Likewise.
6646 * elf/tst-nodelete2.c: Likewise.
6647 * elf/tst-noload.c: Likewise.
6648 * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
6649 * elf/tst-order-main.c: Likewise.
6650 * elf/tst-pathopt.c: Likewise.
6651 * elf/tst-pie2.c: Likewise.
6652 * elf/tst-piemod1.c: Likewise.
6653 * elf/tst-prelink.c: Likewise.
6654 * elf/tst-protected1a.c: Likewise.
6655 * elf/tst-protected1b.c: Likewise.
6656 * elf/tst-ptrguard1.c: Likewise, import getopt.h,
6657 and define _GNU_SOURCE macro.
6658 (cmdline_process_function): New function.
6659 * elf/tst-relsort1.c: Likewise.
6660 * elf/tst-stackguard1.c: Likewise, import getopt.h,
6661 and define _GNU_SOURCE macro.
6662 (cmdline_process_function): New function.
6663 * elf/tst-thrlock.c: Likewise.
6664 * elf/tst-tls-dlinfo.c: Likewise.
6665 * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
6666 * elf/tst-tls1.c: Likewise.
6667 * elf/tst-tls10.c: Likewise.
6668 * elf/tst-tls11.c: Likewise.
6669 * elf/tst-tls12.c: Likewise.
6670 * elf/tst-tls13.c: Likewise.
6671 * elf/tst-tls14.c: Likewise.
6672 * elf/tst-tls15.c: Likewise.
6673 * elf/tst-tls16.c: Likewise.
6674 * elf/tst-tls17.c: Likewise.
6675 * elf/tst-tls18.c: Likewise.
6676 * elf/tst-tls19.c: Likewise.
6677 * elf/tst-tls2.c: Likewise.
6678 * elf/tst-tls3.c: Likewise.
6679 * elf/tst-tls4.c: Likewise.
6680 * elf/tst-tls5.c: Likewise.
6681 * elf/tst-tls6.c: Likewise.
6682 * elf/tst-tls7.c: Likewise.
6683 * elf/tst-tls8.c: Likewise.
6684 * elf/tst-tls9.c: Likewise.
6685 * elf/tst-tlsalign-extern.c: Likewise.
6686 * elf/tst-tlsalign.c: Likewise.
6687 * elf/tst-unique1.c: Likewise.
6688 * elf/tst-unique2.c: Likewise.
6689 * elf/vismain.c: Likewise.
6690
6691 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6692
6693 * string/test-strnlen.c (do_page_tests): New function
6694 to check length of strings ending at the page boundary.
6695 (test_main): Added call to the do_page_tests function.
6696
6697 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6698 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6699
6700 * sysdeps/powerpc/powerpc64/multiarch/Makefile
6701 (sysdep_routines): Add strnlen-power8.
6702 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6703 (strnlen): Add __strnlen_power8 to list of strnlen functions.
6704 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
6705 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
6706 (__strnlen): Add __strnlen_power8 to ifunc list.
6707 * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
6708
6709 2017-04-04 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6710
6711 * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
6712 the TEST_FUNCTION macro definition.
6713 * wcsmbs/tst-mbrtowc2.c: Likewise.
6714 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6715 * wcsmbs/tst-wchar-h.c: Likewise.
6716 * wcsmbs/tst-wcpncpy.c: Likewise.
6717 * wcsmbs/tst-wcrtomb.c: Likewise.
6718 * wcsmbs/tst-wcsnlen.c: Likewise.
6719 * wcsmbs/tst-wcstof.c: Likewise.
6720
6721 2017-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6722
6723 * nptl/pthread_create.c (START_THREAD_DEFN): Remove
6724 CALL_THREAD_FCT macro usage.
6725 * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
6726 * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
6727 * sysdeps/x86_64/32/nptl/tls.h: Remove file.
6728
6729 * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
6730 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6731 (__ASSUME_REQUEUE_PI): Likewise.
6732 * sysdeps/unix/sysv/linux/kernel-features.h
6733 (__ASSUME_REQUEUE_PI): Likewise.
6734 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6735 (__ASSUME_REQUEUE_PI): Likewise.
6736 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6737 (__ASSUME_REQUEUE_PI): Likewise.
6738 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6739 (__ASSUME_REQUEUE_PI): Likewise.
6740
6741 2017-04-04 Florian Weimer <fweimer@redhat.com>
6742
6743 * resolv/tst-resolv-canonname.c: New file.
6744 * resolv/Makefile (tests): Add tst-resolv-canonname.
6745 (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
6746
6747 2017-04-04 Florian Weimer <fweimer@redhat.com>
6748
6749 * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
6750 Declare.
6751 * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
6752 (NS_MAXCDNAME): Remove definition.
6753 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
6754 * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
6755 (NS_MAXCDNAME): Remove definition.
6756 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
6757
6758 2017-04-04 Florian Weimer <fweimer@redhat.com>
6759
6760 * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
6761 call whose result is not used.
6762
6763 2017-04-04 Florian Weimer <fweimer@redhat.com>
6764
6765 * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
6766 * resolv/Makefile (tests): Add tst-ns_name.
6767 (tst-ns_name): Link with -lresolv.
6768 (tst-ns_name.out): Depend on the input data file.
6769
6770 2017-04-04 Stefan Liebler <stli@linux.vnet.ibm.com>
6771
6772 * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
6773 Clobber also r14.
6774
6775 2017-04-03 Mike Frysinger <vapier@gentoo.org>
6776
6777 [BZ #21253]
6778 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
6779 slack space by 32KiB.
6780
6781 2017-04-01 Wladimir van der Laan <laanwj@gmail.com>
6782
6783 [BZ #21338]
6784 * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
6785 instead of incorrect do_set_arena_test
6786
6787 2017-03-31 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6788
6789 * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
6790 * math/bits/math-finite.h: Likewise.
6791
6792 2017-03-31 Slava Barinov <v.barinov@samsung.com>
6793
6794 [BZ #21289]
6795 * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
6796
6797 2017-03-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6798
6799 * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
6800 non expected inotify_add_watch and quotactl return.
6801
6802 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6803
6804 * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
6805 to int32_t.
6806 * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
6807 as returning int32_t.
6808
6809 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6810
6811 * math/math.h: Include bits/math-finite.h once per
6812 floating-point type.
6813 * math/bits/math-finite.h: Macroize all declarations by
6814 floating-point type.
6815
6816 2017-03-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6817
6818 [BZ #21182]
6819 * string/test-memchr.c (do_test): Add BZ#21182 checks for address
6820 near end of a page.
6821 * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
6822 overflow calculation.
6823
6824 2017-03-28 Steve Ellcey <sellcey@caviumnetworks.com>
6825
6826 * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
6827 (IMPL) Call with 1 instead of 0 as argument.
6828
6829 2017-03-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6830
6831 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
6832 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
6833 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
6834 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
6835 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
6836 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
6837 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
6838 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
6839 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
6840 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
6841 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
6842 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
6843 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6844 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
6845 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
6846 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
6847 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
6848 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
6849 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
6850 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
6851 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
6852 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
6853 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
6854 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
6855 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
6856 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
6857 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
6858 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
6859 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
6860 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
6861 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
6862 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
6863 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
6864 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
6865 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
6866 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
6867 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
6868 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
6869 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
6870 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
6871 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
6872 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
6873 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
6874 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
6875 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
6876 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
6877 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
6878 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
6879 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
6880 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
6881 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
6882 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
6883 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
6884 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
6885 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
6886 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
6887 INLINE_SYSCALL_ERROR_RETURN_VALUE.
6888 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
6889 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
6890 defined.
6891 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
6892 __NR_setgroups32 if defined.
6893 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
6894 if defined.
6895 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
6896 __NR_setresgid32 is defined.
6897 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
6898 __NR_setresuid32 if defined.
6899 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
6900 __NR_setreuid32 if defined.
6901 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
6902 defined.
6903 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
6904 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
6905 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
6906 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
6907 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
6908 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
6909 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
6910 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
6911 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
6912 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
6913 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
6914 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
6915 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6916 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
6917 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
6918 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
6919 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
6920 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
6921 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
6922 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
6923 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
6924 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
6925 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
6926 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
6927 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
6928 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
6929 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
6930 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
6931 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
6932 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
6933 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
6934 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
6935 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
6936 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
6937 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
6938 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
6939 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
6940 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
6941 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
6942 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
6943 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
6944 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
6945 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
6946 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
6947 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
6948 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
6949 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
6950 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
6951 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
6952 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
6953 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
6954 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
6955 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
6956 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
6957 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
6958 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
6959 INLINE_SYSCALL_ERROR_RETURN_VALUE.
6960 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
6961 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
6962 defined.
6963 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
6964 __NR_setgroups32 if defined.
6965 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
6966 if defined.
6967 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
6968 __NR_setresgid32 is defined.
6969 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
6970 __NR_setresuid32 if defined.
6971 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
6972 __NR_setreuid32 if defined.
6973 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
6974 defined.
6975
6976 2017-03-27 Joseph Myers <joseph@codesourcery.com>
6977
6978 [BZ #21277]
6979 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
6980 unconditionally.
6981 (IMAXBEL): Likewise.
6982 (IUTF8): Likewise.
6983
6984 2017-03-27 Szabolcs Nagy <szabolcs.nagy@arm.com>
6985
6986 * sysdeps/aarch64/libm-test-ulps: Update.
6987
6988 2017-03-24 Sunyeop Lee <sunyeop97@gmail.com>
6989
6990 * README.tunables: Updated descriptions.
6991 * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
6992 * scripts/gen-tunables.awk: Updated the code related to the
6993 commit.
6994
6995 2017-03-23 Wilco Dijkstra <wdijkstr@arm.com>
6996
6997 * benchtests/Makefile (string-benchset): Add memcpy-random.
6998 * benchtests/bench-memcpy-random.c: New file.
6999
7000 2017-03-23 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7001
7002 * stdio-common/printf.h (register_printf_modifier): Change the
7003 order of __wur and __THROW.
7004 (register_printf_type): Likewise.
7005
7006 2017-03-23 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
7007
7008 * string/test-string.h (TEST_FUNCTION): Use test_main instead of
7009 test_main ().
7010 (CMDLINE_PROCESS): Use function instead of defined macro.
7011 * debug/test-strcpy_chk.c: Import support/test-driver.c and also
7012 <suppport/support.h> to use set_fortify_handler().
7013 * string/bug-envz1.c: Import support/test-driver.c instead of
7014 test-skeleton.c.
7015 * string/bug-strcoll2.c: Likewise.
7016 * string/bug-strtok1.c: Likewise.
7017 * string/stratcliff.c: Likewise.
7018 * string/test-ffs.c: Likewise.
7019 * string/test-memccpy.c: Likewise.
7020 * string/test-memchr.c: Likewise.
7021 * string/test-memcmp.c: Likewise.
7022 * string/test-memcpy.c: Likewise.
7023 * string/test-memmem.c: Likewise.
7024 * string/test-memmove.c: Likewise.
7025 * string/test-memrchr.c: Likewise.
7026 * string/test-memset.c: Likewise.
7027 * string/test-rawmemchr.c: Likewise.
7028 * string/test-strcasecmp.c: Likewise.
7029 * string/test-strcasestr.c: Likewise.
7030 * string/test-strcat.c: Likewise.
7031 * string/test-strchr.c: Likewise.
7032 * string/test-strcmp.c: Likewise.
7033 * string/test-strcpy.c: Likewise.
7034 * string/test-string.h: Likewise.
7035 * string/test-strlen.c: Likewise.
7036 * string/test-strncasecmp.c: Likewise.
7037 * string/test-strncat.c: Likewise.
7038 * string/test-strncmp.c: Likewise.
7039 * string/test-strncpy.c: Likewise.
7040 * string/test-strnlen.c: Likewise.
7041 * string/test-strpbrk.c: Likewise.
7042 * string/test-strrchr.c: Likewise.
7043 * string/test-strspn.c: Likewise.
7044 * string/test-strstr.c: Likewise.
7045 * string/tst-bswap.c: Likewise.
7046 * string/tst-cmp.c: Likewise.
7047 * string/tst-endian.c: Likewise.
7048 * string/tst-inlcall.c: Likewise.
7049 * string/tst-strcoll-overflow.c: Likewise.
7050 * string/tst-strfry.c: Likewise.
7051 * string/tst-strlen.c: Likewise.
7052 * string/tst-strtok.c: Likewise.
7053 * string/tst-strtok_r.c: Likewise.
7054 * string/tst-strxfrm.c: Likewise.
7055 * string/tst-strxfrm2.c: Likewise.
7056 * string/tst-svc.c: Likewise.
7057 * string/tst-svc2.c: Likewise.
7058
7059 2017-03-22 Zack Weinberg <zackw@panix.com>
7060
7061 * stdio-common/bug25.c: Include stdlib.h.
7062 * support/tst-support_format_dns_packet.c: Include stdio.h,
7063 stdlib.h, and string.h.
7064 * support/tst-support_record_failure.c: Include string.h.
7065 * support/tst-support_record_failure-2.sh: Adjust line number
7066 expectations and correct a typo in an error message.
7067
7068 2017-03-21 H.J. Lu <hongjiu.lu@intel.com>
7069
7070 [BZ #21258]
7071 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
7072 Define only if _dl_runtime_resolve is defined to
7073 _dl_runtime_resolve_sse_vex.
7074 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
7075 Fallthrough to _dl_runtime_resolve_sse_vex.
7076
7077 2017-03-21 Joseph Myers <joseph@codesourcery.com>
7078
7079 * INSTALL: Regenerated.
7080
7081 2017-03-21 Thorsten Kukuk <kukuk@suse.com>
7082
7083 * config.h.in: Add LINK_OBSOLETE_NSL.
7084 * config.make.in: Add build-obsolete-nsl.
7085 * configure.ac: Add obsolete-nsl option.
7086 * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
7087 * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
7088 * include/rpcsvc/nislib.h: Likewise.
7089 * include/rpcsvc/ypclnt.h: Likewise.
7090 * manual/install.texi: Document --enable-obsolete-nsl.
7091 * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
7092 * nis/nis_add.c: Replace libnsl_hidden_def with
7093 libnsl_hidden_nolink_def.
7094 * nis/nis_addmember.c: Likewise.
7095 * nis/nis_call.c: Likewise.
7096 * nis/nis_clone_obj.c: Likewise.
7097 * nis/nis_defaults.c: Likeise.
7098 * nis/nis_domain_of_r.c: Likewise.
7099 * nis/nis_error.c: Likewise.
7100 * nis/nis_file.c: Likewise.
7101 * nis/nis_free.c: Likewise.
7102 * nis_local_names.c: Likewise.
7103 * nis/nis_lookup.c: Likewise.
7104 * nis/nis_modify.c: Likewise.
7105 * nis/nis_print.c: Likewise.
7106 * nis/nis_remove.c: Likewise.
7107 * nis/nis_table.c: Likewise.
7108 * nis/nis_util.c: Likewise.
7109 * nis/nis_xdr.c: Likewise.
7110 * nis/yp_xdr.c: Likewise.
7111 * nis/ypclnt.c: Likewise.
7112 * nis/ypupdate_xdr.c: Likewise.
7113 * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
7114 * nis/nis_clone_dir.c: Likewise.
7115 * nis/nis_clone_res.c: Likewise.
7116 * nis/nis_creategroup.c: Likewise.
7117 * nis/nis_destroygroup.c: Likewise.
7118 * nis/nis_domain_of.c: Likewise.
7119 * nis/nis_getservlist.c: Likewise.
7120 * nis/nis_ismember.c: Likewise.
7121 * nis/nis_mkdir.c: Likewise.
7122 * nis/nis_ping.c: Likewise.
7123 * nis/nis_print_group_entry.c: Likewise.
7124 * nis/nis_removemember.c: Likewise.
7125 * nis/nis_rmdir.c: Likewise.
7126 * nis/nis_server.c: Likewise.
7127 * nis/nis_subr.c: Likewise.
7128 * nis/nis_verifygroup.c: Likewise.
7129
7130 2017-03-21 Stefan Liebler <stli@linux.vnet.ibm.com>
7131
7132 * malloc/tst-interpose-aux.c (check_for_allocations):
7133 Move compiler barrier before free.
7134
7135 2017-03-20 Joseph Myers <joseph@codesourcery.com>
7136
7137 [BZ #21279]
7138 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7139 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7140 * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
7141 x86_64-x32-linux.
7142 (mq_attr.mq_maxmsg): Likewise.
7143 (mq_attr.mq_msgsize): Likewise.
7144 (mq_attr.mq_curmsgs): Likewise.
7145
7146 [BZ #21278]
7147 * sysdeps/unix/sysv/linux/mips/mips32/Makefile
7148 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7149 * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
7150 mips-o32-linux.
7151
7152 [BZ #21268]
7153 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
7154 if [__USE_MISC]
7155 (NL3): Likewise.
7156
7157 2017-03-20 Mike Frysinger <vapier@gentoo.org>
7158
7159 [BZ #21275]
7160 * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
7161 __stack to __stackbase.
7162 (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
7163 checks so we can include defined(__ia64__) first.
7164
7165 2017-03-19 Christian Brauner <christian.brauner@ubuntu.com>
7166
7167 * sysdeps/unix/sysv/linux/ttyname.h: New file.
7168 * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
7169 (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
7170 Call is_pty when the link does not exist or does not match, fail
7171 with ENODEV when it returns true.
7172 * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
7173 (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
7174 Call is_pty when the link does not exist or does not match, fail
7175 with ENODEV when it returns true.
7176
7177 2017-03-18 Joseph Myers <joseph@codesourcery.com>
7178
7179 [BZ #16437]
7180 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7181 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7182 * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
7183 x86_64-x32-linux.
7184 * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
7185 * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
7186 * conform/data/time.h-data (timespec.tv_nsec): Likewise.
7187
7188 [BZ #21261]
7189 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
7190 [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
7191 names for all fields.
7192 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
7193 for jmp_buf field renaming.
7194 (_JMPBUF_UNWINDS_ADJ): Likewise.
7195
7196 * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
7197 with allow-header.
7198
7199 2017-03-17 Chris Evans <scarybeasts@gmail.com>
7200
7201 * malloc/malloc.c (unlink): Add consistency check between size and
7202 next->prev->size, to further harden against 1-byte overflows.
7203
7204 2017-03-17 H.J. Lu <hongjiu.lu@intel.com>
7205
7206 * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
7207 CPU_FEATURES_CPU_P.
7208
7209 2017-03-17 Joseph Myers <joseph@codesourcery.com>
7210
7211 [BZ #21259]
7212 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
7213 unconditionally, not just for [__USE_MISC].
7214
7215 [BZ #17786]
7216 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
7217 * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
7218 mips-o32-linux.
7219
7220 [BZ #21260]
7221 * sysdeps/unix/sysv/linux/alpha/Makefile
7222 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7223 * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
7224
7225 * conform/conformtest.pl ($cross): New variable.
7226 (--cross): New command-line option.
7227 (runtest): Skip test execution when cross-compiling.
7228 * conform/Makefile (conformtest-cross): New variable.
7229 ($(conformtest-header-tests)): Pass $(conformtest-cross) to
7230 conformtest.pl.
7231
7232 * conform/conformtest.pl ($xfail_str): New variable.
7233 (--xfail=): New command-line option.
7234 (top level): Handle expectations starting xfail[cond]-.
7235 * conform/Makefile (conformtest-xfail): New variable.
7236 ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
7237 conformtest.pl.
7238
7239 2017-03-16 Joseph Myers <joseph@codesourcery.com>
7240
7241 * conform/conformtest.pl: Use compilation instead of execution
7242 tests for testing values of constants and usability in #if.
7243
7244 2017-03-16 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7245
7246 * math/auto-libm-test-in: Mark some catan and catanh as
7247 xfail-rounding:ibm128-libgcc.
7248 * math/auto-libm-test-out-catan: Regenerate.
7249 * math/auto-libm-test-out-catanh: Likewise.
7250
7251 2017-03-16 Joseph Myers <joseph@codesourcery.com>
7252
7253 * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
7254 (__END_NAMESPACE_STD): Likewise.
7255 (__USING_NAMESPACE_STD): Likewise.
7256 (__BEGIN_NAMESPACE_C99): Likewise.
7257 (__END_NAMESPACE_C99): Likewise.
7258 (__USING_NAMESPACE_C99): Likewise.
7259 * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
7260 undefine macro.
7261 (_Mdouble_END_NAMESPACE): Likewise.
7262 * ctype/ctype.h: Do not handle C++ namespaces.
7263 * libio/bits/stdio-ldbl.h: Likewise.
7264 * libio/stdio.h: Likewise.
7265 * locale/locale.h: Likewise.
7266 * math/bits/mathcalls.h: Likewise.
7267 * setjmp/setjmp.h: Likewise.
7268 * signal/signal.h: Likewise.
7269 * stdlib/bits/stdlib-float.h: Likewise.
7270 * stdlib/bits/stdlib-ldbl.h: Likewise.
7271 * stdlib/stdlib.h: Likewise.
7272 * string/string.h: Likewise.
7273 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
7274 * time/bits/types/clock_t.h: Likewise.
7275 * time/bits/types/struct_tm.h: Likewise.
7276 * time/bits/types/time_t.h: Likewise.
7277 * time/time.h: Likewise.
7278 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7279 * wcsmbs/uchar.h: Likewise.
7280 * wcsmbs/wchar.h: Likewise.
7281 [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
7282 * wctype/wctype.h: Do not handle C++ namespaces.
7283 * scripts/begin-end-check.pl: Remove.
7284 * Makefile (installed-headers): Likewise.
7285 (tests-special): Do not add $(objpfx)begin-end-check.out.
7286 ($(objpfx)begin-end-check.out): Remove.
7287
7288 2017-03-15 Steve Ellcey <sellcey@caviumnetworks.com>
7289 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7290
7291 * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
7292 (DL_PLATFORM_INIT): New define.
7293 (dl_platform_init): New function.
7294 * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
7295 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
7296 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
7297 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
7298 * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
7299
7300 2017-03-15 Mike Frysinger <vapier@gentoo.org>
7301
7302 * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
7303 instead of PIC.
7304
7305 2017-03-15 Joseph Myers <joseph@codesourcery.com>
7306
7307 [BZ #21094]
7308 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7309 24+24+24-bit pi for wider range of values around pi/2.
7310 * math/auto-libm-test-in: Add more tests of cos and tan.
7311 * math/auto-libm-test-out-cos: Regenerated.
7312 * math/auto-libm-test-out-tan: Likewise.
7313
7314 2017-03-15 John David Anglin <danglin@gcc.gnu.org>
7315
7316 * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
7317 (RTLD_START): Don't record stack end address in _dl_start_user.
7318
7319 2017-03-15 Alexey Neyman <stilor@att.net>
7320
7321 [BZ #21088]
7322 * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
7323 around definitions match those around use.
7324
7325 2017-03-15 Alexey Neyman <stilor@att.net>
7326
7327 * configure.ac: Avoid empty subexpression in grep.
7328 * configure: Regenerate.
7329
7330 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7331
7332 * posix/test-errno.c (do_test): Initialize setsockopt optlen.
7333 * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
7334 * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
7335 (test_wrp_rv): Fix format.
7336 (test_wrp_rv2): New macro.
7337 (do_test): Handle mlock return on 64 bits kernels with 32 bits
7338 binaries.
7339
7340 2017-03-15 Joseph Myers <joseph@codesourcery.com>
7341
7342 * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
7343 Use a union when storing pointers.
7344 (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
7345 cast result when passing to INIT_VEC_PTRS_LOOP.
7346 (VECTOR_WRAPPER_fFF_3): Likewise.
7347 (VECTOR_WRAPPER_fFF_4): Likewise.
7348
7349 2017-03-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7350
7351 * include/bits/mathcalls-helper-functions.h: New file.
7352 * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
7353 * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
7354 (__isinf, __isnan, __issignaling, __signbit): Move declarations to
7355 math/bits/mathcalls-helper-functions.h.
7356 * math/bits/mathcalls-helper-functions.h: New file.
7357 * math/math.h: Include bits/mathcalls-helper-functions.h for
7358 float, double, and long double.
7359
7360 2017-03-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7361
7362 * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
7363 instead of feraiseexcept.
7364
7365 2017-03-15 Florian Weimer <fweimer@redhat.com>
7366
7367 [BZ #21243]
7368 * support/temp_file.c (support_delete_temp_files): Add comment
7369 about ignored errors.
7370
7371 2017-03-15 Florian Weimer <fweimer@redhat.com>
7372
7373 [BZ #21244]
7374 * support/xclose.c: New file.
7375 * support/Makefile (libsupport-routines): Add xclose.
7376 * support/xunistd.h (xclose): Declare.
7377 * support/resolv_test.c (server_thread_tcp_client)
7378 (server_thread_tcp, make_server_sockets, resolv_test_start)
7379 (resolv_test_end): Call xclose instead of close.
7380 * support/support_enter_network_namespace.c
7381 (support_enter_network_namespace): Likewise.
7382 * support/support_run_diff.c (write_to_temp_file): Likewise.
7383
7384 2017-03-15 Florian Weimer <fweimer@redhat.com>
7385
7386 * support/support_format_dns_packet.c (support_format_dns_packet):
7387 Handle CNAME records in the response. Extract RDATA names from
7388 rdata, not the whole packet. Check AAAA record length.
7389 * support/tst-support_format_dns_packet.c: New file.
7390 * support/Makefile (tests): Add tst-support_format_dns_packet.
7391 (tst-support_format_dns_packet): Link against libresolv.
7392
7393 2017-03-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7394
7395 [BZ #21232]
7396 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
7397 posix_fadvise64 weak_alias for static build.
7398
7399 2017-03-14 Andreas Schwab <schwab@suse.de>
7400
7401 * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
7402 * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
7403 (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
7404 * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
7405 * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
7406 (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
7407 * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
7408 * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
7409
7410 2017-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
7411
7412 * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
7413 posix error code.
7414 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7415
7416 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7417
7418 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
7419 no_isolate usage for SH.
7420
7421 2017-03-13 Wilco Dijkstra <wdijkstr@arm.com>
7422
7423 [BZ #15105]
7424 [BZ #19463]
7425 * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
7426 * inet/rcmd.c (rcmd_af): Likewise.
7427 * inet/rexec.c (rexec_af): Likewise.
7428 * intl/dcigettext.c (_LIBC): Likewise.
7429 * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
7430 * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
7431 * locale/setlocale.c (setlocale): Likewise.
7432 * posix/spawn_faction_addopen.c
7433 (posix_spawn_file_actions_addopen): Likewise.
7434 * stdlib/putenv.c (putenv): Use __strndup.
7435 * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
7436 * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
7437 * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
7438 (__Need_M_And_C) Remove define/undef.
7439 * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
7440 (__malloc_and_calloc_defined): Remove define.
7441 * string/bits/string2.h (__strdup): Remove define.
7442 (strdup): Likewise.
7443 (__strndup): Likewise.
7444 (strndup): Likewise.
7445
7446 2017-03-13 Joseph Myers <joseph@codesourcery.com>
7447
7448 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
7449 macro.
7450 (IPV6_ADDR_PREFERENCES): Likewise.
7451 (IPV6_MINHOPCOUNT): Likewise.
7452 (IPV6_ORIGDSTADDR): Likewise.
7453 (IPV6_RECVORIGDSTADDR): Likewise.
7454 (IPV6_TRANSPARENT): Likewise.
7455 (IPV6_UNICAST_IF): Likewise.
7456 (IPV6_RECVFRAGSIZE): Likewise.
7457
7458 2017-03-13 Thorsten Kukuk <kukuk@suse.com>
7459
7460 * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
7461
7462 2017-03-12 Alexey Neyman <stilor@att.net>
7463
7464 * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
7465 in R_SH_DIR32 case is always false when inlined from
7466 dl-conflict.c. Ifdef out to prevent GCC from insertin an
7467
7468 2016-03-12 Marko Myllynen <myllynen@redhat.com>
7469
7470 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7471 (__ASSUME_RECV_SYSCALL): Replace duplicate by
7472 __ASSUME_SEND_SYSCALL.
7473
7474 2017-03-11 Thorsten Kukuk <kukuk@suse.com>
7475
7476 * sunrpc/Makefile: don't build and install rpcsvc header
7477 files, rpcgen and librpcsvc.a by default.
7478
7479 2017-03-10 Stefan Liebler <stli@linux.vnet.ibm.com>
7480
7481 * math/auto-libm-test-out-catan: Regenerated.
7482 * math/auto-libm-test-out-catanh: Likewise.
7483 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7484
7485 2017-03-09 Joseph Myers <joseph@codesourcery.com>
7486
7487 * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
7488 for long double with corrected test expectations.
7489
7490 2016-03-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7491
7492 * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
7493 Define.
7494 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
7495 (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
7496 * sysdeps/unix/sysv/linux/nios2/sysdep.h
7497 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7498 * sysdeps/unix/sysv/linux/tile/sysdep.h
7499 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7500 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7501 (__ASSUME_RECV_SYSCALL): Define.
7502 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7503 (__ASSUME_RECV_SYSCALL): Likewise.
7504 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7505 (__ASSUME_RECV_SYSCALL): Likewise.
7506 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7507 (__ASSUME_RECV_SYSCALL): Likewise.
7508 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7509 (__ASSUME_RECV_SYSCALL): Likewise.
7510 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7511 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
7512 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7513 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7514 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7515 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7516 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
7517 auto-generation list.
7518 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7519 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7520 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
7521 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7522 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7523 * sysdeps/unix/sysv/linux/send.c: Simplify includes.
7524 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
7525 __ASSUME_SENDTO_SYSCALL.
7526 * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
7527 * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
7528 * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
7529
7530 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
7531 auto-generation list.
7532 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7533 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7534 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7535 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7536 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7537 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7538 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7539 * sysdeps/unix/sysv/linux/kernel-features.h
7540 (__ASSUME_SENDTO_SYSCALL): Define by default.
7541 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7542 (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
7543 __NR_sendto.
7544 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7545 (__ASSUME_SENDTO_SYSCALL): Likewise.
7546 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7547 (__ASSUME_SENDTO_SYSCALL): Likewise.
7548 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7549 (__ASSUME_SENDTO_SYSCALL): Remove definition.
7550 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7551 (__ASSUME_SENDTO_SYSCALL): Likewise.
7552 * sysdeps/unix/sysv/linux/sh/kernel-features.h:
7553 (__ASSUME_SENDTO_SYSCALL): Likewise.
7554 * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
7555
7556 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
7557 auto-generation list.
7558 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7559 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7560 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7561 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7562 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7563 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7564 (__ASSUME_RECV_SYSCALL): New define.
7565 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7566 (__ASSUME_RECV_SYSCALL): Likewise.
7567 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7568 (__ASSUME_RECV_SYSCALL): Likewise.
7569 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7570 (__ASSUME_RECV_SYSCALL): Likewise.
7571 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7572 (__ASSUME_RECV_SYSCALL): Likewise.
7573 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7574 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7575 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7576 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7577 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7578 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7579 * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
7580 * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
7581 * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
7582 * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
7583 (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
7584 __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
7585
7586 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
7587 auto-generation list.
7588 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7589 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7590 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7591 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7592 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7593 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7594 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7595 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7596 (__ASSUME_RECVFROM_SYSCALL): Define by default.
7597 * sysdeps/unix/sysv/linux/kernel-features.h
7598 (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
7599 __NR_recvfrom.
7600 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7601 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7602 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7603 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7604 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7605 (__ASSUME_RECVFROM_SYSCALL): Remove definition.
7606 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7607 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7608 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7609 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7610 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7611 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7612 * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
7613
7614 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
7615 auto-generation list.
7616 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7617 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7618 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7619 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7620 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7621 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7622 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7623 * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
7624 * sysdeps/unix/sysv/linux/kernel-features.h
7625 (__ASSUME_CONNECT_SYSCALL): Define.
7626 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7627 (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
7628 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7629 (__ASSUME_CONNECT_SYSCALL): Likewise.
7630 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7631 (__ASSUME_CONNECT_SYSCALL): Likewise.
7632 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7633 (__ASSUME_CONNECT_SYSCALL): Likewise.
7634
7635 * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
7636 __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
7637 * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
7638 auto-generation list.
7639 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7640 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7641 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7642 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7643 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7644 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7645 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7646 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7647 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7648 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7649 * sysdeps/unix/sysv/linux/kernel-features.h
7650 (__ASSUME_ACCEPT_SYSCALL): New define.
7651 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7652 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7653 (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
7654 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7655 (__ASSUME_ACCEPT_SYSCALL): Define.
7656 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7657 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7658 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7659 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7660 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7661 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7662 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7663 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7664 (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
7665
7666 2017-03-08 Yury Norov <ynorov@caviumnetworks.com>
7667 Zack Weinberg <zackw@panix.com>
7668
7669 * posix/test-errno.c: New file.
7670 * posix/Makefile (tests): Add test-errno.
7671 * sysdeps/unix/sysv/linux/test-errno.c: New file.
7672 * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
7673
7674 2017-03-08 Stefan Liebler <stli@linux.vnet.ibm.com>
7675
7676 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7677
7678 2017-03-07 Florian Weimer <fweimer@redhat.com>
7679
7680 * time/tzset.c (compute_offset): Open-code min macro.
7681 (min, max, sign): Remove.
7682
7683 2017-03-07 Florian Weimer <fweimer@redhat.com>
7684
7685 [BZ #15576]
7686 Remove TZNAME_MAX limit from sysconf.
7687 * include/time.h (__tzname_cur_max, __tzname_max): Remove
7688 declaration.
7689 * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
7690 compute_tzname_max.
7691 (compute_tzname_max): Remove.
7692 * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
7693 (update_vars): Do not update __tzname_cur_max.
7694 (tzset_internal): Remove argument.
7695 (__tzset): Adjust call to tzset_internal.
7696 (__tz_convert): Likewise.
7697
7698 * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
7699 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
7700 * manual/conf.texi (Sysconf Definition): Update comment.
7701
7702 2017-03-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7703
7704 [BZ #21209]
7705 * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
7706 AT_SECURE processes.
7707 * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
7708 * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
7709 (test_child): Likewise.
7710 * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
7711
7712 2017-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7713
7714 * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
7715
7716 2017-03-06 Stefan Liebler <stli@linux.vnet.ibm.com>
7717
7718 * sysdeps/s390/atomic-machine.h
7719 (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
7720 (__arch_compare_and_exchange_val_8_acq,
7721 __arch_compare_and_exchange_val_16_acq,
7722 __arch_compare_and_exchange_val_32_acq,
7723 __arch_compare_and_exchange_val_64_acq):
7724 Delete macro.
7725 (atomic_compare_and_exchange_val_acq,
7726 atomic_compare_and_exchange_val_rel,
7727 atomic_compare_and_exchange_bool_acq,
7728 catomic_compare_and_exchange_bool_acq,
7729 atomic_exchange_acq, atomic_exchange_rel,
7730 atomic_exchange_and_add_acq,
7731 atomic_exchange_and_add_rel,
7732 catomic_exchange_and_add, atomic_or_val,
7733 atomic_or, catomic_or, atomic_bit_test_set,
7734 atomic_and_val, atomic_and, catomic_and):
7735 Define macros with help of C11 atomic builtins.
7736
7737 2017-03-03 Justus Winter <justus@gnupg.org>
7738
7739 * sysdeps/mach/hurd/ftruncate64.c: New file.
7740 * sysdeps/mach/hurd/truncate64.c: Likewise.
7741
7742 2017-03-03 Florian Weimer <fweimer@redhat.com>
7743
7744 * time/tzfile.c (NOID): Do not define.
7745 * time/tzset.c (NOID): Likewise.
7746
7747 2017-03-03 Florian Weimer <fweimer@redhat.com>
7748
7749 * time/tzset.c (compute_offset): Remove __attribute_noinline__.
7750
7751 2017-03-02 Florian Weimer <fweimer@redhat.com>
7752
7753 * elf/get-dynamic-info.h: Remove header file inclusion guard.
7754
7755 2017-03-02 Florian Weimer <fweimer@redhat.com>
7756
7757 [BZ #21015]
7758 * manual/install.texi (Configuring and compiling): Document
7759 --enable-bind-now.
7760 * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
7761 (build-shlib-helper): Use $(LDFLAGS-lib.so).
7762 (format.lds): Likewise.
7763 [bind-now] (LDFLAGS-c.so): Remove.
7764 * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
7765 be R_X86_64_GLOB_DAT.
7766 * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
7767 relocation can be R_386_GLOB_DAT.
7768 * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
7769 relocaiton can be R_ALPHA_GLOB_DAT.
7770 * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
7771
7772 2017-03-01 Zack Weinberg <zackw@panix.com>
7773
7774 * include/libc-pointer-arith.h: New file. Define
7775 cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
7776 PTR_ALIGN_DOWN here.
7777 * include/libc-internal.h: Definitions of above macros
7778 moved from here. Don't include libc-diag.h anymore either.
7779 * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
7780 Don't include libc-internal.h.
7781
7782 * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
7783 * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
7784 * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
7785 * string/strcoll_l.c, sysdeps/nacl/brk.c
7786 * sysdeps/unix/clock_settime.c
7787 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
7788 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
7789 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7790 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
7791 Don't include libc-internal.h.
7792
7793 * elf/get-dynamic-info.h, iconv/loop.c
7794 * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
7795 * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
7796 * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
7797 * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
7798 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
7799 * sysdeps/ieee754/dbl-64/k_rem_pio2.c
7800 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
7801 * sysdeps/ieee754/flt-32/k_rem_pio2f.c
7802 * sysdeps/ieee754/ldbl-128/k_tanl.c
7803 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
7804 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
7805 * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
7806 Include libc-diag.h instead of libc-internal.h.
7807
7808 * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
7809 * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
7810 * malloc/malloc.c, sysdeps/i386/nptl/tls.h
7811 * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
7812 * sysdeps/unix/sysv/linux/spawni.c
7813 * sysdeps/x86_64/nptl/tls.h:
7814 Include libc-pointer-arith.h instead of libc-internal.h.
7815
7816 * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
7817 * sysdeps/x86_64/atomic-machine.h:
7818 Add multiple include guard.
7819
7820 * nss/tst-cancel-getpwuid_r.c: Include nss.h.
7821 * string/strcasestr.c: No need to include config.h.
7822 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
7823 sys/auxv.h. Don't include sysdep.h.
7824 * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
7825
7826 * dlfcn/tst-dladdr.c: Don't include ldsodefs.h. Don't use
7827 DL_LOOKUP_ADDRESS.
7828 * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
7829 LDBL_MANT_DIG is greater than DBL_MANT_DIG.
7830 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
7831 sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
7832 of ARTIFICIAL_LIMIT.
7833 * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
7834 declaration of __clone2.
7835
7836 2017-02-28 Florian Weimer <fweimer@redhat.com>
7837
7838 * scripts/backport-support.sh (latest_commit): New file.
7839
7840 2017-02-28 Florian Weimer <fweimer@redhat.com>
7841
7842 [BZ #20257]
7843 * inet/Makefile (routines): Add deadline.
7844 (tests-static): Add tst-deadline.
7845 * inet/net-internal.h (struct deadline_current_time)
7846 (__deadline_current_time, struct deadline, __deadline_is_infinite)
7847 (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
7848 (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
7849 * inet/deadline.c: New file.
7850 * inet/tst-deadline.c: Likewise.
7851 * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
7852 tst-udp-timeout, tst-udp-garbage.
7853 (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
7854 explicitly.
7855 (tst-udp-garbage): Likewise. Also link against thread library.
7856 * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
7857 struct layout is part of the ABI.
7858 (clntudp_call): Rework timeout handling.
7859 * sunrpc/tst-udp-garbage.c: New file.
7860 * sunrpc/tst-udp-nonblocking.c: Likewise.
7861 * sunrpc/tst-udp-timeout.c: Likewise.
7862
7863 2017-02-28 Florian Weimer <fweimer@redhat.com>
7864
7865 [BZ #5010]
7866 * sunrpc/svc.c (svc_is_mapped): Remove.
7867 (svc_unregister): Obtain mapped status while the service is still
7868 registered.
7869 * sunrpc/Makefile [have-thread-library] (tests): Add
7870 tst-svc_register.
7871 (tst-svc_register): Link against libc.so explicitly and the thread
7872 library.
7873 * sunrpc/tst-svc_register.c: New file.
7874
7875 2017-02-28 Andreas Schwab <schwab@linux-m68k.org>
7876
7877 * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
7878 * sysdeps/pthread/bits/sigthread.h: Likewise.
7879
7880 2017-02-27 Florian Weimer <fweimer@redhat.com>
7881
7882 [BZ #21115]
7883 * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
7884 * sunrpc/Makefile (tests): Add tst-udp-error.
7885 (tst-udp-error): Link against libc.so explicitly.
7886 * sunrpc/tst-udp-error: New file.
7887
7888 2017-02-25 Zack Weinberg <zackw@panix.com>
7889
7890 * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
7891 __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
7892
7893 * sysdeps/generic/math_ldbl.h
7894 * sysdeps/ia64/fpu/math_ldbl.h
7895 * sysdeps/ieee754/ldbl-128/math_ldbl.h
7896 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
7897 * sysdeps/ieee754/ldbl-96/math_ldbl.h
7898 * sysdeps/powerpc/fpu/math_ldbl.h
7899 * sysdeps/x86_64/fpu/math_ldbl.h:
7900 Allow direct inclusion. Use uintNN_t instead of u_intNN_t.
7901 Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
7902 LITTLE_ENDIAN. Include endian.h and/or stdint.h if necessary.
7903 Add copyright notices.
7904
7905 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
7906 Don't use EXTRACT_WORDS64.
7907
7908 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
7909 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
7910 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
7911 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
7912 Include math_ldbl.h, not math_private.h.
7913
7914 2017-02-25 Zack Weinberg <zackw@panix.com>
7915
7916 * include/libc-diag.h: New file. Define ignore_value,
7917 DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
7918 DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
7919
7920 * include/libc-internal.h: Definitions of above macros moved from
7921 here. Include libc-diag.h. Add copyright notice.
7922
7923 * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
7924 * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
7925 * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
7926 * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
7927 * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
7928 * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
7929 * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
7930 * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
7931 Include libc-diag.h instead of libc-internal.h.
7932
7933 * stdlib/tst-environ.c: Include libc-diag.h. Suppress -Wnonnull for
7934 call to unsetenv (NULL).
7935 * nptl/tst-mutex1.c: Include libc-diag.h. Suppress -Wnonnull for
7936 call to pthread_mutexattr_destroy (NULL).
7937
7938 2017-02-25 Zack Weinberg <zackw@panix.com>
7939
7940 * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
7941 * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
7942 __GLIBC_USE (DEPRECATED_GETS). Update comments to indicate
7943 gets was removed from C++ in C++14.
7944 * include/stdio.h: Remove redundant declaration of gets.
7945 * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
7946 be declared, since we are testing it.
7947 * stdio-common/Makefile (tst-gets.c): Compile with
7948 -Wno-deprecated-declarations.
7949 * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
7950 (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
7951 (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
7952 Compile with -Wno-deprecated-declarations.
7953
7954 2017-02-24 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7955
7956 * math/libm-test-support.c (check_ulp): Use LIT() around literal
7957 numbers.
7958
7959 2017-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7960
7961 * resolv/tst-resolv-qtypes.c (domain):
7962 Change type to const pointer to const char.
7963
7964 2017-02-24 Joseph Myers <joseph@codesourcery.com>
7965
7966 * math/Makefile (libm-tests-generated): Remove variable.
7967 (libm-tests-base-normal): New variable.
7968 (libm-tests-base-finite): Likewise.
7969 (libm-tests-base-inline): Likewise.
7970 (libm-tests-base): Likewise.
7971 (libm-tests-normal): Likewise.
7972 (libm-tests-finite): Likewise.
7973 (libm-tests-inline): Likewise.
7974 (libm-tests-vector): Likewise.
7975 (libm-tests): Define in terms of these new variables.
7976 (libm-tests-for-type): New variable.
7977 (libm-tests.o): Move definition.
7978 (tests): Move addition of $(libm-tests).
7979 (generated): Update for new and removed libm test files.
7980 ($(objpfx)libm-test.c): Remove target.
7981 ($(objpfx)libm-have-vector-test.h): Likewise.
7982 (CFLAGS-test-double-vlen2.c): Remove variable.
7983 (CFLAGS-test-double-vlen4.c): Likewise.
7984 (CFLAGS-test-double-vlen8.c): Likewise.
7985 (CFLAGS-test-float-vlen4.c): Likewise.
7986 (CFLAGS-test-float-vlen8.c): Likewise.
7987 (CFLAGS-test-float-vlen16.c): Likewise.
7988 (CFLAGS-test-float.c): Likewise.
7989 (CFLAGS-test-float-finite.c): Likewise.
7990 (CFLAGS-libm-test-support-float.c): Likewise.
7991 (CFLAGS-test-double.c): Likewise.
7992 (CFLAGS-test-double-finite.c): Likewise.
7993 (CFLAGS-libm-test-support-double.c): Likewise.
7994 (CFLAGS-test-ldouble.c): Likewise.
7995 (CFLAGS-test-ldouble-finite.c): Likewise.
7996 (CFLAGS-libm-test-support-ldouble.c): Likewise.
7997 (libm-test-inline-cflags): New variable.
7998 (CFLAGS-test-ifloat.c): Remove variable.
7999 (CFLAGS-test-idouble.c): Likewise.
8000 (CFLAGS-test-ildouble.c): Likewise.
8001 ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
8002 dependencies.
8003 ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
8004 ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
8005 ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
8006 ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
8007 ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
8008 Likewise.
8009 (dependencies on libm-test-support-*.o): Remove.
8010 ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
8011 rules using iterators.
8012 ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
8013 Likewise.
8014 ($(objpfx)libm-test-support-$(o).o): Likewise.
8015 ($(addprefix $(objpfx),$(filter-out $(tests-static)
8016 $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
8017 instead.
8018 ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
8019 define rule instead.
8020 * math/README.libm-test: Update.
8021 * math/libm-test-acos.inc: Include libm-test-driver.c.
8022 (do_test): New function.
8023 * math/libm-test-acosh.inc: Include libm-test-driver.c.
8024 (do_test): New function.
8025 * math/libm-test-asin.inc: Include libm-test-driver.c.
8026 (do_test): New function.
8027 * math/libm-test-asinh.inc: Include libm-test-driver.c.
8028 (do_test): New function.
8029 * math/libm-test-atan.inc: Include libm-test-driver.c.
8030 (do_test): New function.
8031 * math/libm-test-atan2.inc: Include libm-test-driver.c.
8032 (do_test): New function.
8033 * math/libm-test-atanh.inc: Include libm-test-driver.c.
8034 (do_test): New function.
8035 * math/libm-test-cabs.inc: Include libm-test-driver.c.
8036 (do_test): New function.
8037 * math/libm-test-cacos.inc: Include libm-test-driver.c.
8038 (do_test): New function.
8039 * math/libm-test-cacosh.inc: Include libm-test-driver.c.
8040 (do_test): New function.
8041 * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
8042 (do_test): New function.
8043 * math/libm-test-carg.inc: Include libm-test-driver.c.
8044 (do_test): New function.
8045 * math/libm-test-casin.inc: Include libm-test-driver.c.
8046 (do_test): New function.
8047 * math/libm-test-casinh.inc: Include libm-test-driver.c.
8048 (do_test): New function.
8049 * math/libm-test-catan.inc: Include libm-test-driver.c.
8050 (do_test): New function.
8051 * math/libm-test-catanh.inc: Include libm-test-driver.c.
8052 (do_test): New function.
8053 * math/libm-test-cbrt.inc: Include libm-test-driver.c.
8054 (do_test): New function.
8055 * math/libm-test-ccos.inc: Include libm-test-driver.c.
8056 (do_test): New function.
8057 * math/libm-test-ccosh.inc: Include libm-test-driver.c.
8058 (do_test): New function.
8059 * math/libm-test-ceil.inc: Include libm-test-driver.c.
8060 (do_test): New function.
8061 * math/libm-test-cexp.inc: Include libm-test-driver.c.
8062 (do_test): New function.
8063 * math/libm-test-cimag.inc: Include libm-test-driver.c.
8064 (do_test): New function.
8065 * math/libm-test-clog.inc: Include libm-test-driver.c.
8066 (do_test): New function.
8067 * math/libm-test-clog10.inc: Include libm-test-driver.c.
8068 (do_test): New function.
8069 * math/libm-test-conj.inc: Include libm-test-driver.c.
8070 (do_test): New function.
8071 * math/libm-test-copysign.inc: Include libm-test-driver.c.
8072 (do_test): New function.
8073 * math/libm-test-cos.inc: Include libm-test-driver.c.
8074 (do_test): New function.
8075 * math/libm-test-cosh.inc: Include libm-test-driver.c.
8076 (do_test): New function.
8077 * math/libm-test-cpow.inc: Include libm-test-driver.c.
8078 (do_test): New function.
8079 * math/libm-test-cproj.inc: Include libm-test-driver.c.
8080 (do_test): New function.
8081 * math/libm-test-creal.inc: Include libm-test-driver.c.
8082 (do_test): New function.
8083 * math/libm-test-csin.inc: Include libm-test-driver.c.
8084 (do_test): New function.
8085 * math/libm-test-csinh.inc: Include libm-test-driver.c.
8086 (do_test): New function.
8087 * math/libm-test-csqrt.inc: Include libm-test-driver.c.
8088 (do_test): New function.
8089 * math/libm-test-ctan.inc: Include libm-test-driver.c.
8090 (do_test): New function.
8091 * math/libm-test-ctanh.inc: Include libm-test-driver.c.
8092 (do_test): New function.
8093 * math/libm-test-erf.inc: Include libm-test-driver.c.
8094 (do_test): New function.
8095 * math/libm-test-erfc.inc: Include libm-test-driver.c.
8096 (do_test): New function.
8097 * math/libm-test-exp.inc: Include libm-test-driver.c.
8098 (do_test): New function.
8099 * math/libm-test-exp10.inc: Include libm-test-driver.c.
8100 (do_test): New function.
8101 * math/libm-test-exp2.inc: Include libm-test-driver.c.
8102 (do_test): New function.
8103 * math/libm-test-expm1.inc: Include libm-test-driver.c.
8104 (do_test): New function.
8105 * math/libm-test-fabs.inc: Include libm-test-driver.c.
8106 (do_test): New function.
8107 * math/libm-test-fdim.inc: Include libm-test-driver.c.
8108 (do_test): New function.
8109 * math/libm-test-floor.inc: Include libm-test-driver.c.
8110 (do_test): New function.
8111 * math/libm-test-fma.inc: Include libm-test-driver.c.
8112 (do_test): New function.
8113 * math/libm-test-fmax.inc: Include libm-test-driver.c.
8114 (do_test): New function.
8115 * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
8116 (do_test): New function.
8117 * math/libm-test-fmin.inc: Include libm-test-driver.c.
8118 (do_test): New function.
8119 * math/libm-test-fminmag.inc: Include libm-test-driver.c.
8120 (do_test): New function.
8121 * math/libm-test-fmod.inc: Include libm-test-driver.c.
8122 (do_test): New function.
8123 * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
8124 (do_test): New function.
8125 * math/libm-test-frexp.inc: Include libm-test-driver.c.
8126 (do_test): New function.
8127 * math/libm-test-fromfp.inc: Include libm-test-driver.c.
8128 (do_test): New function.
8129 * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
8130 (do_test): New function.
8131 * math/libm-test-getpayload.inc: Include libm-test-driver.c.
8132 (do_test): New function.
8133 * math/libm-test-hypot.inc: Include libm-test-driver.c.
8134 (do_test): New function.
8135 * math/libm-test-ilogb.inc: Include libm-test-driver.c.
8136 (do_test): New function.
8137 * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
8138 (do_test): New function.
8139 * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
8140 (do_test): New function.
8141 * math/libm-test-isfinite.inc: Include libm-test-driver.c.
8142 (do_test): New function.
8143 * math/libm-test-isgreater.inc: Include libm-test-driver.c.
8144 (do_test): New function.
8145 * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
8146 (do_test): New function.
8147 * math/libm-test-isinf.inc: Include libm-test-driver.c.
8148 (do_test): New function.
8149 * math/libm-test-isless.inc: Include libm-test-driver.c.
8150 (do_test): New function.
8151 * math/libm-test-islessequal.inc: Include libm-test-driver.c.
8152 (do_test): New function.
8153 * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
8154 (do_test): New function.
8155 * math/libm-test-isnan.inc: Include libm-test-driver.c.
8156 (do_test): New function.
8157 * math/libm-test-isnormal.inc: Include libm-test-driver.c.
8158 (do_test): New function.
8159 * math/libm-test-issignaling.inc: Include libm-test-driver.c.
8160 (do_test): New function.
8161 * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
8162 (do_test): New function.
8163 * math/libm-test-isunordered.inc: Include libm-test-driver.c.
8164 (do_test): New function.
8165 * math/libm-test-iszero.inc: Include libm-test-driver.c.
8166 (do_test): New function.
8167 * math/libm-test-j0.inc: Include libm-test-driver.c.
8168 (do_test): New function.
8169 * math/libm-test-j1.inc: Include libm-test-driver.c.
8170 (do_test): New function.
8171 * math/libm-test-jn.inc: Include libm-test-driver.c.
8172 (do_test): New function.
8173 * math/libm-test-lgamma.inc: Include libm-test-driver.c.
8174 (do_test): New function.
8175 * math/libm-test-llogb.inc: Include libm-test-driver.c.
8176 (do_test): New function.
8177 * math/libm-test-llrint.inc: Include libm-test-driver.c.
8178 (do_test): New function.
8179 * math/libm-test-llround.inc: Include libm-test-driver.c.
8180 (do_test): New function.
8181 * math/libm-test-log.inc: Include libm-test-driver.c.
8182 (do_test): New function.
8183 * math/libm-test-log10.inc: Include libm-test-driver.c.
8184 (do_test): New function.
8185 * math/libm-test-log1p.inc: Include libm-test-driver.c.
8186 (do_test): New function.
8187 * math/libm-test-log2.inc: Include libm-test-driver.c.
8188 (do_test): New function.
8189 * math/libm-test-logb.inc: Include libm-test-driver.c.
8190 (do_test): New function.
8191 * math/libm-test-lrint.inc: Include libm-test-driver.c.
8192 (do_test): New function.
8193 * math/libm-test-lround.inc: Include libm-test-driver.c.
8194 (do_test): New function.
8195 * math/libm-test-modf.inc: Include libm-test-driver.c.
8196 (do_test): New function.
8197 * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
8198 (do_test): New function.
8199 * math/libm-test-nextafter.inc: Include libm-test-driver.c.
8200 (do_test): New function.
8201 * math/libm-test-nextdown.inc: Include libm-test-driver.c.
8202 (do_test): New function.
8203 * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
8204 (do_test): New function.
8205 * math/libm-test-nextup.inc: Include libm-test-driver.c.
8206 (do_test): New function.
8207 * math/libm-test-pow.inc: Include libm-test-driver.c.
8208 (do_test): New function.
8209 * math/libm-test-remainder.inc: Include libm-test-driver.c.
8210 (do_test): New function.
8211 * math/libm-test-remquo.inc: Include libm-test-driver.c.
8212 (do_test): New function.
8213 * math/libm-test-rint.inc: Include libm-test-driver.c.
8214 (do_test): New function.
8215 * math/libm-test-round.inc: Include libm-test-driver.c.
8216 (do_test): New function.
8217 * math/libm-test-roundeven.inc: Include libm-test-driver.c.
8218 (do_test): New function.
8219 * math/libm-test-scalb.inc: Include libm-test-driver.c.
8220 (do_test): New function.
8221 * math/libm-test-scalbln.inc: Include libm-test-driver.c.
8222 (do_test): New function.
8223 * math/libm-test-scalbn.inc: Include libm-test-driver.c.
8224 (do_test): New function.
8225 * math/libm-test-setpayload.inc: Include libm-test-driver.c.
8226 (do_test): New function.
8227 * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
8228 (do_test): New function.
8229 * math/libm-test-signbit.inc: Include libm-test-driver.c.
8230 (do_test): New function.
8231 * math/libm-test-significand.inc: Include libm-test-driver.c.
8232 (do_test): New function.
8233 * math/libm-test-sin.inc: Include libm-test-driver.c.
8234 (do_test): New function.
8235 * math/libm-test-sincos.inc: Include libm-test-driver.c.
8236 (do_test): New function.
8237 * math/libm-test-sinh.inc: Include libm-test-driver.c.
8238 (do_test): New function.
8239 * math/libm-test-sqrt.inc: Include libm-test-driver.c.
8240 (do_test): New function.
8241 * math/libm-test-tan.inc: Include libm-test-driver.c.
8242 (do_test): New function.
8243 * math/libm-test-tanh.inc: Include libm-test-driver.c.
8244 (do_test): New function.
8245 * math/libm-test-tgamma.inc: Include libm-test-driver.c.
8246 (do_test): New function.
8247 * math/libm-test-totalorder.inc: Include libm-test-driver.c.
8248 (do_test): New function.
8249 * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
8250 (do_test): New function.
8251 * math/libm-test-trunc.inc: Include libm-test-driver.c.
8252 (do_test): New function.
8253 * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
8254 (do_test): New function.
8255 * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
8256 (do_test): New function.
8257 * math/libm-test-y0.inc: Include libm-test-driver.c.
8258 (do_test): New function.
8259 * math/libm-test-y1.inc: Include libm-test-driver.c.
8260 (do_test): New function.
8261 * math/libm-test-yn.inc: Include libm-test-driver.c.
8262 (do_test): New function.
8263 * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
8264 (HAVE_VECTOR): Remove macro.
8265 (START): Do not call HAVE_VECTOR.
8266 * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
8267 * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
8268 * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
8269 * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
8270 * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
8271 * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
8272 * math/test-math-vector.h (FUNC_TEST): New macro.
8273 (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
8274 * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
8275 (double-vlen4-funcs): Likewise.
8276 (double-vlen4-avx2-funcs): Likewise.
8277 (double-vlen8-funcs): Likewise.
8278 (float-vlen4-funcs): Likewise.
8279 (float-vlen8-funcs): Likewise.
8280 (float-vlen8-avx2-funcs): Likewise.
8281 (float-vlen16-funcs): Likewise.
8282 (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
8283 (CFLAGS-test-float-vlen8-avx2.c): Likewise.
8284 * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
8285 macro.
8286 (TEST_VECTOR_sin): Likewise.
8287 (TEST_VECTOR_sincos): Likewise.
8288 (TEST_VECTOR_log): Likewise.
8289 (TEST_VECTOR_exp): Likewise.
8290 (TEST_VECTOR_pow): Likewise.
8291 * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
8292 Likewise.
8293 (TEST_VECTOR_sin): Likewise.
8294 (TEST_VECTOR_sincos): Likewise.
8295 (TEST_VECTOR_log): Likewise.
8296 (TEST_VECTOR_exp): Likewise.
8297 (TEST_VECTOR_pow): Likewise.
8298 * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
8299 Likewise.
8300 (TEST_VECTOR_sinf): Likewise.
8301 (TEST_VECTOR_sincosf): Likewise.
8302 (TEST_VECTOR_logf): Likewise.
8303 (TEST_VECTOR_expf): Likewise.
8304 (TEST_VECTOR_powf): Likewise.
8305 * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
8306 Likewise.
8307 (TEST_VECTOR_sinf): Likewise.
8308 (TEST_VECTOR_sincosf): Likewise.
8309 (TEST_VECTOR_logf): Likewise.
8310 (TEST_VECTOR_expf): Likewise.
8311 (TEST_VECTOR_powf): Likewise.
8312 * math/gen-libm-have-vector-test.sh: Remove file.
8313 * math/libm-test.inc: Likewise.
8314 * math/libm-test-support-double.c: Likewise.
8315 * math/libm-test-support-float.c: Likewise.
8316 * math/libm-test-support-ldouble.c: Likewise.
8317 * math/test-double-finite.c: Likewise.: Likewise.
8318 * math/test-double.c: Likewise.
8319 * math/test-float-finite.c: Likewise.
8320 * math/test-float.c: Likewise.
8321 * math/test-idouble.c: Likewise.
8322 * math/test-ifloat.c: Likewise.
8323 * math/test-ildouble.c: Likewise.
8324 * math/test-ldouble-finite.c: Likewise.
8325 * math/test-ldouble.c: Likewise.
8326 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8327 * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
8328 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8329 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8330 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8331 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8332 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8333 * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
8334 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8335 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8336
8337 2017-02-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8338 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8339
8340 * math/Makefile: Add wrappers to gen-libm-calls.
8341 * math/w_acos_template.c: New file.
8342 * math/w_acosh_template.c: Likewise.
8343 * math/w_asin_template.c: Likewise.
8344 * math/w_atan2_template.c: Likewise.
8345 * math/w_atanh_template.c: Likewise.
8346 * math/w_cosh_template.c: Likewise.
8347 * math/w_exp10_template.c: Likewise.
8348 * math/w_exp2_template.c: Likewise.
8349 * math/w_exp_template.c: Likewise.
8350 * math/w_fmod_template.c: Likewise.
8351 * math/w_hypot_template.c: Likewise.
8352 * math/w_j0_template.c: Likewise.
8353 * math/w_j1_template.c: Likewise.
8354 * math/w_jn_template.c: Likewise.
8355 * math/w_lgamma_r_template.c: Likewise.
8356 * math/w_lgamma_template.c: Likewise.
8357 * math/w_log10_template.c: Likewise.
8358 * math/w_log2_template.c: Likewise.
8359 * math/w_log_template.c: Likewise.
8360 * math/w_pow_template.c: Likewise.
8361 * math/w_remainder_template.c: Likewise.
8362 * math/w_sinh_template.c: Likewise.
8363 * math/w_sqrt_template.c: Likewise.
8364 * math/w_tgamma_template.c: Likewise.: Likewise.
8365 * sysdeps/generic/math-type-macros-double.h
8366 (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
8367 the new wrappers.
8368 * sysdeps/generic/math-type-macros-float.h: Likewise.
8369 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
8370
8371 2017-02-22 Joseph Myers <joseph@codesourcery.com>
8372
8373 * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
8374 New enum constant and macro.
8375
8376 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8377 kernel version to 4.10.
8378
8379 2017-02-21 Joseph Myers <joseph@codesourcery.com>
8380
8381 * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
8382
8383 2017-02-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8384
8385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8386
8387 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
8388
8389 * sysdeps/powerpc/tst-set_ppr.c: New file.
8390 Implement test cases for __ppc_set_ppr_* functions.
8391 * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
8392 in the list of tests.
8393
8394 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
8395
8396 * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
8397 instead of test-skeleton.c.
8398 (do_test): Replaced pthread_create and pthread_join with
8399 xpthread_create and xpthread_join. Use TEST_VERIFY_EXIT macro.
8400 Removed unneeded status variable.
8401 * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
8402 instead of test-skeleton.c.
8403 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
8404
8405 2017-02-20 Mike FABIAN <mfabian@redhat.com>
8406
8407 [BZ #20313]
8408 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8409 201605L, for Unicode 9.
8410
8411 2017-02-20 Joseph Myers <joseph@codesourcery.com>
8412
8413 * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
8414 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8415 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8416 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8417 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8418 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8419
8420 2017-02-19 Zack Weinberg <zackw@panix.com>
8421
8422 * rt/tst-mqueue4.c: Include stdint.h.
8423
8424 2017-02-17 Joseph Myers <joseph@codesourcery.com>
8425
8426 * sysdeps/arm/libm-test-ulps: Update.
8427 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8428 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8429 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8430
8431 2017-01-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8432
8433 [BZ #21029]
8434 * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
8435 * sysdeps/unix/sysv/linux/i386/Makefile
8436 [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
8437 (uses-6-syscall-arguments): Remove.
8438 [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
8439 [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
8440 [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
8441 [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
8442 [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
8443 [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
8444 [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
8445 [$(subdir) = misc] (cflags-pselect.o): Likewise.
8446 [$(subdir) = misc] (cflags-pselect.os): Likewise.
8447 [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
8448 [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
8449 [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
8450 [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
8451 [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
8452 [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
8453 [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
8454 [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
8455 [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
8456 [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
8457 [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
8458 [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
8459 [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
8460 [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
8461 [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
8462 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
8463 Likewise.
8464 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
8465 Likewise.
8466 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
8467 Likewise.
8468 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
8469 Likewise.
8470 [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
8471 [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
8472 [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
8473 [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
8474 * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
8475 ebp on inline assembly.
8476 * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
8477 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8478 Set if CAN_USE_REGISTER_ASM_EBP is set.
8479
8480 2017-02-17 H.J. Lu <hongjiu.lu@intel.com>
8481
8482 * sysdeps/x86/cpu-features.c (init_cpu_features): Use
8483 index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
8484
8485 2017-02-17 Joseph Myers <joseph@codesourcery.com>
8486
8487 * math/auto-libm-test-in: Add tests of catan and catanh.
8488 * math/auto-libm-test-out-catan: New generated file.
8489 * math/auto-libm-test-out-catanh: Likewise.
8490 * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
8491 Move tests with finite inputs, except divide-by-zero cases, to
8492 auto-libm-test-in.
8493 * math/libm-test-catanh.inc (catanh_test_data): Likewise.
8494 * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
8495 (libm-test-funcs-noauto): Remove catan and catanh.
8496 * sysdeps/i386/fpu/libm-test-ulps: Update.
8497 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8499
8500 * math/auto-libm-test-in: Add tests of casin and casinh.
8501 * math/auto-libm-test-out-casin: New generated file.
8502 * math/auto-libm-test-out-casinh: Likewise.
8503 * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
8504 Move tests with finite inputs to auto-libm-test-in.
8505 * math/libm-test-casinh.inc (casinh_test_data): Likewise.
8506 * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
8507 (libm-test-funcs-noauto): Remove casin and casinh.
8508 * sysdeps/i386/fpu/libm-test-ulps: Update.
8509 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8511
8512 * math/auto-libm-test-in: Add tests of cacos and cacosh.
8513 * math/auto-libm-test-out-cacos: New generated file.
8514 * math/auto-libm-test-out-cacosh: Likewise.
8515 * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
8516 Move tests with finite inputs to auto-libm-test-in.
8517 * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
8518 * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
8519 (libm-test-funcs-noauto): Remove cacos and cacosh.
8520 * sysdeps/i386/fpu/libm-test-ulps: Update.
8521 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8523
8524 Revert:
8525 2017-02-16 Zack Weinberg <zackw@panix.com>
8526
8527 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8528 Don't include init-arch.h.
8529 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8530 Don't include init-arch.h.
8531
8532 2017-02-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8533
8534 [BZ #21171]
8535 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
8536 +Inf and raise divide-by-zero when x is negative.
8537 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
8538 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
8539 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Return
8540 -Inf and raise divide-by-zero when x = +-0.
8541 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8542 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
8543 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
8544 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
8545 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8546 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8547 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8548
8549 2017-02-16 Zack Weinberg <zackw@panix.com>
8550
8551 * scripts/build-many-glibcs.py (bot_build_mail): If the
8552 bot_config does not contain all of the necessary email-
8553 related settings, just print a warning and continue.
8554
8555 2017-02-16 Zack Weinberg <zackw@panix.com>
8556
8557 * crypt/md5.h: Test _LIBC with #if defined, not #if.
8558 * dirent/opendir-tst1.c: Include sys/stat.h.
8559 * dirent/tst-fdopendir.c: Include sys/stat.h.
8560 * dirent/tst-fdopendir2.c: Include stdlib.h.
8561 * dirent/tst-scandir.c: Include stdbool.h.
8562 * elf/tst-auditmod1.c: Include link.h and stddef.h.
8563 * elf/tst-tls15.c: Include stdlib.h.
8564 * elf/tst-tls16.c: Include stdlib.h.
8565 * elf/tst-tls17.c: Include stdlib.h.
8566 * elf/tst-tls18.c: Include stdlib.h.
8567 * iconv/tst-iconv6.c: Include endian.h.
8568 * iconvdata/bug-iconv11.c: Include limits.h.
8569 * io/test-utime.c: Include stdint.h.
8570 * io/tst-faccessat.c: Include sys/stat.h.
8571 * io/tst-fchmodat.c: Include sys/stat.h.
8572 * io/tst-fchownat.c: Include sys/stat.h.
8573 * io/tst-fstatat.c: Include sys/stat.h.
8574 * io/tst-futimesat.c: Include sys/stat.h.
8575 * io/tst-linkat.c: Include sys/stat.h.
8576 * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
8577 * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
8578 * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
8579 * io/tst-openat.c: Include stdbool.h.
8580 * io/tst-readlinkat.c: Include sys/stat.h.
8581 * io/tst-renameat.c: Include sys/stat.h.
8582 * io/tst-symlinkat.c: Include sys/stat.h.
8583 * io/tst-unlinkat.c: Include stdbool.h.
8584 * libio/bug-memstream1.c: Include stdlib.h.
8585 * libio/bug-wmemstream1.c: Include stdlib.h.
8586 * libio/tst-fwrite-error.c: Include stdlib.h.
8587 * libio/tst-memstream1.c: Include stdlib.h.
8588 * libio/tst-memstream2.c: Include stdlib.h.
8589 * libio/tst-memstream3.c: Include stdlib.h.
8590 * malloc/tst-interpose-aux.c: Include stdint.h.
8591 * misc/tst-preadvwritev-common.c: Include sys/stat.h.
8592 * nptl/tst-basic7.c: Include limits.h.
8593 * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
8594 * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
8595 * nptl/tst-cancel4_1.c: Include stddef.h.
8596 * nptl/tst-cancel4_2.c: Include stddef.h.
8597 * nptl/tst-cond16.c: Include limits.h.
8598 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8599 * nptl/tst-cond18.c: Include limits.h.
8600 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8601 * nptl/tst-cond4.c: Include stdint.h.
8602 * nptl/tst-cond6.c: Include stdint.h.
8603 * nptl/tst-stack2.c: Include limits.h.
8604 * nptl/tst-stackguard1.c: Include stddef.h.
8605 * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
8606 * nptl/tst-tls4moda.c: Include stddef.h.
8607 Don't include stdio.h, unistd.h, or tls.h.
8608 * nptl/tst-tls4modb.c: Include stddef.h.
8609 Don't include stdio.h, unistd.h, or tls.h.
8610 * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
8611 * posix/tst-getaddrinfo2.c: Include stdio.h.
8612 * posix/tst-getaddrinfo5.c: Include stdio.h.
8613 * posix/tst-pathconf.c: Include sys/stat.h.
8614 * posix/tst-posix_fadvise-common.c: Include stdint.h.
8615 * posix/tst-preadwrite-common.c: Include sys/stat.h.
8616 * posix/tst-regex.c: Include stdint.h.
8617 Don't include spawn.h or spawn_int.h.
8618 * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
8619 * posix/tst-vfork3.c: Include sys/stat.h.
8620 * resolv/tst-bug18665-tcp.c: Include stdlib.h.
8621 * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
8622 * resolv/tst-resolv-search.c: Include stdlib.h.
8623 * stdio-common/tst-fmemopen2.c: Include stdint.h.
8624 * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
8625 * stdlib/test-canon.c: Include sys/stat.h.
8626 * stdlib/tst-tls-atexit.c: Include stdbool.h.
8627 * string/test-memchr.c: Include stdint.h.
8628 * string/tst-cmp.c: Include stdint.h.
8629 * sysdeps/pthread/tst-timer.c: Include stdint.h.
8630 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
8631 * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
8632 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8633 Don't include init-arch.h.
8634 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8635 Don't include init-arch.h.
8636 * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
8637 * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
8638 * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
8639 * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
8640 * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
8641 * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
8642 * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
8643 * time/clocktest.c: Include stdint.h.
8644 * time/tst-posixtz.c: Include stdint.h.
8645 * timezone/tst-timezone.c: Include stdint.h.
8646
8647 2017-02-16 Zack Weinberg <zackw@panix.com>
8648
8649 * string/string.h [__USE_MISC]: Include strings.h.
8650 (__bzero, bcmp, bcopy, bzero, index, rindex)
8651 (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
8652 (ffs, ffsl, ffsll): Don't declare.
8653 * string/strings.h: Do not suppress the file if string.h has
8654 already been included.
8655 (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
8656 annotations.
8657 (index, rindex): Define inline forwarders even if
8658 __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
8659 (ffs): Use __attribute_const__.
8660 (ffsl, ffsll): Declare here.
8661 (strcasecmp_l, strncasecmp_l): Correct comments; these functions
8662 have now been standardized.
8663 * include/string.h (__bzero): Declare here.
8664
8665 * bits/types.h: Move to posix/bits.
8666 * include/bits/types.h: New wrapper.
8667
8668 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
8669
8670 * string/bits/string2.h (strcmp): Remove define.
8671 (__strcmp_cg): Likewise.
8672 (strncmp): Likewise.
8673
8674 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
8675
8676 * include/string.h: Add __cplusplus check.
8677
8678 2017-02-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8679
8680 [BZ #21134]
8681 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
8682 "divide by zero" exception when the input is zero.
8683 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
8684 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
8685 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
8686 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
8687 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8688
8689 2017-02-15 Joseph Myers <joseph@codesourcery.com>
8690
8691 * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
8692 and include ...
8693 * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here. New file.
8694 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
8695 to, and include ...
8696 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here. New
8697 file.
8698 * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
8699 and include ...
8700 * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here. New file.
8701 * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
8702 and include ...
8703 * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here. New file.
8704 * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
8705 and include ...
8706 * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here. New file.
8707 * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
8708 and include ...
8709 * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here. New file.
8710 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
8711 to, and include ...
8712 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here. New file.
8713 * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
8714 and include ...
8715 * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here. New file.
8716
8717 2017-02-14 Joseph Myers <joseph@codesourcery.com>
8718
8719 * math/libm-test-support.h: Do not include <math-tests-arch.h>
8720 here.
8721 * math/libm-test-support.c (libm_test_init): Do not call
8722 INIT_ARCH_EXT here.
8723 * math/libm-test-driver.c: Include <math-tests-arch.h>.
8724 (main): Call INIT_ARCH_EXT.
8725
8726 2017-02-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8727
8728 [BZ #21130]
8729 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
8730 with the "invalid" exception raised when x is -Inf.
8731 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8732
8733 2017-02-10 Wilco Dijkstra <wdijkstr@arm.com>
8734
8735 * string/bits/string2.h (strchr): Remove define.
8736
8737 2017-02-09 H.J. Lu <hongjiu.lu@intel.com>
8738
8739 * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
8740 tst-avx512.
8741 (test-extras): Add tst-avx-aux and tst-avx512-aux.
8742 (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
8743 (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
8744 ($(objpfx)tst-sse): New rule.
8745 ($(objpfx)tst-avx): Likewise.
8746 ($(objpfx)tst-avx512): Likewise.
8747 (CFLAGS-tst-avx-aux.c): New.
8748 (CFLAGS-tst-avxmod.c): Likewise.
8749 (CFLAGS-tst-avx512-aux.c): Likewise.
8750 (CFLAGS-tst-avx512mod.c): Likewise.
8751 * sysdeps/x86_64/tst-avx-aux.c: New file.
8752 * sysdeps/x86_64/tst-avx.c: Likewise.
8753 * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
8754 * sysdeps/x86_64/tst-avx512.c: Likewise.
8755 * sysdeps/x86_64/tst-avx512mod.c: Likewise.
8756 * sysdeps/x86_64/tst-avxmod.c: Likewise.
8757 * sysdeps/x86_64/tst-sse.c: Likewise.
8758 * sysdeps/x86_64/tst-ssemod.c: Likewise.
8759
8760 2017-02-09 Joseph Myers <joseph@codesourcery.com>
8761
8762 * math/auto-libm-test-in: Add more tests of csin and csinh.
8763 * math/auto-libm-test-out-csin: Regenerated.
8764 * math/auto-libm-test-out-csinh: Likewise.
8765 * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
8766 auto-libm-test-in.
8767 * math/libm-test-csinh.inc (csinh_test_data): Likewise.
8768
8769 2017-02-09 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8770
8771 * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
8772 libm-compat-calls-auto.
8773 (libm-compat-calls): Likewise.
8774 (libm-compat-calls-auto): Rename to libm-compat-calls and add
8775 w_lgamma_compatF and k_standardF (merged from the items above).
8776 (libm-routines): Use libm-compat-calls, instead of
8777 libm-compat-calls-auto, with type-foreach.
8778
8779 2017-02-09 Joseph Myers <joseph@codesourcery.com>
8780
8781 * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
8782 macro.
8783 * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
8784 (CFLAGS-test-ifloat.c): ... this. Remove
8785 -U__LIBC_INTERNAL_MATH_INLINES.
8786 * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
8787 (CFLAGS-test-idouble.c): ... this. Remove
8788 -U__LIBC_INTERNAL_MATH_INLINES.
8789 * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
8790 (CFLAGS-test-ildouble.c): ... this. Remove
8791 -U__LIBC_INTERNAL_MATH_INLINES.
8792
8793 2017-02-08 Joseph Myers <joseph@codesourcery.com>
8794
8795 * math/libm-test-support.c: New file. Content from
8796 math/libm-test-driver.c.
8797 * math/libm-test-support.h: Likewise.
8798 * math/libm-test-support-double.c: New file.
8799 * math/libm-test-support-float.c: Likewise.
8800 * math/libm-test-support-ldouble.c: Likewise.
8801 * math/libm-test-driver.c: Remove main comment and header
8802 includes. Include libm-test-support.h.
8803 [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
8804 (flag_test_errno): Remove static.
8805 (flag_test_exceptions): Likewise.
8806 (flag_test_finite): Likewise.
8807 (flag_test_inline): Likewise.
8808 (flag_test_mathvec): Likewise.
8809 (test_msg): Likewise.
8810 (NO_EXCEPTION): Remove.
8811 (INVALID_EXCEPTION): Likewise.
8812 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
8813 (OVERFLOW_EXCEPTION): Likewise.
8814 (UNDERFLOW_EXCEPTION): Likewise.
8815 (INEXACT_EXCEPTION): Likewise.
8816 (INVALID_EXCEPTION_OK): Likewise.
8817 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8818 (OVERFLOW_EXCEPTION_OK): Likewise.
8819 (UNDERFLOW_EXCEPTION_OK): Likewise.
8820 (NO_INEXACT_EXCEPTION): Likewise.
8821 (EXCEPTIONS_OK): Likewise.
8822 (IGNORE_ZERO_INF_SIGN): Likewise.
8823 (TEST_NAN_SIGN): Likewise.
8824 (TEST_NAN_PAYLOAD): Likewise.
8825 (NO_TEST_INLINE): Likewise.
8826 (XFAIL_TEST): Likewise.
8827 (ERRNO_UNCHANGED): Likewise.
8828 (ERRNO_EDOM): Likewise.
8829 (ERRNO_ERANGE): Likewise.
8830 (IGNORE_RESULT): Likewise.
8831 (NON_FINITE): Likewise.
8832 (TEST_SNAN): Likewise.
8833 (NO_TEST_MATHVEC): Likewise.
8834 (__CONCATX): Likewise.
8835 (TYPE_MIN): Likewise.
8836 (TYPE_TRUE_MIN): Likewise.
8837 (TYPE_MAX): Likewise.
8838 (MIN_EXP): Likewise.
8839 (MAX_EXP): Likewise.
8840 (MANT_DIG): Likewise.
8841 (FSTR_MAX): Likewise.
8842 (ulp_idx): Likewise.
8843 (qtype_str): Remove static.
8844 (TEST_COND_binary32): Remove.
8845 (TEST_COND_binary64): Likewise.
8846 (TEST_COND_binary128): Likewise.
8847 (TEST_COND_ibm128): Likewise.
8848 (TEST_COND_intel96): Likewise.
8849 (TEST_COND_m68k96): Likewise.
8850 (TEST_COND_ibm128_libgcc): Likewise.
8851 (XFAIL_IBM128_LIBGCC): Likewise.
8852 (PAYLOAD_DIG): Likewise.
8853 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8854 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8855 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8856 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8857 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8858 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
8859 (TEST_COND_long32): Likewise.
8860 (TEST_COND_long64): Likewise.
8861 (TEST_COND_before_rounding): Likewise.
8862 (TEST_COND_after_rounding): Likewise.
8863 (ulps_file_name): Likewise.
8864 (ulps_file): Likewise.
8865 (output_ulps): Likewise.
8866 (output_dir): Likewise.
8867 (noErrors): Likewise.
8868 (noTests): Likewise.
8869 (noExcTests): Likewise.
8870 (noErrnoTests): Likewise.
8871 (verbose): Likewise.
8872 (output_max_error): Likewise.
8873 (output_points): Likewise.
8874 (ignore_max_ulp): Likewise.
8875 (max_error): Likewise.
8876 (real_max_error): Likewise.
8877 (imag_max_error): Likewise.
8878 (prev_max_error): Likewise.
8879 (prev_real_max_error): Likewise.
8880 (prev_imag_max_error): Likewise.
8881 (max_valid_error): Likewise.
8882 (TYPE_DECIMAL_DIG): Likewise.
8883 (TYPE_HEX_DIG): Likewise.
8884 (fmt_ftostr): Likewise.
8885 (compare_ulp_data): Likewise.
8886 (find_ulps): Likewise.
8887 (init_max_error): Likewise.
8888 (set_max_error): Likewise.
8889 (print_float): Likewise.
8890 (print_screen): Likewise.
8891 (print_screen_max_error): Likewise.
8892 (update_stats): Likewise.
8893 (print_function_ulps): Likewise.
8894 (print_complex_function_ulps): Likewise.
8895 (fpstack_test): Likewise.
8896 (print_max_error): Likewise.
8897 (print_complex_max_error): Likewise.
8898 (test_single_exception): Likewise.
8899 (test_exceptions): Likewise.
8900 (test_single_errno): Likewise.
8901 (test_errno): Likewise.
8902 (ULPDIFF): Likewise.
8903 (ulp): Likewise.
8904 (check_float_internal): Likewise.
8905 (check_float): Likewise.
8906 (check_complex): Likewise.
8907 (check_int): Likewise.
8908 (check_long): Likewise.
8909 (check_bool): Likewise.
8910 (check_longlong): Likewise.
8911 (check_intmax_t): Likewise.
8912 (check_uintmax_t): Likewise.
8913 (enable_test): Likewise.
8914 (matherr): Likewise.
8915 (initialize): Likewise.
8916 (options): Likewise.
8917 (doc): Remove static.
8918 (argp): Likewise.
8919 (parse_opt): Remove.
8920 (check_ulp): Likewise.
8921 (libm_test_init): Likewise.
8922 (libm_test_finish): Likewise.
8923 * math/Makefile (libm-test-support): New variable.
8924 (test-extras): Add libm-test-support files.
8925 (extra-test-objs): Likewise.
8926 (CFLAGS-libm-test-support-float.c): New variable.
8927 (CFLAGS-libm-test-support-double.c): Likewise.
8928 (CFLAGS-libm-test-support-ldouble.c): Likewise.
8929 ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
8930 libm-test-support objects.
8931
8932 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8933
8934 * math/Makefile (libm-calls): Move w_exp...
8935 (libm-compat-calls-auto): Here.
8936
8937 * math/w_expl.c: Add suffix "_compat" to filename.
8938 * sysdeps/ia64/fpu/w_expl.c: Likewise.
8939 * sysdeps/ia64/fpu/w_expf.c: Likewise.
8940 * sysdeps/ia64/fpu/w_exp.c: Likewise.
8941 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8942 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8943 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8944 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
8945 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8946
8947 * math/w_expl_compat.c: New file, copied from above.
8948 * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
8949 * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
8950 * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
8951 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
8952 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
8953 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
8954 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
8955 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
8956
8957 * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
8958 to filename.
8959 * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
8960
8961 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
8962 copied from above and adjusted for the new filenames.
8963 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
8964
8965 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8966
8967 * math/Makefile (libm-calls): Move w_lgammaF...
8968 (libm-compat-calls-auto): Here.
8969
8970 * math/w_lgamma.c: Add suffix "_compat2" to filename.
8971 * math/w_lgammaf.c: Likewise.
8972 * math/w_lgammal.c: Likewise.
8973
8974 * math/w_lgamma_compat2.c: New file, copied from above.
8975 * math/w_lgammaf_compat2.c: Likewise.
8976 * math/w_lgammal_compat2.c: Likewise.
8977
8978 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8979
8980 * math/Makefile (libm-calls): Move w_lgammaF_r...
8981 (libm-compat-calls-auto): Here.
8982
8983 * math/w_lgamma_r.c: Add suffix "_compat" to filename.
8984 * math/w_lgammaf_r.c: Likewise.
8985 * math/w_lgammal_r.c: Likewise.
8986 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
8987 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
8988 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
8989
8990 * math/w_lgamma_r_compat.c: New file, copied from above.
8991 * math/w_lgammaf_r_compat.c: Likewise.
8992 * math/w_lgammal_r_compat.c: Likewise.
8993 * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
8994 * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
8995 * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
8996
8997 * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
8998 to filename.
8999 * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
9000
9001 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
9002 copied from above and adjusted for the new filenames.
9003 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
9004
9005 2017-02-08 Yury Norov <ynorov@caviumnetworks.com>
9006
9007 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
9008 calculation in SYSCALL_ERROR_HANDLER().
9009
9010 2017-02-08 Rical Jasan <ricaljasan@pacific.net>
9011
9012 * manual/contrib.texi: Fix typo.
9013
9014 2017-02-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
9015
9016 [BZ #21109]
9017 * elf/dl-tunable-types.h (tunable_callback_t): Accept
9018 tunable_val_t as argument.
9019 * elf/dl-tunables.c (__tunable_set_val): Add comment.
9020 * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
9021 argument.
9022 (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
9023
9024 2017-02-08 Kir Kolyshkin <kir@openvz.org>
9025
9026 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
9027 Add PTRACE_EVENT_STOP.
9028 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9029 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9030 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9031 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9032 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
9033 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
9034
9035 2017-02-07 Joseph Myers <joseph@codesourcery.com>
9036
9037 * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
9038 * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
9039 * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
9040 * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
9041 * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
9042 * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
9043 * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
9044 * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
9045 * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
9046 * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
9047
9048 [BZ #21112]
9049 * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
9050 12 bits zero.
9051 (cp_l): Update for new value of cp_h.
9052 * math/auto-libm-test-in: Add another test of pow.
9053 * math/auto-libm-test-out-pow: Regenerated.
9054
9055 2017-02-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9056
9057 * manual/contrib.texi: Fix typo.
9058
9059 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9060
9061 [BZ #15998]
9062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9063 (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
9064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9065
9066 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9067
9068 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
9069 STRCHR as __strchr_power8.
9070 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
9071 strlen as __strlen_power8.
9072
9073 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9074
9075 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
9076 unaligned load for shorter strings.
9077 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
9078
9079 2017-02-06 Joseph Myers <joseph@codesourcery.com>
9080
9081 * math/libm-test-driver.c (flag_test_errno): New variable.
9082 (flag_test_exceptions): Likewise.
9083 (flag_test_finite): Likewise.
9084 (flag_test_inline): Likewise.
9085 (flag_test_mathvec): Likewise.
9086 (test_msg): Likewise.
9087 (ulp_idx): Likewise.
9088 (qtype_str): Likewise.
9089 (ULP_IDX): Remove macro.
9090 (QTYPE_STR): Likewise.
9091 (find_ulps): Use ulp_idx not ULP_IDX.
9092 (print_function_ulps): Use qtype_str, printed with %s, not
9093 QTYPE_STR, printed with concatentation to format string.
9094 (print_complex_function_ulps): Likewise.
9095 (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
9096 (test_errno): Use flag_test_errno not TEST_ERRNO.
9097 (enable_test): Use flag_test_inline, flag_test_finite and
9098 flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
9099 TEST_MATHVEC.
9100 (libm_test_init): New function. Factored out of main.
9101 (libm_test_finish): Likewise.
9102 (main): Call libm_test_init and libm_test_finish and move most
9103 code to those functions.
9104
9105 * math/libm-test-driver.c (STRX): New macro.
9106 (STR): Likewise.
9107 (STR_FLOAT): Likewise.
9108 (STR_VEC_LEN): Likewise.
9109 (TEST_MSG): Likewise. Define here instead of expecting to be
9110 defined by including file.
9111 * math/test-double-finite.c (TEST_MSG): Remove macro.
9112 * math/test-double-vlen2.h (TEST_MSG): Likewise.
9113 * math/test-double-vlen4.h (TEST_MSG): Likewise.
9114 * math/test-double-vlen8.h (TEST_MSG): Likewise.
9115 * math/test-double.c (TEST_MSG): Likewise.
9116 * math/test-float-finite.c (TEST_MSG): Likewise.
9117 * math/test-float-vlen16.h (TEST_MSG): Likewise.
9118 * math/test-float-vlen4.h (TEST_MSG): Likewise.
9119 * math/test-float-vlen8.h (TEST_MSG): Likewise.
9120 * math/test-float.c (TEST_MSG): Likewise.
9121 * math/test-idouble.c (TEST_MSG): Likewise.
9122 * math/test-ifloat.c (TEST_MSG): Likewise.
9123 * math/test-ildouble.c (TEST_MSG): Likewise.
9124 * math/test-ldouble-finite.c (TEST_MSG): Likewise.
9125 * math/test-ldouble.c (TEST_MSG): Likewise.
9126
9127 * math/libm-test.inc: Move all tests of individual functions to
9128 libm-test-*.inc and #include libm-test-*.c files.
9129 (acos_test_data): Remove.
9130 (acos_test): Likewise.
9131 (acosh_test_data): Likewise.
9132 (acosh_test): Likewise.
9133 (asin_test_data): Likewise.
9134 (asin_test): Likewise.
9135 (asinh_test_data): Likewise.
9136 (asinh_test): Likewise.
9137 (atan_test_data): Likewise.
9138 (atan_test): Likewise.
9139 (atanh_test_data): Likewise.
9140 (atanh_test): Likewise.
9141 (atan2_test_data): Likewise.
9142 (atan2_test): Likewise.
9143 (cabs_test_data): Likewise.
9144 (cabs_test): Likewise.
9145 (cacos_test_data): Likewise.
9146 (cacos_test): Likewise.
9147 (cacosh_test_data): Likewise.
9148 (cacosh_test): Likewise.
9149 (canonicalize_test_data): Likewise.
9150 (canonicalize_test): Likewise.
9151 (carg_test_data): Likewise.
9152 (carg_test): Likewise.
9153 (casin_test_data): Likewise.
9154 (casin_test): Likewise.
9155 (casinh_test_data): Likewise.
9156 (casinh_test): Likewise.
9157 (catan_test_data): Likewise.
9158 (catan_test): Likewise.
9159 (catanh_test_data): Likewise.
9160 (catanh_test): Likewise.
9161 (cbrt_test_data): Likewise.
9162 (cbrt_test): Likewise.
9163 (ccos_test_data): Likewise.
9164 (ccos_test): Likewise.
9165 (ccosh_test_data): Likewise.
9166 (ccosh_test): Likewise.
9167 (ceil_test_data): Likewise.
9168 (ceil_test): Likewise.
9169 (cexp_test_data): Likewise.
9170 (cexp_test): Likewise.
9171 (cimag_test_data): Likewise.
9172 (cimag_test): Likewise.
9173 (clog_test_data): Likewise.
9174 (clog_test): Likewise.
9175 (clog10_test_data): Likewise.
9176 (clog10_test): Likewise.
9177 (conj_test_data): Likewise.
9178 (conj_test): Likewise.
9179 (copysign_test_data): Likewise.
9180 (copysign_test): Likewise.
9181 (cos_test_data): Likewise.
9182 (cos_test): Likewise.
9183 (cosh_test_data): Likewise.
9184 (cosh_test): Likewise.
9185 (cpow_test_data): Likewise.
9186 (cpow_test): Likewise.
9187 (cproj_test_data): Likewise.
9188 (cproj_test): Likewise.
9189 (creal_test_data): Likewise.
9190 (creal_test): Likewise.
9191 (csin_test_data): Likewise.
9192 (csin_test): Likewise.
9193 (csinh_test_data): Likewise.
9194 (csinh_test): Likewise.
9195 (csqrt_test_data): Likewise.
9196 (csqrt_test): Likewise.
9197 (ctan_test_data): Likewise.
9198 (ctan_test): Likewise.
9199 (ctanh_test_data): Likewise.
9200 (ctanh_test): Likewise.
9201 (erf_test_data): Likewise.
9202 (erf_test): Likewise.
9203 (erfc_test_data): Likewise.
9204 (erfc_test): Likewise.
9205 (exp_test_data): Likewise.
9206 (exp_test): Likewise.
9207 (exp10_test_data): Likewise.
9208 (exp10_test): Likewise.
9209 (pow10_test): Likewise.
9210 (exp2_test_data): Likewise.
9211 (exp2_test): Likewise.
9212 (expm1_test_data): Likewise.
9213 (expm1_test): Likewise.
9214 (fabs_test_data): Likewise.
9215 (fabs_test): Likewise.
9216 (fdim_test_data): Likewise.
9217 (fdim_test): Likewise.
9218 (floor_test_data): Likewise.
9219 (floor_test): Likewise.
9220 (fma_test_data): Likewise.
9221 (fma_test): Likewise.
9222 (fmax_test_data): Likewise.
9223 (fmax_test): Likewise.
9224 (fmaxmag_test_data): Likewise.
9225 (fmaxmag_test): Likewise.
9226 (fmin_test_data): Likewise.
9227 (fmin_test): Likewise.
9228 (fminmag_test_data): Likewise.
9229 (fminmag_test): Likewise.
9230 (fmod_test_data): Likewise.
9231 (fmod_test): Likewise.
9232 (fpclassify_test_data): Likewise.
9233 (fpclassify_test): Likewise.
9234 (frexp_test_data): Likewise.
9235 (frexp_test): Likewise.
9236 (fromfp_test_data): Likewise.
9237 (fromfp_test): Likewise.
9238 (fromfpx_test_data): Likewise.
9239 (fromfpx_test): Likewise.
9240 (getpayload_test_data): Likewise.
9241 (getpayload_test): Likewise.
9242 (hypot_test_data): Likewise.
9243 (hypot_test): Likewise.
9244 (ilogb_test_data): Likewise.
9245 (ilogb_test): Likewise.
9246 (iscanonical_test_data): Likewise.
9247 (iscanonical_test): Likewise.
9248 (iseqsig_test_data): Likewise.
9249 (iseqsig_test): Likewise.
9250 (isfinite_test_data): Likewise.
9251 (isfinite_test): Likewise.
9252 (finite_test): Likewise.
9253 (isgreater_test_data): Likewise.
9254 (isgreater_test): Likewise.
9255 (isgreaterequal_test_data): Likewise.
9256 (isgreaterequal_test): Likewise.
9257 (isinf_test_data): Likewise.
9258 (isinf_test): Likewise.
9259 (isless_test_data): Likewise.
9260 (isless_test): Likewise.
9261 (islessequal_test_data): Likewise.
9262 (islessequal_test): Likewise.
9263 (islessgreater_test_data): Likewise.
9264 (islessgreater_test): Likewise.
9265 (isnan_test_data): Likewise.
9266 (isnan_test): Likewise.
9267 (isnormal_test_data): Likewise.
9268 (isnormal_test): Likewise.
9269 (issignaling_test_data): Likewise.
9270 (issignaling_test): Likewise.
9271 (issubnormal_test_data): Likewise.
9272 (issubnormal_test): Likewise.
9273 (isunordered_test_data): Likewise.
9274 (isunordered_test): Likewise.
9275 (iszero_test_data): Likewise.
9276 (iszero_test): Likewise.
9277 (j0_test_data): Likewise.
9278 (j0_test): Likewise.
9279 (j1_test_data): Likewise.
9280 (j1_test): Likewise.
9281 (jn_test_data): Likewise.
9282 (jn_test): Likewise.
9283 (lgamma_test_data): Likewise.
9284 (lgamma_test): Likewise.
9285 (gamma_test): Likewise.
9286 (llogb_test_data): Likewise.
9287 (llogb_test): Likewise.
9288 (lrint_test_data): Likewise.
9289 (lrint_test): Likewise.
9290 (llrint_test_data): Likewise.
9291 (llrint_test): Likewise.
9292 (log_test_data): Likewise.
9293 (log_test): Likewise.
9294 (log10_test_data): Likewise.
9295 (log10_test): Likewise.
9296 (log1p_test_data): Likewise.
9297 (log1p_test): Likewise.
9298 (log2_test_data): Likewise.
9299 (log2_test): Likewise.
9300 (logb_test_data): Likewise.
9301 (logb_test): Likewise.
9302 (lround_test_data): Likewise.
9303 (lround_test): Likewise.
9304 (llround_test_data): Likewise.
9305 (llround_test): Likewise.
9306 (modf_test_data): Likewise.
9307 (modf_test): Likewise.
9308 (nearbyint_test_data): Likewise.
9309 (nearbyint_test): Likewise.
9310 (nextafter_test_data): Likewise.
9311 (nextafter_test): Likewise.
9312 (nextup_test_data): Likewise.
9313 (nextup_test): Likewise.
9314 (nextdown_test_data): Likewise.
9315 (nextdown_test): Likewise.
9316 (nexttoward_test_data): Likewise.
9317 (nexttoward_test): Likewise.
9318 (pow_test_data): Likewise.
9319 (pow_test): Likewise.
9320 (remainder_test_data): Likewise.
9321 (remainder_test): Likewise.
9322 (drem_test): Likewise.
9323 (remquo_test_data): Likewise.
9324 (remquo_test): Likewise.
9325 (rint_test_data): Likewise.
9326 (rint_test): Likewise.
9327 (round_test_data): Likewise.
9328 (round_test): Likewise.
9329 (roundeven_test_data): Likewise.
9330 (roundeven_test): Likewise.
9331 (scalb_test_data): Likewise.
9332 (scalb_test): Likewise.
9333 (scalbn_test_data): Likewise.
9334 (scalbn_test): Likewise.
9335 (ldexp_test): Likewise.
9336 (scalbln_test_data): Likewise.
9337 (scalbln_test): Likewise.
9338 (setpayload_test_data): Likewise.
9339 (setpayload_test): Likewise.
9340 (setpayloadsig_test_data): Likewise.
9341 (setpayloadsig_test): Likewise.
9342 (signbit_test_data): Likewise.
9343 (signbit_test): Likewise.
9344 (sin_test_data): Likewise.
9345 (sin_test): Likewise.
9346 (sincos_test_data): Likewise.
9347 (sincos_test): Likewise.
9348 (sinh_test_data): Likewise.
9349 (sinh_test): Likewise.
9350 (sqrt_test_data): Likewise.
9351 (sqrt_test): Likewise.
9352 (tan_test_data): Likewise.
9353 (tan_test): Likewise.
9354 (tanh_test_data): Likewise.
9355 (tanh_test): Likewise.
9356 (tgamma_test_data): Likewise.
9357 (tgamma_test): Likewise.
9358 (totalorder_test_data): Likewise.
9359 (totalorder_test): Likewise.
9360 (totalordermag_test_data): Likewise.
9361 (totalordermag_test): Likewise.
9362 (trunc_test_data): Likewise.
9363 (trunc_test): Likewise.
9364 (ufromfp_test_data): Likewise.
9365 (ufromfp_test): Likewise.
9366 (ufromfpx_test_data): Likewise.
9367 (ufromfpx_test): Likewise.
9368 (y0_test_data): Likewise.
9369 (y0_test): Likewise.
9370 (y1_test_data): Likewise.
9371 (y1_test): Likewise.
9372 (yn_test_data): Likewise.
9373 (yn_test): Likewise.
9374 (significand_test_data): Likewise.
9375 (significand_test): Likewise.
9376 * math/Makefile (auto-libm-test-out-files): Remove variable.
9377 (libm-test-funcs-noauto): New variable.
9378 (libm-test-funcs-all): Likewise.
9379 (libm-test-c-auto): Likewise.
9380 (libm-test-c-noauto): Likewise.
9381 (libm-tests-generated): Add $(libm-test-c-auto) and
9382 $(libm-test-c-noauto).
9383 (generated): Do not add auto-libm-test-out.
9384 (libm-test-c-auto-obj): New variable.
9385 (libm-test-c-noauto-obj): Likewise.
9386 ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
9387 ($(libm-test-c-noauto-obj)): New static pattern rule.
9388 ($(libm-test-c-auto-obj)): Likewise.
9389 (libm-test-incs): New variable.
9390 ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
9391 and pass it to gen-libm-have-vector-test.sh.
9392 * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
9393 be passed on command line.
9394 * math/libm-test-acos.inc: New file. Content from
9395 math/libm-test.inc.
9396 * math/libm-test-acosh.inc: Likewise.
9397 * math/libm-test-asin.inc: Likewise.
9398 * math/libm-test-asinh.inc: Likewise.
9399 * math/libm-test-atan.inc: Likewise.
9400 * math/libm-test-atan2.inc: Likewise.
9401 * math/libm-test-atanh.inc: Likewise.
9402 * math/libm-test-cabs.inc: Likewise.
9403 * math/libm-test-cacos.inc: Likewise.
9404 * math/libm-test-cacosh.inc: Likewise.
9405 * math/libm-test-canonicalize.inc: Likewise.
9406 * math/libm-test-carg.inc: Likewise.
9407 * math/libm-test-casin.inc: Likewise.
9408 * math/libm-test-casinh.inc: Likewise.
9409 * math/libm-test-catan.inc: Likewise.
9410 * math/libm-test-catanh.inc: Likewise.
9411 * math/libm-test-cbrt.inc: Likewise.
9412 * math/libm-test-ccos.inc: Likewise.
9413 * math/libm-test-ccosh.inc: Likewise.
9414 * math/libm-test-ceil.inc: Likewise.
9415 * math/libm-test-cexp.inc: Likewise.
9416 * math/libm-test-cimag.inc: Likewise.
9417 * math/libm-test-clog.inc: Likewise.
9418 * math/libm-test-clog10.inc: Likewise.
9419 * math/libm-test-conj.inc: Likewise.
9420 * math/libm-test-copysign.inc: Likewise.
9421 * math/libm-test-cos.inc: Likewise.
9422 * math/libm-test-cosh.inc: Likewise.
9423 * math/libm-test-cpow.inc: Likewise.
9424 * math/libm-test-cproj.inc: Likewise.
9425 * math/libm-test-creal.inc: Likewise.
9426 * math/libm-test-csin.inc: Likewise.
9427 * math/libm-test-csinh.inc: Likewise.
9428 * math/libm-test-csqrt.inc: Likewise.
9429 * math/libm-test-ctan.inc: Likewise.
9430 * math/libm-test-ctanh.inc: Likewise.
9431 * math/libm-test-erf.inc: Likewise.
9432 * math/libm-test-erfc.inc: Likewise.
9433 * math/libm-test-exp.inc: Likewise.
9434 * math/libm-test-exp10.inc: Likewise.
9435 * math/libm-test-exp2.inc: Likewise.
9436 * math/libm-test-expm1.inc: Likewise.
9437 * math/libm-test-fabs.inc: Likewise.
9438 * math/libm-test-fdim.inc: Likewise.
9439 * math/libm-test-floor.inc: Likewise.
9440 * math/libm-test-fma.inc: Likewise.
9441 * math/libm-test-fmax.inc: Likewise.
9442 * math/libm-test-fmaxmag.inc: Likewise.
9443 * math/libm-test-fmin.inc: Likewise.
9444 * math/libm-test-fminmag.inc: Likewise.
9445 * math/libm-test-fmod.inc: Likewise.
9446 * math/libm-test-fpclassify.inc: Likewise.
9447 * math/libm-test-frexp.inc: Likewise.
9448 * math/libm-test-fromfp.inc: Likewise.
9449 * math/libm-test-fromfpx.inc: Likewise.
9450 * math/libm-test-getpayload.inc: Likewise.
9451 * math/libm-test-hypot.inc: Likewise.
9452 * math/libm-test-ilogb.inc: Likewise.
9453 * math/libm-test-iscanonical.inc: Likewise.
9454 * math/libm-test-iseqsig.inc: Likewise.
9455 * math/libm-test-isfinite.inc: Likewise.
9456 * math/libm-test-isgreater.inc: Likewise.
9457 * math/libm-test-isgreaterequal.inc: Likewise.
9458 * math/libm-test-isinf.inc: Likewise.
9459 * math/libm-test-isless.inc: Likewise.
9460 * math/libm-test-islessequal.inc: Likewise.
9461 * math/libm-test-islessgreater.inc: Likewise.
9462 * math/libm-test-isnan.inc: Likewise.
9463 * math/libm-test-isnormal.inc: Likewise.
9464 * math/libm-test-issignaling.inc: Likewise.
9465 * math/libm-test-issubnormal.inc: Likewise.
9466 * math/libm-test-isunordered.inc: Likewise.
9467 * math/libm-test-iszero.inc: Likewise.
9468 * math/libm-test-j0.inc: Likewise.
9469 * math/libm-test-j1.inc: Likewise.
9470 * math/libm-test-jn.inc: Likewise.
9471 * math/libm-test-lgamma.inc: Likewise.
9472 * math/libm-test-llogb.inc: Likewise.
9473 * math/libm-test-llrint.inc: Likewise.
9474 * math/libm-test-llround.inc: Likewise.
9475 * math/libm-test-log.inc: Likewise.
9476 * math/libm-test-log10.inc: Likewise.
9477 * math/libm-test-log1p.inc: Likewise.
9478 * math/libm-test-log2.inc: Likewise.
9479 * math/libm-test-logb.inc: Likewise.
9480 * math/libm-test-lrint.inc: Likewise.
9481 * math/libm-test-lround.inc: Likewise.
9482 * math/libm-test-modf.inc: Likewise.
9483 * math/libm-test-nearbyint.inc: Likewise.
9484 * math/libm-test-nextafter.inc: Likewise.
9485 * math/libm-test-nextdown.inc: Likewise.
9486 * math/libm-test-nexttoward.inc: Likewise.
9487 * math/libm-test-nextup.inc: Likewise.
9488 * math/libm-test-pow.inc: Likewise.
9489 * math/libm-test-remainder.inc: Likewise.
9490 * math/libm-test-remquo.inc: Likewise.
9491 * math/libm-test-rint.inc: Likewise.
9492 * math/libm-test-round.inc: Likewise.
9493 * math/libm-test-roundeven.inc: Likewise.
9494 * math/libm-test-scalb.inc: Likewise.
9495 * math/libm-test-scalbln.inc: Likewise.
9496 * math/libm-test-scalbn.inc: Likewise.
9497 * math/libm-test-setpayload.inc: Likewise.
9498 * math/libm-test-setpayloadsig.inc: Likewise.
9499 * math/libm-test-signbit.inc: Likewise.
9500 * math/libm-test-significand.inc: Likewise.
9501 * math/libm-test-sin.inc: Likewise.
9502 * math/libm-test-sincos.inc: Likewise.
9503 * math/libm-test-sinh.inc: Likewise.
9504 * math/libm-test-sqrt.inc: Likewise.
9505 * math/libm-test-tan.inc: Likewise.
9506 * math/libm-test-tanh.inc: Likewise.
9507 * math/libm-test-tgamma.inc: Likewise.
9508 * math/libm-test-totalorder.inc: Likewise.
9509 * math/libm-test-totalordermag.inc: Likewise.
9510 * math/libm-test-trunc.inc: Likewise.
9511 * math/libm-test-ufromfp.inc: Likewise.
9512 * math/libm-test-ufromfpx.inc: Likewise.
9513 * math/libm-test-y0.inc: Likewise.
9514 * math/libm-test-y1.inc: Likewise.
9515 * math/libm-test-yn.inc: Likewise.
9516 * math/README.libm-test: Update.
9517
9518 * math/gen-auto-libm-tests.c: Update comment about use of program.
9519 (generate_output): Add argument FUNCTION.
9520 (main): Require extra argument. Pass function name to
9521 generate_output.
9522 * math/Makefile (generated): Add auto-libm-test-out.
9523 (libm-test-funcs-auto): New variable.
9524 (auto-libm-test-out-files): New variable.
9525 ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
9526 Concatenate those files to form $(objpfx)auto-libm-test-out and
9527 use it as input to gen-libm-test.pl.
9528 * math/README.libm-test: Update.
9529 * math/auto-libm-test-out: Remove.
9530 * math/auto-libm-test-out-acos: New generated file.
9531 * math/auto-libm-test-out-acosh: Likewise.
9532 * math/auto-libm-test-out-asin: Likewise.
9533 * math/auto-libm-test-out-asinh: Likewise.
9534 * math/auto-libm-test-out-atan: Likewise.
9535 * math/auto-libm-test-out-atan2: Likewise.
9536 * math/auto-libm-test-out-atanh: Likewise.
9537 * math/auto-libm-test-out-cabs: Likewise.
9538 * math/auto-libm-test-out-carg: Likewise.
9539 * math/auto-libm-test-out-cbrt: Likewise.
9540 * math/auto-libm-test-out-ccos: Likewise.
9541 * math/auto-libm-test-out-ccosh: Likewise.
9542 * math/auto-libm-test-out-cexp: Likewise.
9543 * math/auto-libm-test-out-clog: Likewise.
9544 * math/auto-libm-test-out-clog10: Likewise.
9545 * math/auto-libm-test-out-cos: Likewise.
9546 * math/auto-libm-test-out-cosh: Likewise.
9547 * math/auto-libm-test-out-cpow: Likewise.
9548 * math/auto-libm-test-out-csin: Likewise.
9549 * math/auto-libm-test-out-csinh: Likewise.
9550 * math/auto-libm-test-out-csqrt: Likewise.
9551 * math/auto-libm-test-out-ctan: Likewise.
9552 * math/auto-libm-test-out-ctanh: Likewise.
9553 * math/auto-libm-test-out-erf: Likewise.
9554 * math/auto-libm-test-out-erfc: Likewise.
9555 * math/auto-libm-test-out-exp: Likewise.
9556 * math/auto-libm-test-out-exp10: Likewise.
9557 * math/auto-libm-test-out-exp2: Likewise.
9558 * math/auto-libm-test-out-expm1: Likewise.
9559 * math/auto-libm-test-out-fma: Likewise.
9560 * math/auto-libm-test-out-hypot: Likewise.
9561 * math/auto-libm-test-out-j0: Likewise.
9562 * math/auto-libm-test-out-j1: Likewise.
9563 * math/auto-libm-test-out-jn: Likewise.
9564 * math/auto-libm-test-out-lgamma: Likewise.
9565 * math/auto-libm-test-out-log: Likewise.
9566 * math/auto-libm-test-out-log10: Likewise.
9567 * math/auto-libm-test-out-log1p: Likewise.
9568 * math/auto-libm-test-out-log2: Likewise.
9569 * math/auto-libm-test-out-pow: Likewise.
9570 * math/auto-libm-test-out-sin: Likewise.
9571 * math/auto-libm-test-out-sincos: Likewise.
9572 * math/auto-libm-test-out-sinh: Likewise.
9573 * math/auto-libm-test-out-sqrt: Likewise.
9574 * math/auto-libm-test-out-tan: Likewise.
9575 * math/auto-libm-test-out-tanh: Likewise.
9576 * math/auto-libm-test-out-tgamma: Likewise.
9577 * math/auto-libm-test-out-y0: Likewise.
9578 * math/auto-libm-test-out-y1: Likewise.
9579 * math/auto-libm-test-out-yn: Likewise.
9580
9581 * math/Makefile (generated): Do not include libm-test.stmp.
9582 ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
9583 on $(objpfx)libm-test.stmp.
9584 ($(objpfx)libm-test.stmp): Remove rule.
9585 ($(objpfx)libm-test-ulps.h): New rule.
9586 ($(objpfx)libm-test.c): Likewise.
9587 ($(objpfx)libm-have-vector-test.h): Likewise.
9588 ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
9589 individual generated files, not libm-test.stmp.
9590
9591 * math/gen-libm-test.pl ($output_dir): Remove variable.
9592 ($srcdir): Likewise.
9593 ($opt_a): New variable.
9594 ($opt_c): Likewise.
9595 ($opt_C): Likewise.
9596 ($opt_H): Likewise.
9597 (-n): Make option take argument and use it as NewUlps output.
9598 (-a): New option. Use its argument for auto-libm-test-out input.
9599 (-c): New option. Use its argument for libm-test.inc input.
9600 (-C): New option. Use its argument for libm-test.c output.
9601 (-H): New option. Use its argument for libm-test-ulps.h output.
9602 (top level): Only process inputs needed to generate outputs
9603 specified by command-line options. Only generate outputs
9604 specified by command-line options.
9605 * math/README.libm-test: Update example gen-libm-test.pl command.
9606 * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
9607 commands.
9608 (regen-ulps): Likewise.
9609
9610 2017-02-06 Wilco Dijkstra <wdijkstr@arm.com>
9611
9612 * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
9613 * include/string.h (index): Remove define.
9614 (rindex): Likewise.
9615 * misc/getttyent.c (__getttyent): Rename index to strchr.
9616 * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
9617 * sunrpc/rpc_main.c (mkfile_output): Likewise.
9618
9619 2017-02-06 Joseph Myers <joseph@codesourcery.com>
9620
9621 * math/libm-test-driver.c: New file. Based on math/libm-test.inc.
9622 * math/libm-test.inc: Move all contents, other than tests of
9623 individual functions, to libm-test-driver.c.
9624 [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
9625 [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
9626 [!FE_UPWARD] (FE_UPWARD): Likewise.
9627 [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
9628 (NO_EXCEPTION): Likewise.
9629 (INVALID_EXCEPTION): Likewise.
9630 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
9631 (OVERFLOW_EXCEPTION): Likewise.
9632 (UNDERFLOW_EXCEPTION): Likewise.
9633 (INEXACT_EXCEPTION): Likewise.
9634 (INVALID_EXCEPTION_OK): Likewise.
9635 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9636 (OVERFLOW_EXCEPTION_OK): Likewise.
9637 (UNDERFLOW_EXCEPTION_OK): Likewise.
9638 (NO_INEXACT_EXCEPTION): Likewise.
9639 (EXCEPTIONS_OK): Likewise.
9640 (IGNORE_ZERO_INF_SIGN): Likewise.
9641 (TEST_NAN_SIGN): Likewise.
9642 (TEST_NAN_PAYLOAD): Likewise.
9643 (NO_TEST_INLINE): Likewise.
9644 (XFAIL_TEST): Likewise.
9645 (ERRNO_UNCHANGED): Likewise.
9646 (ERRNO_EDOM): Likewise.
9647 (ERRNO_ERANGE): Likewise.
9648 (IGNORE_RESULT): Likewise.
9649 (NON_FINITE): Likewise.
9650 (TEST_SNAN): Likewise.
9651 (NO_TEST_MATHVEC): Likewise.
9652 (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
9653 (__CONCATX): Likewise.
9654 (TYPE_MIN): Likewise.
9655 (TYPE_TRUE_MIN): Likewise.
9656 (TYPE_MAX): Likewise.
9657 (MIN_EXP): Likewise.
9658 (MAX_EXP): Likewise.
9659 (MANT_DIG): Likewise.
9660 (FSTR_MAX): Likewise.
9661 (ULP_IDX): Likewise.
9662 (QTYPE_STR): Likewise.
9663 (TEST_COND_binary32): Likewise.
9664 (TEST_COND_binary64): Likewise.
9665 (TEST_COND_binary128): Likewise.
9666 (TEST_COND_ibm128): Likewise.
9667 (TEST_COND_intel96): Likewise.
9668 (TEST_COND_m68k96): Likewise.
9669 (TEST_COND_ibm128_libgcc): Likewise.
9670 (XFAIL_IBM128_LIBGCC): Likewise.
9671 (PAYLOAD_DIG): Likewise.
9672 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9673 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9674 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9675 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
9676 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9677 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
9678 (TEST_COND_long32): Likewise.
9679 (TEST_COND_long64): Likewise.
9680 (TEST_COND_before_rounding): Likewise.
9681 (TEST_COND_after_rounding): Likewise.
9682 (lit_pi_3_m_4_d): Likewise.
9683 (lit_pi_3_m_4_ln10_m_d): Likewise.
9684 (lit_pi_2_ln10_m_d): Likewise.
9685 (lit_pi_4_ln10_m_d): Likewise.
9686 (lit_pi_ln10_d): Likewise.
9687 (lit_pi_2_d): Likewise.
9688 (lit_pi_4_d): Likewise.
9689 (lit_pi): Likewise.
9690 (lit_e): Likewise.
9691 (ulps_file_name): Likewise.
9692 (ulps_file): Likewise.
9693 (output_ulps): Likewise.
9694 (output_dir): Likewise.
9695 (noErrors): Likewise.
9696 (noTests): Likewise.
9697 (noExcTests): Likewise.
9698 (noErrnoTests): Likewise.
9699 (verbose): Likewise.
9700 (output_max_error): Likewise.
9701 (output_points): Likewise.
9702 (ignore_max_ulp): Likewise.
9703 (plus_zero): Likewise.
9704 (minus_zero): Likewise.
9705 (plus_infty): Likewise.
9706 (minus_infty): Likewise.
9707 (qnan_value_pl): Likewise.
9708 (qnan_value): Likewise.
9709 (snan_value_pl): Likewise.
9710 (snan_value): Likewise.
9711 (max_value): Likewise.
9712 (min_value): Likewise.
9713 (min_subnorm_value): Likewise.
9714 (snan_value_ld): Likewise.
9715 (max_error): Likewise.
9716 (real_max_error): Likewise.
9717 (imag_max_error): Likewise.
9718 (prev_max_error): Likewise.
9719 (prev_real_max_error): Likewise.
9720 (prev_imag_max_error): Likewise.
9721 (max_valid_error): Likewise.
9722 (TYPE_DECIMAL_DIG): Likewise.
9723 (TYPE_HEX_DIG): Likewise.
9724 (fmt_ftostr): Likewise.
9725 (compare_ulp_data): Likewise.
9726 (find_ulps): Likewise.
9727 (init_max_error): Likewise.
9728 (set_max_error): Likewise.
9729 (print_float): Likewise.
9730 (print_screen): Likewise.
9731 (print_screen_max_error): Likewise.
9732 (update_stats): Likewise.
9733 (print_function_ulps): Likewise.
9734 (print_complex_function_ulps): Likewise.
9735 (fpstack_test): Likewise.
9736 (print_max_error): Likewise.
9737 (print_complex_max_error): Likewise.
9738 (test_single_exception): Likewise.
9739 (test_exceptions): Likewise.
9740 (test_single_errno): Likewise.
9741 (test_errno): Likewise.
9742 (ULPDIFF): Likewise.
9743 (ulp): Likewise.
9744 (check_float_internal): Likewise.
9745 (check_float): Likewise.
9746 (check_complex): Likewise.
9747 (check_int): Likewise.
9748 (check_long): Likewise.
9749 (check_bool): Likewise.
9750 (check_longlong): Likewise.
9751 (check_intmax_t): Likewise.
9752 (check_uintmax_t): Likewise.
9753 (enable_test): Likewise.
9754 (struct test_f_f_data): Likewise.
9755 (struct test_ff_f_data): Likewise.
9756 (struct test_fj_f_data): Likewise.
9757 (struct test_fi_f_data): Likewise.
9758 (struct test_fl_f_data): Likewise.
9759 (struct test_if_f_data): Likewise.
9760 (struct test_fff_f_data): Likewise.
9761 (struct test_fiu_M_data): Likewise.
9762 (struct test_fiu_U_data): Likewise.
9763 (struct test_c_f_data): Likewise.
9764 (struct test_f_f1_data): Likewise.
9765 (struct test_fF_f1_data): Likewise.
9766 (struct test_ffI_f1_data): Likewise.
9767 (struct test_c_c_data): Likewise.
9768 (struct test_cc_c_data): Likewise.
9769 (struct test_f_i_data): Likewise.
9770 (struct test_ff_i_data): Likewise.
9771 (struct test_f_l_data): Likewise.
9772 (struct test_f_L_data): Likewise.
9773 (struct test_fFF_11_data): Likewise.
9774 (struct test_Ff_b1_data): Likewise.
9775 (IF_ROUND_INIT_): Likewise.
9776 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9777 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9778 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9779 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9780 (ROUND_RESTORE_): Likewise.
9781 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9782 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9783 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9784 (ROUND_RESTORE_FE_UPWARD): Likewise.
9785 (RM_): Likewise.
9786 (RM_FE_DOWNWARD): Likewise.
9787 (RM_FE_TONEAREST): Likewise.
9788 (RM_FE_TOWARDZERO): Likewise.
9789 (RM_FE_UPWARD): Likewise.
9790 (COMMON_TEST_SETUP): Likewise.
9791 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9792 (COMMON_TEST_CLEANUP): Likewise.
9793 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9794 (RUN_TEST_f_f): Likewise.
9795 (RUN_TEST_LOOP_f_f): Likewise.
9796 (RUN_TEST_fp_f): Likewise.
9797 (RUN_TEST_LOOP_fp_f): Likewise.
9798 (RUN_TEST_2_f): Likewise.
9799 (RUN_TEST_LOOP_2_f): Likewise.
9800 (RUN_TEST_ff_f): Likewise.
9801 (RUN_TEST_LOOP_ff_f): Likewise.
9802 (RUN_TEST_LOOP_fj_f): Likewise.
9803 (RUN_TEST_fi_f): Likewise.
9804 (RUN_TEST_LOOP_fi_f): Likewise.
9805 (RUN_TEST_fl_f): Likewise.
9806 (RUN_TEST_LOOP_fl_f): Likewise.
9807 (RUN_TEST_if_f): Likewise.
9808 (RUN_TEST_LOOP_if_f): Likewise.
9809 (RUN_TEST_fff_f): Likewise.
9810 (RUN_TEST_LOOP_fff_f): Likewise.
9811 (RUN_TEST_fiu_M): Likewise.
9812 (RUN_TEST_LOOP_fiu_M): Likewise.
9813 (RUN_TEST_fiu_U): Likewise.
9814 (RUN_TEST_LOOP_fiu_U): Likewise.
9815 (RUN_TEST_c_f): Likewise.
9816 (RUN_TEST_LOOP_c_f): Likewise.
9817 (RUN_TEST_f_f1): Likewise.
9818 (RUN_TEST_LOOP_f_f1): Likewise.
9819 (RUN_TEST_fF_f1): Likewise.
9820 (RUN_TEST_LOOP_fF_f1): Likewise.
9821 (RUN_TEST_fI_f1): Likewise.
9822 (RUN_TEST_LOOP_fI_f1): Likewise.
9823 (RUN_TEST_ffI_f1_mod8): Likewise.
9824 (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
9825 (RUN_TEST_Ff_b1): Likewise.
9826 (RUN_TEST_LOOP_Ff_b1): Likewise.
9827 (RUN_TEST_Ffp_b1): Likewise.
9828 (RUN_TEST_LOOP_Ffp_b1): Likewise.
9829 (RUN_TEST_c_c): Likewise.
9830 (RUN_TEST_LOOP_c_c): Likewise.
9831 (RUN_TEST_cc_c): Likewise.
9832 (RUN_TEST_LOOP_cc_c): Likewise.
9833 (RUN_TEST_f_i): Likewise.
9834 (RUN_TEST_LOOP_f_i): Likewise.
9835 (RUN_TEST_f_i_tg): Likewise.
9836 (RUN_TEST_LOOP_f_i_tg): Likewise.
9837 (RUN_TEST_ff_b): Likewise.
9838 (RUN_TEST_LOOP_ff_b): Likewise.
9839 (RUN_TEST_ff_i_tg): Likewise.
9840 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9841 (RUN_TEST_f_b): Likewise.
9842 (RUN_TEST_LOOP_f_b): Likewise.
9843 (RUN_TEST_f_b_tg): Likewise.
9844 (RUN_TEST_LOOP_f_b_tg): Likewise.
9845 (RUN_TEST_f_l): Likewise.
9846 (RUN_TEST_LOOP_f_l): Likewise.
9847 (RUN_TEST_f_L): Likewise.
9848 (RUN_TEST_LOOP_f_L): Likewise.
9849 (RUN_TEST_fFF_11): Likewise.
9850 (RUN_TEST_LOOP_fFF_11): Likewise.
9851 (VEC_SUFF): Likewise.
9852 (STR_CONCAT): Likewise.
9853 (STR_CON3): Likewise.
9854 (HAVE_VECTOR): Likewise.
9855 (START): Likewise.
9856 (END): Likewise.
9857 (END_COMPLEX): Likewise.
9858 (ALL_RM_TEST): Likewise.
9859 (matherr): Likewise.
9860 (initialize): Likewise.
9861 (options): Likewise.
9862 (doc): Likewise.
9863 (parse_opt): Likewise.
9864 (argp): Likewise.
9865 (check_ulp): Likewise.
9866 (main): Likewise.
9867 (do_test): New function. Call tests of individual functions
9868 previously called from main.
9869
9870 * math/libm-test.inc: Remove comment listing functions tested and
9871 not tested.
9872
9873 2016-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9874
9875 * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
9876 (allocate_stack): Remove COLORING_INCREMENT usage.
9877 * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
9878 * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
9879
9880 2017-02-06 Joseph Myers <joseph@codesourcery.com>
9881
9882 * manual/libm-err-tab.pl (@all_functions): Change to
9883 %all_functions. Initialize as empty.
9884 (parse_ulps): Add to %all_functions based on functions found in
9885 ulps files. Ignore results for non-default rounding modes and
9886 vector functions.
9887 (print_platforms): Use %all_platforms.
9888 * manual/math.texi (Errors in Math Functions): Document omissions
9889 from the table.
9890
9891 * math/Makefile (before-compile): Remove.
9892
9893 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
9894
9895 [BZ #21075]
9896 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
9897 unused assignment.
9898 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
9899
9900 2017-02-06 Stefan Liebler <stli@linux.vnet.ibm.com>
9901
9902 * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
9903 Add __glibc_unlikely hint.
9904
9905 2017-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9906
9907 [BZ #16640]
9908 * sysdeps/i386/i686/strtok.S: Remove file.
9909 * sysdeps/i386/i686/strtok_r.S: Likewise.
9910 * sysdeps/i386/strtok.S: Likewise.
9911 * sysdeps/i386/strtok_r.S: Likewise.
9912 * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
9913 * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
9914 * sysdeps/x86_64/strtok.S: Likewise.
9915 * sysdeps/x86_64/strtok_r.S: Likewise.
9916
9917 * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
9918 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
9919 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9920 (__ASSUME_FADVISE64_AS_64_64): Define.
9921 * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
9922 !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
9923 [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
9924 __ALIGNMENT_ARG usage.
9925 [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
9926 __NR_fadvise64_64 if it is not defined.
9927
9928 2017-02-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
9929
9930 * version.h (RELEASE): Set to "development"
9931 (VERSION): Set to 2.25.90.
9932 * NEWS: Add 2.26 section.
9933
9934 * version.h (RELEASE): Set to "stable"
9935 (VERSION): Set to 2.25.
9936 * include/features.h (__GLIBC_MINOR__): Set to 25.
9937
9938 * manual/contrib.texi: Add more contributors from this release
9939 and past releases.
9940
9941 * NEWS (2.25): Add list of bugs fixed.
9942
9943 * NEWS: Add missing news items.
9944
9945 2017-02-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
9946
9947 * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
9948 parent if child exited in that manner. Print WEXITSTATUS
9949 instead of the raw status.
9950 (do_test_prep): Rename to do_test.
9951 (do_test): Return the result of run_executable_sgid.
9952 (TEST_FUNCTION_ARGV): Adjust.
9953
9954 2017-02-03 Alexandre Oliva <aoliva@redhat.com>
9955 Florian Weimer <fweimer@redhat.com>
9956 Carlos O'Donell <carlos@redhat.com>
9957
9958 [BZ #20915]
9959 * elf/dl-reloc.c (_dl_nothread_init_static_tls):
9960 Do not initialize DTV.
9961 * nptl/allocatestack.c (init_one_static_tls): Likewise.
9962
9963 2017-02-03 David S. Miller <davem@davemloft.net>
9964
9965 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
9966 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9967 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
9968 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9969 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
9970 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9971 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
9972 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9973 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
9974 (libm-sysdep_routines): Update.
9975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
9976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
9977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
9978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
9979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
9980 * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
9981 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
9982 * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
9983 * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
9984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
9985 Likewise.
9986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
9988 Likewise.
9989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
9991 Likewise.
9992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
9994 Likewise.
9995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
9996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9997 (libm-sysdep_routines): Update.
9998
9999 2017-02-02 H.J. Lu <hongjiu.lu@intel.com>
10000
10001 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
10002 _dl_fatal_printf with _dl_error_printf for IFUNC relocation
10003 against unrelocated shared library.
10004 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10005
10006 2017-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
10007
10008 * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
10009 * elf/tst-env-setuid-tunables.c
10010 (test_child_tunables)[!HAVE_TUNABLES]: Verify that
10011 GLIBC_TUNABLES is removed in a setgid process.
10012
10013 [BZ #21073]
10014 * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
10015 * elf/dl-tunables.c (tunables_strdup): Remove.
10016 (get_next_env): Also return the previous envp.
10017 (parse_tunables): Erase tunables of category
10018 TUNABLES_SECLEVEL_SXID_ERASE.
10019 (maybe_enable_malloc_check): Make MALLOC_CHECK_
10020 TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
10021 (__tunables_init)[TUNABLES_FRONTEND ==
10022 TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
10023 after parsing.
10024 [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
10025 tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
10026 * elf/dl-tunables.h (struct _tunable): Change member is_secure
10027 to security_level.
10028 * elf/dl-tunables.list: Add security_level annotations for all
10029 tunables.
10030 * scripts/gen-tunables.awk: Recognize and generate enum values
10031 for security_level.
10032 * elf/tst-env-setuid.c: New test case.
10033 * elf/tst-env-setuid-tunables: new test case.
10034 * elf/Makefile (tests-static): Add them.
10035
10036 2017-02-01 Richard Henderson <rth@twiddle.net>
10037
10038 * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
10039 adjusting the byte count.
10040
10041 2017-02-01 Andreas Schwab <schwab@linux-m68k.org>
10042
10043 * conform/Makefile (linknamespace-libs): Define.
10044
10045 * sysdeps/m68k/m680x0/m68020/atomic-machine.h
10046 (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
10047 (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
10048 operands.
10049
10050 2017-01-31 Chung-Lin Tang <cltang@codesourcery.com>
10051
10052 * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
10053
10054 2017-01-30 H.J. Lu <hongjiu.lu@intel.com>
10055
10056 [BZ #21081]
10057 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10058 (L(stosb)): Add VZEROUPPER before ret.
10059
10060 2016-01-28 Carlos O'Donell <carlos@redhat.com>
10061 Alexey Makhalov <amakhalov@vmware.com>
10062 Florian Weimer <fweimer@redhat.com>
10063
10064 [BZ #20116]
10065 * nptl/pthread_create.c: Document concurrency notes.
10066 Enhance thread creation notes.
10067 (create_thread): Use bool *stopped_start.
10068 (START_THREAD_DEFN): Comment ownership of PD.
10069 (__pthread_create_2_1): Add local bool stopped_start and use
10070 that instead of pd->stopped_start where appropriate.
10071 * nptl/createthread.c (create_thread): Use bool *stopped_start.
10072 * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
10073 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
10074 * nptl/tst-create-detached.c: New file.
10075 * nptl/Makefile (tests): Add tst-create-detached.
10076 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10077 Reference the enhanced thread creation notes.
10078 * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
10079 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10080 * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
10081 (__pthread_current_priority): Likewise.
10082 * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
10083 xpthread_attr_init, xpthread_attr_setdetachstate, and
10084 xpthread_attr_setstacksize.
10085 * support/xpthread_attr_destroy.c: New file.
10086 * support/xpthread_attr_init.c: New file.
10087 * support/xpthread_attr_setdetachstate.c: New file.
10088 * support/xpthread_attr_setstacksize.c: New file.
10089 * support/xthread.h: Define prototypes for xpthread_attr_destroy
10090 xpthread_attr_init, xpthread_attr_setdetachstate, and
10091 xpthread_attr_setstacksize.
10092
10093 2017-01-27 Florian Weimer <fweimer@redhat.com>
10094
10095 * nptl/Makefile (tests): Add tst-robust-fork.
10096 * nptl/tst-robust-fork.c: New file.
10097 * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
10098 xpthread_mutex_consistent, xpthread_mutex_destroy,
10099 xpthread_mutex_init, xpthread_mutexattr_destroy,
10100 xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
10101 xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
10102 xpthread_mutexattr_settype.
10103 * support/xmmap.c: New file.
10104 * support/xmunmap.c: Likewise.
10105 * support/xpthread_mutex_consistent.c: Likewise.
10106 * support/xpthread_mutex_destroy.c: Likewise.
10107 * support/xpthread_mutex_init.c: Likewise.
10108 * support/xpthread_mutexattr_destroy.c: Likewise.
10109 * support/xpthread_mutexattr_init.c: Likewise.
10110 * support/xpthread_mutexattr_setprotocol.c: Likewise.
10111 * support/xpthread_mutexattr_setpshared.c: Likewise.
10112 * support/xpthread_mutexattr_setrobust.c: Likewise.
10113 * support/xpthread_mutexattr_settype.c: Likewise.
10114 * support/xthread.h (xpthread_mutexattr_destroy)
10115 (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
10116 (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
10117 (xpthread_mutexattr_settype, xpthread_mutex_init)
10118 (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
10119 * support/xunistd.h (xmmap, xmunmap): Likewise.
10120
10121 2017-01-25 Florian Weimer <fweimer@redhat.com>
10122
10123 * string/Makefile (xtests): Add comment.
10124 (LOCALES): Add en_GB.UTF-8.
10125 (tst-strcoll-overflow.out): Depend on generated locales.
10126 * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
10127 (SIZE, TIMEOUT): Update comments.
10128 (do_test): Define as static. Fail test if setlocale fails.
10129 Return EXIT_UNSUPPORTED if insufficient memory. Enhance output
10130 messages.
10131 (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
10132 TIMEOUT at 300 seconds should be enough to run this test
10133 successfully.
10134
10135 2017-01-24 Jakub Jelinek <jakub@redhat.com>
10136
10137 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
10138 /* FALLTHRU */ comments.
10139
10140 2017-01-24 James Clarke <jrtc27@jrtc27.com>
10141
10142 [BZ #21053]
10143 * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
10144 constants instead of the old R* ones.
10145 * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
10146 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
10147 (NGREG): ... to this, to fit in with other architectures.
10148 (gpregset_t): Use new NGREG macro.
10149 [__USE_GNU]: Remove condition; all architectures other than tile
10150 are unconditional.
10151 (R*): Rename to REG_R*.
10152
10153 2017-01-20 DJ Delorie <dj@redhat.com>
10154
10155 * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
10156 (tunable_set_val_if_valid_range_signed) ... this, and ...
10157 (tunable_set_val_if_valid_range_unsigned) ... this.
10158 (tunable_initialize): Call the correct one of the above based on type.
10159
10160 2017-01-20 Joseph Myers <joseph@codesourcery.com>
10161
10162 * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
10163 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10164 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10165 * sysdeps/microblaze/libm-test-ulps: Likewise.
10166 * sysdeps/sh/libm-test-ulps: Likewise.
10167
10168 * math/README.libm-test: Update list of characters for input and
10169 output types.
10170
10171 2017-01-20 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10172
10173 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10174 (__lll_unlock_elision): Fix adapt_count decrement.
10175
10176 2017-01-14 Martin Galvan <martingalvan@sourceware.org>
10177
10178 * README.pretty-printers (Known issues): Warn about printers not
10179 always covering everything.
10180 * nptl/nptl-printers.py (MutexPrinter): Change output.
10181 * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
10182
10183 2017-01-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10184
10185 * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
10186 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10187 * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
10188 (__lll_lock_elision): Do not test futex before starting a
10189 transaction. Use __glibc_likely instead of __builtin_expect.
10190 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
10191 (__lll_trylock_elision): Do not test futex before starting a
10192 transaction. Use __glibc_likely instead of __builtin_expect.
10193
10194 2017-01-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
10195
10196 * po/Makefile (update-translations): New target.
10197
10198 2017-01-19 Joseph Myers <joseph@codesourcery.com>
10199
10200 [BZ #21061]
10201 * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
10202
10203 2017-01-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
10204
10205 * elf/dl-tunables (get_next_env): Always advance envp.
10206 * stdlib/tst-empty-env.c: New test case.
10207 * stdlib/Makefile (tests): Use it.
10208
10209 2017-01-19 Joseph Myers <joseph@codesourcery.com>
10210
10211 [BZ #21047]
10212 * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
10213 name for instruction.
10214 [!__SOFTFP__] (_FPU_SETCW): Likewise.
10215
10216 2017-01-18 Joseph Myers <joseph@codesourcery.com>
10217
10218 * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
10219 for make install.
10220
10221 2017-01-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
10222
10223 * po/bg.po: Merge from Translation Project.
10224 * po/fr.po: Likewise.
10225 * po/ko.po: Likewise.
10226 * po/nl.po: Likewise.
10227 * po/sv.po: Likewise.
10228
10229 2017-01-18 Joseph Myers <joseph@codesourcery.com>
10230
10231 * manual/install.texi (Tools for Compilation): Update GCC version
10232 known to work to build glibc.
10233 * INSTALL: Regenerated.
10234
10235 2017-01-17 Stefan Liebler <stli@linux.vnet.ibm.com>
10236
10237 [BZ #21006]
10238 * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
10239
10240 2017-01-16 Joseph Myers <joseph@codesourcery.com>
10241
10242 [BZ #21045]
10243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10244 (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
10245 to __sigprocmask.
10246
10247 2017-01-16 Chris Metcalf <cmetcalf@mellanox.com>
10248
10249 * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
10250 wrap-around.
10251 * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
10252
10253 * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
10254
10255 2016-01-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
10256
10257 * NEWS: Fix typo.
10258
10259 2016-01-13 Torvald Riegel <triegel@redhat.com>
10260
10261 * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
10262 barriers and comments.
10263 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
10264 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10265 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10266
10267 2016-01-13 Torvald Riegel <triegel@redhat.com>
10268
10269 [BZ #19402]
10270 * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
10271 mutexes.
10272
10273 2016-01-13 Torvald Riegel <triegel@redhat.com>
10274
10275 [BZ #20985]
10276 * nptl/Makefile: Adapt.
10277 * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10278 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10279 * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10280 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10281 (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
10282 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
10283 lll_robust* functions and adapt.
10284 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10285 * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
10286 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10287 __lll_robust_timedlock, __lll_robust_unlock): Remove.
10288 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
10289 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10290 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
10291 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10292 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
10293 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10294 __lll_robust_timedlock, __lll_robust_unlock): Remove.
10295 * nptl/lowlevelrobustlock.c: Remove file.
10296 * nptl/lowlevelrobustlock.sym: Likewise.
10297 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
10298 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
10299
10300 2017-01-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10301
10302 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10303
10304 2017-01-12 Siddhesh Poyarekar <siddhesh@sourceware.org>
10305
10306 * po/cs.po: Merge translations from the Translation Project.
10307 * po/de.po: Likewise.
10308 * po/pl.po: Likewise.
10309 * po/ru.po: Likewise.
10310 * po/tr.po: Likewise.
10311 * po/uk.po: Likewise.
10312 * po/vi.po: Likewise.
10313 * po/zh_CN.po: Likewise.
10314
10315 2017-01-12 Joseph Myers <joseph@codesourcery.com>
10316
10317 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
10318
10319 * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
10320 object.
10321
10322 2017-01-11 Joseph Myers <joseph@codesourcery.com>
10323
10324 [BZ #16458]
10325 * bits/uintn-identity.h: New file.
10326 * inet/netinet/in.h: Include <bits/uintn-identity.h>.
10327 [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
10328 [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
10329 [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
10330 [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
10331 * string/endian.h: Include <bits/uintn-identity.h>.
10332 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
10333 __uint16_identity.
10334 [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
10335 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
10336 __uint32_identity.
10337 [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
10338 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
10339 __uint64_identity.
10340 [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
10341 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
10342 __uint16_identity.
10343 [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
10344 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
10345 __uint32_identity.
10346 [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
10347 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
10348 __uint64_identity.
10349 [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
10350 * string/Makefile (headers): Add bits/uintn-identity.h.
10351 (tests): Add test-endian-types.
10352 * string/test-endian-types.c: New file.
10353 * inet/Makefile (tests): Add test-hnto-types.
10354 * inet/test-hnto-types.c: New file.
10355
10356 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10357
10358 * po/be.po: Update from Translation Project.
10359 * po/bg.po: Likewise.
10360 * po/ca.po: Likewise.
10361 * po/cs.po: Likewise.
10362 * po/da.po: Likewise.
10363 * po/de.po: Likewise.
10364 * po/el.po: Likewise.
10365 * po/eo.po: Likewise.
10366 * po/es.po: Likewise.
10367 * po/fi.po: Likewise.
10368 * po/fr.po: Likewise.
10369 * po/gl.po: Likewise.
10370 * po/hr.po: Likewise.
10371 * po/hu.po: Likewise.
10372 * po/ia.po: Likewise.
10373 * po/id.po: Likewise.
10374 * po/it.po: Likewise.
10375 * po/ja.po: Likewise.
10376 * po/ko.po: Likewise.
10377 * po/lt.po: Likewise.
10378 * po/nb.po: Likewise.
10379 * po/nl.po: Likewise.
10380 * po/pl.po: Likewise.
10381 * po/pt_BR.po: Likewise.
10382 * po/ru.po: Likewise.
10383 * po/rw.po: Likewise.
10384 * po/sk.po: Likewise.
10385 * po/sl.po: Likewise.
10386 * po/sv.po: Likewise.
10387 * po/tr.po: Likewise.
10388 * po/uk.po: Likewise.
10389 * po/vi.po: Likewise.
10390 * po/zh_CN.po: Likewise.
10391 * po/zh_TW.po: Likewise.
10392
10393 2017-01-11 Joseph Myers <joseph@codesourcery.com>
10394
10395 * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
10396 -Wformat-truncation instead of -Wformat-length.
10397 * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
10398 * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
10399 GCC 7.
10400 * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
10401 (do_test): Ignore -Wformat-truncation for GCC 7.
10402
10403 * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
10404 buffer used to print long int value.
10405
10406 * elf/sotruss-lib.c (init): Increase space allocated for pid by
10407 one byte. Print it with %ld, cast to long int.
10408
10409 2017-01-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
10410
10411 * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
10412 (re.fullmatch, subprocess.run): Likewise.
10413
10414 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10415
10416 * po/libc.pot: Regenerate.
10417
10418 2016-01-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
10419
10420 * elf/dl-tunables.c (tunables_unsetenv): Remove function.
10421 (min_strlen): Likewise.
10422 (disable_tunable): Likewise.
10423 (maybe_disable_malloc_check): Rename to
10424 maybe_enable_malloc_check.
10425 (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
10426 if /etc/suid-debug file exists.
10427 (__tunables_init): Update caller.
10428 * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
10429 secure.
10430
10431 2016-01-10 Torvald Riegel <triegel@redhat.com>
10432
10433 * nptl/DESIGN-rwlock.txt: Remove.
10434 * nptl/lowlevelrwlock.sym: Remove.
10435 * nptl/Makefile: Add new tests.
10436 * nptl/pthread_rwlock_common.c: New file. Contains the new rwlock.
10437 * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
10438 (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
10439 PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
10440 PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
10441 PTHREAD_RWLOCK_FUTEX_USED): New.
10442 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
10443 implementation.
10444 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
10445 (__pthread_rwlock_rdlock): Adapt.
10446 * nptl/pthread_rwlock_timedrdlock.c
10447 (pthread_rwlock_timedrdlock): Adapt.
10448 * nptl/pthread_rwlock_timedwrlock.c
10449 (pthread_rwlock_timedwrlock): Adapt.
10450 * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
10451 * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
10452 * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
10453 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
10454 (__pthread_rwlock_wrlock): Adapt.
10455 * nptl/tst-rwlock10.c: Adapt.
10456 * nptl/tst-rwlock11.c: Adapt.
10457 * nptl/tst-rwlock17.c: New file.
10458 * nptl/tst-rwlock18.c: New file.
10459 * nptl/tst-rwlock19.c: New file.
10460 * nptl/tst-rwlock2b.c: New file.
10461 * nptl/tst-rwlock8.c: Adapt.
10462 * nptl/tst-rwlock9.c: Adapt.
10463 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10464 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10465 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10466 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10467 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10468 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10469 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10470 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10471 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10472 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10473 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10474 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10475 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
10476 (pthread_rwlock_t): Adapt.
10477 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10478 (pthread_rwlock_t): Adapt.
10479 * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10480 * nptl/nptl-printers.py (): Adapt.
10481 * nptl/nptl_lock_constants.pysym: Adapt.
10482 * nptl/test-rwlock-printers.py: Adapt.
10483 * nptl/test-rwlockattr-printers.c: Adapt.
10484 * nptl/test-rwlockattr-printers.py: Adapt.
10485
10486 2017-01-10 Joseph Myers <joseph@codesourcery.com>
10487
10488 * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
10489 (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
10490 (fma_test_data): Likewise.
10491 (hypot_test_data): Likewise.
10492 (log1p_test_data): Likewise.
10493 (modf_test_data): Likewise.
10494 (pow_test_data): Likewise.
10495 (remainder_test_data): Likewise.
10496 (remquo_test_data): Likewise.
10497 (scalb_test_data): Likewise.
10498 (scalbn_test_data): Likewise.
10499 (scalbln_test_data): Likewise.
10500 * math/gen-libm-test.pl (parse_args): Transform
10501 XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
10502 on the rounding mode.
10503
10504 2017-01-09 Joseph Myers <joseph@codesourcery.com>
10505
10506 * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
10507 xfail-rounding:ibm128-libgcc automatically to tests overflowing
10508 and those that can underflow to zero.
10509 * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
10510 add others.
10511 * math/auto-libm-test-out: Regenerated.
10512
10513 * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
10514 supported.
10515 (feholdexcept_tests): Skip tests requiring exceptions or rounding
10516 modes support if not supported.
10517
10518 * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
10519 Add libc.so PLT entry.
10520 (__tls_get_addr): Make ld.so PLT entry optional.
10521
10522 2017-01-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10523
10524 * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
10525 * string/bits/string3.h: ... here.
10526
10527 2017-01-05 Joseph Myers <joseph@codesourcery.com>
10528
10529 [BZ #21028]
10530 * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
10531 * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
10532 if EXCEPTION_TESTS returns false.
10533
10534 2017-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10535
10536 [BZ #20558]
10537 * string/bits/string3.h [__USE_MISC] (bcopy): Move to
10538 strings_fortified.h.
10539 [__USE_MISC] (bzero): Likewise.
10540 [__USE_MISC] (explicit_bzero): Likewise.
10541 * string/strings.h: Include strings_fortified.h.
10542 * string/Makefile (headers): Add strings_fortified.h.
10543 * string/bits/strings_fortified.h: New file.
10544 * include/bits/strings_fortified.h: Likewise.
10545
10546 2017-01-05 Joseph Myers <joseph@codesourcery.com>
10547
10548 * elf/tst-tls13.c (TIMEOUT): Remove.
10549 * iconvdata/tst-loading.c (TIMEOUT): Likewise.
10550 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
10551 * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
10552 * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
10553 * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
10554
10555 [BZ #21026]
10556 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
10557 (readahead): New syscall entry.
10558
10559 2017-01-04 Joseph Myers <joseph@codesourcery.com>
10560
10561 * string/tester.c (test_strncat): Disable -Wstringop-overflow=
10562 around tests of strncat with large sizes.
10563
10564 * malloc/tst-malloc.c: Include <libc-internal.h>.
10565 (do_test): Disable -Walloc-size-larger-than= around tests of
10566 malloc with negative sizes.
10567 * malloc/tst-mcheck.c: Include <libc-internal.h>.
10568 (do_test): Disable -Walloc-size-larger-than= around tests of
10569 malloc and realloc with negative sizes.
10570 * malloc/tst-realloc.c: Include <libc-internal.h>.
10571 (do_test): Disable -Walloc-size-larger-than= around tests of
10572 realloc with negative sizes.
10573
10574 * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
10575 (init_max_error) [TEST_COND_ibm128]: Increase maximum error
10576 allowed to 16 ulps.
10577 * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
10578 ibm128-libgcc. XFAIL more tests for ibm128-libgcc.
10579 * math/auto-libm-test-out: Regenerated.
10580
10581 2017-01-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10582
10583 * math/Makefile (libm-calls): Move wrappers...
10584 (libm-compat-call-auto): Here.
10585 (libm-routines): Add items in libm-compat-calls-auto.
10586 * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
10587 the filenames of the wrappers that have been renamed.
10588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
10589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10590
10591 * math/w_acos.c: Add _compat suffix to filename.
10592 * math/w_acosf.c: Likewise.
10593 * math/w_acosh.c: Likewise.
10594 * math/w_acoshf.c: Likewise.
10595 * math/w_acoshl.c: Likewise.
10596 * math/w_acosl.c: Likewise.
10597 * math/w_asin.c: Likewise.
10598 * math/w_asinf.c: Likewise.
10599 * math/w_asinl.c: Likewise.
10600 * math/w_atan2.c: Likewise.
10601 * math/w_atan2f.c: Likewise.
10602 * math/w_atan2l.c: Likewise.
10603 * math/w_atanh.c: Likewise.
10604 * math/w_atanhf.c: Likewise.
10605 * math/w_atanhl.c: Likewise.
10606 * math/w_cosh.c: Likewise.
10607 * math/w_coshf.c: Likewise.
10608 * math/w_coshl.c: Likewise.
10609 * math/w_exp10.c: Likewise.
10610 * math/w_exp10f.c: Likewise.
10611 * math/w_exp10l.c: Likewise.
10612 * math/w_exp2.c: Likewise.
10613 * math/w_exp2f.c: Likewise.
10614 * math/w_exp2l.c: Likewise.
10615 * math/w_fmod.c: Likewise.
10616 * math/w_fmodf.c: Likewise.
10617 * math/w_fmodl.c: Likewise.
10618 * math/w_hypot.c: Likewise.
10619 * math/w_hypotf.c: Likewise.
10620 * math/w_hypotl.c: Likewise.
10621 * math/w_j0.c: Likewise.
10622 * math/w_j0f.c: Likewise.
10623 * math/w_j0l.c: Likewise.
10624 * math/w_j1.c: Likewise.
10625 * math/w_j1f.c: Likewise.
10626 * math/w_j1l.c: Likewise.
10627 * math/w_jn.c: Likewise.
10628 * math/w_jnf.c: Likewise.
10629 * math/w_jnl.c: Likewise.
10630 * math/w_log10.c: Likewise.
10631 * math/w_log10f.c: Likewise.
10632 * math/w_log10l.c: Likewise.
10633 * math/w_log2.c: Likewise.
10634 * math/w_log2f.c: Likewise.
10635 * math/w_log2l.c: Likewise.
10636 * math/w_log.c: Likewise.
10637 * math/w_logf.c: Likewise.
10638 * math/w_logl.c: Likewise.
10639 * math/w_pow.c: Likewise.
10640 * math/w_powf.c: Likewise.
10641 * math/w_powl.c: Likewise.
10642 * math/w_remainder.c: Likewise.
10643 * math/w_remainderf.c: Likewise.
10644 * math/w_remainderl.c: Likewise.
10645 * math/w_scalb.c: Likewise.
10646 * math/w_scalbf.c: Likewise.
10647 * math/w_scalbl.c: Likewise.
10648 * math/w_sinh.c: Likewise.
10649 * math/w_sinhf.c: Likewise.
10650 * math/w_sinhl.c: Likewise.
10651 * math/w_sqrt.c: Likewise.
10652 * math/w_sqrtf.c: Likewise.
10653 * math/w_sqrtl.c: Likewise.
10654 * math/w_tgamma.c: Likewise.
10655 * math/w_tgammaf.c: Likewise.
10656 * math/w_tgammal.c: Likewise.
10657
10658 * math/w_acos_compat.c: New file copied from above and
10659 adjusted for new #includes path
10660 * math/w_acosf_compat.c: Likewise.
10661 * math/w_acosh_compat.c: Likewise.
10662 * math/w_acoshf_compat.c: Likewise.
10663 * math/w_acoshl_compat.c: Likewise.
10664 * math/w_acosl_compat.c: Likewise.
10665 * math/w_asin_compat.c: Likewise.
10666 * math/w_asinf_compat.c: Likewise.
10667 * math/w_asinl_compat.c: Likewise.
10668 * math/w_atan2_compat.c: Likewise.
10669 * math/w_atan2f_compat.c: Likewise.
10670 * math/w_atan2l_compat.c: Likewise.
10671 * math/w_atanh_compat.c: Likewise.
10672 * math/w_atanhf_compat.c: Likewise.
10673 * math/w_atanhl_compat.c: Likewise.
10674 * math/w_cosh_compat.c: Likewise.
10675 * math/w_coshf_compat.c: Likewise.
10676 * math/w_coshl_compat.c: Likewise.
10677 * math/w_exp10_compat.c: Likewise.
10678 * math/w_exp10f_compat.c: Likewise.
10679 * math/w_exp10l_compat.c: Likewise.
10680 * math/w_exp2_compat.c: Likewise.
10681 * math/w_exp2f_compat.c: Likewise.
10682 * math/w_exp2l_compat.c: Likewise.
10683 * math/w_fmod_compat.c: Likewise.
10684 * math/w_fmodf_compat.c: Likewise.
10685 * math/w_fmodl_compat.c: Likewise.
10686 * math/w_hypot_compat.c: Likewise.
10687 * math/w_hypotf_compat.c: Likewise.
10688 * math/w_hypotl_compat.c: Likewise.
10689 * math/w_j0_compat.c: Likewise.
10690 * math/w_j0f_compat.c: Likewise.
10691 * math/w_j0l_compat.c: Likewise.
10692 * math/w_j1_compat.c: Likewise.
10693 * math/w_j1f_compat.c: Likewise.
10694 * math/w_j1l_compat.c: Likewise.
10695 * math/w_jn_compat.c: Likewise.
10696 * math/w_jnf_compat.c: Likewise.
10697 * math/w_jnl_compat.c: Likewise.
10698 * math/w_log10_compat.c: Likewise.
10699 * math/w_log10f_compat.c: Likewise.
10700 * math/w_log10l_compat.c: Likewise.
10701 * math/w_log2_compat.c: Likewise.
10702 * math/w_log2f_compat.c: Likewise.
10703 * math/w_log2l_compat.c: Likewise.
10704 * math/w_log_compat.c: Likewise.
10705 * math/w_logf_compat.c: Likewise.
10706 * math/w_logl_compat.c: Likewise.
10707 * math/w_pow_compat.c: Likewise.
10708 * math/w_powf_compat.c: Likewise.
10709 * math/w_powl_compat.c: Likewise.
10710 * math/w_remainder_compat.c: Likewise.
10711 * math/w_remainderf_compat.c: Likewise.
10712 * math/w_remainderl_compat.c: Likewise.
10713 * math/w_scalb_compat.c: Likewise.
10714 * math/w_scalbf_compat.c: Likewise.
10715 * math/w_scalbl_compat.c: Likewise.
10716 * math/w_sinh_compat.c: Likewise.
10717 * math/w_sinhf_compat.c: Likewise.
10718 * math/w_sinhl_compat.c: Likewise.
10719 * math/w_sqrt_compat.c: Likewise.
10720 * math/w_sqrtf_compat.c: Likewise.
10721 * math/w_sqrtl_compat.c: Likewise.
10722 * math/w_tgamma_compat.c: Likewise.
10723 * math/w_tgammaf_compat.c: Likewise.
10724 * math/w_tgammal_compat.c: Likewise.
10725
10726 * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
10727 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
10728 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
10729 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
10730 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
10731 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
10732 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
10733 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
10734 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
10735 * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
10736 * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
10737 * sysdeps/ia64/fpu/w_scalb.c: Likewise.
10738 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
10739 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
10740 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
10741 * sysdeps/ia64/fpu/w_powl.c: Likewise.
10742 * sysdeps/ia64/fpu/w_powf.c: Likewise.
10743 * sysdeps/ia64/fpu/w_pow.c: Likewise.
10744 * sysdeps/ia64/fpu/w_logl.c: Likewise.
10745 * sysdeps/ia64/fpu/w_logf.c: Likewise.
10746 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
10747 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
10748 * sysdeps/ia64/fpu/w_log2.c: Likewise.
10749 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
10750 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
10751 * sysdeps/ia64/fpu/w_log10.c: Likewise.
10752 * sysdeps/ia64/fpu/w_log.c: Likewise.
10753 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
10754 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
10755 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
10756 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
10757 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
10758 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
10759 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
10760 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
10761 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
10762 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
10763 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
10764 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
10765 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
10766 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
10767 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
10768 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
10769 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
10770 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
10771 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
10772 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
10773 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
10774 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
10775 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
10776 * sysdeps/ia64/fpu/w_asin.c: Likewise.
10777 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
10778 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
10779 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
10780 * sysdeps/ia64/fpu/w_acos.c: Likewise.
10781 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
10782 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
10783 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
10784 * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
10785 * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
10786 * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
10787 * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
10788 * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
10789 * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
10790 * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
10791 * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
10792 * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
10793 * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
10794 * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
10795 * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
10796 * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
10797 * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
10798 * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
10799 * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
10800 * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
10801 * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
10802 * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
10803 * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
10804 * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
10805 * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
10806 * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
10807 * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
10808 * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
10809 * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
10810 * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
10811 * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
10812 * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
10813 * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
10814 * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
10815 * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
10816 * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
10817 * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
10818 * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
10819 * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
10820 * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
10821 * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
10822 * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
10823 * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
10824 * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
10825 * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
10826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
10827 Likewise.
10828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
10829 Likewise.
10830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
10831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
10832 Likewise.
10833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
10834 Likewise.
10835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
10836 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10837 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10838 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10839 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10840 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10841 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
10843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
10845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10846 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10847 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10848 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10849 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10850
10851 * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
10852 and adjusted for new #includes path
10853 * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
10854 * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
10855 * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
10856 * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
10857 * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
10858 * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
10859 * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
10860 * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
10861 * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
10862 * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
10863 * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
10864 * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
10865 * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
10866 * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
10867 * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
10868 * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
10869 * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
10870 * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
10871 * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
10872 * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
10873 * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
10874 * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
10875 * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
10876 * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
10877 * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
10878 * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
10879 * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
10880 * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
10881 * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
10882 * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
10883 * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
10884 * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
10885 * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
10886 * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
10887 * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
10888 * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
10889 * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
10890 * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
10891 * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
10892 * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
10893 * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
10894 * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
10895 * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
10896 * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
10897 * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
10898 * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
10899 * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
10900 * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
10901 * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
10902 * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
10903 * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
10904 * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
10905 * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
10906 * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
10907 * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
10908 * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
10909 * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
10910 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
10911 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
10912 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
10913 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
10914 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
10915 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
10916 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
10917 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
10918 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
10919 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
10920 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
10921 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
10922 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
10923 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
10924 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
10925 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
10926 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
10927 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
10928 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
10929 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
10930 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
10931 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
10932 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
10933 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
10934 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
10935 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
10936 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
10937 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
10938 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
10939 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
10940 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
10941 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
10942 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
10943 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
10944 * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
10945 * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
10946 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
10947 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
10948 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
10949 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
10950 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
10951 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
10952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
10953 Likewise.
10954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
10955 Likewise.
10956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
10957 Likewise.
10958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
10959 Likewise.
10960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
10961 Likewise.
10962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
10963 Likewise.
10964 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
10965 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
10966 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
10967 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
10968 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
10969 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
10970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
10971 Likewise.
10972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
10973 Likewise.
10974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
10975 Likewise.
10976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
10977 Likewise.
10978 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
10979 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
10980 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
10981 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
10982
10983 2017-01-04 Joseph Myers <joseph@codesourcery.com>
10984
10985 * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
10986 __jmp_buf_internal_tag.
10987
10988 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
10989 preserve NaN payload if [__mips_nan2008].
10990 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
10991
10992 [BZ #21022]
10993 * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
10994
10995 2017-01-03 Joseph Myers <joseph@codesourcery.com>
10996
10997 * sysdeps/i386/fpu/libm-test-ulps: Update.
10998
10999 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11000
11001 * sysdeps/ia64/strcat.c: Remove file.
11002 * sysdeps/powerpc/strcat.c: Likewise.
11003 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
11004 C implementation.
11005 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
11006 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
11007
11008 2017-01-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11009 Steven Munroe <sjmunroe@us.ibm.com>
11010 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11011
11012 [BZ #20822]
11013 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11014 (__lll_lock_elision): Access adapt_count via C11 atomics.
11015 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11016 (__lll_trylock_elision): Likewise.
11017 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
11018 (__lll_unlock_elision): Update adapt_count variable inside the
11019 critical section using C11 atomics.
11020
11021 2017-01-03 Joseph Myers <joseph@codesourcery.com>
11022
11023 * math/test-fenvinline.c (do_test): Disable tests of raised
11024 exceptions if !EXCEPTION_TESTS (FLOAT).
11025
11026 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11027
11028 [BZ #19390]
11029 * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
11030 maximum string size.
11031 * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
11032 in pointer addition.
11033 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
11034 Likewise.
11035
11036 2017-01-03 Joseph Myers <joseph@codesourcery.com>
11037
11038 * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
11039 passed to tst-ldconfig-X.sh.
11040
11041 2017-01-03 Martin Galvan <martingalvan@sourceware.org>
11042
11043 * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
11044
11045 2017-01-02 Joseph Myers <joseph@codesourcery.com>
11046
11047 [BZ #21019]
11048 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
11049 New syscall entry.
11050 * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
11051 * io/test-lfs.c (do_test): Test offset returned from lseek64 and
11052 lseek.
11053
11054 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
11055 power4 glibc for powerpc-linux-gnu.
11056
11057 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11058
11059 * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
11060 semctl.
11061
11062 2017-01-02 Joseph Myers <joseph@codesourcery.com>
11063
11064 * math/test-nearbyint-except.c: Include <stdbool.h>.
11065 (any_supported): New variable.
11066 (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT). Otherwise
11067 set any_supported.
11068 (do_test): Return 77 if no floating-point type supported
11069 exceptions.
11070
11071 * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
11072 condition on [__mips_hard_float].
11073
11074 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11075
11076 [BZ #21014]
11077 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
11078 in pointer addition.
11079 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
11080
11081 2017-01-02 Torvald Riegel <triegel@redhat.com>
11082
11083 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
11084 new condvar.
11085
11086 2017-01-02 Joseph Myers <joseph@codesourcery.com>
11087
11088 * scripts/build-many-glibcs.py (Context.checkout): Default
11089 binutils version to 2.28 branch.
11090
11091 2017-01-01 Florian Weimer <fweimer@redhat.com>
11092
11093 * support/support_format_netent.c (support_format_netent): Work
11094 around alpha struct netent definition difference.
11095
11096 2017-01-01 Florian Weimer <fweimer@redhat.com>
11097
11098 * support/xwrite.c (xwrite): Use %td for pointer difference.
11099
11100 2017-01-01 Florian Weimer <fweimer@redhat.com>
11101
11102 * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
11103 have-tunables only.
11104 (tests-static): Add tst-malloc-usable-static-tunables for
11105 have-tunables only.
11106
11107 2017-01-01 Joseph Myers <joseph@codesourcery.com>
11108
11109 * scripts/config.guess: Update to version 2017-01-01.
11110 * scripts/config.sub: Update to version 2017-01-01.
11111
11112 * NEWS: Update copyright dates.
11113 * catgets/gencat.c (print_version): Likewise.
11114 * csu/version.c (banner): Likewise.
11115 * debug/catchsegv.sh: Likewise.
11116 * debug/pcprofiledump.c (print_version): Likewise.
11117 * debug/xtrace.sh (do_version): Likewise.
11118 * elf/ldconfig.c (print_version): Likewise.
11119 * elf/ldd.bash.in: Likewise.
11120 * elf/pldd.c (print_version): Likewise.
11121 * elf/sotruss.sh: Likewise.
11122 * elf/sprof.c (print_version): Likewise.
11123 * iconv/iconv_prog.c (print_version): Likewise.
11124 * iconv/iconvconfig.c (print_version): Likewise.
11125 * locale/programs/locale.c (print_version): Likewise.
11126 * locale/programs/localedef.c (print_version): Likewise.
11127 * login/programs/pt_chown.c (print_version): Likewise.
11128 * malloc/memusage.sh (do_version): Likewise.
11129 * malloc/memusagestat.c (print_version): Likewise.
11130 * malloc/mtrace.pl: Likewise.
11131 * manual/libc.texinfo: Likewise.
11132 * nptl/version.c (banner): Likewise.
11133 * nscd/nscd.c (print_version): Likewise.
11134 * nss/getent.c (print_version): Likewise.
11135 * nss/makedb.c (print_version): Likewise.
11136 * posix/getconf.c (main): Likewise.
11137 * scripts/test-installation.pl: Likewise.
11138 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11139
11140 * All files with FSF copyright notices: Update copyright dates
11141 using scripts/update-copyrights.
11142 * intl/plural.c: Regenerated.
11143 * locale/programs/charmap-kw.h: Likewise.
11144 * locale/programs/locfile-kw.h: Likewise.
11145
11146 2016-12-31 Florian Weimer <fweimer@redhat.com>
11147
11148 [BZ #20593]
11149 Update DNS RR type definitions.
11150 * scripts/gen-rrtypes.py: New file.
11151 * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
11152 BIND-internal RR type not used on the Internet. Add ns_t_ds,
11153 ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
11154 ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
11155 ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
11156 ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
11157 ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
11158 ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
11159 ns_t_ta, ns_t_dlv.
11160 * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
11161 (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
11162 (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
11163 (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
11164 (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
11165 (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
11166 Define.
11167 * resolv/res_debug.c (__p_type_syms): Update comment. Remove
11168 entry for ns_t_zxfr.
11169
11170 2016-12-31 Florian Weimer <fweimer@redhat.com>
11171
11172 [BZ #18784]
11173 CVE-2015-5180
11174 * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
11175 T_UNSPEC. Adjust value.
11176 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
11177 * resolv/res_query.c (__libc_res_nquery): Likewise.
11178 * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
11179 QTYPEs.
11180 * resolv/tst-resolv-qtypes.c: New file.
11181 * resolv/Makefile (xtests): Add tst-resolv-qtypes.
11182 (tst-resolv-qtypes): Link against libresolv and libpthread.
11183
11184 2016-12-31 Florian Weimer <fweimer@redhat.com>
11185
11186 * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
11187
11188 2016-12-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
11189
11190 * manual/tunables.texi: New chapter.
11191 * manual/Makefile (chapters): Add it.
11192 * manual/probes.texi (@node): Point to the Tunables chapter.
11193
11194 * Makeconfig (have-tunables): Check for non-negative instead
11195 of positive.
11196 * configure.ac: Add 'valstring' as a valid value for
11197 --enable-tunables.
11198 * configure: Regenerate.
11199 * elf/Makefile (have-tunables): Check for non-negative instead
11200 of positive.
11201 (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
11202 dl-tunables.c.
11203 * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
11204 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11205 (tunables_strdup): Likewise.
11206 (disable_tunables): Likewise.
11207 (parse_tunables): Likewise.
11208 (__tunables_init): Process GLIBC_TUNABLES envvar only when.
11209 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11210 * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
11211 (TUNABLES_FRONTEND_yes): New macro, define as
11212 TUNABLES_FRONTEND_valstring by default.
11213 * manual/install.texi: Document new acceptable values for
11214 --enable-tunables.
11215 * INSTALL: Regenerate.
11216
11217 * config.make.in (have-loop-to-function): Define.
11218 * elf/Makefile (CFLAGS-dl-tunables.c): Add
11219 -fno-tree-loop-distribute-patterns.
11220 * elf/dl-tunables.c: Include libc-internals.h.
11221 (GLIBC_TUNABLES): New macro.
11222 (tunables_strdup): New function.
11223 (parse_tunables): New function.
11224 (min_strlen): New function.
11225 (__tunables_init): Use the new functions and macro.
11226 (disable_tunable): Disable tunable from GLIBC_TUNABLES.
11227 * malloc/tst-malloc-usable-tunables.c: New test case.
11228 * malloc/tst-malloc-usable-static-tunables.c: New test case.
11229 * malloc/Makefile (tests, tests-static): Add tests.
11230
11231 * manual/install.texi: Add --enable-tunables option.
11232 * INSTALL: Regenerate.
11233 * README.tunables: New file.
11234 * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
11235 (before-compile): Generate dl-tunable-list.h early.
11236 * config.h.in: Add HAVE_TUNABLES.
11237 * config.make.in: Add have-tunables.
11238 * configure.ac: Add --enable-tunables option.
11239 * configure: Regenerate.
11240 * csu/init-first.c (__libc_init_first): Move
11241 __libc_init_secure earlier...
11242 * csu/init-first.c (LIBC_START_MAIN):... to here.
11243 Include dl-tunables.h, libc-internal.h.
11244 (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
11245 binaries.
11246 * elf/Makefile (dl-routines): Add dl-tunables.
11247 * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
11248 namespace.
11249 * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
11250 only when !HAVE_TUNABLES.
11251 * elf/rtld.c (process_envvars): Likewise.
11252 * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
11253 (_dl_sysdep_start): Call __tunables_init.
11254 * elf/dl-tunable-types.h: New file.
11255 * elf/dl-tunables.c: New file.
11256 * elf/dl-tunables.h: New file.
11257 * elf/dl-tunables.list: New file.
11258 * malloc/tst-malloc-usable-static.c: New test case.
11259 * malloc/Makefile (tests-static): Add it.
11260 * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
11261 Define TUNABLE_NAMESPACE.
11262 (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
11263 (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define
11264 callback functions.
11265 (ptmalloc_init): Set tunable values.
11266 * scripts/gen-tunables.awk: New file.
11267 * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
11268 (_dl_sysdep_start): Call __tunables_init.
11269
11270 2016-12-31 Florian Weimer <fweimer@redhat.com>
11271
11272 * resolv/resolv.h (RES_BLAST): Deprecate.
11273 * resolv/res_debug.c (p_option): Remove RES_BLAST.
11274 * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
11275 to RES_BLAST.
11276
11277 2016-12-27 Florian Weimer <fweimer@redhat.com>
11278
11279 [BZ #19582]
11280 Deprecate RES_USE_INET6.
11281 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
11282 (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
11283 (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
11284 RES_USE_INET6.
11285 * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
11286 (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
11287 (_nss_nisplus_gethostbyaddr_r): Likewise.
11288 * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
11289 of res_use_inet6.
11290 * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
11291 instead of RES_USE_INET6.
11292 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
11293 * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
11294 (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
11295 Likewise.
11296 * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
11297 (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
11298 Likewise.
11299 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
11300 (_nss_dns_gethostbyname_r): Likewise.
11301 (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
11302 alternate RES_USE_INET6 handling.
11303 * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
11304 instead of RES_USE_INET6.
11305 * resolv/res_init.c (res_setoptions): Likewise.
11306 * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
11307 * resolv/resolv-internal.h: New file.
11308 * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
11309 make the deprecation warning non-fatal.
11310 * resolv/README (Using the resolver in multi-threaded code): Drop
11311 reference to RES_USE_INET6.
11312 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
11313 DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
11314
11315 2016-12-31 Florian Weimer <fweimer@redhat.com>
11316
11317 * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
11318 tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
11319 tst-resolv-search.
11320 (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
11321 (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
11322 with libresolv and libpthread.
11323 * resolv/tst-bug18665.c: New file.
11324 * resolv/tst-bug18665-tcp: Likewise.
11325 * resolv/tst-res_use_inet6: Likewise.
11326 * resolv/tst-resolv-basic: Likewise.
11327 * resolv/tst-resolv-network: Likewise.
11328 * resolv/tst-resolv-search: Likewise.
11329 * support/Makefile (libsupport-routines): Add check_addrinfo,
11330 check_dns_packet, check_hostent, check_netent, resolv_test,
11331 support_format_address_family, support_format_addrinfo,
11332 support_format_dns_packet, support_format_herrno,
11333 support_format_hostent, support_format_netent, support_run_diff,
11334 xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
11335 xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
11336 xstrdup, xwrite.
11337 * support/check_addrinfo.c: New file.
11338 * support/check_dns_packet.c: Likewise.
11339 * support/check_hostent.c: Likewise.
11340 * support/check_netent.c: Likewise.
11341 * support/check_nss.h: Likewise.
11342 * support/format_nss.h: Likewise.
11343 * support/resolv_test.c: Likewise.
11344 * support/resolv_test.h: Likewise.
11345 * support/run_diff.h: Likewise.
11346 * support/support_format_address_family.c: Likewise.
11347 * support/support_format_addrinfo.c: Likewise.
11348 * support/support_format_dns_packet.c: Likewise.
11349 * support/support_format_herrno.c: Likewise.
11350 * support/support_format_hostent.c: Likewise.
11351 * support/support_format_netent.c: Likewise.
11352 * support/support_run_diff.c: Likewise.
11353 * support/xaccept.c: Likewise.
11354 * support/xbind.c: Likewise.
11355 * support/xconnect.c: Likewise.
11356 * support/xfclose.c: Likewise.
11357 * support/xfopen.c: Likewise.
11358 * support/xgetsockname.c: Likewise.
11359 * support/xlisten.c: Likewise.
11360 * support/xmemstream.c: Likewise.
11361 * support/xmemstream.h: Likewise.
11362 * support/xpoll.c: Likewise.
11363 * support/xpthread_once.c: Likewise.
11364 * support/xrecvfrom.c: Likewise.
11365 * support/xsendto.c: Likewise.
11366 * support/xsetsockopt.c: Likewise.
11367 * support/xstdio.h: Likewise.
11368 * support/xstrdup.c: Likewise.
11369 * support/support.h (xstrdup): Declare.
11370 * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
11371 (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
11372 * support/xthread.h (xpthread_once): Likwise.
11373 * support/xunistd.h (xwrite): Declare.
11374
11375 2016-12-31 Florian Weimer <fweimer@redhat.com>
11376
11377 * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
11378 (test_verbose): Declare.
11379 * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
11380 * support/support_test_main.c (default_options): Likewise.
11381 (usage, support_test_main): Handle 'v'.
11382 (test_verbose): Define.
11383 * support/tst-support_record_failure.c (do_test): Use
11384 test_verbose.
11385 * support/tst-support_record_failure-2.sh (different_status): Add
11386 --verbose test.
11387
11388 2016-12-31 Florian Weimer <fweimer@redhat.com>
11389
11390 * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
11391 test failures are recorded.
11392 * support/check.c (support_print_failure_impl): Call
11393 support_record_failure.
11394 (support_exit_failure_impl): Call support_record_failure if status
11395 indicates failure.
11396 * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
11397 * support/xasprintf.c (xasprintf): Likewise.
11398 * support/xfork.c (xfork): Likewise.
11399 * support/xpthread_check_return.c (xpthread_check_return):
11400 Likewise.
11401 * support/xsocket.c (xsocket): Likeweise.
11402 * support/xwaitpid.c (xwaitpid): Likewise.
11403 * support/support_record_failure.c (struct test_failures): Adjust
11404 to coding style.
11405 * support/support_test_verify_impl.c (support_test_verify_impl):
11406 Adjust error messages.
11407 * support/tst-support_record_failure-2.sh (different_status):
11408 Adjust error messages.
11409
11410 2016-12-31 Florian Weimer <fweimer@redhat.com>
11411
11412 * support/namespace.h: New file.
11413 * support/support_become_root.c: Likewise.
11414 * support/support_enter_network_namespace.c: Likewise.
11415 * support/tst-support-namespace.c: Likewise.
11416 * support/xsocket.c: Likewise.
11417 * support/xsocket.h: Likewise.
11418 * support/Makefile (libsupport-routines): Add support_become_root,
11419 support_enter_network_namespace, xsocket.
11420 (tests): Add tst-support-namespace.
11421
11422 2016-12-31 Florian Weimer <fweimer@redhat.com>
11423
11424 [BZ #17252]
11425 * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
11426 __USE_GNU.
11427
11428 2016-12-31 Torvald Riegel <triegel@redhat.com>
11429
11430 [BZ #13165]
11431 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
11432 use new algorithm.
11433 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11434 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11435 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11436 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11437 (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
11438 (__condvar_confirm_wakeup, __condvar_cancel_waiting,
11439 __condvar_cleanup_waiting, __condvar_dec_grefs,
11440 __pthread_cond_wait_common): New.
11441 (__condvar_cleanup): Remove.
11442 * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
11443 * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
11444 Likewise.
11445 * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
11446 Likewise.
11447 * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
11448 * nptl/tst-cond1.c: Add comment.
11449 * nptl/tst-cond20.c (do_test): Adapt.
11450 * nptl/tst-cond22.c (do_test): Likewise.
11451 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
11452 structure.
11453 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11454 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11455 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11456 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
11457 Likewise.
11458 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11459 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11460 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11461 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11462 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11463 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
11464 Likewise.
11465 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
11466 Likewise.
11467 * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11468 * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
11469 (COND_CLOCK_BITS): Adapt.
11470 * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
11471 * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
11472 __PTHREAD_COND_SHARED_MASK): New.
11473 * nptl/nptl-printers.py (CLOCK_IDS): Remove.
11474 (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
11475 * nptl/nptl_lock_constants.pysym: Adapt.
11476 * nptl/test-cond-printers.py: Adapt.
11477 * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
11478 cond_compat_check_and_clear): Adapt.
11479 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
11480 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11481 (__pthread_cond_timedwait): ... and move here.
11482 * nptl/DESIGN-condvar.txt: Remove file.
11483 * nptl/lowlevelcond.sym: Likewise.
11484 * nptl/pthread_cond_timedwait.c: Likewise.
11485 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
11486 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
11487 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
11488 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
11489 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
11490 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
11491 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
11492 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
11493 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
11494 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
11495 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
11496 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
11497 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
11498 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
11499 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
11500 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
11501
11502 2016-12-31 Joseph Myers <joseph@codesourcery.com>
11503
11504 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11505 (fromfp): New declaration.
11506 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11507 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11508 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11509 * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
11510 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
11511 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11512 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11513 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11514 * math/math.h: Include <bits/types.h>.
11515 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
11516 constant and macro.
11517 (FP_INT_DOWNWARD): Likewise.
11518 (FP_INT_TOWARDZERO): Likewise.
11519 (FP_INT_TONEARESTFROMZERO): Likewise.
11520 (FP_INT_TONEAREST): Likewise.
11521 * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
11522 (fromfpf): Likewise.
11523 (fromfpl): Likewise.
11524 (ufromfp): Likewise.
11525 (ufromfpf): Likewise.
11526 (ufromfpl): Likewise.
11527 (fromfpx): Likewise.
11528 (fromfpxf): Likewise.
11529 (fromfpxl): Likewise.
11530 (ufromfpx): Likewise.
11531 (ufromfpxf): Likewise.
11532 (ufromfpxl): Likewise.
11533 * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
11534 s_fromfpxF and s_ufromfpxF.
11535 * math/gen-fromfp-tests.py: New file.
11536 * math/gen-fromfp-tests-inputs: Likewise.
11537 * math/libm-test.inc: Include <stdint.h>
11538 (check_intmax_t): New function.
11539 (check_uintmax_t): Likewise.
11540 (struct test_fiu_M_data): New type.
11541 (struct test_fiu_U_data): Likewise.
11542 (RUN_TEST_fiu_M): New macro.
11543 (RUN_TEST_LOOP_fiu_M): Likewise.
11544 (RUN_TEST_fiu_U): Likewise.
11545 (RUN_TEST_LOOP_fiu_U): Likewise.
11546 (fromfp_test_data): New array.
11547 (fromfp_test): New function.
11548 (fromfpx_test_data): New array.
11549 (fromfpx_test): New function.
11550 (ufromfp_test_data): New array.
11551 (ufromfp_test): New function.
11552 (ufromfpx_test_data): New array.
11553 (ufromfpx_test): New function.
11554 (main): Call fromfp_test, fromfpx_test, ufromfp_test and
11555 ufromfpx_test.
11556 * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
11557 characters.
11558 * math/test-tgmath-ret.c: Include <stdint.h>.
11559 (rm): New variable.
11560 (width): Likewise.
11561 (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
11562 called function.
11563 (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
11564 CHECK_RET_CONST_TYPE.
11565 (CHECK_RET_CONST_DOUBLE): Likewise.
11566 (CHECK_RET_CONST_LDOUBLE): Likewise.
11567 (CHECK_RET_CONST): Take extra arguments and pass them to calls
11568 macros.
11569 (fromfp): New CHECK_RET_CONST call.
11570 (ufromfp): Likewise.
11571 (fromfpx): Likewise.
11572 (ufromfpx): Likewise.
11573 (do_test): Call check_return_fromfp, check_return_ufromfp,
11574 check_return_fromfpx and check_return_ufromfpx.
11575 * math/test-tgmath.c: Include <stdint.h>
11576 (NCALLS): Increase to 138.
11577 (F(compile_test)): Initialize i. Call fromfp functions.
11578 (F(fromfp)): New function.
11579 (F(fromfpx)): Likewise.
11580 (F(ufromfp)): Likewise.
11581 (F(ufromfpx)): Likewise.
11582 * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
11583 FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
11584 FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
11585 ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
11586 ufromfpxl.
11587 * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
11588 ufromfp and ufromfpx.
11589 * math/fromfp.h: New file.
11590 * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
11591 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
11592 * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
11593 * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
11594 * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
11595 * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
11596 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
11597 * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
11598 * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
11599 * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
11600 * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
11601 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
11602 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
11603 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
11604 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
11605 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
11606 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
11607 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
11608 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
11609 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
11610 * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
11611 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
11612 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
11613 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
11614 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
11615 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
11616 ufromfp, fromfpx and ufromfpx.
11617 (CFLAGS-nldbl-fromfp.c): New variable.
11618 (CFLAGS-nldbl-fromfpx.c): Likewise.
11619 (CFLAGS-nldbl-ufromfp.c): Likewise.
11620 (CFLAGS-nldbl-ufromfpx.c): Likewise.
11621 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
11622 * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
11623 * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
11624 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
11625 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
11626 * sysdeps/nacl/libm.abilist: Update.
11627 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11628 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11629 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11630 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11631 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11632 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11633 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11634 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11635 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11636 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11637 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11638 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11640 Likewise.
11641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11642 Likewise.
11643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11644 Likewise.
11645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11646 Likewise.
11647 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11648 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11649 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11650 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11651 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11652 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11653 Likewise.
11654 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11655 Likewise.
11656 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11657 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11658 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11659
11660 2016-12-30 Florian Weimer <fweimer@redhat.com>
11661
11662 * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
11663 compat-gethnamaddr.
11664 (CPPFLAGS): Remove.
11665 * resolv/gethnamaddr.c: Rename ...
11666 * resolv/compat-gethnamaddr.c: ... to this file.
11667 (_endhtent): Make static.
11668 (res_gethostbyname): Renamed from gethostbyname. Turn into compat
11669 symbol.
11670 (res_gethostbyname2): Renamed from gethostbyname2. Turn into
11671 compat symbol.
11672 (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat
11673 symbol.
11674 (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
11675 Turn into compat symbol.
11676 * include/resolv.h (_endhtent): Remove declaration.
11677
11678 2016-12-30 Joseph Myers <joseph@codesourcery.com>
11679
11680 * bits/types.h (__intmax_t): New typedef.
11681 (__uintmax_t): Likewise.
11682 * sysdeps/generic/stdint.h: Include <bits/types.h>.
11683 (intmax_t): Define using __intmax_t.
11684 (uintmax_t): Define using __uintmax_t.
11685
11686 * support/Makefile (tests-special): Make definition conditional on
11687 [$(run-built-tests) = yes].
11688 ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
11689 on [$(run-built-tests) = yes].
11690
11691 2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
11692
11693 * Rules (tests): Add tests-printers-programs to tests to be
11694 built.
11695
11696 2016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11697
11698 * sysvipc/Makefile (tests): Add test-sysvshm.
11699 * sysvipc/test-sysvshm.c: New file.
11700
11701 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
11702 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
11703 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
11704 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
11705 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
11706 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
11707 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
11708 Likewise.
11709 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
11710 Likewise.
11711 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
11712 * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
11713 is defined.
11714
11715 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
11716 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
11717 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
11718 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
11719 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
11720 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
11721 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
11722 Likewise.
11723 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
11724 Likewise.
11725 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
11726 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
11727 defined.
11728
11729 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11730 oldshmctl.
11731 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
11732 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
11733 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
11734 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
11735 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
11736 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
11737 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
11738 Likewise.
11739 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
11740 Likewise.
11741 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
11742 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
11743 * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
11744 * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
11745 * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
11746 implementation.
11747 * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
11748 if it is defined.
11749
11750 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
11751 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
11752 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
11753 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
11754 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
11755 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
11756 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
11757 Likewise.
11758 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
11759 Likewise.
11760 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
11761 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
11762 Define to __NR_osf_shmat.
11763 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
11764 defined.
11765
11766 * sysvipc/Makefile (tests): Add test-sysvsem.
11767 * sysvipc/test-sysvsem.c: New file.
11768
11769 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
11770 * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
11771 * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
11772 Likewise.
11773 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
11774 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
11775 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
11776 Likewise.
11777 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
11778 Likewise.
11779 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
11780 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
11781 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
11782 add a comment about s390 syscall difference from default one.
11783 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
11784 syscall if it is defined.
11785
11786 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
11787 * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
11788 * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
11789 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
11790 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
11791 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
11792 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
11793 Likewise.
11794 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
11795 Likewise.
11796 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
11797 * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
11798 defined.
11799
11800 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
11801 * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
11802 * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
11803 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
11804 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
11805 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
11806 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
11807 Likewise.
11808 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
11809 Likewise.
11810 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
11811 * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
11812 if it is defined.
11813
11814 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11815 oldsemctl.
11816 * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
11817 * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
11818 * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
11819 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
11820 * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
11821 implementation.
11822 * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
11823 syscall if it is defined.
11824 * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
11825 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
11826 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
11827 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
11828 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
11829 Likewise.
11830 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
11831
11832 * sysvipc/Makefile (tests): Add test-sysvmsg.
11833 * sysvipc/test-sysvmsg.c: New file.
11834 * support/check.h (FAIL_UNSUPPORTED): New define.
11835
11836 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
11837 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
11838 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
11839 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
11840 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
11841 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
11842 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
11843 Likewise.
11844 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
11845 Likewise.
11846 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
11847 * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
11848 define.
11849
11850 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
11851 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
11852 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
11853 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
11854 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
11855 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
11856 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
11857 Likewise.
11858 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
11859 Likewise.
11860 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
11861 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
11862 if defined.
11863
11864 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
11865 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
11866 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
11867 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
11868 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
11869 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
11870 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
11871 Likewise.
11872 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
11873 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
11874 Likewise.
11875 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
11876 if defined.
11877 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
11878
11879 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11880 oldmsgctl.
11881 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
11882 * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
11883 * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
11884 * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
11885 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
11886 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
11887 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
11888 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
11889 Likewise.
11890 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
11891 * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
11892 implementation.
11893 * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
11894 if defined.
11895
11896 * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
11897 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
11898 definition and define its own.
11899 * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
11900 * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
11901 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
11902 * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
11903 * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
11904 definitions to common header.
11905 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
11906 operation from ipc_ops.h.
11907
11908 * sysdeps/unix/sysv/linux/kernel-features.h
11909 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
11910 * sysdeps/unix/sysv/linux/i386/kernel-features.h
11911 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
11912 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11913 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11914 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11915 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11916 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11917 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11918 * sysdeps/unix/sysv/linux/s390/kernel-features.h
11919 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11920 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11921 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11922 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11923 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11924
11925 2016-12-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11926
11927 * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
11928 overflow in pointer addition.
11929
11930 2016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11931
11932 * sysdeps/powerpc/powerpc64/multiarch/Makefile
11933 (sysdep_routines): Add strchr-power8 and strchrnul_power8.
11934 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11935 (strchr): Add __strchr_power8 to list of strchr functions.
11936 (strchrnul): Add __strchrnul_power8 to list of strchr functions.
11937 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
11938 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
11939 * sysdeps/powerpc/powerpc64/multiarch/strchr.c
11940 (strchr): Add __strchr_power8 to ifunc list.
11941 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
11942 (__strchrnul): Add __strchrnul_power8 to ifunc list.
11943 * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
11944 * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
11945
11946 2016-12-28 Florian Weimer <fweimer@redhat.com>
11947
11948 * support/Makefile (libsupport-routines): Add
11949 support_test_verify_impl, support_record_failure, xfork, xwaitpid.
11950 (tests): Add tst-support_record_failure.
11951 (tests-special): tst-support_record_failure-2.
11952 (tst-support_record_failure-2.out): Depend on
11953 tst-support_record_failure-2.sh and tst-support_record_failure.
11954 * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
11955 (support_test_verify_impl, support_record_failure)
11956 (support_report_failure, support_report_failure_reset): Declare.
11957 * support/support_test_main.c (adjust_exit_status): New function.
11958 (support_test_main): Call it to incorporate record test failures.
11959 * support/support_test_verify_impl.c: New file.
11960 * support/support_record_failure.c: Likewise.
11961 * support/tst-support_record_failure.c: Likewise.
11962 * support/tst-support_record_failure-2.sh: Likewise.
11963 * support/xunistd.h: Likewise.
11964 * support/xfork.c: Likewise.
11965 * support/xwaitpid.c: Likewise.
11966
11967 2016-12-27 Steve Ellcey <sellcey@caviumnetworks.com>
11968
11969 * scripts/check-c++-types.sh: Add comments.
11970
11971 2016-12-27 Dmitry V. Levin <ldv@altlinux.org>
11972
11973 [BZ #19514]
11974 * resolv/res_send.c: Fix typo in comment.
11975 * sysdeps/i386/i386-mcount.S: Likewise.
11976 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11977 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11978 * sysdeps/sparc/sparc-mcount.S: Likewise.
11979
11980 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11981
11982 * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
11983 * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
11984 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
11985 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
11986 * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
11987 * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
11988 * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
11989 * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
11990
11991 2016-12-27 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11992
11993 * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
11994
11995 2016-12-27 Florian Weimer <fweimer@redhat.com>
11996
11997 [BZ #17252]
11998 * posix/unistd.h (getentropy): Declare.
11999
12000 2016-12-27 Florian Weimer <fweimer@redhat.com>
12001
12002 * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
12003 Remove.
12004 * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
12005 (cmd): Remove spoof, nospoof, spoofalert.
12006 (parse_line): Ignore spoof-related lines.
12007 (do_init): Do not process RESOLV_SPOOF_CHECK.
12008
12009 2016-12-27 Florian Weimer <fweimer@redhat.com>
12010
12011 [BZ #20964]
12012 sunrpc: Always obtain AF_INET addresses from NSS.
12013 * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
12014 * sunrpc/rpc_gethostbyname.c: New file.
12015 * sunrpc/Makefile (routines): Add it.
12016 * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
12017 * sunrpc/clnt_simp.c (callrpc): Likewise.
12018 * sunrpc/getrpcport.c (getrpcport): Likewise.
12019
12020 2016-12-27 Florian Weimer <fweimer@redhat.com>
12021
12022 * sunrpc/rpcinfo.c: Remove.
12023 * sunrpc/Makefile: Remove comments referring to rpcinfo.
12024
12025 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12026
12027 [BZ #19387]
12028 * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
12029 addition.
12030 * string/test-memchr.c (do_test): Remove alignment limitation.
12031 (test_main): Add test that trigger BZ #19387.
12032
12033 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12034
12035 [BZ #7065]
12036 Enable stack protectore if requested by ./configure.
12037 * Makeconfig (+stack-protector): New variable.
12038 (+cflags): Use it.
12039
12040 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12041
12042 [BZ #7065]
12043 * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
12044 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
12045 (__rt_sigreturn_stub): Use inhibit_stack_protector.
12046 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12047 (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
12048
12049 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12050
12051 [BZ #7065]
12052 * login/Makefile (pt_chown-cflags): Remove.
12053 * nscd/Makefile (CFLAGS-nscd): Likewise.
12054 * resolv/Makefile (CFLAGS-libresolv): Likewise.
12055
12056 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12057
12058 [BZ #7065]
12059 * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
12060 non-libc-linking testcase.
12061
12062 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12063 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12064 Florian Weimer <fweimer@redhat.com>
12065
12066 [BZ #7065]
12067 PLT avoidance for __stack_chk_fail*.
12068 * debug/Makefile (CFLAGS-stack_chk_fail.c)
12069 (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
12070 * debug/stack_chk_fail.c (__stack_chk_fail): Add
12071 __stack_chk_fail_local alias.
12072 * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
12073 (__stack_chk_fail): Turn into hidden reference to
12074 __stack_chk_fail_local.
12075
12076 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12077
12078 [BZ #7065]
12079 * configure.ac: Add check for unsupported stack-protection level.
12080 (libc_cv_predef_stack_protector): Remove.
12081 (no_ssp): New variable.
12082 (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
12083 (stack_protector): Set to -fno-stack-protector similarly.
12084 (libc_cv_ld_gnu_indirect_function): Use no_ssp.
12085 (libc_cv_asm_set_directive): Likewise.
12086 (libc_cv_protected_data): Likewise.
12087 (libc_cv_z_combreloc): Likewise.
12088 (libc_cv_hashstyle): Likewise.
12089 (libc_cv_has_glob_dat): Likewise.
12090 (libc_cv_output_format): Likewise.
12091 (libc_cv_output_format): Likewise.
12092 (libc_cv_ehdr_start): Likewise.
12093 * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
12094 (LIBC_LINKER_FEATURE): Likewise.
12095 (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
12096
12097 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12098
12099 [BZ #7065]
12100 * elf/Makefile (dummy-stack-chk-fail): New.
12101 (librtld.map): Use it.
12102
12103 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12104
12105 [BZ #7065]
12106 Compile the dynamic linker without stack protection.
12107 * elf/Makefile (elide-stack-protector): New.
12108 (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
12109 (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
12110 * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
12111 * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
12112
12113 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12114
12115 [BZ #7065]
12116 * config.make.in (have-ssp, no-stack-protector): New.
12117 * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
12118 * misc/Makefile (CFLAGS-sbrk.o): Likewise.
12119 (CFLAGS-sbrk.op): Likewise.
12120 (CFLAGS-brk.o): Likewise.
12121 (CFLAGS-brk.op): Likewise.
12122 * string/Makefile (CFLAGS-memcpy.c): Likewise.
12123 (CFLAGS-wordcopy.c): Likewise.
12124
12125 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12126
12127 [BZ #7065]
12128 * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
12129 * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
12130 * include/libc-symbols.h (inhibit_stack_protector): New macro.
12131 (__ifunc_resolver): Use it.
12132 * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
12133 inhibit_stack_protector.
12134 * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
12135 * elf/ifuncmain7.c (foo_ifunc): Likewise.
12136 * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
12137 (foo_protected_ifunc): Likewise.
12138 * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
12139 (foo_protected_ifunc): Likewise.
12140 * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12141 * sysdeps/nacl/nacl_interface_query.c
12142 (nacl_interface_query_ifunc): Likewise.
12143 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12144 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
12145 Likewise.
12146 * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
12147 * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
12148 the generated vDSO syscall resolver.
12149
12150 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12151 Florian Weimer <fweimer@redhat.com>
12152
12153 [BZ #7065]
12154 Initialize the stack guard earlier when linking statically.
12155 * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
12156 (__pthread_initialize_minimal): Declare.
12157 * csu/libc-start.c (__pthread_initialize_minimal): Remove
12158 declaration.
12159 (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move
12160 stack canary and apply_irel initialization up. Call
12161 __pthread_initialize_minimal only if linked in.
12162 * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
12163 constant values.
12164 (__pthread_initialize_minimal): Remove.
12165 * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
12166 (__pthread_initialize_minimal_internal): Do not call
12167 __libc_setup_tls.
12168
12169 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12170
12171 [BZ #7065]
12172 * configure.ac (libc_cv_ssp): Move up.
12173 (libc_cv_ssp_strong): Likewise.
12174 (libc_cv_ssp_all): New.
12175 (stack_protector): Augment, adding -fstack-protector-all.
12176 (no_stack_protector): New.
12177 (STACK_PROTECTOR_LEVEL): New.
12178 (AC_ARG_ENABLE(stack-protector)): New configure flag.
12179 * manual/install.texi (--enable-stack-protector): Document it.
12180 * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
12181
12182 2016-12-24 Carlos O'Donell <carlos@redhat.com>
12183
12184 * README.pretty-printers: Must specify CPPFLAGS-* also.
12185 * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
12186 (CPPFLAGS-test-mutex-printers.c): Define.
12187 (CPPFLAGS-test-condattr-printers.c): Define.
12188 (CPPFLAGS-test-cond-printers.c): Define.
12189 (CPPFLAGS-test-rwlockattr-printers.c): Define.
12190 (CPPFLAGS-test-rwlock-printers.c): Define.
12191
12192 * nss/Makefile [ifeq (yes,$(have-thread-library))]
12193 (tests): Add tst-cancel-getpwuid_r.
12194 * nss/tst-cancel-getpwuid_r.c: New file.
12195
12196 [BZ #11941]
12197 * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
12198 Remove assert (map->l_init_called); if DF_1_NODELETE is set.
12199 * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
12200 tst-nodelete-dlclose.
12201 (modules-names): Add tst-nodelete-dlclose-dso and
12202 tst-nodelete-dlclose-plugin.
12203 ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
12204 ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
12205 ($(objpfx)tst-nodelete-dlclose): Define.
12206 ($(objpfx)tst-nodelete-dlclose.out): Define.
12207
12208 2016-12-23 Florian Weimer <fweimer@redhat.com>
12209
12210 * scripts/test_printers_common.py: Log GDB output in case of
12211 Python detection failure.
12212
12213 2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
12214
12215 * configure.ac: Check for python3 or python.
12216 * configure: Regenerated.
12217 * config.make.in (PYTHON): New variable.
12218 * benchtests/Makefile: Don't define PYTHON.
12219 (bench): Define target only if PYTHON was defined.
12220 * Rules: Don't define PYTHON.
12221 Define pretty printer targets only if PYTHON was defined.
12222 (tests-printers): Add to tests-unsupported if PYTHON is not
12223 found.
12224 (python-flags, python-invoke): Remove.
12225 (tests-printers-out): Use PYTHON instead of python-invoke.
12226
12227 2016-12-21 Joseph Myers <joseph@codesourcery.com>
12228
12229 [BZ #20978]
12230 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12231 Compare name == NULL, not name != NULL.
12232
12233 * manual/texinfo.tex: Update to version 2016-09-18.18 with
12234 trailing whitespace removed.
12235 * scripts/config.guess: Update to version 2016-10-02.
12236 * scripts/config.sub: Update to version 2016-11-19.
12237 * scripts/install-sh: Update to version 2016-01-11.22.
12238 * scripts/mkinstalldirs: Update to version 2016-01-11.22.
12239 * scripts/move-if-change: Update to version 2016-01-11 22:04.
12240
12241 2015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
12242
12243 * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
12244 (do_one_test) Restore original string so iteration works.
12245 * string/string-inlines.c (do_test): Create better input strings.
12246 (test_main) Reduce number of testruns.
12247 * string/string-inlines.c (__old_strsep_1c): New function.
12248 (__old_strsep_2c): Likewise.
12249 (__old_strsep_3c): Likewise.
12250 * string/strsep.c (__strsep): Remove case of small delim string.
12251 Call strcspn directly rather than strpbrk.
12252 * string/bits/string2.h (__strsep): Remove define.
12253 (__strsep_1c): Remove.
12254 (__strsep_2c): Remove.
12255 (__strsep_3c): Remove.
12256 (strsep): Remove.
12257 * sysdeps/unix/sysv/linux/internal_statvfs.c
12258 (__statvfs_getflags): Rename to __strsep.
12259
12260 2016-12-21 Florian Weimer <fweimer@redhat.com>
12261
12262 * csu/libc-tls.c (_dl_tls_setup): Remove.
12263 * elf/dl-tls.c (_dl_tls_setup): Likewise.
12264 * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
12265 * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
12266
12267 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
12268
12269 [BZ #7065]
12270 * sysdeps/x86_64/Makefile [$(subdir) = elf]
12271 (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
12272
12273 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
12274 Florian Weimer <fweimer@redhat.com>
12275
12276 [BZ #7065]
12277 * csu/Makefile (tests): Empty assignment and document it.
12278 (tests-static): Remove.
12279 * csu/tst-empty.c: Move to...
12280 * misc/tst-empty.c: ... here. Switch to new test driver.
12281 * csu/tst-atomic.c: Move to...
12282 * misc/tst-atomic.c: ... here. Switch to new test driver.
12283 * csu/tst-atomic-long.c: Move to...
12284 * misc/tst-atomic-long.c: ... here.
12285 * misc/Makefile (tests): Add tst-empty, tst-atomic,
12286 tst-atomic-long.
12287 (tests-static): Add tst-empty.
12288
12289 2016-12-21 Rical Jasan <ricaljasan@pacific.net>
12290
12291 * manual/nss.texi: Change incorrect @vtable to @table.
12292 * manual/arith.texi: Convert @tables of variables to @vtables
12293 and remove unnecessary indexing.
12294 * manual/filesys.texi: Likewise.
12295 * manual/llio.texi: Likewise.
12296 * manual/memory.texi: Likewise.
12297 * manual/process.texi: Likewise.
12298 * manual/resource.texi: Likewise.
12299 * manual/search.texi: Likewise.
12300 * manual/signal.texi: Likewise.
12301 * manual/socket.texi: Likewise.
12302 * manual/stdio.texi: Likewise.
12303 * manual/sysinfo.texi: Likewise.
12304 * manual/syslog.texi: Likewise.
12305 * manual/terminal.texi: Likewise.
12306 * manual/time.texi: Likewise.
12307 * manual/users.texi: Likewise.
12308
12309 2016-12-21 Joseph Myers <joseph@codesourcery.com>
12310
12311 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12312 (roundeven): New declaration.
12313 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
12314 macro.
12315 * math/Versions (roundeven): New libm symbol at version
12316 GLIBC_2.25.
12317 (roundevenf): Likewise.
12318 (roundevenl): Likewise.
12319 * math/Makefile (libm-calls): Add s_roundevenF.
12320 * math/libm-test.inc (roundeven_test_data): New array.
12321 (roundeven_test): New function.
12322 (main): Call roundeven_test.
12323 * math/test-tgmath.c (NCALLS): Increase to 134.
12324 (F(compile_test)): Call roundeven.
12325 (F(roundeven)): New function.
12326 * manual/arith.texi (Rounding Functions): Document roundeven,
12327 roundevenf and roundevenl.
12328 * manual/libm-err-tab.pl (@all_functions): Add roundeven.
12329 * include/math.h (roundeven): Use libm_hidden_proto.
12330 * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
12331 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
12332 * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
12333 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
12334 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
12335 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
12336 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12337 roundeven.
12338 (CFLAGS-nldbl-roundeven.c): New variable.
12339 * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
12340 * sysdeps/nacl/libm.abilist: Update.
12341 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12342 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12343 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12344 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12345 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12346 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12347 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12348 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12349 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12350 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12351 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12352 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12354 Likewise.
12355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12356 Likewise.
12357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12358 Likewise.
12359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12360 Likewise.
12361 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12362 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12363 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12364 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12365 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12367 Likewise.
12368 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12369 Likewise.
12370 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12371 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12372 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12373
12374 2016-12-20 Joseph Myers <joseph@codesourcery.com>
12375
12376 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
12377 preprocessor indentation inside #if.
12378
12379 2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12380
12381 * math/libm-test.inc (fmt_ftostr): New function.
12382 (print_float, check_float_internal): Replace some uses of
12383 FTOSTR with uses of fmt_ftostr.
12384 (print_max_error, print_complex_max_error, print_function_ulps)
12385 (print_complex_function_ulps): Remove uses of the macros
12386 PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
12387 * math/test-double.h (FTOSTR): Define to strfromd.
12388 (PRINTF_EXPR): Delete.
12389 (PRINTF_XEXPR): Likewise.
12390 (PRINTF_NEXPR): Likewise.
12391 * math/test-float.h (FTOSTR): Define to strfromf.
12392 (PRINTF_EXPR): Delete.
12393 (PRINTF_XEXPR): Likewise.
12394 (PRINTF_NEXPR): Likewise.
12395 * math/test-ldouble.h (FTOSTR): Define to strfroml.
12396 (PRINTF_EXPR): Delete.
12397 (PRINTF_XEXPR): Likewise.
12398 (PRINTF_NEXPR): Likewise.
12399
12400 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12401
12402 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12403 (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
12404 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12405 (__lll_lock_elision): Decrement adapt_count while unlocking
12406 instead of before locking.
12407 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12408 (__lll_trylock_elision): Likewise.
12409 * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
12410 (__lll_unlock_elision): Likewise.
12411
12412 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12413
12414 * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
12415 * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
12416 Use __libc_tbegin_retry macro.
12417
12418 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12419
12420 * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
12421 Add -msoft-float.
12422 * sysdeps/unix/sysv/linux/s390/htm.h: New File.
12423 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12424 Use __libc_t* transaction macros instead of __builtin_t*.
12425 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12426 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12427
12428 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12429
12430 * sysdeps/unix/sysv/linux/s390/elision-lock.c
12431 (__lll_lock_elision): Use atomics to load / store adapt_count.
12432 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12433 (__lll_trylock_elision): Likewise.
12434
12435 2016-12-20 Florian Weimer <fweimer@redhat.com>
12436
12437 Do not require memset elimination in explicit_bzero test.
12438 * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
12439 (enum test_expectation): Add NO_EXPECTATIONS.
12440 (subtests): NO_EXPECTATIONS for ordinary clear.
12441 (check_test_buffer): Handle NO_EXPECTATIONS.
12442 * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
12443
12444 2016-12-20 Joseph Myers <joseph@codesourcery.com>
12445
12446 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12447 (fmaxmag): New declaration.
12448 (fminmag): Likewise.
12449 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
12450 macro.
12451 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
12452 * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
12453 (fmaxmagf): Likewise.
12454 (fmaxmagl): Likewise.
12455 (fminmag): Likewise.
12456 (fminmagf): Likewise.
12457 (fminmagl): Likewise.
12458 * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
12459 * math/s_fmaxmag_template.c: New file.
12460 * math/s_fminmag_template.c: Likewise.
12461 * math/libm-test.inc (fmaxmag_test_data): New array.
12462 (fmaxmag_test): New function.
12463 (fminmag_test_data): New array.
12464 (fminmag_test): New function.
12465 (main): Call fmaxmag_test and fminmag_test.
12466 * math/test-tgmath.c (NCALLS): Increase to 132.
12467 (F(compile_test)): Call fmaxmag and fminmag.
12468 (F(fminmag)): New function.
12469 (F(fmaxmag)): Likewise.
12470 * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
12471 fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
12472 * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
12473 fminmag.
12474 * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
12475 * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
12476 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
12477 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
12478 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
12479 and fminmag.
12480 (CFLAGS-nldbl-fmaxmag.c): New variable.
12481 (CFLAGS-nldbl-fminmag.c): Likewise.
12482 * sysdeps/nacl/libm.abilist: Update.
12483 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12484 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12485 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12486 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12487 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12488 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12489 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12490 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12491 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12492 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12493 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12494 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12496 Likewise.
12497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12498 Likewise.
12499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12500 Likewise.
12501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12502 Likewise.
12503 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12504 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12505 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12506 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12507 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12509 Likewise.
12510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12511 Likewise.
12512 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12513 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12514 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12515
12516 2016-12-19 Torvald Riegel <triegel@redhat.com>
12517
12518 [BZ #20973]
12519 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
12520 wake-up in robust mutexes.
12521 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12522
12523 2016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12524
12525 * benchtests/Makefile (bench-math): Add fminf and fmaxf.
12526 (CFLAGS-bench-fmaxf.c): New rule.
12527 (CFLAGS-bench-fminf.c): Likewise.
12528 * benchtests/fmaxf-inputs: New file.
12529 * benchtests/fminf-inputs: Likewise.
12530
12531 * benchtests/Makefile (bench-math): Add fmin and fmax.
12532 (CFLAGS-bench-fmax.c): New rule.
12533 (CFLAGS-bench-fmin.c): Likewise.
12534 * benchtests/fmax-inputs: New file.
12535 * benchtests/fmin-inputs: Likewise.
12536
12537 * benchtests/bench-string.h (TEST_FUNCTION): Use name without
12538 parenthesis.
12539 (CMDLINE_PROCESS): Define using function instead of macro.
12540 * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
12541 of test-skeleton.
12542 * benchtests/bench-memchr.c: Likewise.
12543 * benchtests/bench-memcmp.c: Likewise.
12544 * benchtests/bench-memcpy-large.c: Likewise.
12545 * benchtests/bench-memcpy.c: Likewise.
12546 * benchtests/bench-memmem.c: Likewise.
12547 * benchtests/bench-memmove-large.c: Likewise.
12548 * benchtests/bench-memmove.c: Likewise.
12549 * benchtests/bench-memset-large.c: Likewise.
12550 * benchtests/bench-memset.c: Likewise.
12551 * benchtests/bench-rawmemchr.c: Likewise.
12552 * benchtests/bench-strcasecmp.c: Likewise.
12553 * benchtests/bench-strcasestr.c: Likewise.
12554 * benchtests/bench-strcat.c: Likewise.
12555 * benchtests/bench-strchr.c: Likewise.
12556 * benchtests/bench-strcmp.c: Likewise.
12557 * benchtests/bench-strcpy.c: Likewise.
12558 * benchtests/bench-strcpy_chk.c: Likewise.
12559 * benchtests/bench-strlen.c: Likewise.
12560 * benchtests/bench-strncasecmp.c: Likewise.
12561 * benchtests/bench-strncmp.c: Likewise.
12562 * benchtests/bench-strncpy.c: Likewise.
12563 * benchtests/bench-strnlen.c: Likewise.
12564 * benchtests/bench-strpbrk.c: Likewise.
12565 * benchtests/bench-strrchr.c: Likewise.
12566 * benchtests/bench-strsep.c: Likewise.
12567 * benchtests/bench-strspn.c: Likewise.
12568 * benchtests/bench-strstr.c: Likewise.
12569 * benchtests/bench-strtok.c: Likewise.
12570
12571 2016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
12572
12573 * sysdeps/x86/cpu-features.c (get_common_indeces): Add
12574 stepping identification.
12575 (init_cpu_features): Add handle of Haswell.
12576
12577 2016-11-25 Jim Meyering <meyering@fb.com>
12578
12579 [BZ #20386]
12580 Let gcc detect assert(a = 1) errors.
12581 * assert/assert.h (assert): Rewrite, retaining the old definintion
12582 when required, but otherwise putting the expression as-is in an "if"
12583 expression (hence, with no added parentheses) within a statement
12584 expression.
12585
12586 2016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
12587
12588 * benchtests/Makefile (binaries-benchset): Depend on libsupport
12589 DSO.
12590
12591 2016-12-17 Martin Galvan <martingalvan@sourceware.org>
12592
12593 * Rules (python-flags, python-invoke): New.
12594 ($(test-printers-out)): Use $(python-flags).
12595
12596 2016-12-16 Joseph Myers <joseph@codesourcery.com>
12597
12598 * manual/arith.texi (Math Error Reporting): Document that sNaN
12599 arguments are not considered domain errors.
12600
12601 2016-12-16 Zack Weinberg <zackw@panix.com>
12602 Florian Weimer <fweimer@redhat.com>
12603 Nick Mathewson <nickm@torproject.org>
12604
12605 * string/explicit_bzero.c: New routine.
12606 * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
12607 * string/Makefile (routines, strop-tests, tests): Add them.
12608 * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
12609 * string/string.h [__USE_MISC]: Declare explicit_bzero.
12610
12611 * debug/explicit_bzero_chk.c: New routine.
12612 * debug/Makefile (routines): Add it.
12613 * debug/tst-chk1.c: Test fortification of explicit_bzero.
12614 * string/bits/string3.h: Fortify explicit_bzero.
12615
12616 * manual/string.texi: Document explicit_bzero.
12617 * NEWS: Mention addition of explicit_bzero.
12618
12619 * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
12620 data before returning, using explicit_bzero.
12621 * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
12622 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12623 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12624
12625 * include/string.h: Redirect internal uses of explicit_bzero
12626 to __explicit_bzero_chk[_internal].
12627 * string/Versions [GLIBC_2.25]: Add explicit_bzero.
12628 * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
12629 * sysdeps/arm/nacl/libc.abilist
12630 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
12631 * sysdeps/unix/sysv/linux/alpha/libc.abilist
12632 * sysdeps/unix/sysv/linux/arm/libc.abilist
12633 * sysdeps/unix/sysv/linux/hppa/libc.abilist
12634 * sysdeps/unix/sysv/linux/i386/libc.abilist
12635 * sysdeps/unix/sysv/linux/ia64/libc.abilist
12636 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12637 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
12638 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
12639 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12640 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12641 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12642 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12643 * sysdeps/unix/sysv/linux/nios2/libc.abilist
12644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12648 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
12649 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12650 * sysdeps/unix/sysv/linux/sh/libc.abilist
12651 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12652 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12653 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12654 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12655 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
12656 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
12657 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
12658 Add entries for explicit_bzero and __explicit_bzero_chk.
12659
12660 2016-12-16 Joseph Myers <joseph@codesourcery.com>
12661
12662 * math/fenv.h
12663 [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
12664 (FE_SNANS_ALWAYS_SIGNAL): New macro.
12665 * math/test-fe-snans-always-signal.c: New file.
12666 * math/Makefile (tests): Add test-fe-snans-always-signal.
12667 (CFLAGS-test-fe-snans-always-signal.c): New variable.
12668 * manual/arith.texi (Infinity and NaN): Document
12669 FE_SNANS_ALWAYS_SIGNAL.
12670
12671 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12672
12673 * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
12674 bracket.
12675
12676 2016-12-16 Joseph Myers <joseph@codesourcery.com>
12677
12678 * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
12679 before calling execv.
12680
12681 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12682
12683 [BZ #20971]
12684 * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
12685 overflow in pointer addition.
12686 * string/test-memchr.c (do_test): Add an argument to pass as
12687 the size on memchr.
12688 (test_main): Add check for SIZE_MAX.
12689
12690 2016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12691
12692 * math/Makefile (gen-libm-calls): Remove w_scalblnF.
12693 (libm-calls): Add w_scalblnF.
12694 * math/w_scalbln.c: Remove.
12695 * math/w_scalblnf.c: Likewise.
12696 * math/w_scalblnl.c: Likewise.
12697 * math/w_scalbln_template.c: New file with type-generic
12698 implementation based on math/w_scalbln.c.
12699 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
12700 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
12701
12702 2016-12-15 Joseph Myers <joseph@codesourcery.com>
12703
12704 [BZ #20947]
12705 * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
12706 either is a signaling NaN.
12707 * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
12708 follow fmaxl more closely.
12709 * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
12710 when either is a signaling NaN.
12711 * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
12712 * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
12713 * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
12714 * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
12715 * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
12716 * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
12717 * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
12718 * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
12719 (fmin_test_data): Likewise.
12720
12721 2016-12-15 Andreas Schwab <schwab@suse.de>
12722
12723 * support/support_test_main.c (support_test_main): Don't shadow
12724 file-local variable test_pid.
12725
12726 2016-12-15 Joseph Myers <joseph@codesourcery.com>
12727
12728 [BZ #20947]
12729 * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
12730 either is a signaling NaN.
12731 * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
12732
12733 2016-12-14 Joseph Myers <joseph@codesourcery.com>
12734
12735 [BZ #20947]
12736 * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
12737 when either is a signaling NaN.
12738 * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
12739
12740 * bits/long-double.h: New file.
12741 * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
12742 * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
12743 * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
12744 * sysdeps/mips/bits/long-double.h: Likewise.
12745 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
12746 * math/Makefile (headers): Add bits/long-double.h.
12747 * misc/sys/cdefs.h: Include <bits/long-double.h>.
12748 * stdlib/strtold.c: Include <bits/long-double.h> instead of
12749 <bits/wordsize.h>.
12750 * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
12751 [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
12752 * math/math.h: Do not include <bits/mathdef.h>.
12753 * sysdeps/aarch64/bits/mathdef.h: Remove file.
12754 * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
12755 inclusion.
12756 * sysdeps/ia64/bits/mathdef.h: Remove file.
12757 * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
12758 * sysdeps/mips/bits/mathdef.h: Likewise.
12759 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12760 * sysdeps/s390/bits/mathdef.h: Likewise.
12761 * sysdeps/sparc/bits/mathdef.h: Likewise.
12762 * sysdeps/x86/bits/mathdef.h: Likewise.
12763 * sysdeps/s390/s390-32/bits/wordsize.h
12764 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
12765 conditional code.
12766 * sysdeps/s390/s390-64/bits/wordsize.h
12767 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12768 Likewise.
12769 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
12770 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12771 Likewise.
12772 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
12773 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12774 Likewise.
12775 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
12776 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12777 Likewise.
12778
12779 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
12780 <linux/falloc.h>.
12781 (FALLOC_FL_KEEP_SIZE): Remove.
12782 (FALLOC_FL_PUNCH_HOLE): Likewise.
12783 (FALLOC_FL_COLLAPSE_RANGE): Likewise.
12784 (FALLOC_FL_ZERO_RANGE): Likewise.
12785
12786 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12787
12788 * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
12789
12790 2016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12791
12792 * sysdeps/unix/sysv/linux/renameat.c: New file.
12793 * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
12794
12795 * sysdeps/unix/sysv/linux/rename.c: New file.
12796 * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
12797
12798 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
12799
12800 * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
12801 * string/strtok.c (strtok): Change to tailcall __strtok_r.
12802 * string/strtok_r.c (__strtok_r): Optimize for performance.
12803 * string/string-inlines.c (__old_strtok_r_1c): New function.
12804 * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
12805
12806 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12807
12808 * math/Makefile (gen-libm-calls): Add w_log1pF.
12809 (libm-calls): Remove w_log1pF.
12810 * math/w_log1p.c: Remove.
12811 * math/w_log1pf.c: Likewise.
12812 * math/w_log1pl.c: Likewise.
12813 * math/w_log1p_template.c: New file with type-generic
12814 implementation based on math/w_log1p.c.
12815 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
12816 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
12817
12818 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
12819
12820 * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
12821
12822 2016-12-14 Joseph Myers <joseph@codesourcery.com>
12823
12824 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12825 kernel version to 4.9.
12826
12827 2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
12828
12829 * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
12830 ($(inst_libdir)/libm.a): Fix rule to create the target only.
12831
12832 2016-12-13 Andreas Schwab <schwab@suse.de>
12833
12834 * sysdeps/powerpc/dl-procinfo.c: Don't define
12835 _dl_powerpc_platforms.
12836 * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
12837 constants instead of referencing _dl_powerpc_platforms.
12838 (_dl_platform_string): Remove.
12839
12840 2016-12-13 Florian Weimer <fweimer@redhat.com>
12841
12842 * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
12843
12844 2016-12-13 Florian Weimer <fweimer@redhat.com>
12845
12846 * Rules (binaries-shared-tests, binaries-pie-tests)
12847 (binaries-static-tests): Link with $(link-extra-libs-tests).
12848 * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
12849 Remove $(link-extra-libs-tests).
12850
12851 2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12852
12853 * sysdeps/powerpc/powerpc64/multiarch/Makefile
12854 (sysdep_routines): Add strncmp_power9.
12855 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12856 (strncmp): Add __strncmp_power9 to list of strncmp functions.
12857 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
12858 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
12859 (strncmp): Add __strncmp_power9 to ifunc list.
12860 * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
12861
12862 2016-12-12 Florian Weimer <fweimer@redhat.com>
12863
12864 [BZ #17252]
12865 Add getentropy, getrandom.
12866 * stdlib/sys/random.h: New file.
12867 (headers): Add it.
12868 * stdlib/Makefile (routines): Add getentropy, getrandom.
12869 (tests): Add tst-getrandom.
12870 * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
12871 * stdlib/getentropy.c: New file.
12872 * stdlib/getrandom.c: Likewise.
12873 * stdlib/tst-getrandom.c: Likewise.
12874 * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
12875 * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
12876 * manual/crypt.texi (Unpredictable Bytes): New section.
12877 * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
12878 * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
12879 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12880 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12881 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12882 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12883 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12884 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12885 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12886 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12887 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12888 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12889 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12890 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12891 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12892 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12894 Likewise.
12895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12896 Likewise.
12897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12899 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12900 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12901 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12902 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12903 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12905 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12906 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12907 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12908 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12909
12910 2016-12-10 Florian Weimer <fweimer@redhat.com>
12911
12912 [BZ #20956]
12913 * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
12914 as additional compiler barriers.
12915 * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
12916 (fn2, do_test): Declare with external linkage.
12917 * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
12918 (do_test): Declare with external linkage.
12919 * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
12920 (do_test): Declare with external linkage.
12921 * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
12922 (do_test): Declare with external linkage.
12923
12924 2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
12925
12926 * support/support_test_main.c (support_test_main): Use correct
12927 timeout.
12928
12929 2016-12-09 Carlos O'Donell <carlos@redhat.com>
12930 Florian Weimer <fweimer@redhat.com>
12931
12932 [BZ #16421]
12933 * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
12934 and __u6_addr32 members.
12935 (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
12936 (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
12937 (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
12938 Use __u6_addr32.
12939 * inet/tst-checks.c: Use <support/test-driver.c>
12940 * inet/tst-checks-posix.c: New file.
12941 * inet/Makefile (tests): Add it.
12942 (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
12943
12944 2016-12-09 Florian Weimer <fweimer@redhat.com>
12945
12946 New subdirectory support for build and test infrastructure.
12947 * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
12948 setting install-lib.
12949 * Makeconfig (link-extra-libs-tests): Define.
12950 (+link-pie-tests, +link-static-tests, +link-tests): Use
12951 link-extra-libs-tests.
12952 (rpath-dirs, all-subdirs): Add support.
12953 (built-modules): Add libsupport.
12954 (libsupport): Define.
12955 * support: New directory.
12956 * support/Makefile: New file.
12957 * support/check.c: Likewise.
12958 * support/check.h: Likewise.
12959 * support/delayed_exit.c: Likewise.
12960 * support/ignore_stderr.c: Likewise.
12961 * support/oom_error.c: Likewise.
12962 * support/set_fortify_handler.c: Likewise.
12963 * support/support.h: Likewise.
12964 * support/temp_file-internal.h: Likewise.
12965 * support/temp_file.c: Likewise.
12966 * support/test-driver.c: Likewise.
12967 * support/test-driver.h: Likewise.
12968 * support/test_main.c: Likewise.
12969 * support/write_message.c: Likewise.
12970 * support/xasprintf.c: Likewise.
12971 * support/xcalloc.c: Likewise.
12972 * support/xmalloc.c: Likewise.
12973 * support/xpthread_barrier_destroy.c: Likewise.
12974 * support/xpthread_barrier_init.c: Likewise.
12975 * support/xpthread_barrier_wait.c: Likewise.
12976 * support/xpthread_cancel.c: Likewise.
12977 * support/xpthread_check_return.c: Likewise.
12978 * support/xpthread_cond_wait.c: Likewise.
12979 * support/xpthread_create.c: Likewise.
12980 * support/xpthread_detach.c: Likewise.
12981 * support/xpthread_join.c: Likewise.
12982 * support/xpthread_mutex_lock.c: Likewise.
12983 * support/xpthread_mutex_unlock.c: Likewise.
12984 * support/xpthread_sigmask.c: Likewise.
12985 * support/xpthread_spin_lock.c: Likewise.
12986 * support/xpthread_spin_unlock.c: Likewise.
12987 * support/xrealloc.c: Likewise.
12988 * support/xsignal.h: Likewise.
12989 * support/xthread.h: Likewise.
12990 * support_tempfile.h: Likewise.
12991 * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
12992 (TEST_DATA_LIMIT): Remove unused macro.
12993 (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
12994 <support/check.h>.
12995 (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
12996 (ignore_stderr, set_fortify_handler): Remove. Now in
12997 <support/support.h>.
12998 (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
12999 (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
13000 (xpthread_barrier_wait, xpthread_create, xpthread_detach)
13001 (xpthread_join): Remove. Now in <support/xthread.h>.
13002 (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
13003 Introduce legacy wrappers.
13004 * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
13005 * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
13006 (write_message): Remove.
13007 * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
13008 test-skeleton.c.
13009 * io/test-open-tmpfile: Likewise.
13010 * io/tst-posix_fallocate-common.c: Likewise.
13011 * libio/tst-fseek.c: Likewise.
13012 * malloc/tst-malloc-backtrace.c: Likewise.
13013 * malloc/tst-malloc-fork-deadlock.c: Likewise.
13014 * malloc/tst-malloc-thread-exit.c: Likewise.
13015 * nptl/tst-cancel7.c: Likewise.
13016 * nptl/tst-cleanup0.c: Likewise.
13017 * posix/tst-posix_fadvise-common.c: Likewise.
13018 * rt/tst-shm.c: Likewise.
13019 * time/bug-getdate1.c: Likewise.
13020 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
13021 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
13022 * elf/Makefile (tst-piemod1.so): Link against libsupport.
13023
13024 2016-12-08 Joseph Myers <joseph@codesourcery.com>
13025
13026 * Rules [$(run-built-tests) != no] (tests-expected): Add
13027 $(tests-printers).
13028 (tests): Do not pass $(tests-printers) to merge-test-results.sh.
13029
13030 2016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
13031
13032 [BZ #20539]
13033 * math/Makefile (install-lib-ldscripts): Add libm.a.
13034 (install_subdir): Remove.
13035 (install-others): Add.
13036 ($(inst_libdir)/libm.a): Add rule for installation as
13037 linker script.
13038 * Makerules (install-lib.a): Filter out install-lib-ldscripts.
13039
13040 2016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
13041
13042 * INSTALL: Regenerated.
13043 * Makeconfig: Add comments and whitespace to make the control flow
13044 clearer.
13045 (+link-printers-tests, +link-pie-printers-tests,
13046 CFLAGS-printers-tests, installed-rtld-LDFLAGS,
13047 built-rtld-LDFLAGS, link-libc-rpath,
13048 link-libc-tests-after-rpath-link,
13049 link-libc-printers-tests): New.
13050 (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
13051 link-libc-tests): Use the new variables as required.
13052 * Makerules ($(py-const)): New rule.
13053 generated: Add $(py-const).
13054 * README.pretty-printers: New file.
13055 * Rules (tests-printers-programs, tests-printers-out, py-env): New.
13056 (others): Depend on $(py-const).
13057 (tests): Depend on $(tests-printers-programs) or
13058 $(tests-printers-out),
13059 as required. Pass $(tests-printers) to merge-test-results.sh.
13060 * manual/install.texi: Add requirements for testing the pretty
13061 printers.
13062 * nptl/Makefile (gen-py-const-headers, pretty-printers,
13063 tests-printers, CFLAGS-test-mutexattr-printers.c
13064 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
13065 CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
13066 CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
13067 * nptl/nptl-printers.py: New file.
13068 * nptl/nptl_lock_constants.pysym: Likewise.
13069 * nptl/test-cond-printers.c: Likewise.
13070 * nptl/test-cond-printers.py: Likewise.
13071 * nptl/test-condattr-printers.c: Likewise.
13072 * nptl/test-condattr-printers.py: Likewise.
13073 * nptl/test-mutex-printers.c: Likewise.
13074 * nptl/test-mutex-printers.py: Likewise.
13075 * nptl/test-mutexattr-printers.c: Likewise.
13076 * nptl/test-mutexattr-printers.py: Likewise.
13077 * nptl/test-rwlock-printers.c: Likewise.
13078 * nptl/test-rwlock-printers.py: Likewise.
13079 * nptl/test-rwlockattr-printers.c: Likewise.
13080 * nptl/test-rwlockattr-printers.py: Likewise.
13081 * scripts/gen-py-const.awk: Likewise.
13082 * scripts/test_printers_common.py: Likewise.
13083 * scripts/test_printers_exceptions.py: Likewise.
13084
13085 2016-12-07 Joseph Myers <joseph@codesourcery.com>
13086
13087 * scripts/build-many-glibcs.py (Context.__init__): Take strip
13088 argument.
13089 (Glibc.build_glibc): Strip installed shared libraries if
13090 requested.
13091 (get_parser): Add --strip option.
13092 (main): Update Context call.
13093
13094 2016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13095 Dominik Vogt <vogt@linux.vnet.ibm.com>
13096
13097 [BZ #20847]
13098 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
13099 array bounds for else branch.
13100 (__execvpe): Style fixes.
13101 * posix/tst-vfork3.c (run_script): New function.
13102 (create_script): Likewise.
13103 (do_test): Use run_script internal function.
13104 (do_prepare): Use create_script internal function.
13105
13106 2016-12-07 Andreas Schwab <schwab@suse.de>
13107
13108 * sysdeps/unix/sysv/linux/x86/elision-conf.h
13109 (__elision_available): Don't declare.
13110 * sysdeps/unix/sysv/linux/x86/elision-conf.c
13111 (__elision_available): Don't define.
13112 (elision_init): Don't set __elision_available.
13113
13114 2016-12-07 Joseph Myers <joseph@codesourcery.com>
13115
13116 [BZ #20940]
13117 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
13118 return Inf for arguments Inf and sNaN.
13119 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13120 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13121 Likewise.
13122 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13123 Likewise.
13124 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13125 * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
13126 for arguments Inf and sNaN. When returning a NaN, compute it by
13127 arithmetic on the arguments.
13128 * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
13129 * math/libm-test.inc (hypot_test_data): Add tests of sNaN
13130 arguments.
13131
13132 2016-12-06 Joseph Myers <joseph@codesourcery.com>
13133
13134 [BZ #20916]
13135 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
13136 arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
13137 to compute result.
13138 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13139 * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
13140
13141 2016-12-05 Torvald Riegel <triegel@redhat.com>
13142
13143 * include/atomic.h (__atomic_check_size_ls): New.
13144 (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
13145 atomic_store_release): Use it.
13146 * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
13147 (elision_adapt, ELIDE_LOCK): Use atomics.
13148 * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
13149 atomics and improve code comments.
13150 * sysdeps/unix/sysv/linux/x86/elision-trylock.c
13151 (__lll_trylock_elision): Likewise.
13152
13153 2016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13154
13155 * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
13156 programs.
13157
13158 2016-12-02 Joseph Myers <joseph@codesourcery.com>
13159
13160 [BZ #20916]
13161 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
13162 for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
13163 arguments to compute result.
13164 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
13165 1 for arguments (sNaN, 0) or (1, sNaN).
13166 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13167 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13168
13169 [BZ #20919]
13170 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
13171 NaN first argument when raised to power 0.
13172 * math/w_pow.c (__pow): Do not check for NaN or zero results from
13173 raising to power zero.
13174 * math/w_powf.c (__powf): Likewise.
13175 * math/w_powl.c (__powl): Likewise.
13176 * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
13177 pow (0, 0) or pow (NaN, 0).
13178
13179 2016-12-02 Carlos O'Donell <carlos@redhat.com>
13180
13181 [BZ #20918]
13182 * configure.ac: Test for static NSS cryptographic libraries and set
13183 libc_cv_static_nss_crypt.
13184 * configure: Regenerate.
13185 * config.make.in (static-nss-crypt): Define.
13186 * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
13187 [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
13188 (CFLAGS-tst-linkall-static.c): Define.
13189 ($(objpfx)tst-linkall-static): Remove libcrypt.a.
13190 [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
13191 ($(objpfx)tst-linkall-static): Define.
13192 [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
13193 * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
13194
13195 2016-12-02 Florian Weimer <fweimer@redhat.com>
13196
13197 * elf/Makefile [build-shared] (tests): Add tst-latepthread.
13198 (one-hundred, tst-tls-many-dynamic-modules): Define.
13199 (modules-names): Add $(tst-tls-many-dynamic-modules).
13200 (tst-tls-manydynamic%mod.os): Build with special preprocessor
13201 macros.
13202 (tst-tls-manydynamic): Link against libdl, libpthread.
13203 (tst-tls-manydynamic.out): The test needs the test modules at run
13204 time.
13205 * elf/tst-tls-manydynamic.c: New file.
13206 * elf/tst-tls-manydynamic.h: Likewise.
13207 * elf/tst-tls-manydynamicmod.c: Likewise.
13208
13209 2016-12-02 Florian Weimer <fweimer@redhat.com>
13210
13211 * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
13212 (TLS_DTV_UNALLOCATED): Add.
13213 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
13214 offsets.
13215
13216 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
13217
13218 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13219
13220 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
13221
13222 * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
13223 Add -fno-optimize-sibling-calls.
13224
13225 2016-12-02 Joseph Myers <joseph@codesourcery.com>
13226
13227 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
13228 New declaration.
13229 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
13230 macro.
13231 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
13232 New macro.
13233 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
13234 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
13235 * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
13236 (llogbf): Likewise.
13237 (llogbl): Likewise.
13238 * math/Makefile (gen-libm-calls): Add w_llogbF.
13239 (tests): Add test-fp-llogb-constants.
13240 * math/w_llogb_template.c: New file. Based on
13241 math/w_ilogb_template.c.
13242 * math/libm-test.inc (llogb_test_data): New array.
13243 (llogb_test): New function.
13244 (main): Call llogb_test.
13245 * math/test-fp-llogb-constants.c: New file. Based on
13246 math/test-fp-ilogb-constants.c.
13247 * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
13248 (do_test): Call check_return_llogb.
13249 * math/test-tgmath.c (NCALLS): Increase to 126.
13250 (F(compile_test)): Call llogb.
13251 (F(llogb)): New function.
13252 * manual/math.texi (Exponents and Logarithms): Document llogb,
13253 llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
13254 * manual/libm-err-tab.pl (@all_functions): Add llogb.
13255 * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
13256 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
13257 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
13258 (CFLAGS-nldbl-llogb.c): New variable.
13259 * sysdeps/nacl/libm.abilist: Update.
13260 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13261 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13262 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13263 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13264 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13265 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13266 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13267 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13268 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13269 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13270 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13271 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13273 Likewise.
13274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13275 Likewise.
13276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13277 Likewise.
13278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13279 Likewise.
13280 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13281 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13282 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13283 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13284 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13285 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13286 Likewise.
13287 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13288 Likewise.
13289 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13290 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13291 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13292
13293 2016-12-01 Joseph Myers <joseph@codesourcery.com>
13294
13295 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
13296 _Float128 instead of long double.
13297 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
13298
13299 * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
13300 * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
13301 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
13302 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
13303 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
13304 * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
13305 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
13306 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
13307 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
13308 Likewise.
13309
13310 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13311
13312 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
13313 Remove redirection to __strrchr_ppc.
13314
13315 2016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13316
13317 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13318 (sysdep_routines): Add strcmp_power9.
13319 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13320 (strcmp): Add __strcmp_power9 to list of strcmp functions.
13321 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
13322 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13323 (strcmp): Add __strcmp_power9 to ifunc list.
13324 * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
13325
13326 2016-12-01 Joseph Myers <joseph@codesourcery.com>
13327
13328 * bits/fp-logb.h: New file.
13329 * sysdeps/ia64/bits/fp-logb.h: Likewise.
13330 * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
13331 * sysdeps/x86/bits/fp-logb.h: Likewise.
13332 * math/Makefile (headers): Add bits/fp-logb.h.
13333 * math/math.h: Include <bits/fp-logb.h>.
13334 [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
13335 [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
13336 * bits/mathdef.h (FP_ILOGB0): Remove.
13337 (FP_ILOGBNAN): Likewise.
13338 * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
13339 (FP_ILOGBNAN): Likewise.
13340 * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
13341 (FP_ILOGBNAN): Likewise.
13342 * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
13343 (FP_ILOGBNAN): Likewise.
13344 * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
13345 (FP_ILOGBNAN): Likewise.
13346 * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
13347 (FP_ILOGBNAN): Likewise.
13348 * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
13349 (FP_ILOGBNAN): Likewise.
13350 * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
13351 (FP_ILOGBNAN): Likewise.
13352 * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
13353 (FP_ILOGBNAN): Likewise.
13354 * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
13355 (FP_ILOGBNAN): Likewise.
13356
13357 * scripts/build-many-glibcs.py: Add bot to usage message. Import
13358 time module.
13359 (Context.__init__): Initialize self.logsdir_old.
13360 (Context.run_builds): Handle bot action.
13361 (Context.bot_cycle): Copy logs directory before running builds.
13362 (Context.bot_run_self): Take argument for whether to check
13363 subprocess result. Flush stdout before running subprocess.
13364 (Context.bot): New function.
13365 (get_parser): Allow bot action.
13366
13367 2016-11-30 Joseph Myers <joseph@codesourcery.com>
13368
13369 * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
13370 Import email.mime.text, email.utils and smtplib modules.
13371 (Context.__init__): Initialize self.bot_config_json.
13372 (Context.run_builds): Handle bot-cycle action.
13373 (Context.load_bot_config_json): New function.
13374 (Context.part_build_old): Likewise.
13375 (Context.bot_cycle): Likewise.
13376 (Context.bot_build_mail): Likewise.
13377 (Context.bot_run_self): Likewise.
13378 (get_parser): Allow bot-cycle action.
13379
13380 2016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13381
13382 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
13383 Remove redirection to __stpcpy_ppc.
13384
13385 2016-11-30 Florian Weimer <fweimer@redhat.com>
13386
13387 Remove __libc_memalign from ld.so because it is unused.
13388 * elf/dl-minimal.c: Update comment on the malloc implementation.
13389 (malloc): Renamed from __libc_memalign, replacing the original
13390 malloc implementation. Replace the align parameter with
13391 MALLOC_ALIGNMENT.
13392 * elf/Versions (ld): Update comment and remove __libc_memalign.
13393 * sysdeps/nacl/ld.abilist: Likewise.
13394 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13395 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13396 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13397 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13398 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13399 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13400 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13401 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13402 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13403 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13404 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13405 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13406 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13410 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13411 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13412 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13413 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13414 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13415 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
13416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
13417 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
13418 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13419 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13420 * sysdeps/generic/localplt.data (ld.so): Likewise.
13421 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13422 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13423 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13424 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13425 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13426 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13427 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13428 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
13429 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13431 (ld.so): Likewise.
13432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13433 (ld.so): Likewise.
13434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13435 Likewise.
13436 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13437 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13438 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
13439 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
13440 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13441
13442 2016-11-30 Florian Weimer <fweimer@redhat.com>
13443
13444 [BZ #16628]
13445 Implement _dl_catch_error, _dl_signal_error in libc.so.
13446 * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
13447 (catch_hook): Define as thread-local or regular variable,
13448 depending on DL_ERROR_BOOTSTRAP.
13449 (CATCH_HOOK): Remove.
13450 (dl_signal_error, _dl_catch_error): Use
13451 catch_hook. Add hidden definition for libc.
13452 (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
13453 for DL_ERROR_BOOTSTRAP only.
13454 * elf/dl-error.c: New file.
13455 * elf/dl-error-minimal.c: Likewise.
13456 * elf/tst-latepthread.c: Likewise.
13457 * elf/tst-latepthreadmod.c: Likewise.
13458 * elf/Makefile (routines): Add dl-error.
13459 (dl-routines): Remove dl-error.
13460 (rtld-routines): Add dl-error-minimal.
13461 [build-shared] (tests): Add tst-latepthread.
13462 (module-names): Add tst-latepthreadmod.
13463 (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
13464 symbol.
13465 (tst-latepthreadmod.so): Link against libpthread.
13466 (tst-latepthread): Link against libdbl.
13467 * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
13468 _dl_catch_error.
13469 [ld] (GLIBC_PRIVATE): Likewise.
13470 * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
13471 * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
13472 * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
13473 directly.
13474 * elf/dl-tsd.c: Remove file.
13475 * elf/rtld.c (_rtld_global_ro): Remove initializers for
13476 _dl_catch_error, _dl_signal_error.
13477 (_dl_initial_error_catch_tsd): Remove definition.
13478 (do_preload): Remove initialization of dl_error_catch_tsd.
13479 * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
13480 * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
13481 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13482 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13483 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
13484 set dl_error_catch_tsd.
13485 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
13486 _dl_error_catch_tsd member.
13487 (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
13488 members.
13489 (_dl_initial_error_catch_tsd): Remove declaration.
13490 (_dl_dprintf): Provide definition for use outside of ld.so.
13491 [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
13492 (_dl_signal_error, _dl_catch_error): Make public. Add hidden
13493 prototype for libc.
13494 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
13495 _dl_catch_error.
13496 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13497 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13498 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13499 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13500 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13501 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13502 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13503 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
13504 Likewise.
13505 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13507 (ld.so): Likewise.
13508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13509 (ld.so): Likewise.
13510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13511 Likewise.
13512 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13513 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13514 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
13515 Likewise.
13516 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
13517 Likewise.
13518 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13519
13520 2016-11-30 Florian Weimer <fweimer@redhat.com>
13521
13522 [BZ #4099]
13523 * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
13524 _IO_BUFSIZ (8192).
13525
13526 2016-11-30 Carlos O'Donell <carlos@redhat.com>
13527
13528 * PROJECTS: Remove file.
13529
13530 2016-11-29 Florian Weimer <fweimer@redhat.com>
13531
13532 * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
13533
13534 2016-11-29 Yury Norov <ynorov@caviumnetworks.com>
13535 Steve Ellcey <sellcey@caviumnetworks.com>
13536
13537 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
13538 fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
13539 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
13540 fxstatat.
13541 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
13542 lxstat.
13543 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
13544 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
13545 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
13546 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
13547 an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
13548 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
13549 __xstat.
13550
13551 2016-11-29 Florian Weimer <fweimer@redhat.com>
13552
13553 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
13554 Define.
13555 * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
13556 definition.
13557
13558 2016-11-29 Florian Weimer <fweimer@redhat.com>
13559
13560 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
13561 version and turn into strong alias. Remove compat symbol.
13562
13563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13564 (__longjmp): Remove.
13565
13566 2016-11-29 Joseph Myers <joseph@codesourcery.com>
13567
13568 * bits/fp-fast.h: New file.
13569 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
13570 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
13571 * math/Makefile (headers): Add bits/fp-fast.h.
13572 * math/math.h: Include <bits/fp-fast.h>.
13573 * bits/mathdef.h (FP_FAST_FMA): Remove.
13574 (FP_FAST_FMAF): Likewise.
13575 (FP_FAST_FMAL): Likewise.
13576 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
13577 (FP_FAST_FMAF): Likewise.
13578 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
13579 (FP_FAST_FMAF): Likewise.
13580 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
13581 (FP_FAST_FMAF): Likewise.
13582 (FP_FAST_FMAL): Likewise.
13583 * sysdeps/arm/bits/mathdef.h: Remove file.
13584 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
13585 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13586 * sysdeps/tile/bits/mathdef.h: Likewise.
13587
13588 2016-11-28 Joseph Myers <joseph@codesourcery.com>
13589
13590 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
13591 * math/w_ilogb.c: Remove.
13592 * math/w_ilogbf.c: Likewise.
13593 * math/w_ilogbl.c: Likewise.
13594 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
13595 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
13596 * math/Makefile (gen-libm-calls): Add w_ilogbF.
13597 (libm-calls): Remove w_ilogbF.
13598 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
13599 (LDOUBLE_ilogbl_libm_version): New macro.
13600
13601 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
13602
13603 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
13604 [!__STRICT_ANSI__ && !__cplusplus].
13605
13606 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
13607
13608 [BZ #20750]
13609 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
13610 of PIC.
13611
13612 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
13613 Yury Norov <ynorov@caviumnetworks.com>
13614 Steve Ellcey <sellcey@caviumnetworks.com>
13615
13616 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
13617 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
13618 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
13619 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
13620 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
13621 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
13622 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
13623 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
13624 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
13625 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
13626 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
13627 to get correct reg name for ILP32.
13628 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
13629 (RELA_SIZE): New Macro.
13630 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
13631 to support ILP32.
13632 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
13633 cast for ILP32 mode.
13634 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
13635 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
13636 * sysdeps/aarch64/memset.S (__memset): Ditto.
13637 * sysdeps/aarch64/strchr.S (strchr): Ditto.
13638 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
13639 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
13640 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
13641 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
13642 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
13643 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
13644 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
13645 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
13646 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
13647 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
13648 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
13649 change PTR_MANGLE call to use register numbers instead of names.
13650 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
13651 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
13652 ILP32 mode, change PTR_MANGLE calls to use register numbers.
13653 * sysdeps/aarch64/start.S (_start): Ditto.
13654 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
13655 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
13656 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
13657 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
13658 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
13659 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
13660 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
13661 Make defined values dependent on __ILP32__.
13662 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
13663 (sem_t): Change __align type.
13664 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
13665 PTR_SIZE): New Macros.
13666 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
13667 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
13668 Set when in ILP32 mode.
13669 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
13670 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
13671 Set elf flags for ILP32.
13672 (add_system_dir): Set ILP32 library directories.
13673 * sysdeps/unix/sysv/linux/aarch64/init-first.c
13674 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
13675 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
13676 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
13677 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
13678 New Macros.
13679 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
13680
13681 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
13682
13683 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
13684 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
13685 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
13686
13687 2016-11-28 Joseph Myers <joseph@codesourcery.com>
13688
13689 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
13690 <asm/cachectl.h>.
13691
13692 2016-11-27 Zack Weinberg <zackw@panix.com>
13693
13694 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
13695 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
13696
13697 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13698
13699 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
13700 error_t to fix usage in C++ programs.
13701
13702 2016-11-26 Joseph Myers <joseph@codesourcery.com>
13703
13704 * scripts/build-many-glibcs.py: Import datetime module.
13705 (Context.__init__): Load JSON build state. Initialize list of
13706 status logs.
13707 (Context.run_builds): Update saved build state.
13708 (Context.add_makefile_cmdlist): Update list of status logs.
13709 (Context.load_build_state_json): New function.
13710 (Context.store_build_state_json): Likewise.
13711 (Context.clear_last_build_state): Likewise.
13712 (Context.update_build_state): Likewise.
13713 (CommandList.status_logs): Likewise.
13714
13715 2016-11-25 Joseph Myers <joseph@codesourcery.com>
13716
13717 * scripts/build-many-glibcs.py (Context.__init__): Save text of
13718 script being executed.
13719 (Context.get_script_text): New function.
13720 (Context.exec_self): Likewise.
13721 (Context.checkout): Re-exec script if changed by checkout process.
13722
13723 2016-11-24 Joseph Myers <joseph@codesourcery.com>
13724
13725 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13726 (setpayloadsig): New declaration.
13727 * math/Versions (setpayloadsig): New libm symbol at version
13728 GLIBC_2.25.
13729 (setpayloadsigf): Likewise.
13730 (setpayloadsigl): Likewise.
13731 * math/Makefile (libm-calls): Add s_setpayloadsigF.
13732 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
13733 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
13734 (setpayloadsig_test_data): New array.
13735 (setpayloadsig_test): New function.
13736 (main): Call setpayloadsig_test.
13737 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
13738 setpayloadsigf and setpayloadsigl.
13739 * manual/libm-err-tab.pl: Update comment on interfaces without
13740 ulps tabulated.
13741 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
13742 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
13743 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
13744 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
13745 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
13746 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
13747 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13748 setpayloadsig.
13749 (CFLAGS-nldbl-setpayloadsig.c): New variable.
13750 * sysdeps/nacl/libm.abilist: Update.
13751 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13752 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13753 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13754 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13755 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13756 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13757 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13758 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13759 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13760 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13761 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13762 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13764 Likewise.
13765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13766 Likewise.
13767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13768 Likewise.
13769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13770 Likewise.
13771 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13772 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13773 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13774 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13775 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13776 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13777 Likewise.
13778 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13779 Likewise.
13780 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13781 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13782 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13783
13784 * scripts/build-many-glibcs.py: Import json module.
13785 (Context.__init__): Take replace_sources argument. Load
13786 versions.json.
13787 (Context.load_versions_json): New function.
13788 (Context.store_json): Likewise.
13789 (Context.store_versions_json): Likewise.
13790 (Context.set_component_version): Likewise.
13791 (Context.checkout): Update versions.json. Check for and handle
13792 changes of version. Prefer previously explicitly specified
13793 version to default version.
13794 (Context.checkout_vcs): Return a revision identifier.
13795 (Context.git_checkout): Likewise.
13796 (Context.gcc_checkout): Likewise.
13797 (get_parser): Add --replace-sources option.
13798 (main): Pass replace_sources argument to Context call.
13799
13800 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13801
13802 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
13803 * nptl/allocatestack.c (allocate_stack): Likewise.
13804 (__reclaim_stacks): Likewise.
13805 (setxid_signal_thread): Obtain pid through syscall.
13806 * nptl/nptl-init.c (sigcancel_handler): Likewise.
13807 (sighandle_setxid): Likewise.
13808 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
13809 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
13810 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
13811 Likewise.
13812 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
13813 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
13814 comment.
13815 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
13816 * nptl/descr.h (struct pthread): Change comment about pid value.
13817 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
13818 pid assert.
13819 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
13820 Do not set pid value.
13821 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
13822 pid cache check.
13823 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
13824 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
13825 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
13826 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
13827 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
13828 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
13829 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
13830 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
13831 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
13832 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
13833 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
13834 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
13835 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
13836 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
13837 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
13838 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
13839 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
13840 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
13841 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
13842 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
13843 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
13844 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13845 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
13846 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
13847 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
13848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13850 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13851 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
13852 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13853 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
13854 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
13855 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
13856 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13857 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
13858 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
13859 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
13860 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13861 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
13862 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
13863 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
13864 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
13865 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
13866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
13867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
13868 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13869 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13870 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13871 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
13872 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
13873 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
13874 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13875 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
13876 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
13877 struct access.
13878 (clone_test): Remove function.
13879 (do_test): Rewrite to take in consideration pid is not cached anymore.
13880
13881 2016-11-24 Joseph Myers <joseph@codesourcery.com>
13882
13883 * bits/flt-eval-method.h: New file.
13884 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
13885 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
13886 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
13887 * math/Makefile (headers): Add bits/flt-eval-method.h.
13888 * math/math.h: Include <bits/flt-eval-method.h>.
13889 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
13890 [__USE_ISOC99] (double_t): Likewise.
13891 * bits/mathdef.h (float_t): Remove.
13892 (double_t): Likewise.
13893 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
13894 (double_t): Likewise.
13895 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
13896 (double_t): Likewise.
13897 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
13898 (double_t): Likewise.
13899 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
13900 (double_t): Likewise.
13901 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
13902 (double_t): Likewise.
13903 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
13904 (double_t): Likewise.
13905 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
13906 (double_t): Likewise.
13907 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
13908 (double_t): Likewise.
13909 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
13910 (double_t): Likewise.
13911 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
13912 (double_t): Likewise.
13913 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
13914 (double_t): Likewise.
13915 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
13916 (double_t): Likewise.
13917 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
13918 (double_t): Likewise.
13919
13920 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
13921
13922 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
13923 instead of PIC.
13924
13925 2016-11-23 Joseph Myers <joseph@codesourcery.com>
13926
13927 [BZ #20859]
13928 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
13929 (-0x7fffffff) instead of 0x80000001.
13930 * math/test-fp-ilogb-constants.c: New file.
13931 * math/Makefile (tests): Add test-fp-ilogb-constants.
13932
13933 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
13934
13935 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
13936 (_init): Use it in place of hardcoded R_MIPS_JALR.
13937 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
13938 (_init): Use it in place of hardcoded R_MIPS_JALR.
13939 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
13940 (_init): Use it in place of hardcoded R_MIPS_JALR.
13941
13942 2016-11-23 Joseph Myers <joseph@codesourcery.com>
13943
13944 [BZ #20787]
13945 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
13946 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
13947 (double_t): Do not define to double if [__x86_64__] when
13948 __FLT_EVAL_METHOD__ is nonzero.
13949 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
13950 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
13951 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13952 test-flt-eval-method-387 and test-flt-eval-method-sse.
13953 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
13954 variable.
13955 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
13956
13957 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
13958
13959 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
13960 use of -fno-isolate-erroneous-paths options for tilepro.
13961
13962 2016-11-23 Florian Weimer <fweimer@redhat.com>
13963
13964 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
13965 structure initialization is no longer needed.
13966
13967 2016-11-23 Joseph Myers <joseph@codesourcery.com>
13968
13969 [BZ #20855]
13970 * bits/mathdef.h (float_t): Define to float.
13971 * math/test-flt-eval-method.c: New file.
13972 * math/Makefile (tests): Add test-flt-eval-method.
13973 (CFLAGS-test-flt-eval-method.c): New variable.
13974
13975 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
13976
13977 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
13978 and __fstatfs. Make them aliases of __fstatfs64 if
13979 STATFS_IS_STATFS64 is set to non-zero.
13980 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
13981 and __statfs64.
13982 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
13983 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
13984 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
13985 for __statfs and statfs.
13986 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
13987 to 0.
13988 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
13989 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
13990 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
13991 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
13992 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
13993 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
13994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
13995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
13996 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
13997 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
13998 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
13999 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
14000
14001 2016-11-22 Andreas Schwab <schwab@suse.de>
14002
14003 * misc/mkstemp.c: Include <fcntl.h>.
14004 * misc/mkstemps.c: Likewise.
14005 * misc/mkostemp.c: Likewise.
14006 * misc/mkostemps.c: Likewise.
14007
14008 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
14009
14010 [BZ #20847]
14011 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
14012 array bounds.
14013 (__execvpe): Likewise.
14014
14015 2016-11-22 Joseph Myers <joseph@codesourcery.com>
14016
14017 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
14018 -fno-isolate-erroneous-paths options for tilepro.
14019
14020 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
14021
14022 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
14023 to 0 when in 32 bit mode.
14024 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
14025 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
14026 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
14027 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
14028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
14029 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
14030 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
14031 XSTAT_IS_XSTAT64 test.
14032 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
14033 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
14034 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
14035 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
14036 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
14037 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
14038 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
14039 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
14040 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
14041 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
14042 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
14043
14044 2016-11-19 Joseph Myers <joseph@codesourcery.com>
14045
14046 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14047 (setpayload): New declaration.
14048 * math/Versions (setpayload): New libm symbol at version
14049 GLIBC_2.25.
14050 (setpayloadf): Likewise.
14051 (setpayloadl): Likewise.
14052 * math/Makefile (libm-calls): Add s_setpayloadF.
14053 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
14054 test_Ff_b1_data.
14055 (RUN_TEST_Ff_b1): New macro.
14056 (RUN_TEST_LOOP_Ff_b1): Likewise.
14057 (canonicalize_test_data): Update type.
14058 (setpayload_test_data): New array.
14059 (setpayload_test): New function.
14060 (main): Call setpayload_test.
14061 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
14062 setpayloadf and setpayloadl.
14063 * manual/libm-err-tab.pl: Update comment on interfaces without
14064 ulps tabulated.
14065 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
14066 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
14067 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
14068 Likewise.
14069 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
14070 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
14071 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
14072 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
14073 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
14074 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
14075 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
14076 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
14077 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
14078 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14079 setpayload.
14080 (CFLAGS-nldbl-setpayload.c): New variable.
14081 * sysdeps/nacl/libm.abilist: Update.
14082 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14083 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14084 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14085 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14086 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14087 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14088 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14089 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14090 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14091 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14092 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14093 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14095 Likewise.
14096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14097 Likewise.
14098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14099 Likewise.
14100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14101 Likewise.
14102 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14103 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14104 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14105 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14106 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14108 Likewise.
14109 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14110 Likewise.
14111 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14112 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14113 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14114
14115 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14116
14117 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
14118 * include/unistd.h: Extend comment about __access_noerrno return
14119 semantics.
14120 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
14121 (access_common): Correct typo for EACCES.
14122
14123 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
14124
14125 * sysdeps/tile/math-tests.h: New file.
14126
14127 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
14128 (__old_set_dataplane): Rename from set_dataplane and make a
14129 compatibility symbol.
14130 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
14131 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
14132 sys/dataplane.h.
14133
14134 2016-11-18 Joseph Myers <joseph@codesourcery.com>
14135
14136 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
14137 script quote words in command output to log suitably for input to
14138 the shell.
14139
14140 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
14141 Maciej W. Rozycki <macro@imgtec.com>
14142
14143 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
14144 `.Lno_weak_fn' label.
14145 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
14146 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
14147
14148 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14149 Yury Norov <ynorov@caviumnetworks.com>
14150
14151 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
14152 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
14153 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14154 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
14155 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14156 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
14157 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14158 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14159 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14160 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
14161 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14162 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
14163 (sysdep_routines): Remove oldgetrlimit64.
14164 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
14165 (sysdep_routines): Likewise.
14166 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
14167 (sysdep_routines): Likewise.
14168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14169 [$(subdir) = resource] (sysdep_routines): Likewise.
14170 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
14171 [$(subdir) = resource] (sysdep_routines): Likewise.
14172 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
14173 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
14174 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
14175 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
14176 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
14177 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14178 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
14179 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
14180 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
14181 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
14182 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
14183 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
14184 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
14185 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
14186 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
14187 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
14188 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
14189 setrlimit and getrlimit.
14190 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
14191 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14192 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
14193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
14195 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14196 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
14197 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14198 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14199 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
14200 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
14201 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
14202 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
14203 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
14204 (__old_getrlimit64): Add compatibility symbol.
14205 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
14206
14207 2016-11-17 Joseph Myers <joseph@codesourcery.com>
14208
14209 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
14210 newly built gmp, mpfr and mpc.
14211
14212 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
14213
14214 2016-11-16 Joseph Myers <joseph@codesourcery.com>
14215
14216 * conform/Makefile (linknamespace-libs): Rename to
14217 linknamespace-libs-thr.
14218 (linknamespace-libs-posix): New variable.
14219 (linknamespace-libs-xsi): Likewise.
14220 (linknamespace-libs-XPG3): Include libcrypt.a.
14221 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
14222 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
14223 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
14224 (linknamespace-libs-XOPEN2K): Likewise.
14225 (linknamespace-libs-XOPEN2K8): Likewise.
14226 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
14227
14228 [BZ #20829]
14229 * stdio-common/Versions (__snprintf): Add to version
14230 GLIBC_PRIVATE.
14231 * include/stdio.h (__snprintf): Use libc_hidden_proto.
14232 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
14233 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
14234 of snprintf.
14235 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14236
14237 2016-11-16 Zack Weinberg <zackw@panix.com>
14238
14239 * string/string.h: Remove obsolete comment stating that
14240 strcoll_l and strxfrm_l have not yet been standardized.
14241
14242 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14243
14244 * hurd/hurd.h (__hurd_fail_noerrno): New function.
14245 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
14246 __access_noerrno.
14247 * io/access.c (__access_noerrno): New function.
14248 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
14249 (hurd_fail_seterrno): Likewise.
14250 (access_common): Likewise.
14251 (__access_noerrno): Likewise.
14252 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
14253 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
14254 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
14255 macro.
14256
14257 2016-11-16 Joseph Myers <joseph@codesourcery.com>
14258
14259 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
14260 Only declare fpregs if [__SH_FPU_ANY__].
14261
14262 2016-11-15 Joseph Myers <joseph@codesourcery.com>
14263
14264 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
14265 Make code unconditional.
14266 [!(__SH4__ || __SH4A__)]: Remove conditional code.
14267
14268 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
14269
14270 * manual/sysinfo.texi (S_APPEND): Delete.
14271 (S_IMMUTABLE): Likewise.
14272
14273 2016-11-15 Denis Kaganovich <mahatma@eu.by>
14274 Magnus Granberg <zorry@gentoo.org>
14275 Mike Frysinger <vapier@gentoo.org>
14276
14277 [BZ #20662]
14278 * configure.ac (libc_cv_predef_stack_protector): Also check for
14279 __stack_chk_fail_local symbols.
14280 * configure: Regenerated.
14281
14282 2016-11-15 Florian Weimer <fweimer@redhat.com>
14283
14284 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14285 (libc_hidden_def): Remove redefinition.
14286 (__sigsetjmp): Add hidden definition.
14287 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14288 (libc_hidden_def): Remove redefinition.
14289 (__sigsetjmp): Add hidden definition.
14290
14291 2016-11-14 Joseph Myers <joseph@codesourcery.com>
14292
14293 * scripts/build-many-glibcs.py (os.path): Do not import.
14294 (Context): Inherit explicitly from object. Remove blank line
14295 between class and docstring.
14296 (Config): Likewise.
14297 (Glibc): Likewise.
14298 (Command): Likewise.
14299 (CommandList): Likewise.
14300 (Context.write_files): Store chmod mode in a variable.
14301
14302 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
14303 LIBC_SLIBDIR_RTLDDIR for tilegx32.
14304 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
14305
14306 2016-11-14 Zack Weinberg <zackw@panix.com>
14307
14308 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
14309 creating or re-creating it.
14310
14311 * string/bits/string2.h: Fix typo in comment.
14312
14313 2016-11-14 Zack Weinberg <zackw@panix.com>
14314
14315 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
14316 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
14317 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
14318 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
14319 of redirected function names.
14320
14321 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
14322 as well. Document that MESSAGE must be a single string literal.
14323
14324 2016-11-11 Joseph Myers <joseph@codesourcery.com>
14325
14326 * scripts/build-many-glibcs.py: New file.
14327
14328 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
14329 (do_test): Disable -Wmaybe-uninitialized around uses of
14330 except_mask.
14331
14332 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
14333
14334 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
14335
14336 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
14337 (atomic_store_release): Provide tilepro-specific implementations.
14338
14339 2016-11-10 Joseph Myers <joseph@codesourcery.com>
14340
14341 * math/math.h (__MATH_TG): New macro.
14342 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
14343 [__USE_ISOC99] (signbit): Likewise.
14344 [__USE_ISOC99] (isfinite): Likewise.
14345 [__USE_ISOC99] (isnan): Likewise.
14346 [__USE_ISOC99] (isinf): Likewise.
14347 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
14348 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
14349 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
14350 __MATH_TG and __MATH_EVAL_FMT2.
14351 * sysdeps/generic/math_private.h (fabs_tg): Define using
14352 __MATH_TG.
14353 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
14354 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
14355 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
14356 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
14357 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
14358 macro.
14359 (__iscanonical): Likewise.
14360 (iscanonical): Define using __MATH_TG.
14361
14362 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14363
14364 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
14365 guards.
14366
14367 * sysdeps/unix/sysv/linux/access.c: New file.
14368 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
14369
14370 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
14371
14372 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
14373 and __WORDSIZE32_PTRDIFF_LONG.
14374
14375 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
14376
14377 * sysdeps/aarch64/libm-test-ulps: Regenerated.
14378
14379 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14380
14381 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
14382 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
14383 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
14384 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
14385 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
14386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
14387 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
14388 * sysdeps/unix/sysv/linux/truncate.c: New file.
14389 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
14390 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14391 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
14392 Remove.
14393 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
14394 Likewise.
14395
14396 * posix/tst-truncate-common.c: New file.
14397 * posix/tst-truncate.c: Use tst-truncate-common.c.
14398 * posix/tst-truncate64.c: Likewise and add LFS tests.
14399 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
14400 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
14401 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
14402 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
14403 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
14404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
14405 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
14406 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
14407 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
14408 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14409 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
14410 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
14411 Remove.
14412 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
14413 Likewise.
14414
14415 2016-11-08 Joseph Myers <joseph@codesourcery.com>
14416
14417 [BZ #20790]
14418 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
14419 to MAXLINESIZE.
14420 * sunrpc/bug20790.x: New file.
14421 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
14422 variable.
14423 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
14424 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
14425
14426 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
14427
14428 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
14429
14430 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
14431 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
14432 calloc, realloc, free, memalign and __libc_memalign rather than
14433 making them optional.
14434
14435 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
14436 for libc.so.
14437
14438 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14439
14440 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
14441 ptw-lseek64.
14442 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
14443 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
14444 Likewise.
14445 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
14446 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
14447 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
14448 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
14449 * sysdeps/unix/sysv/linux/lseek.c: New file.
14450 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
14451 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
14452 __libc_lseek64 from auto-generation.
14453 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14454 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
14455
14456 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14457
14458 * nptl/tst-basic1.c (tf, do_test): Use write_message.
14459 * nptl/tst-cleanup1.c (do_test): Likewise.
14460 * nptl/tst-cleanup3.c (do_test): Likewise.
14461 * nptl/tst-key1.c (do_test): Likewise.
14462 * nptl/tst-key2.c (tf, do_test): Likewise.
14463 * nptl/tst-key3.c (tf, do_test): Likewise.
14464 * nptl/tst-stdio1.c (do_test): Likewise.
14465 * nptl/tst-stdio2.c (do_test): Likewise.
14466
14467 * nptl/tst-kill3.c (handler): Use write_message in place of write.
14468 * nptl/tst-kill6.c (handler): Likewise.
14469 * nptl/tst-tls2.c (CB): Likewise.
14470 * nptl/tst-tls3.c (CB): Likewise.
14471
14472 2016-11-07 Joseph Myers <joseph@codesourcery.com>
14473
14474 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
14475
14476 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
14477 Steve Ellcey <sellcey@caviumnetworks.com>
14478
14479 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
14480 __ASSUME_ST_INO_64_BIT as 0
14481 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
14482 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
14483 over the code where __ASSUME_ST_INO_64_BIT is used.
14484 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
14485 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
14486 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14487
14488 2016-11-07 Florian Weimer <fweimer@redhat.com>
14489
14490 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14491 Document ABI exposure of the __kind offset.
14492 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14493 Mention reason for the __kind offset exposure in the ABI.
14494 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14495 Likewise.
14496 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14497 Likewise.
14498 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14499 Likewise.
14500 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
14501 (struct __pthread_mutex_s): Likewise.
14502 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14503 Likewise.
14504 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14505 Likewise.
14506 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14507 Likewise.
14508 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14509 Likewise.
14510 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14511 Likewise.
14512 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14513 Likewise.
14514 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
14515 (struct __pthread_mutex_s): Likewise.
14516 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14517 (struct __pthread_mutex_s): Likewise.
14518 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
14519 Likewise.
14520
14521 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
14522
14523 * test-skeleton.c: Document do_test usage.
14524
14525 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
14526
14527 * iconv/gconv.h (__gconv_info): Define __data element using a
14528 zero-length array.
14529
14530 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
14531
14532 * math/test-tgmath2.c: Split up test function.
14533
14534 2016-11-04 Joseph Myers <joseph@codesourcery.com>
14535
14536 * Rules (tests-expected): New variable, depending on
14537 $(run-built-tests).
14538 (tests): Pass $(tests-expected) to merge-test-results.sh, not
14539 $(tests).
14540
14541 * Rules [$(run-built-tests) = no] (tests): Do not depend on
14542 $(tests-unsupported).
14543
14544 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14545
14546 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
14547 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
14548
14549 2016-11-04 Joseph Myers <joseph@codesourcery.com>
14550
14551 [BZ #20768]
14552 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
14553 __fegetenv instead of fegetenv.
14554
14555 [BZ #14139]
14556 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
14557 (find_files): Obtain platform name from libm-test-ulps-name and
14558 store in %pplatforms.
14559 (canonicalize_platform): Remove.
14560 (print_platforms): Use $pplatforms directly.
14561 (by_platforms): Do not allow for platforms missing from
14562 %pplatforms.
14563 * sysdeps/aarch64/libm-test-ulps-name: New file.
14564 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
14565 * sysdeps/arm/libm-test-ulps-name: Likewise.
14566 * sysdeps/generic/libm-test-ulps-name: Likewise.
14567 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
14568 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
14569 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
14570 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
14571 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
14572 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
14573 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
14574 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
14575 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
14576 * sysdeps/nios2/libm-test-ulps-name: Likewise.
14577 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
14578 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
14579 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
14580 * sysdeps/sh/libm-test-ulps-name: Likewise.
14581 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
14582 * sysdeps/tile/libm-test-ulps-name: Likewise.
14583 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
14584
14585 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
14586
14587 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
14588 (test-xfail-check-execstack): New variable.
14589
14590 * sysdeps/mips/localplt.data: New file.
14591
14592 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
14593 Steve Ellcey <sellcey@caviumnetworks.com>
14594
14595 * bits/wordsize.h: Add documentation.
14596 * sysdeps/aarch64/bits/wordsize.h : New file
14597 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
14598 definitions.
14599 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
14600 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
14601 with #if instead of #ifdef.
14602 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
14603 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
14604 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
14605 Add or change defines.
14606 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
14607 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14608 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
14609 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
14610 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14611 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14612 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
14613 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
14614 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
14615 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14616 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
14617 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
14618 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
14619 * sysdeps/x86/bits/wordsize.h: Likewise.
14620
14621 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
14622 Kevin Petit <kevin.petit@arm.com>
14623
14624 * sysdeps/aarch64/memchr.S (__memchr): New file.
14625
14626 2016-11-04 Joseph Myers <joseph@codesourcery.com>
14627
14628 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
14629
14630 2016-11-03 Joseph Myers <joseph@codesourcery.com>
14631
14632 [BZ #19398]
14633 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
14634 $(linknamespace-symlists-tests).
14635
14636 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
14637
14638 * time/tst-strptime2.c: Ignore -Wformat-length warning.
14639
14640 2016-11-02 Florian Weimer <fweimer@redhat.com>
14641 Carlos O'Donell <carlos@redhat.com>
14642
14643 [Bug #20729]
14644 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
14645 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
14646 for -Os related change.
14647
14648 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
14649
14650 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
14651
14652 2016-11-01 Joseph Myers <joseph@codesourcery.com>
14653
14654 [BZ #19673]
14655 * manual/math.texi (Exponents and Logarithms): Correct description
14656 of clog10.
14657
14658 2016-10-31 Carlos O'Donell <carlos@redhat.com>
14659
14660 [Bz #20729]
14661 * locale/weight.h: Include libc-internal.h.
14662 * locale/weightwc.h: Likewise.
14663 * nptl/nptl_dbP.h: Likewise.
14664
14665 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
14666
14667 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
14668 when it is MACH_PORT_NULL.
14669
14670 2016-10-31 Andreas Schwab <schwab@suse.de>
14671
14672 [BZ #20707]
14673 * posix/glob.c (glob): Initialize pglob before checking for
14674 GLOB_BRACE. Don't call glob recursively if pattern contains no
14675 valid brace expression despite GLOB_BRACE.
14676 * posix/globtest.sh: Test it.
14677
14678 2016-10-28 Carlos O'Donell <carlos@redhat.com>
14679
14680 [BZ #20729]
14681 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
14682 Define.
14683 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
14684 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
14685 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
14686 for seq2.back_us and seq1.back_us only for -Os compiles.
14687 * locale/weightwc.h (findix): Likewise.
14688 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
14689 DB_GET_FIELD_ADDRESS only for -Os compiles.
14690 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
14691 for slen only for -Os compiles.
14692 * string/strcoll_l.c (get_next_seq): Ignore
14693 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
14694 for -Os compiles.
14695
14696 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
14697 * include/crypt.h: New file.
14698
14699 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14700
14701 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
14702 from test-skeleton.c.
14703 (statclass): Replace calls to write with calls to write_message.
14704
14705 2016-10-28 Joseph Myers <joseph@codesourcery.com>
14706
14707 * math/math.h
14708 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
14709 New macro.
14710 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
14711 Likewise.
14712 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
14713 Likewise.
14714 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
14715 SNANL.
14716 * math/test-double.h (snan_value_MACRO): New macro.
14717 * math/test-float.h (snan_value_MACRO): Likewise.
14718 * math/test-ldouble.h (snan_value_MACRO): Likewise.
14719 * math/libm-test.inc (issignaling_test_data): Add tests of
14720 snan_value_MACRO.
14721
14722 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14723
14724 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
14725 behavior when eliding a lock not held by the current thread.
14726 * sysdeps/powerpc/nptl/elide.h: Likewise.
14727
14728 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14729
14730 [BZ #20728]
14731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
14732 branch to _exit() by a function call.
14733
14734 2016-10-28 Florian Weimer <fweimer@redhat.com>
14735
14736 * malloc/malloc.c: Update chunk layout comments.
14737 (chunk_main_arena): Update comment.
14738
14739 2016-10-28 Florian Weimer <fweimer@redhat.com>
14740
14741 * crypt/sha256.c, crypt/sha256-block.c,
14742 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
14743 sha256_process_block to __sha256_process_block.
14744 * crypt/sha512.c, crypt/sha512-block.c,
14745 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
14746 sha512_process_block to __sha512_process_block.
14747
14748 2016-10-28 Carlos O'Donell <carlos@redhat.com>
14749
14750 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
14751
14752 * math/test-nan-overflow.c: Include stdlib.h for malloc.
14753
14754 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
14755
14756 [BZ #20019]
14757 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
14758 definition in unrelocated shared library.
14759 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14760
14761 2016-10-28 Florian Weimer <fweimer@redhat.com>
14762
14763 [BZ #20729]
14764 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
14765 * sysdeps/unix/sysv/linux/i386/Makefile
14766 (uses-6-syscall-arguments): Define.
14767 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
14768 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
14769 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
14770 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
14771 Likewise.
14772 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
14773 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
14774 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
14775 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
14776 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
14777 (CFLAGS-fallocate64.os): Likewise.
14778 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
14779 (CFLAGS-pthread_rwlock_timedrdlock.os)
14780 (CFLAGS-pthread_rwlock_timedwrlock.o)
14781 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
14782 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
14783 (CFLAGS-sem_timedwait.os): Likewise.
14784
14785 2016-10-28 Florian Weimer <fweimer@redhat.com>
14786
14787 * elf/tst-linkall-static.c: New file.
14788 * elf/Makefile (tests-static): Add tst-linkall-static.
14789 (tst-linkall-static): Link against static libraries.
14790
14791 2016-10-27 Florian Weimer <fweimer@redhat.com>
14792
14793 * malloc/malloc.c (sysmalloc): Initialize previous size field of
14794 mmaped chunks.
14795
14796 2016-10-28 Florian Weimer <fweimer@redhat.com>
14797
14798 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
14799 members to mchunk_prev_size, mchunk_size.
14800 (chunk_main_arena): Reverse sense and rename from
14801 chunk_non_main_arena.
14802 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
14803 mchunk_size instead of size.
14804 (set_non_main_arena): Define.
14805 (chunksize): Use chunksize_nomask instead of direct member access.
14806 (chunksize_nomask): Define.
14807 (next_chunk): Use chunksize instead of direct member access.
14808 (prev_size, set_prev_size): Define.
14809 (prev_chunk): Use prev_size instead of direct member access.
14810 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
14811 (inuse_bit_at_offset, set_inuse_bit_at_offset)
14812 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
14813 (mchunk_prev_size, mchunk_size): Poison tokens.
14814 (unlink): Use chunksize_nomask, prev_size accessors.
14815 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
14816 (do_check_free_chunk): Use prev_size accessor.
14817 (sysmalloc): Use set_prev_size, set_head accessors.
14818 (munmap_chunk, mremap_chunk): Use prev_size accessor.
14819 (__libc_free): Use chunksize_nomask accessor.
14820 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
14821 chunk_main_arena accessors.
14822 (_int_free): Use chunksize_nomask, prev_size accessors.
14823 (malloc_consolidate): Use chunksize, prev_size accessors.
14824 (_int_realloc): Use chunksize_nomask accessor.
14825 (_int_memalign): Use set_prev_size accessor.
14826 (__malloc_info): Use chunksize_nomask accessor.
14827 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
14828 accessors.
14829 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
14830 (heap_trim): Use chunksize_nomask, prev_size accessors.
14831
14832 2016-10-28 Joseph Myers <joseph@codesourcery.com>
14833
14834 [BZ #19380]
14835 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
14836 for inexact results.
14837 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
14838 of inexact result where mpfr_subnormalize is the only inexact
14839 step.
14840 * stdlib/tst-strtod-round-data.h: Regenerated.
14841 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
14842 Define to 0.
14843 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
14844
14845 2016-10-27 David S. Miller <davem@davemloft.net>
14846
14847 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
14848
14849 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
14850
14851 * malloc/malloc.c (do_set_mallopt_check): New function.
14852 (do_set_mmap_threshold): Likewise.
14853 (do_set_mmaps_max): Likewise.
14854 (do_set_top_pad): Likewise.
14855 (do_set_perturb_byte): Likewise.
14856 (do_set_trim_threshold): Likewise.
14857 (do_set_arena_max): Likewise.
14858 (do_set_arena_test): Likewise.
14859 (__libc_mallopt): Use them.
14860
14861 2016-10-26 Joseph Myers <joseph@codesourcery.com>
14862
14863 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14864 (canonicalize): New declaration.
14865 * math/Versions (canonicalize): New libm symbol at version
14866 GLIBC_2.25.
14867 (canonicalizef): Likewise.
14868 (canonicalizel): Likewise.
14869 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
14870 * math/s_canonicalize_template.c: New file.
14871 * math/libm-test.inc: Update comment on functions tested and
14872 testing of NaN payloads.
14873 (TEST_NAN_PAYLOAD): New macro.
14874 (NO_TEST_INLINE): Update value.
14875 (XFAIL_TEST): Likewise.
14876 (ERRNO_UNCHANGED): Likewise.
14877 (ERRNO_EDOM): Likewise.
14878 (ERRNO_ERANGE): Likewise.
14879 (IGNORE_RESULT): Likewise.
14880 (NON_FINITE): Likewise.
14881 (TEST_SNAN): Likewise.
14882 (NO_TEST_MATHVEC): Likewise.
14883 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
14884 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
14885 (struct test_Ffp_b1_data): New type.
14886 (RUN_TEST_Ffp_b1): New macro.
14887 (RUN_TEST_LOOP_Ffp_b1): Likewise.
14888 (canonicalize_test_data): New array.
14889 (canonicalize_test): New function.
14890 (main): Call canonicalize_test.
14891 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
14892 canonicalizef and canonicalizel.
14893 * manual/libm-err-tab.pl: Update comment on interfaces without
14894 ulps tabulated.
14895 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
14896 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
14897 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14898 canonicalize.
14899 (CFLAGS-nldbl-canonicalize.c): New variable.
14900 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
14901 to ...
14902 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
14903 ... here.
14904 (do_test): Also test canonicalizel.
14905 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
14906 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
14907 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
14908 file.
14909 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
14910 Use libm_hidden_def.
14911 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
14912 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
14913 (do_test): Also test canonicalizel.
14914 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
14915 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
14916 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
14917 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
14918 libm_hidden_def.
14919 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
14920 macro.
14921 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
14922 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
14923 * sysdeps/nacl/libm.abilist: Update.
14924 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14925 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14926 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14927 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14928 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14929 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14930 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14931 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14932 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14933 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14934 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14935 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14937 Likewise.
14938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14939 Likewise.
14940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14941 Likewise.
14942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14943 Likewise.
14944 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14945 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14946 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14947 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14948 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14949 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14950 Likewise.
14951 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14952 Likewise.
14953 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14954 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14955 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14956
14957 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
14958 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14959 getpayload.
14960 (CFLAGS-nldbl-getpayload.c): New variable.
14961
14962 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14963
14964 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
14965 integer from the format string.
14966
14967 2016-10-26 Florian Weimer <fweimer@redhat.com>
14968
14969 [BZ #19473]
14970 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
14971 declarations.
14972 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
14973 weak aliases.
14974 * malloc/hooks.c (__malloc_get_state): Remove definition.
14975 (malloc_get_state): New stub implementation as
14976 compatibility symbol.
14977 (malloc_set_state): Rename from __malloc_set_state. Turn into
14978 compat symbol.
14979 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
14980 malloc_set_state.
14981 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
14982
14983 2016-10-26 Florian Weimer <fweimer@redhat.com>
14984
14985 * iconvdata/iso646.c (enum variant): Drop illegal_var.
14986 (names): Turn into concatenation of strings.
14987 (gconv_init): Adapt iteration over names.
14988
14989 2016-10-26 Florian Weimer <fweimer@redhat.com>
14990
14991 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
14992 make const.
14993 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
14994 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
14995 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
14996 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
14997 character in sbconv.
14998 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
14999 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
15000 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
15001
15002 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
15003
15004 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
15005
15006 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
15007 (M_TRIM_THRESHOLD): Likewise.
15008
15009 * manual/memory.texi (M_ARENA_TEST): Add documentation.
15010 (M_ARENA_MAX): Likewise.
15011 * malloc/malloc.c: Remove obsolete comment.
15012
15013 * manual/memory.texi: Add environment variable alternatives to
15014 setting mallopt parameters.
15015
15016 2016-10-26 Carlos O'Donell <carlos@redhat.com>
15017
15018 * include/atomic.h
15019 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
15020 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
15021
15022 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15023
15024 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
15025 * stdlib/tst-strfrom.h: New file.
15026 * stdlib/tst-strfrom.c: New file.
15027 * stdlib/tst-strfrom-locale.c: New file.
15028
15029 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
15030 * stdlib/bug-strtod2.c: Likewise.
15031 * stdlib/tst-strtod-round-skeleton.c: Likewise.
15032 * stdlib/tst-strtod6.c: Likewise.
15033 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
15034
15035 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15036
15037 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
15038 * manual/arith.texi: Document strfromd, strfromf, strfroml.
15039 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
15040 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
15041 * stdlib/stdlib.h (strfromd): New declaration.
15042 (strfromf): Likewise.
15043 (strfroml): Likewise.
15044 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
15045 strfrom.
15046 * stdlib/strfromd.c: New file.
15047 * stdlib/strfromf.c: Likewise.
15048 * stdlib/strfroml.c: Likewise.
15049 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
15050 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
15051 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
15052 * sysdeps/arm/nacl/libc.abilist: Update.
15053 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15054 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15055 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15056 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15057 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15058 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15059 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15060 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15061 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15062 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15063 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15064 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15065 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15066 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
15068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
15069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15071 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15072 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15073 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15074 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15075 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15076 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15077 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15078 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15079 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15080 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15081
15082 2016-10-25 Joseph Myers <joseph@codesourcery.com>
15083
15084 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
15085 instead of cmpli.
15086 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
15087 instead of cmpli.
15088
15089 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
15090
15091 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
15092 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
15093 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
15094 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15095 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15096 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15097
15098 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15099
15100 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
15101 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15102 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
15103 SYSCALL_LL64_PRW.
15104 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15105 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
15106 __ASSUME_PRW_DUMMY_ARG.
15107 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
15108 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15109 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15110 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15111 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
15112 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
15113
15114 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
15115
15116 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
15117
15118 2016-10-22 Florian Weimer <fweimer@redhat.com>
15119
15120 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
15121 "C++", to override a potential extern "C" directive around the
15122 header file inclusion.
15123
15124 2016-10-21 Joseph Myers <joseph@codesourcery.com>
15125
15126 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
15127
15128 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15129
15130 * sysdeps/powerpc/fpu/fenv_private.h:
15131 (_FPU_MASK_ALL): Rename to...
15132 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
15133 XE FPSCR bits.
15134
15135 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
15136
15137 (_FPU_MASK_ROUNDING): Rename to...
15138 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
15139 NI bits.
15140
15141 (_FPU_MASK_EXCEPT_ROUND): Rename to...
15142 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
15143 bits and rounding bits.
15144
15145 (__libc_feholdbits_ppc): New inline function to mask, set,
15146 and pontentially clear FSPCR bits, and change MSR[FE] bits.
15147 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
15148 (libc_feholdexcept_setround_ppc): Likewise.
15149
15150 (__libc_femergeenv_ppc): New function to dynamically mask both
15151 old and new FP environments and merge.
15152 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
15153 (libc_feresetround_ppc): Likewise.
15154 (libc_feupdateenv_test_ppc): Likewise.
15155 (libc_feupdateenv_ppc): Likewise.
15156
15157 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
15158 of ISA RN bits, and update macro names.
15159 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
15160 effectively the same as the previously mentioned function.
15161
15162 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
15163 usage with fe_resetround_ppc.
15164
15165 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
15166 to be used.
15167 (libc_feholdexcept_setround_ctxf): Likewise.
15168 (libc_feholdexcept_setround_ctxl): Likewise.
15169
15170 2016-10-21 Florian Weimer <fweimer@redhat.com>
15171
15172 [BZ #20715]
15173 * math/math.h [__cplusplus] (iszero): Define as function template.
15174 * math/Makefile [CXX] (tests): Add test-math-iszero.
15175 (CFLAGS-test-math-iszero.cc): Set.
15176 * math/test-math-iszero.cc: New file.
15177
15178 2016-10-20 Joseph Myers <joseph@codesourcery.com>
15179
15180 [BZ #20660]
15181 * sysdeps/arm/e_sqrt.c: New file.
15182 * sysdeps/arm/e_sqrtf.c: Likewise.
15183
15184 2016-10-19 Joseph Myers <joseph@codesourcery.com>
15185
15186 [BZ #20718]
15187 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
15188 not use floating-point comparisons to test sign.
15189 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
15190 Likewise.
15191
15192 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15193 (getpayload): New declaration.
15194 * math/Versions (getpayload): New libm symbol at version
15195 GLIBC_2.25.
15196 (getpayloadf): Likewise.
15197 (getpayloadl): Likewise.
15198 * math/Makefile (libm-calls): Add s_getpayloadF.
15199 * math/libm-test.inc: Include <nan-high-order-bit.h>.
15200 (struct test_f_f_data): Add comment.
15201 (RUN_TEST_fp_f): New macro.
15202 (RUN_TEST_LOOP_fp_f): Likewise.
15203 (getpayload_test_data): New array.
15204 (getpayload_test): New function.
15205 (main): Call getpayload_test.
15206 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
15207 descriptor.
15208 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
15209 getpayloadf and getpayloadl.
15210 * manual/libm-err-tab.pl: Update comment on interfaces without
15211 ulps tabulated.
15212 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
15213 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
15214 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
15215 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
15216 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
15217 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
15218 * sysdeps/nacl/libm.abilist: Update.
15219 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15220 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15221 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15222 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15223 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15224 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15225 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15226 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15227 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15228 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15229 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15230 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15232 Likewise.
15233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15234 Likewise.
15235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15236 Likewise.
15237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15238 Likewise.
15239 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15240 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15241 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15242 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15243 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15244 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15245 Likewise.
15246 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15247 Likewise.
15248 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15249 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15250 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15251
15252 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15253
15254 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
15255 tst-fallocate{64}.
15256 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
15257 on syscall return.
15258
15259 2016-10-17 Carlos O'Donell <carlos@redhat.com>
15260
15261 [BZ #20689]
15262 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
15263 usable.
15264
15265 2016-10-17 Joseph Myers <joseph@codesourcery.com>
15266
15267 * sysdeps/generic/nan-high-order-bit.h: New file.
15268 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
15269 * sysdeps/mips/nan-high-order-bit.h: Likewise.
15270 * sysdeps/hppa/math_private.h: Remove file.
15271 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
15272 not define here.
15273 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
15274 <nan-high-order-bit.h>.
15275 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15276 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
15277 <nan-high-order-bit.h>.
15278 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15279 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
15280 <nan-high-order-bit.h>.
15281 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15282 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
15283 <nan-high-order-bit.h>.
15284 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15285 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
15286 <nan-high-order-bit.h>.
15287 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15288 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
15289 <nan-high-order-bit.h>.
15290 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15291 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
15292 <nan-high-order-bit.h>.
15293 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15294 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
15295 <nan-high-order-bit.h>.
15296 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15297 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
15298 <nan-high-order-bit.h>.
15299 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15300 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
15301 <nan-high-order-bit.h>.
15302 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15303 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
15304 <nan-high-order-bit.h>.
15305 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15306 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
15307 <nan-high-order-bit.h>.
15308 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15309 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
15310 <nan-high-order-bit.h>.
15311 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15312 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
15313 <nan-high-order-bit.h>.
15314 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15315 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
15316 <nan-high-order-bit.h>.
15317 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15318 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
15319 <nan-high-order-bit.h>.
15320 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15321 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
15322 <nan-high-order-bit.h>.
15323 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15324 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
15325 <nan-high-order-bit.h>.
15326 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15327
15328 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
15329
15330 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
15331
15332 2016-09-22 John David Anglin <dave.anglin@bell.net>
15333
15334 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
15335 abort-instr.h.
15336 (EFAULT): Remove conditional define.
15337 (ENOSYS): Likewise.
15338 (atomic_compare_and_exchange_val_acq): Use instruction nullification
15339 instead of conditional branch instructions.
15340
15341 2016-10-15 Joseph Myers <joseph@codesourcery.com>
15342
15343 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15344 (totalordermag): New declaration.
15345 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
15346 New macro.
15347 * math/Versions (totalordermag): New libm symbol at version
15348 GLIBC_2.25.
15349 (totalordermagf): Likewise.
15350 (totalordermagl): Likewise.
15351 * math/Makefile (libm-calls): Add s_totalordermagF.
15352 * math/libm-test.inc (totalordermag_test_data): New array.
15353 (totalordermag_test): New function.
15354 (main): Call totalordermag_test.
15355 * math/test-tgmath.c (NCALLS): Increase to 125.
15356 (F(compile_test)): Call totalordermag.
15357 (F(totalordermag)): New function.
15358 * manual/arith.texi (FP Comparison Functions): Document
15359 totalordermag, totalordermagf and totalordermagl.
15360 * manual/libm-err-tab.pl: Update comment on interfaces without
15361 ulps tabulated.
15362 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
15363 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
15364 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
15365 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
15366 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
15367 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
15368 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
15369 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15370 totalordermag.
15371 (CFLAGS-nldbl-totalordermag.c): New variable.
15372 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
15373 (do_test): Also test totalordermagl.
15374 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
15375 Likewise.
15376 * sysdeps/nacl/libm.abilist: Update.
15377 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15378 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15379 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15380 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15381 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15382 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15383 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15384 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15385 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15386 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15387 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15388 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15390 Likewise.
15391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15392 Likewise.
15393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15394 Likewise.
15395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15396 Likewise.
15397 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15398 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15399 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15400 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15401 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15403 Likewise.
15404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15405 Likewise.
15406 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15407 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15408 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15409
15410 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
15411
15412 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
15413 boolean.
15414
15415 2016-10-13 Joseph Myers <joseph@codesourcery.com>
15416
15417 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
15418 raising FE_INVALID with feraisexcept in case where part of
15419 argument is infinite, subtract that part of argument from itself.
15420 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
15421 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
15422 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15423
15424 2016-10-12 Joseph Myers <joseph@codesourcery.com>
15425
15426 * math/libm-test.inc (totalorder_test_data): Add more tests.
15427
15428 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
15429
15430 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
15431 Undefine weak_alias and add a comment why mips64 require
15432 versioning.
15433
15434 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
15435
15436 [BZ #20647]
15437 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
15438 maximum CPUID level is less than 2.
15439
15440 2016-10-12 Joseph Myers <joseph@codesourcery.com>
15441
15442 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15443 (totalorder): New declaration.
15444 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
15445 New macro.
15446 * math/Versions (totalorder): New libm symbol at version
15447 GLIBC_2.25.
15448 (totalorderf): Likewise.
15449 (totalorderl): Likewise.
15450 * math/Makefile (libm-calls): Add s_totalorderF.
15451 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
15452 string.
15453 * math/libm-test.inc (PAYLOAD_DIG): New macro.
15454 (qnan_value_pl): Likewise.
15455 (snan_value_pl): Likewise.
15456 (qnan_value): Define using qnan_value_pl.
15457 (snan_value): Define using snan_value_pl.
15458 (struct test_ff_i_data): Add comment about which tests use this
15459 structure.
15460 (RUN_TEST_ff_b): New macro.
15461 (RUN_TEST_LOOP_ff_b): Likewise.
15462 (totalorder_test_data): New array.
15463 (totalorder_test): New function.
15464 (main): Call totalorder_test.
15465 * math/test-tgmath.c (NCALLS): Increase to 122.
15466 (F(compile_test)): Call totalorder.
15467 (F(totalorder)): New function.
15468 * manual/arith.texi (FP Comparison Functions): Document
15469 totalorder, totalorderf and totalorderl.
15470 * manual/libm-err-tab.pl: Update comment on interfaces without
15471 ulps tabulated.
15472 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
15473 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
15474 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
15475 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
15476 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
15477 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
15478 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
15479 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15480 totalorder.
15481 (CFLAGS-nldbl-totalorder.c): New variable.
15482 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
15483 file.
15484 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15485 Add test-totalorderl-ldbl-128ibm.
15486 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
15487 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
15488 test-totalorderl-ldbl-96.
15489 * sysdeps/nacl/libm.abilist: Update.
15490 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15491 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15492 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15493 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15494 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15495 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15496 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15497 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15498 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15499 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15500 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15501 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15503 Likewise.
15504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15505 Likewise.
15506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15507 Likewise.
15508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15509 Likewise.
15510 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15511 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15512 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15513 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15514 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15516 Likewise.
15517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15518 Likewise.
15519 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15520 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15521 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15522
15523 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15524
15525 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
15526 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
15527 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
15528 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
15529 remove ENOSYS implementation.
15530 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
15531 Consolidate all Linux implementations.
15532
15533 2016-10-11 Florian Weimer <fweimer@redhat.com>
15534
15535 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
15536 * resolv/herror.c (herror): Cast away const-ness.
15537 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
15538 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
15539
15540 2016-10-11 Joseph Myers <joseph@codesourcery.com>
15541
15542 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
15543 instead of M_NAN + M_NAN.
15544 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15545
15546 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15547
15548 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
15549 unused variable 'p'.
15550
15551 2016-10-09 Alan Modra <amodra@gmail.com>
15552 Andreas Schwab <schwab@linux-m68k.org>
15553
15554 [BZ #20554]
15555 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
15556 [PIC && !SHARED]: Set up PIC register for PLT call.
15557
15558 2016-10-07 Joseph Myers <joseph@codesourcery.com>
15559
15560 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
15561 conditional on value of [__FLT_EVAL_METHOD__].
15562 * math/test-iseqsig-excess-precision.c: New file.
15563 * math/Makefile (tests): Add test-iseqsig-excess-precision.
15564
15565 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15566
15567 * math/s_iseqsig_template.c: Include math-private.h.
15568
15569 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
15570 * posix/tst-posix_fadvise.c: New file.
15571 * posix/tst-posix_fadvise64.c: Likewise.
15572 * posix/tst-posix_fadvise-common.c: Likewise.
15573 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15574 (__ASSUME_FADVISE64_64_6ARG): Define.
15575 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15576 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
15577 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15578 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
15579 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
15580 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
15581 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
15582 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
15583 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
15584 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
15585 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
15586 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
15587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
15588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
15589 Likewise.
15590 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
15591 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
15592 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
15593 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15594 Alias to __posix_fadvise64_l32.
15595 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
15596 Add compat definition to posix_fadvise64.
15597 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15598 Add versioned definition to posix_fadvise64.
15599 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
15600 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
15601 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
15602 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
15603 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
15604
15605 * io/Makefile (tests): Add tst-posix_fallocate and
15606 tst-posix_fallocate64.
15607 * io/tst-posix_fallocate-common.c: New file.
15608 * io/tst-posix_fallocate.c: Likewise.
15609 * io/tst-posix_fallocate64.c: Likewise.
15610 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
15611 file.
15612 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
15613 Likewise.
15614 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
15615 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
15616 Likewise.
15617 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
15618 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
15619 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
15620 SYSCALL_LL to pass both offset and len arguments.
15621 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
15622 Likewise.
15623 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
15624 __libc_pwrite64 alias used by posix_fallocate64.
15625
15626 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15627 tst-fallocate64.
15628 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15629 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15630 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15631 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15632 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15633 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15634 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15635 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15636 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15637 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15638 macro on offset argument.
15639 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15640 SYSCALL_LL64 on offset argument.
15641
15642 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15643 tst-fallocate64.
15644 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15645 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15646 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15647 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15648 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15649 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15650 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15651 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15652 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15653 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15654 macro on offset argument.
15655 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15656 SYSCALL_LL64 on offset argument.
15657 * test-skeleton.c (FAIL_RET): Add macro.
15658 (FAIL_EXIT): Likewise.
15659 (FAIL_EXIT1): Likewise.
15660 (_FAIL): Likewise.
15661
15662 2016-10-07 Florian Weimer <fweimer@redhat.com>
15663
15664 [BZ #20629]
15665 resolv: Remove RES_USEBSTRING and its implementation.
15666 * resolv/resolv.h (RES_USEBSTRING): Remove.
15667 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
15668 (digitvalue, encode_bitstring, decode_bitstring): Remove.
15669 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
15670 (labellen): Remove extended label types support.
15671 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
15672 * resolv/res_init.c (res_setoptions): Likewise.
15673 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
15674
15675 2016-10-07 Florian Weimer <fweimer@redhat.com>
15676
15677 resolv: Remove RES_NOIP6DOTINT and its implementation.
15678 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
15679 (RES_NOIP6DOTINT): Remove.
15680 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
15681 handling.
15682 * resolv/res_debug.c (p_option): Likewise.
15683 * resolv/res_init.c (res_setoptions): Likewise.
15684 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
15685
15686 2016-10-07 Florian Weimer <fweimer@redhat.com>
15687
15688 resolv: Deprecate unimplemented flags.
15689 * misc/sys/cdefs.h (__glibc_macro_warning1)
15690 (__glibc_macro_warning): Define.
15691 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
15692 (RES_KEEPTSIG): Mark as deprecated.
15693 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
15694 RES_NOCHECKNAME, RES_KEEPTSIG.
15695 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
15696
15697 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15698
15699 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
15700 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
15701 Use strong_alias to create symbols for glibc verison 2.19.
15702
15703 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15704
15705 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
15706
15707 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15708
15709 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
15710
15711 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15712
15713 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
15714
15715 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15716
15717 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15718 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
15719 in header for using it as type for ifunc function because __GI_* symbols
15720 for ppc32 do not target the ifunc symbols.
15721 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15722
15723 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15724
15725 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
15726 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
15727 libc_ifunc_hidden_def.
15728 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
15729 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
15730 Redirect ifunced function in header for using it as type of ifunc'ed
15731 function. Redefine libc_hidden_def to use fallback non ifunc'ed
15732 function for __GI_* symbol.
15733 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
15734 * include/libc-symbols.h
15735 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
15736
15737 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15738
15739 [BZ #20478]
15740 * sysdeps/s390/multiarch/ifunc-resolve.h
15741 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
15742 to create ifunc symbols.
15743 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
15744 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
15745 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
15746 for using it as type for ifunc function.
15747 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
15748 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15749 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
15750 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
15751 * sysdeps/s390/multiarch/strcat.c: Likewise.
15752 * sysdeps/s390/multiarch/strchr.c: Likewise.
15753 * sysdeps/s390/multiarch/strcmp.c: Likewise.
15754 * sysdeps/s390/multiarch/strcpy.c: Likewise.
15755 * sysdeps/s390/multiarch/strcspn.c: Likewise.
15756 * sysdeps/s390/multiarch/strlen.c: Likewise.
15757 * sysdeps/s390/multiarch/strncmp.c: Likewise.
15758 * sysdeps/s390/multiarch/strncpy.c: Likewise.
15759 * sysdeps/s390/multiarch/strnlen.c: Likewise.
15760 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
15761 * sysdeps/s390/multiarch/strrchr.c: Likewise.
15762 * sysdeps/s390/multiarch/strspn.c: Likewise.
15763 * sysdeps/s390/multiarch/wcschr.c: Likewise.
15764 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
15765 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
15766 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
15767 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15768 * sysdeps/s390/multiarch/wmemset.c: Likewise.
15769 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
15770 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
15771 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
15772 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
15773 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
15774 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
15775
15776 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15777
15778 * include/libc-symbols.h (__ifunc_resolver):
15779 New macro is used by __ifunc* macros.
15780 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
15781 depending on HAVE_GCC_IFUNC.
15782 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
15783 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
15784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
15785 Redirect ifunced function in header for using as type for ifunc function.
15786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
15787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
15788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
15789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
15790 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
15791 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
15792 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
15793 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
15794 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
15795 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
15796 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
15797 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
15798 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
15799 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
15800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
15801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
15802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
15803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
15804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
15805 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
15806 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
15807 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
15808 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
15809 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
15810 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
15811 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
15812 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
15813 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
15814 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
15815 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
15816 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
15817 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
15818 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
15819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
15820 Add libc_hidden_def() and use libc_ifunc_hidden() macro
15821 instead of libc_ifunc() macro.
15822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
15823 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
15824
15825 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15826
15827 * config.h.in (HAVE_GCC_IFUNC): New undef.
15828 * configure.ac: Add check if gcc supports attribute ifunc feature.
15829 * configure: Regenerated.
15830 * manual/install.texi: Add recommendation for gcc with
15831 indirect-function support.
15832 * INSTALL: Regenerated.
15833
15834 2016-10-06 Joseph Myers <joseph@codesourcery.com>
15835
15836 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
15837 macro.
15838 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15839 (__iseqsig): New declaration.
15840 * math/s_iseqsig_template.c: New file.
15841 * math/Versions (__iseqsigf): New libm symbol at version
15842 GLIBC_2.25.
15843 (__iseqsig): Likewise.
15844 (__iseqsigl): Likewise.
15845 * math/libm-test.inc (iseqsig_test_data): New array.
15846 (iseqsig_test): New function.
15847 (main): Call iseqsig_test.
15848 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
15849 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
15850 * manual/libm-err-tab.pl: Update comment on interfaces without
15851 ulps tabulated.
15852 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
15853 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
15854 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
15855 * sysdeps/nacl/libm.abilist: Update.
15856 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15857 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15858 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15859 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15860 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15861 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15862 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15863 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15864 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15865 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15866 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15867 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15869 Likewise.
15870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15871 Likewise.
15872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15873 Likewise.
15874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15875 Likewise.
15876 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15877 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15878 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15879 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15880 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15882 Likewise.
15883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15884 Likewise.
15885 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15886 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15887 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15888
15889 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
15890
15891 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
15892 do_sincos_2, sloww, sloww1): Update comments.
15893
15894 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
15895 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
15896
15897 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
15898 K boolean and rename it.
15899 (__sin): Adjust.
15900 (__cos): Adjust.
15901
15902 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
15903 Siddhesh Poyarekar <siddhesh@sourceware.org>
15904
15905 * manual/nss.texi: Fix typos in the manual.
15906
15907 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
15908
15909 * manual/contrib.texi: Fix typos in the manual.
15910
15911 * manual/maint.texi: Fix typos in the manual.
15912
15913 * manual/install.texi: Fix typos in the manual.
15914 * INSTALL: Regenerated.
15915
15916 * manual/lang.texi: Fix typos in the manual.
15917
15918 * manual/probes.texi: Fix typos in the manual.
15919
15920 * manual/threads.texi: Fix typos in the manual.
15921
15922 * manual/debug.texi: Fix typos in the manual.
15923
15924 * manual/crypt.texi: Fix typos in the manual.
15925
15926 * manual/conf.texi: Fix typos in the manual.
15927
15928 * manual/sysinfo.texi: Fix typos in the manual.
15929
15930 * manual/users.texi: Fix typos in the manual.
15931
15932 * manual/job.texi: Fix typos in the manual.
15933
15934 * manual/process.texi: Fix typos in the manual.
15935
15936 * manual/argp.texi: Fix typos in the manual.
15937 * manual/getopt.texi: Likewise.
15938 * manual/startup.texi: Likewise.
15939
15940 * manual/signal.texi: Fix typos in the manual.
15941
15942 * manual/setjmp.texi: Fix typos in the manual.
15943
15944 * manual/resource.texi: Fix typos in the manual.
15945
15946 * manual/time.texi: Fix typos in the manual.
15947
15948 * manual/arith.texi: Fix typos in the manual.
15949
15950 * manual/math.texi: Fix typos in the manual.
15951
15952 * manual/syslog.texi: Fix typos in the manual.
15953
15954 * manual/terminal.texi: Fix typos in the manual.
15955
15956 * manual/socket.texi: Fix typos in the manual.
15957
15958 * manual/filesys.texi: Fix typos in the manual.
15959
15960 * manual/llio.texi: Fix typos in the manual.
15961
15962 * manual/stdio.text: Fix typos in the manual.
15963
15964 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
15965
15966 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
15967 instead of K1.
15968
15969 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
15970 SHIFT_QUADRANT and make it bool.
15971 (do_sincos_2): Likewise.
15972 (sloww): Likewise.
15973 (sloww1): Likewise.
15974 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
15975 (__cos): Likewise.
15976
15977 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15978
15979 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
15980
15981 2016-10-04 Joseph Myers <joseph@codesourcery.com>
15982
15983 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
15984 Define to __WORDSIZE, not conditional on [LONG_MAX ==
15985 0x7fffffffL].
15986 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
15987
15988 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15989
15990 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
15991 inline by __inline__.
15992 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
15993 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
15994 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
15995 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
15996 sigset_t from signal.h.
15997 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
15998 which is already required.
15999
16000 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
16001
16002 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16003
16004 2016-10-03 Joseph Myers <joseph@codesourcery.com>
16005
16006 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
16007 (struct tcp_repair_window): New type.
16008
16009 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16010
16011 * libio/tst-memstream3.c: Include string.h.
16012
16013 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16014
16015 [BZ #18241]
16016 [BZ #20181]
16017 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
16018 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
16019 write position is at the end the buffer.
16020 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
16021 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
16022 (_IO_str_seekoff): Set correct offset from negative displacement and
16023 set EINVAL for invalid ones.
16024 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
16025 buffer length.
16026 (_IO_wstr_switch_to_get_mode): New function.
16027 (_IO_wstr_seekoff): Set correct offset from negative displacement and
16028 set EINVAL for invalid ones.
16029 * libio/tst-memstream3.c: New file.
16030 * libio/tst-wmemstream3.c: Likewise.
16031 * manual/examples/memstrm.c: Remove warning when priting size_t.
16032
16033 2016-09-30 Joseph Myers <joseph@codesourcery.com>
16034
16035 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
16036 macro to use __builtin_fma.
16037 * sysdeps/x86_64/fpu/dla.h: Remove file.
16038
16039 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
16040 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
16041 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
16042
16043 2016-09-30 Carlos O'Donell <carlos@redhat.com>
16044
16045 [BZ #20292]
16046 * elf/Makefile (routines): Add dl-addr-obj.
16047 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
16048 tst-_dl_addr_inside_object.
16049 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
16050 [ifeq (yesyes,$(have-fpie)$(build-shared))]
16051 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
16052 [ifeq (yesyes,$(have-fpie)$(build-shared))]
16053 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
16054 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
16055 * elf/dl-open.c: Likewise.
16056 * elf/dl-addr-obj.c: New file.
16057 * elf/tst-_dl_addr_inside_object.c: New file.
16058
16059 2016-09-30 Joseph Myers <joseph@codesourcery.com>
16060
16061 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
16062 <bits/iscanonical.h>.
16063 * bits/iscanonical.h: New file.
16064 * math/s_iscanonicall.c: Likewise.
16065 * math/Versions (__iscanonicall): New libm symbol at version
16066 GLIBC_2.25.
16067 * math/libm-test.inc (iscanonical_test_data): New array.
16068 (iscanonical_test): New function.
16069 (main): Call iscanonical_test.
16070 * math/Makefile (headers): Add bits/iscanonical.h.
16071 (type-ldouble-routines): Add s_iscanonicall.
16072 * manual/arith.texi (Floating Point Classes): Document
16073 iscanonical.
16074 * manual/libm-err-tab.pl: Update comment on interfaces without
16075 ulps tabulated.
16076 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
16077 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
16078 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
16079 Likewise.
16080 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
16081 test-iscanonical-ldbl-128ibm.
16082 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
16083 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
16084 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
16085 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
16086 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
16087 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16088 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16090 Likewise.
16091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16092 Likewise.
16093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16094 Likewise.
16095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16096 Likewise.
16097 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16098 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16099
16100 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16101
16102 * string/bits/string3.h: Remove C++ style comments.
16103
16104 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
16105
16106 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
16107 instead of ternary condition.
16108 (do_sincos_2): Likewise.
16109 (__sin): Likewise.
16110 (__cos): Likewise.
16111 (slow): Likewise.
16112 (sloww): Likewise.
16113 (sloww1): Likewise.
16114 (bsloww): Likewise.
16115 (bsloww1): Likewise.
16116
16117 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
16118 instead of ternary condition.
16119 (do_sin_slow): Likewise.
16120 (do_sincos_1): Likewise.
16121 (do_sincos_2): Likewise.
16122 (__cos): Likewise.
16123 (sloww): Likewise.
16124 (sloww1): Likewise.
16125 (sloww2): Likewise.
16126 (bsloww): Likewise.
16127 (bsloww1): Likewise.
16128 (bsloww2): Likewise.
16129
16130 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
16131 check from here...
16132 (slow2): ... and here...
16133 (__sin): ... to here.
16134
16135 2016-09-28 Joseph Myers <joseph@codesourcery.com>
16136
16137 * math/math.h
16138 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
16139 Cast argument to its own type.
16140 * math/test-iszero-excess-precision.c: New file.
16141 * math/Makefile (tests): Add test-iszero-excess-precision.
16142 (CFLAGS-test-iszero-excess-precision.c): New variable.
16143
16144 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
16145
16146 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
16147 field, add err field.
16148 (__spawni_child): Report error through err member instead of pipe.
16149 (__spawnix): Likewise.
16150
16151 2016-09-28 Zack Weinberg <zackw@panix.com>
16152
16153 * scripts/check-installed-headers.sh: Generalize treatment of
16154 sys/elf.h to all target architectures.
16155
16156 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
16157 deleted typedef ucontext_t.
16158
16159 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16160
16161 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
16162 (__INTERNAL_SYSCALL1): Likewise.
16163 (__INTERNAL_SYSCALL2): Likewise.
16164 (__INTERNAL_SYSCALL3): Likewise.
16165 (__INTERNAL_SYSCALL4): Likewise.
16166 (__INTERNAL_SYSCALL5): Likewise.
16167 (__INTERNAL_SYSCALL6): Likewise.
16168 (__INTERNAL_SYSCALL7): Likewise.
16169 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
16170 (__INTERNAL_SYSCALL_NARGS): Likewise.
16171 (__INTERNAL_SYSCALL_DISP): Likewise.
16172 (INTERNAL_SYSCALL_CALL): Likewise.
16173 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
16174 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
16175 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
16176 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
16177 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
16178 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
16179 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
16180 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
16181 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
16182 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
16183 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
16184 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
16185 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
16186
16187 2016-09-23 Joseph Myers <joseph@codesourcery.com>
16188
16189 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
16190 macro.
16191 * math/libm-test.inc (iszero_test_data): New array.
16192 (iszero_test): New function.
16193 (main): Call iszero_test.
16194 * manual/arith.texi (Floating Point Classes): Document iszero.
16195 * manual/libm-err-tab.pl: Update comment on interfaces without
16196 ulps tabulated.
16197
16198 2016-09-23 Zack Weinberg <zackw@panix.com>
16199
16200 * scripts/check-installed-headers.sh: New script.
16201 * Rules: In each directory that defines header files to be installed,
16202 run check-installed-headers.sh on them as a special test.
16203 * Makefile: Likewise for the headers installed at top level.
16204
16205 * include/aliases.h, include/alloca.h, include/argz.h
16206 * include/arpa/nameser.h, include/arpa/nameser_compat.h
16207 * include/elf.h, include/envz.h, include/err.h
16208 * include/execinfo.h, include/fpu_control.h, include/getopt.h
16209 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
16210 * include/link.h, include/malloc.h, include/mcheck.h
16211 * include/mntent.h, include/netinet/ether.h
16212 * include/nss.h, include/obstack.h, include/printf.h
16213 * include/pty.h, include/resolv.h, include/rpc/auth.h
16214 * include/rpc/auth_des.h, include/rpc/auth_unix.h
16215 * include/rpc/clnt.h, include/rpc/des_crypt.h
16216 * include/rpc/key_prot.h, include/rpc/netdb.h
16217 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
16218 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
16219 * include/rpc/rpc_msg.h, include/rpc/svc.h
16220 * include/rpc/svc_auth.h, include/rpc/xdr.h
16221 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
16222 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
16223 * include/rpcsvc/ypupd.h, include/shadow.h
16224 * include/stdio_ext.h, include/sys/epoll.h
16225 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
16226 * include/sys/prctl.h, include/sys/profil.h
16227 * include/sys/statfs.h, include/sys/sysctl.h
16228 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
16229 * sysdeps/arm/nacl/include/bits/setjmp.h
16230 * sysdeps/mips/include/sys/asm.h
16231 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
16232 * sysdeps/unix/sysv/linux/include/sys/timex.h
16233 * sysdeps/x86/fpu/include/bits/fenv.h:
16234 Add #ifndef _ISOMAC guard around internal declarations.
16235 Add multiple-inclusion guard if not already present.
16236
16237 2016-09-23 Zack Weinberg <zackw@panix.com>
16238
16239 * sysdeps/generic/sys/ucontext.h
16240 * sysdeps/arm/sys/ucontext.h
16241 * sysdeps/i386/sys/ucontext.h
16242 * sysdeps/m68k/sys/ucontext.h
16243 * sysdeps/mips/sys/ucontext.h
16244 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
16245 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
16246 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
16247 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
16248 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
16249 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
16250 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
16251 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
16252 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
16253 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
16254 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
16255 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
16256 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
16257 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
16258 Include both bits/sigcontext.h and bits/sigstack.h.
16259 Fix grammar error in comment, if present.
16260
16261 * bits/sigstack.h
16262 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
16263 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
16264 * sysdeps/unix/sysv/linux/bits/sigstack.h
16265 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
16266 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
16267 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
16268 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
16269 * bits/sigcontext.h
16270 * sysdeps/mach/hurd/i386/bits/sigcontext.h
16271 * sysdeps/unix/sysv/linux/bits/sigcontext.h
16272 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
16273 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
16274 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
16275 as well as signal.h, if this was not already allowed. Request
16276 definition of size_t if necessary. Minimize semantically-null
16277 differences across files.
16278
16279 2016-09-23 Zack Weinberg <zackw@panix.com>
16280
16281 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
16282 Remove all logic conditional on __need macros. Move all the
16283 conditionally defined types to their own headers...
16284 * time/bits/types/clock_t.h: Define clock_t here.
16285 * time/bits/types/clockid_t.h: Define clockid_t here.
16286 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
16287 * time/bits/types/struct_timespec.h: Define struct timespec here.
16288 * time/bits/types/struct_timeval.h: Define struct timeval here.
16289 * time/bits/types/struct_tm.h: Define struct tm here.
16290 * time/bits/types/time_t.h: Define time_t here.
16291 * time/bits/types/timer_t.h: Define timer_t here.
16292 * time/Makefile: Install the new headers.
16293
16294 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
16295 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
16296 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
16297 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
16298 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
16299 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
16300 * sysdeps/unix/sysv/linux/bits/resource.h
16301 * sysdeps/unix/sysv/linux/bits/timex.h
16302 * sysdeps/unix/sysv/linux/mips/bits/resource.h
16303 * sysdeps/unix/sysv/linux/net/ppp_defs.h
16304 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
16305 * sysdeps/unix/sysv/linux/sys/acct.h
16306 * sysdeps/unix/sysv/linux/sys/timerfd.h
16307 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
16308 * time/sys/time.h, time/sys/timeb.h
16309 Use the new bits/types headers.
16310
16311 * include/time.h: Remove __need logic.
16312 * include/bits/time.h
16313 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
16314 * include/bits/types/time_t.h, include/bits/types/timer_t.h
16315 * include/bits/types/struct_itimerspec.h
16316 * include/bits/types/struct_timespec.h
16317 * include/bits/types/struct_timeval.h
16318 * include/bits/types/struct_tm.h:
16319 New wrapper headers.
16320
16321 2016-09-23 Zack Weinberg <zackw@panix.com>
16322
16323 * sysdeps/mach/hurd/net/if_ppp.h
16324 * sysdeps/unix/sysv/linux/net/if_ppp.h:
16325 Only define struct ifpppstatsreq and struct ifpppcstatsreq
16326 if __USE_MISC is defined, to ensure struct ifreq is declared.
16327
16328 * inet/netinet/ether.h: Condition all function prototypes
16329 on __USE_MISC, to ensure struct ether_addr is declared.
16330
16331 * socket/bits/types/struct_osockaddr.h: New header.
16332 * include/bits/types/struct_osockaddr.h: New wrapper.
16333 * socket/Makefile: Install the new header.
16334 * socket/sys/socket.h, inet/protocols/talkd.h:
16335 Refer to bits/types/struct_osockaddr.h for the definition of
16336 struct osockaddr.
16337
16338 2016-09-23 Zack Weinberg <zackw@panix.com>
16339
16340 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
16341 * inet/protocols/routed.h, inet/protocols/talkd.h
16342 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
16343 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
16344 * sysdeps/generic/netinet/if_ether.h
16345 * sysdeps/generic/netinet/in_systm.h
16346 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
16347 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16348 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
16349 * sysdeps/mach/hurd/net/if_arp.h
16350 * sysdeps/mach/hurd/net/if_ppp.h
16351 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
16352 * sysdeps/unix/sysv/linux/bits/in.h
16353 * sysdeps/unix/sysv/linux/net/ethernet.h
16354 * sysdeps/unix/sysv/linux/net/if_arp.h
16355 * sysdeps/unix/sysv/linux/net/if_ppp.h
16356 * sysdeps/unix/sysv/linux/net/if_shaper.h
16357 * sysdeps/unix/sysv/linux/net/route.h
16358 * sysdeps/unix/sysv/linux/netinet/if_ether.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/arpa/nameser.h, include/resolv.h:
16364 Change all uses of u_char to unsigned char,
16365 u_short and ushort to unsigned short, u_int and uint to unsigned int,
16366 u_long and ulong to unsigned long, u_int8_t to uint8_t,
16367 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
16368 and u_int64_t and u_quad_t to uint64_t.
16369
16370 * mach/sys/reboot.h: Remove two casts of integer literals
16371 to the types they already have.
16372
16373 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
16374 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
16375 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
16376 from referring to 'unsigned char' to 'uint8_t' for consistency with
16377 the macro definition below.
16378
16379 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
16380 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
16381 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
16382 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
16383 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
16384 * sysdeps/unix/sysv/linux/sys/acct.h
16385 * include/arpa/nameser.h, include/resolv.h:
16386 Fix indentation disrupted by mechanical edits.
16387
16388 * inet/protocols/talkd.h, resolv/arpa/nameser.h
16389 * sysdeps/generic/netinet/in_systm.h
16390 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16391 * sysdeps/gnu/netinet/udp.h
16392 * sysdeps/unix/sysv/linux/net/ethernet.h
16393 * sysdeps/unix/sysv/linux/net/if_arp.h
16394 * sysdeps/unix/sysv/linux/net/if_ppp.h
16395 * sysdeps/unix/sysv/linux/net/if_shaper.h
16396 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16397 * sysdeps/unix/sysv/linux/netinet/if_tr.h
16398 * sysdeps/unix/sysv/linux/netipx/ipx.h
16399 * sysdeps/unix/sysv/linux/sys/acct.h
16400 Include stdint.h for uintNN_t definitions.
16401 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
16402
16403 2016-09-23 Zack Weinberg <zackw@panix.com>
16404
16405 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
16406 * sysdeps/unix/sysv/linux/netrose/rose.h:
16407 Include sys/socket.h and netax25/ax25.h.
16408
16409 * inet/netinet/icmp6.h, inet/netinet/ip6.h
16410 * resolv/arpa/nameser_compat.h:
16411 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
16412
16413 * sysdeps/unix/sysv/linux/sys/quota.h:
16414 Use __caddr_t instead of caddr_t.
16415 * sysdeps/unix/sysv/linux/sys/timerfd.h:
16416 Use __clockid_t instead of clockid_t.
16417
16418 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
16419
16420 * argp/argp.h: Check whether _LIBC is defined before expanding it.
16421 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
16422 expanding it.
16423
16424 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
16425 Define __glibc_c99_flexarr_available to 1 when the compiler
16426 supports C99-compatible flexible array members, 0 otherwise.
16427 * sysdeps/unix/sysv/linux/bits/socket.h
16428 * sysdeps/mach/hurd/bits/socket.h
16429 * bits/socket.h: Use __glibc_c99_flexarr_available in
16430 definitions of struct cmsghdr and CMSG_DATA.
16431
16432 2016-09-23 Florian Weimer <fweimer@redhat.com>
16433
16434 * manual/nss.texi (NSS Modules Interface): Adjust function return
16435 type to enum nss_status. Document errnop argument. Clarify
16436 h_errnop semantics. Fix cross-reference formatting.
16437 (NSS Module Function Internals): Mention that *errnop needs to be
16438 set on failure, but not to zero.
16439
16440 2016-09-23 Florian Weimer <fweimer@redhat.com>
16441
16442 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
16443 (get_random_name): New functions.
16444 (check_wrapper_flags_mode): Use linkat to give the new file a name
16445 determined by get_random_name.
16446 (do_test): Add calls to test open64 and openat64.
16447
16448 2016-09-23 Florian Weimer <fweimer@redhat.com>
16449
16450 * test-skeleton.c: Remove #include <stdarg.h>.
16451
16452 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
16453
16454 [BZ #19826]
16455 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
16456 initialization of static TLS entries.
16457 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
16458 * nptl/allocatestack.c (init_one_static_tls): Likewise.
16459
16460 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16461
16462 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
16463 _hurd_malloc_fork_prepare.
16464 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
16465 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
16466 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
16467 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
16468 (_hurd_fork_child_hook): Drop malloc_fork_child.
16469 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
16470 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
16471 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
16472 after locking locks (notably hurd_dtable_lock). Call
16473 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
16474 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
16475 __malloc_fork_unlock_child.
16476 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
16477
16478 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
16479
16480 * soft-fp/extendhftf2.c: New.
16481 * soft-fp/fixhfti.c: Likewise.
16482 * soft-fp/fixunshfti.c: Likewise.
16483 * soft-fp/floattihf.c: Likewise.
16484 * soft-fp/floatuntihf.c: Likewise.
16485 * soft-fp/half.h: Likewise.
16486 * soft-fp/trunctfhf2.c: Likewise.
16487
16488 2016-09-21 Joseph Myers <joseph@codesourcery.com>
16489
16490 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
16491 macro.
16492 * math/libm-test.inc (issubnormal_test_data): New array.
16493 (issubnormal_test): New function.
16494 * manual/arith.texi (Floating Point Classes): Document
16495 issubnormal.
16496 * manual/libm-err-tab.pl: Update comment on interfaces without
16497 ulps tabulated.
16498
16499 * sysdeps/generic/stdint.h: Define
16500 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16501 <bits/libc-header-start.h> instead of including <features.h>.
16502 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
16503 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
16504 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
16505 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
16506 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
16507 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
16508 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
16509 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
16510 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
16511 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
16512 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
16513 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
16514 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
16515 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
16516 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
16517 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
16518 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
16519 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
16520 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
16521 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
16522 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
16523 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
16524 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
16525 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
16526 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
16527 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
16528 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
16529 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
16530 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
16531 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
16532 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
16533 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
16534 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
16535 * manual/arith.texi (Integers): Document these macros for types
16536 specified by width properties.
16537 * manual/lang.texi (Width of Type): Document these macros for
16538 other standard typedefs.
16539 * stdlib/tst-width-stdint.c: New file.
16540 * stdlib/Makefile (tests): Add tst-width-stdint.
16541
16542 2016-09-21 Florian Weimer <fweimer@redhat.com>
16543
16544 [BZ #20016]
16545 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
16546 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
16547 Move ...
16548 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
16549 ... here, as compatibility symbols in a new file.
16550 * resolv/Makefile (libresolv-routines): Add compat-hooks.
16551 * resolv/res_init.c (__res_vinit): Adjust member names.
16552 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
16553 * resolv/resolv.h (res_sendhookact, res_send_qhook)
16554 (res_send_rhook): Remove.
16555 (struct __res_state): Rename qhook, rhook members.
16556
16557 2016-09-21 Florian Weimer <fweimer@redhat.com>
16558
16559 malloc: Use __libc_lock wrappers.
16560 * malloc/arena.c (list_lock, free_list_lock): Define using
16561 __libc_lock_define_initialized.
16562 (arena_lock): Adjust formatting.
16563 * malloc/malloc.c (struct malloc_state): Define mutex using
16564 __libc_lock_define.
16565 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
16566 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
16567 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
16568 (mutex_unlock, mutex_trylock): Remove.
16569 (__pthread_initialize): Remove unused macro.
16570 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
16571 (mutex_unlock, mutex_trylock): Remove.
16572
16573 2016-09-21 Florian Weimer <fweimer@redhat.com>
16574
16575 [BZ #20592]
16576 Remove RR type classification macros.
16577 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
16578 (ns_t_udp_p, ns_t_xfr_p): Remove.
16579
16580 2016-09-21 Florian Weimer <fweimer@redhat.com>
16581
16582 Remove misleading version information.
16583 * resolv/arpa/nameser.h (__NAMESER): Remove.
16584 * resolv/arpa/nameser_compat.h (__BIND): Remove.
16585
16586 2016-09-21 Florian Weimer <fweimer@redhat.com>
16587
16588 Remove the always-defined BIND_4_COMPAT macro.
16589 * resolv/arpa/nameser.h: Unconditionally include
16590 <arpa/nameser_compat.h>.
16591 (BIND_4_COMPAT): Remove.
16592 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
16593
16594 2016-09-21 Florian Weimer <fweimer@redhat.com>
16595
16596 [BZ #20591]
16597 Remove obsolete DNSSEC support.
16598 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
16599 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
16600 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
16601 (ns_verify_tcp, ns_verify_tcp_init): Remove.
16602 (ns_cert_types): Add comment.
16603 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
16604 separately.
16605 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
16606 (dst_s_dns_key_id): Remove.
16607 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
16608 variables.
16609
16610 2016-09-21 Florian Weimer <fweimer@redhat.com>
16611
16612 [BZ #20524]
16613 * manual/string.texi (String/Array Comparison): Clarify the
16614 strverscmp behavior.
16615
16616 2016-09-21 Florian Weimer <fweimer@redhat.com>
16617
16618 * test-skeleton.c (xasprintf): Add function.
16619 * io/tst-open-tmpfile.c: New test.
16620 * io/Makefile (tests): Add it.
16621
16622 2016-09-21 Florian Weimer <fweimer@redhat.com>
16623
16624 Avoid running $(CXX) during build to obtain header file paths.
16625 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
16626 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
16627 * Makerules (cstdlib, cmath): Remove variables. Use
16628 $(c++-cstdlib-header), $(c++-cmath-header) instead.
16629 * configure: Regenerate.
16630
16631 2016-09-21 Florian Weimer <fweimer@redhat.com>
16632
16633 * Makeconfig (all-object-suffixes): Include .op only if
16634 $(build-profile).
16635
16636 2016-09-21 Florian Weimer <fweimer@redhat.com>
16637
16638 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
16639 conditionals. Do not define PATH_MAX.
16640
16641 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16642
16643 * posix/Makefile (tests): Add tst-spawn3.
16644 * posix/tst-spawn3.c: New file.
16645 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
16646 if it is already opened for open action.
16647
16648 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
16649 all signals when executing the clone vfork child.
16650 (SIGALL_SET): Remove macro.
16651
16652 * nptl/Makefile (tests): Add tst-exec5.
16653 * nptl/tst-exec5.c: New file.
16654 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
16655 asynchronous cancellation.
16656
16657 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16658
16659 * hurd/exc2signal.c: #include <hurd/signal.h>
16660 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
16661 'sigcode', 'error' parameters with 'detail' parameter. Fix code
16662 accordingly.
16663 * mach/mach_error.c (mach_error): Fix old-style function definition.
16664 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
16665
16666 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16667
16668 * math/Makefile (libm-calls): Remove s_nanF.
16669 (gen-libm-calls): Add s_nanF.
16670
16671 * math/s_nan.c: Refactor into ...
16672 * math/s_nan_template.c: New file.
16673
16674 * math/s_nanf.c: Removed.
16675 * math/s_nanl.c: Removed.
16676 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
16677 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
16678
16679 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16680 (LDOUBLE_nanl_libm_version): New macro.
16681
16682 * sysdeps/generic/math-type-macros-double.h:
16683 (M_STRTO_NAN): New macro.
16684 * sysdeps/generic/math-type-macros-float.h: Likewise.
16685 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
16686
16687 * sysdeps/generic/math-type-macros.h: Document
16688 M_STRTO_NAN.
16689
16690 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16691
16692 * math/s_nanf.c: Remove __nanf undef.
16693 * math/s_nan.c: Remove __nan undef.
16694 * math/s_nanl.c: Remove __nanl undef.
16695
16696 * sysdeps/generic/math_private.h (__nan): Remove macro
16697 override.
16698 (__nanf): Likewise.
16699 (__nanl): Likewise.
16700
16701 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16702
16703 * math/Makefile (gen-all-calls): New variable.
16704 (generated): Replace gen-libm-calls with gen-all-calls.
16705 (gen-libm-templates.stmp): Likewise. Also, ensure
16706 the output directory exists or is created and add
16707 dependency on the Makefile.
16708 (calls): Move s_ldexpF into gen-calls.
16709 (gen-calls): New variable.
16710
16711 * math/s_ldexpf.c: Removed.
16712 * math/s_ldexpl.c: Removed.
16713 * math/s_ldexp.c: Refactored into ...
16714 * math/s_ldexp_template.c: New file.
16715
16716 * sysdeps/generic/math-type-macros-double.h: Remove
16717 redundant fall-through definition of declare_mgen_alias.
16718 (declare_mgen_alias_2): New macro.
16719
16720 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
16721 New macro for function aliased to two exported symbols.
16722
16723 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
16724 new template file.
16725 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
16726
16727 2016-09-20 Florian Weimer <fweimer@redhat.com>
16728
16729 * Makeconfig (all-object-suffixes): Remove .og.
16730 * Makerules (elide-routines.og): Remove.
16731 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
16732 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
16733 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
16734
16735 2016-09-20 Florian Weimer <fweimer@redhat.com>
16736
16737 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
16738 .os objects.
16739
16740 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16741
16742 [BZ #20615]
16743 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
16744 fpu directory by non-fpu.
16745 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
16746 on non-fpu directory from a fpu directory.
16747
16748 2016-09-19 Joseph Myers <joseph@codesourcery.com>
16749
16750 * include/limits.h: Define
16751 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16752 <bits/libc-header-start.h> instead of including <features.h>.
16753 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
16754 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
16755 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
16756 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
16757 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
16758 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
16759 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
16760 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
16761 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
16762 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
16763 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
16764 * manual/lang.texi (Width of Type): Document these macros.
16765 * stdlib/tst-width.c: New file.
16766 * stdlib/Makefile (tests): Add tst-width.
16767
16768 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16769
16770 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
16771 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
16772
16773 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16774
16775 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
16776 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
16777 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
16778
16779 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16780
16781 [BZ #18243]
16782 * rt/Makefile (test): Add tst-shm-cancel.
16783 * rt/tst-shm-cancel.c: New file.
16784 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
16785
16786 [BZ #18243]
16787 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
16788 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
16789 definition.
16790 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
16791 uncontended case.
16792 * nptl/sem_wait.c (__new_sem_wait): Likewise.
16793 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
16794 (tf): Fix check for uncontended case.
16795 (do_test): Likewise.
16796 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
16797 (tf): Fix check for uncontended case.
16798 (do_test): Likewise.
16799 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
16800 (tf): Fix check for uncontended case.
16801 (do_test): Likewise.
16802 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
16803 (tf): Fix check for uncontended case.
16804 (do_test): Likewise.
16805
16806 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
16807 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
16808
16809 [BZ #15765]
16810 * nptl/Makefile (tests): Add tst-sem16.
16811 * nptl/tst-sem16.c: New file.
16812 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
16813
16814 * nptl/sem_open.c (sem_open): Init pad value to 0.
16815 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
16816 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
16817
16818 2016-09-15 Florian Weimer <fweimer@redhat.com>
16819
16820 [BZ #20611]
16821 * inet/Makefile (routines): Add inet6_scopeid_pton.
16822 (tests): Add tst-inet6_scopeid_pton.
16823 * inet/inet6_scopeid_pton.c: New file.
16824 * inet/net-internal.h: Likewise.
16825 * inet/tst-inet6_scopeid_pton.c: New test.
16826 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
16827 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
16828 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16829
16830 2016-09-14 Florian Weimer <fweimer@redhat.com>
16831
16832 Remove support for compiling wrappers with PTW.
16833 * sysdeps/nptl/Makeconfig: Drop ptw- support.
16834 * nptl/Makefile (pthread-compat-wrappers): Define.
16835 (libpthread-routines): Use pthread-compat-wrappers.
16836 * sysdeps/unix/sysv/linux/alpha/Makefile
16837 (libpthread-routines, libpthread-shared-only-routines): Remove
16838 ptw- prefix.
16839 * sysdeps/s390/nptl/Makefile
16840 (libpthread-routines, libpthread-shared-only-routines): Likewise.
16841 * sysdeps/ia64/nptl/Makefile
16842 (libpthread-routines, libpthread-shared-only-routines): Likewise.
16843 * sysdeps/nacl/Makefile (libpthread-routines): Use
16844 pthread-compat-wrappers to filter the routines list instead of the
16845 ptw- prefix.
16846
16847 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16848
16849 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
16850 with L() and remove explicit suffix, convert real literals
16851 which can be equivalentally substituted with integers, and
16852 transform -L(x) to L(-x).
16853
16854 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16855 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16856 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16857 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16858 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16859 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16860 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16861 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16862 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16863 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16864 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16865 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16866 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16867 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16868 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16869 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16870 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16871 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16872 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16873 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16874 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16875 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16876 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16877 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16878 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16879 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16880 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16881 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16882 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16883 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16884 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16885 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
16886 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16887 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16888 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16889 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16890 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16891 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16892 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16893 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16894 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16895 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16896 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16897 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16898 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16899 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16900 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16901 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
16902 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16903 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16904
16905 2016-09-13 Florian Weimer <fweimer@redhat.com>
16906
16907 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
16908
16909 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
16910
16911 * malloc/Makefile (tests): Remove individual static test names
16912 and just add all of tests-static.
16913
16914 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
16915
16916 2016-09-07 Joseph Myers <joseph@codesourcery.com>
16917
16918 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
16919 file.
16920
16921 * sysdeps/sparc/fpu/fegetmode.c: New file.
16922 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
16923
16924 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
16925 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
16926
16927 * sysdeps/s390/fpu/fegetmode.c: New file.
16928 * sysdeps/s390/fpu/fesetmode.c: Likewise.
16929
16930 * sysdeps/powerpc/fpu/fegetmode.c: New file.
16931 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
16932 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
16933 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
16934 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
16935 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
16936
16937 * sysdeps/mips/fpu/fegetmode.c: New file.
16938 * sysdeps/mips/fpu/fesetmode.c: Likewise.
16939
16940 * sysdeps/m68k/fpu/fegetmode.c: New file.
16941 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
16942
16943 * sysdeps/ia64/fpu/fegetmode.c: New file.
16944 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
16945
16946 * sysdeps/hppa/fpu/fegetmode.c: New file.
16947 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
16948
16949 * sysdeps/arm/fegetmode.c: New file.
16950 * sysdeps/arm/fesetmode.c: Likewise.
16951
16952 * sysdeps/alpha/fpu/fegetmode.c: New file.
16953 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
16954
16955 * sysdeps/aarch64/fpu/fegetmode.c: New file.
16956 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
16957
16958 * math/fegetmode.c: New file.
16959 * math/fesetmode.c: Likewise.
16960 * sysdeps/i386/fpu/fegetmode.c: Likewise.
16961 * sysdeps/i386/fpu/fesetmode.c: Likewise.
16962 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
16963 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
16964 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
16965 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
16966 declaration.
16967 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
16968 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
16969 typedef.
16970 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16971 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16972 (femode_t): New typedef.
16973 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16974 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16975 (femode_t): New typedef.
16976 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16977 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16978 (femode_t): New typedef.
16979 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16980 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16981 (femode_t): New typedef.
16982 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16983 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16984 (femode_t): New typedef.
16985 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16986 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16987 (femode_t): New typedef.
16988 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16989 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16990 (femode_t): New typedef.
16991 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16992 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16993 (femode_t): New typedef.
16994 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16995 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16996 (femode_t): New typedef.
16997 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16998 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16999 (femode_t): New typedef.
17000 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
17001 declaration.
17002 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17003 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17004 (femode_t): New typedef.
17005 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17006 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17007 (femode_t): New typedef.
17008 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17009 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17010 (femode_t): New typedef.
17011 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17012 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17013 (femode_t): New typedef.
17014 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17015 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17016 (femode_t): New typedef.
17017 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17018 * manual/arith.texi (FE_DFL_MODE): Document macro.
17019 (fegetmode): Document function.
17020 (fesetmode): Likewise.
17021 * math/Versions (fegetmode): New libm symbol at version
17022 GLIBC_2.25.
17023 (fesetmode): Likewise.
17024 * math/Makefile (libm-support): Add fegetmode and fesetmode.
17025 (tests): Add test-femode and test-femode-traps.
17026 * math/test-femode-traps.c: New file.
17027 * math/test-femode.c: Likewise.
17028 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
17029 alias for __fe_dfl_env.
17030 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
17031 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
17032 (__fe_dfl_mode): Likewise.
17033 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
17034 version GLIBC_2.25.
17035 * sysdeps/nacl/libm.abilist: Update.
17036 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17037 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17038 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17039 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17040 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17041 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17042 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17043 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17044 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17045 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17046 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17047 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17049 Likewise.
17050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17051 Likewise.
17052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17053 Likewise.
17054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17055 Likewise.
17056 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17057 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17058 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17059 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17060 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17061 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17062 Likewise.
17063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17064 Likewise.
17065 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17066 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17067 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17068
17069 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
17070
17071 [BZ #20495]
17072 [BZ #20508]
17073 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
17074 processors, set Use_dl_runtime_resolve_slow and set
17075 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
17076 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
17077 New.
17078 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
17079 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
17080 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
17081 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
17082 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
17083 if Use_dl_runtime_resolve_opt is set. Use
17084 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
17085 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
17086 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
17087 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
17088 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
17089 New.
17090 (_dl_runtime_resolve_opt): Likewise.
17091 (_dl_runtime_profile): Define only if _dl_runtime_profile is
17092 defined.
17093
17094 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
17095
17096 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
17097 __libc_memalign with "+ RELA R_390_GLOB_DAT".
17098
17099 2016-09-06 Florian Weimer <fweimer@redhat.com>
17100
17101 Convert malloc to __libc_lock. Automated part, using this Perl
17102 s/// command:
17103 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
17104 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
17105 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
17106 conversion.
17107
17108 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
17109
17110 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
17111 (linknamespace-symlists-tests): Likewise.
17112 (linknamespace-header-tests): Likewise.
17113
17114 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
17115
17116 [BZ #19810]
17117 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
17118 * elf/tst-noload.c: New test case.
17119 * elf/Makefile (tests): Add tst-noload.
17120
17121 2016-09-02 Roland McGrath <roland@hack.frob.com>
17122
17123 * sysdeps/nacl/dup.c: Add libc_hidden_def.
17124
17125 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
17126 not any more.
17127
17128 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
17129
17130 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
17131
17132 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
17133 (do_cos_slow): Likewise.
17134 (do_sin): Likewise.
17135 (do_sin_slow): Likewise.
17136 (slow): Likewise.
17137 (slow1): Likewise.
17138 (slow2): Likewise.
17139 (sloww): Likewise.
17140 (sloww1): Likewise.
17141 (sloww2): Likewise.
17142 (bsloww): Likewise.
17143 (bsloww1): Likewise.
17144 (bsloww2): Likewise.
17145 (cslow2): Likewise.
17146
17147 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
17148
17149 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
17150 arguments. Consolidate input partitioning from callers here.
17151 (do_cos_slow): Likewise.
17152 (do_sin): Likewise.
17153 (do_sin_slow): Likewise.
17154 (do_sincos_1): Remove the no longer necessary input partitioning.
17155 (do_sincos_2): Likewise.
17156 (__sin): Likewise.
17157 (__cos): Likewise.
17158 (slow1): Likewise.
17159 (slow2): Likewise.
17160 (sloww1): Likewise.
17161 (sloww2): Likewise.
17162 (bsloww1): Likewise.
17163 (bsloww2): Likewise.
17164 (cslow2): Likewise.
17165
17166 2016-09-02 Florian Weimer <fweimer@redhat.com>
17167
17168 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
17169 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
17170 outside of allocated array.
17171
17172 2016-09-02 Florian Weimer <fweimer@redhat.com>
17173
17174 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
17175 instead of MB_CUR_MAX to avoid variable-length array.
17176
17177 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17178
17179 * math/Makefile (libm-calls): Remove k_rem_pio2F.
17180 (type-double-routines): Add k_rem_pio2.
17181 (type-float-routines): Add k_rem_pio2f.
17182
17183 * sysdeps/generic/math_private.h:
17184 (__kernel_rem_pio2l): Removed.
17185
17186 * math/k_rem_pio2l.c: Removed.
17187 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
17188 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
17189 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
17190 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
17191
17192 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17193
17194 * math/Makefile (gen-libm-calls): Add s_fmin
17195 (libm-calls): Remove above.
17196
17197 * math/s_fmin.c: Refactor into ...
17198 * math/s_fmin_template.c: New file.
17199
17200 * math/s_fminf.c: Removed.
17201 * math/s_fminl.c: Removed.
17202 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17203 (LDOUBLE_fmin_libm_version): New macro.
17204
17205 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
17206 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
17207
17208 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17209
17210 * math/Makefile: (gen-libm-calls): Add s_fmax.
17211 (libm-calls): Remove above.
17212
17213 * math/s_fmax.c: Refactor into ...
17214 * math/s_fmax_template.c: New file.
17215 * math/s_fmaxf.c: Removed.
17216 * math/s_fmaxl.c: Removed.
17217
17218 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17219 (LDOUBLE_fmaxl_libm_version): New macro.
17220
17221 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
17222 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
17223
17224 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
17225 s_fmin.c to pick the aarch64 version of the file.
17226 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
17227 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
17228
17229 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17230
17231 * math/Makefile: (gen-libm-calls): Add s_nextdown.
17232 (libm-calls): Remove above.
17233
17234 * math/s_nextdown.c: Refactor into ...
17235 * math/s_nextdown_template.c: New file.
17236 * math/s_nextdownf.c: Removed.
17237 * math/s_nextdownl.c: Removed.
17238
17239 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
17240
17241 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17242
17243 * math/Makefile (gen-libm-calls): Add s_fdim.
17244 (libm-calls): Move to above.
17245
17246 * math/s_fdim.c: Renamed and refactored into to ...
17247 * math/s_fdim_template.c: New file.
17248 * math/s_fdiml.c: Removed.
17249 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
17250 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
17251
17252 * sysdeps/generic/math-type-macros-double.h:
17253 (declare_mgen_alias): Don't declare if already declared.
17254 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
17255 Likewise.
17256
17257 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17258 (declare_mgen_alias): Don't declare if already declared.
17259 (M_LIBM_NEED_COMPAT): Likewise.
17260 (declare_mgen_libm_compat): Likewise.
17261 (LDOUBLE_fdiml_libm_version): New macro.
17262
17263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17264 Include math/s_fdim.c now that ldbl-opt version is not needed.
17265 (declare_mgen_alias): New macro to disable aliasing.
17266
17267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
17268 (declare_mgen_alias): Likewise.
17269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
17270 (declare_mgen_alias): Likewise.
17271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
17272 (declare_mgen_alias): Likewise.
17273 (M_LIBM_NEED_COMPAT): Likewise.
17274
17275 2016-09-01 Florian Weimer <fweimer@redhat.com>
17276
17277 [BZ #20525]
17278 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
17279 Include <linux/quota.h>.
17280 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
17281 and btodb.
17282 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
17283 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
17284 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
17285 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
17286 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
17287 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
17288 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
17289 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
17290 types.
17291 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
17292 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
17293
17294 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17295
17296 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
17297 (gammal_positive): Fix spacing.
17298 (__ieee754_gammal_r): Likewise.
17299
17300 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17301
17302 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
17303 (_Float128): Define as long double, always.
17304 (L): Apply long double type suffix, always.
17305
17306 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
17307 _Float128, excepting comments.
17308
17309 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17310 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17311 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17312 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17313 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17314 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17315 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17316 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17317 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17318 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
17319 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17320 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17321 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17322 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17323 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17324 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17325 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17326 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17327 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17328 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17329 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17330 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17331 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17332 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17333 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17334 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17335 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17336 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17337 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17338 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17339 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17340 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17341 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17342 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17343 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17344 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17345 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17346 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17347 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17348 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17349 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17350 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17351 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17352 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17353 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17354 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17355 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17356 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17357 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17358 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17359 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17360 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17361 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17362 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17363 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17364 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17365 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17366 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17367 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17368 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17369 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17370 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17371 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17372 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17373 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17374 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17375 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17376 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17377
17378 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
17379 _Float128, and include math_private.h.
17380 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17381
17382 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
17383 long double semantics.
17384 (_Float128): Likewise.
17385 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
17386 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17387 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
17388 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
17389
17390 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
17391
17392 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
17393 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
17394 * sysdeps/s390/configure: Regenerated.
17395 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
17396 instruction for raising over-/underflow if z196 zarch is supported
17397 by default.
17398 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
17399
17400 2016-08-30 Svante Signell <svante.signell@gmail.com>
17401
17402 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
17403 it point to a dumb buffer for RPC to fill it.
17404
17405 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
17406
17407 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
17408 instead of if/else.
17409 (do_sin_slow): Likewise.
17410 (do_sincos_1): Use fabs instead of if/else.
17411 (do_sincos_2): Likewise.
17412 (__sin): Likewise.
17413 (__cos): Likewise.
17414 (slow2): Likewise.
17415 (sloww): Likewise.
17416 (sloww1): Likewise. Drop argument M.
17417 (sloww2): Use fabs instead of if/else.
17418 (bsloww): Likewise.
17419 (bsloww1): Likewise.
17420 (bsloww2): Likewise.
17421
17422 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
17423 fall through comment.
17424 (do_sincos_1): Likewise.
17425
17426 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
17427 Consolidate switch cases 0 and 2.
17428
17429 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17430
17431 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
17432 (libm-calls): Remove the above.
17433
17434 * math/s_cexp_template.c: Update using type-generic macros.
17435 * math/s_clog10_template.c: Likewise.
17436 * math/s_cpow_template.c: Likewise.
17437 * math/s_clog_template.c: Likewise.
17438 * math/s_cproj_template.c: Likewise.
17439 * math/s_csqrt_template.c: Likewise.
17440
17441 * math/s_cexp.c: Removed.
17442 * math/s_cexpf.c: Removed.
17443 * math/s_cexpl.c: Removed.
17444 * math/s_clog10.c: Removed.
17445 * math/s_clog10f.c: Removed.
17446 * math/s_clog10l.c: Removed.
17447 * math/s_cpow.c: Removed.
17448 * math/s_cpowf.c: Removed.
17449 * math/s_cpowl.c: Removed.
17450 * math/s_clog.c: Removed.
17451 * math/s_clogf.c: Removed.
17452 * math/s_clogl.c: Removed.
17453 * math/s_cproj.c: Removed.
17454 * math/s_cprojf.c: Removed.
17455 * math/s_cprojl.c: Removed.
17456 * math/s_csqrt.c: Removed.
17457 * math/s_csqrtf.c: Removed.
17458 * math/s_csqrtl.c: Removed.
17459
17460 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
17461 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
17462 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
17463 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
17464 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
17465 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
17466
17467 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
17468 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
17469 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
17470 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
17471 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
17472 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
17473 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
17474 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
17475 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
17476 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
17477 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
17478
17479 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
17480 version.
17481
17482 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
17483 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
17484 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
17485 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
17486
17487 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17488
17489 * s_cexp_template.c: Copy of s_cexp.c.
17490 * s_clog_template.c: Copy of s_clog.c.
17491 * s_clog10_template.c: Copy of s_clog10.c.
17492 * s_cpow_template.c: Copy of s_cpow.c.
17493 * s_cproj_template.c: Copy of s_cproj.c.
17494 * s_csqrt_template.c: Copy of s_csqrt.c.
17495
17496 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17497
17498 [BZ #20517]
17499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17500 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
17501 exported.
17502
17503 2016-08-29 Joseph Myers <joseph@codesourcery.com>
17504
17505 * math/fetestexceptflag.c: New file.
17506 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
17507 Stefan Liebler.
17508 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17509 (fetestexceptflag): New function declaration.
17510 * manual/arith.texi (fetestexceptflag): Document function.
17511 * math/Versions (fetestexceptflag): New libm symbol at version
17512 GLIBC_2.25.
17513 * math/Makefile (libm-support): Add fetestexceptflag.
17514 (tests): Add test-fetestexceptflag.
17515 * math/test-fetestexceptflag.c: New file.
17516 * sysdeps/nacl/libm.abilist: Update.
17517 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17518 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17519 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17520 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17521 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17522 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17523 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17524 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17525 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17526 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17527 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17528 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17530 Likewise.
17531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17532 Likewise.
17533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17534 Likewise.
17535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17536 Likewise.
17537 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17538 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17539 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17540 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17541 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17542 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17543 Likewise.
17544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17545 Likewise.
17546 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17547 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17548 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17549
17550 2016-08-26 Florian Weimer <fweimer@redhat.com>
17551
17552 [BZ #20432]
17553 Avoid strong references to malloc-internal symbols when linking
17554 statically, to support statically interposed mallocs.
17555 * include/libc-symbols.h (call_function_static_weak): New macro.
17556 * malloc/Makefile (tests): Add tst-interpose-nothread,
17557 tst-interpose-thread, tst-interpose-static-nothread,
17558 tst-interpose-static-thread.
17559 (tests-static): Add tst-interpose-static-nothread,
17560 tst-interpose-static-thread.
17561 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
17562 tst-interpose-aux-thread.o.
17563 (test-extras): Add tst-interpose-aux-nothread,
17564 tst-interpose-aux-thread.
17565 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
17566 tst-interpose-aux-nothread.o.
17567 (tst-interpose-thread, tst-interpose-static-thread): Link with
17568 tst-interpose-aux-thread.o and libthread.
17569 * malloc/tst-interpose-aux-nothread.c: New file.
17570 * malloc/tst-interpose-aux-thread.c: Likewise.
17571 * malloc/tst-interpose-aux.c: Likewise.
17572 * malloc/tst-interpose-aux.h: Likewise.
17573 * malloc/tst-interpose-nothread.c: Likewise.
17574 * malloc/tst-interpose-skeleton.c: Likewise.
17575 * malloc/tst-interpose-static-nothread.c: Likewise.
17576 * malloc/tst-interpose-static-thread.c: Likewise.
17577 * malloc/tst-interpose-thread.c: Likewise.
17578 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
17579 * sysdeps/mach/hurd/fork.c (__fork): Only call
17580 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
17581 __malloc_fork_unlock_child if defined.
17582 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17583
17584 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17585
17586 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
17587 timespec C99 designated initialization.
17588
17589 2016-08-26 Florian Weimer <fweimer@redhat.com>
17590
17591 [BZ #19946]
17592 Avoid expected SIGALRM signals.
17593 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
17594 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
17595 (xpthread_create, xpthread_detach, xpthread_join)
17596 (delayed_exit_thread, delayed_exit): New functions.
17597 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
17598 (tf): Use xpthread_cond_wait.
17599 (do_test): Likewise. Replace alarm with delayed_exit.
17600 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17601 (do_test): Call delayed_exit. Report failure.
17602 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17603 (do_test): Call delayed_exit.
17604 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17605 (do_test): Call delayed_exit. Use xpthread_join. Report error.
17606 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17607 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
17608 error.
17609 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17610 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
17611 error.
17612 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
17613 (do_test): Call delayed_exit.
17614 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
17615 (do_test): Call delayed_exit.
17616 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
17617 (do_test): Call delayed_exit instead of alarm. Use
17618 xpthread_mutex_lock.
17619 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
17620 (do_test): Call delayed_exit instead of alarm. Use
17621 xpthread_mutex_lock.
17622 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
17623 (do_test): Call delayed_exit instead of alarm.
17624 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
17625 (do_test): Call delayed_exit instead of alarm. Use
17626 xpthread_spin_lock.
17627 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
17628 (do_test): Call delayed_exit instead of alarm. Use
17629 xpthread_join.
17630
17631 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
17632
17633 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
17634 adjust CFA when allocating register save area on re-aligned
17635 stack.
17636
17637 2016-08-26 Florian Weimer <fweimer@redhat.com>
17638
17639 * string/tst-cmp.c: New test.
17640 * string/Makefile (tests): Add it.
17641
17642 2016-08-25 Mark Wielaard <mark@klomp.org>
17643
17644 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
17645 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
17646 (check_tree_recurse): Use newly defined accessors.
17647 (check_tree): Likewise.
17648 (maybe_split_for_insert): Likewise.
17649 (__tfind): Likewise.
17650 (__tdelete): Likewise.
17651 (trecurse): Likewise.
17652 (tdestroy_recurse): Likewise.
17653 (__tsearch): Likewise. And add asserts for malloc alignment.
17654 (__twalk): Cast root to node in case CHECK_TREE is defined.
17655
17656 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17657
17658 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
17659
17660 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17661
17662 * math/Makefile (libm-gen-calls): Add
17663 catan, catanh, ctan, ctanh.
17664 (libm-calls): Remove the above.
17665
17666 * math/s_catan_template.c: Update using type-generic macros.
17667 * math/s_catanh_template.c: Likewise.
17668 * math/s_ctan_template.c: Likewise.
17669 * math/s_ctanh_template.c: Likewise.
17670
17671 * math/s_catanf.c: Removed.
17672 * math/s_catan.c: Removed.
17673 * math/s_catanl.c: Removed.
17674 * math/s_catanhf.c: Removed.
17675 * math/s_catanh.c: Removed.
17676 * math/s_catanhl.c: Removed.
17677 * math/s_ctanf.c: Removed.
17678 * math/s_ctan.c: Removed.
17679 * math/s_ctanl.c: Removed.
17680 * math/s_ctanhf.c: Removed.
17681 * math/s_ctanh.c: Removed.
17682 * math/s_ctanhl.c: Removed.
17683
17684 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
17685 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
17686 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
17687 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
17688 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
17689 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
17690
17691 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
17692 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
17693 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
17694 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
17695
17696 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17697
17698 * s_catan_template.c: Copy of s_catan.c.
17699 * s_catanh_template.c: Copy of s_catanh.c.
17700 * s_ctan_template.c: Copy of s_ctan.c.
17701 * s_ctanh_template.c: Copy of s_ctanh.c.
17702
17703 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17704
17705 * math/Makefile (gen-libm-calls): Move
17706 casin, casinh, csin, csinh here.
17707 (libm-calls): Remove the above.
17708
17709 * math/s_casin_template.c: Update using type-generic macros.
17710 * math/s_casinh_template.c: Likewise.
17711 * math/s_csin_template.c: Likewise.
17712 * math/s_csinh_template.c: Likewise.
17713 * math/k_casinh_template.c: Likewise.
17714
17715 * math/s_casinf.c: Removed.
17716 * math/s_casin.c: Removed.
17717 * math/s_casinl.c: Removed.
17718 * math/s_casinh.c: Removed.
17719 * math/s_casinhf.c: Removed.
17720 * math/s_casinhl.c: Removed.
17721 * math/s_csin.c: Removed.
17722 * math/s_csinf.c: Removed.
17723 * math/s_csinl.c: Removed.
17724 * math/s_csinh.c: Removed.
17725 * math/s_csinhf.c: Removed.
17726 * math/s_csinhl.c: Removed.
17727 * math/k_casinh.c: Removed.
17728 * math/k_casinhf.c: Removed.
17729 * math/k_casinhl.c: Removed.
17730
17731 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
17732 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
17733 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
17734 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
17735
17736 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
17737 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
17738 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
17739 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
17740 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
17741 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
17742 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
17743 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
17744
17745 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
17746 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
17747 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
17748 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
17749
17750 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
17751 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
17752 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
17753 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
17754
17755 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17756
17757 * s_casin_template.c: Copy of s_casin.c.
17758 * s_casinh_template.c: Copy of s_casinh.c.
17759 * s_csin_template.c: Copy of s_csin.c.
17760 * s_csinh_template.c: Copy of s_csinh.c.
17761 * k_casinh_template.c: Copy of k_casinh.c.
17762
17763 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
17764
17765 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
17766
17767 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17768
17769 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
17770 (mul_split) Remove, rename as mul_splitl, remove
17771 redundant float.h include, and include via mul_splitl.h
17772
17773 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17774 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17775 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17776 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
17777 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17778
17779 * math/mul_splitl.h: New file.
17780
17781 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
17782 Move into mul_split.h, and remove redundant float.h include.
17783
17784 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
17785 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
17786 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17787 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
17788
17789 * math/mul_split.h: New file.
17790
17791 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17792
17793 * math/Makefile (libm-gen-calls): Move
17794 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
17795 (libm-calls): Remove above.
17796
17797 * math/s_cacos_template.c: Update using type-generic macros.
17798 * math/s_cacosh_template.c: Likewise.
17799 * math/s_ccos_template.c: Likewise.
17800 * math/s_ccosh_template.c: Likewise.
17801
17802 * math/s_cacosf.c: Removed.
17803 * math/s_cacos.c: Removed.
17804 * math/s_cacosl.c: Removed.
17805 * math/s_cacoshf.c: Removed.
17806 * math/s_cacosh.c: Removed.
17807 * math/s_cacoshl.c: Removed.
17808 * math/s_ccosf.c: Removed.
17809 * math/s_ccos.c: Removed.
17810 * math/s_ccosl.c: Removed.
17811 * math/s_ccoshf.c: Removed.
17812 * math/s_ccosh.c: Removed.
17813 * math/s_ccoshl.c: Removed.
17814
17815 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
17816 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
17817 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
17818 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
17819 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
17820 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
17821
17822 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
17823 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
17824 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
17825 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
17826
17827 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
17828 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
17829 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
17830 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
17831
17832 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17833
17834 * s_cacos_template.c: Copy of s_cacos.c.
17835 * s_cacosh_template.c: Copy of s_cacosh.c.
17836 * s_ccos_template.c: Copy of s_ccos.c.
17837 * s_ccosh_template.c: Copy of s_ccosh.c.
17838
17839 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17840
17841 * stdlib/tst-strtod-round-skeleton.c:
17842 Refactored from tst-strtod-round.c.
17843
17844 (L_): New macro to apply literal modifier.
17845 (FNPFX): New macro to select str or wcs prefix.
17846 (CHAR): New macro to choose wchar_t or char.
17847 (STRM): New macro to choose printf for tested character type.
17848
17849 (STRTO): New macro to choose appropriate string -> real function.
17850 (FNPFXS): Stringitized version of FNPFX.
17851 (STR): Support for above macro.
17852 (STRX): Likewise.
17853
17854 (TEST): Update with above macros.
17855 (test): Likewise.
17856 (GEN_ONE_TEST): Likewise.
17857 (test_in_one_mode): Likewise.
17858
17859 * stdlib/tst-strtod-round.c: New file.
17860 * wcsmbs/tst-wcstod-round.c: New file.
17861
17862 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
17863 (tst-wcstod-round): Add libm depencency for fesetround.
17864
17865 2016-08-19 Zack Weinberg <zackw@panix.com>
17866
17867 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
17868
17869 2016-08-18 Torvald Riegel <triegel@redhat.com>
17870
17871 [BZ #20477]
17872 * resolv/res_hconf.c (do_init): Use atomic access.
17873 * resolv/res_hconf.h: Add comments.
17874 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
17875 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
17876 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17877
17878 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
17879
17880 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
17881 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
17882 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17883 Likewise.
17884
17885 2016-08-18 Florian Weimer <fweimer@redhat.com>
17886
17887 [BZ #16907]
17888 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
17889 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
17890 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
17891 (__attribute__): Remove definition.
17892
17893 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17894
17895 * sysdeps/ieee754/ldbl-128/e_asinl.c:
17896 Remove unused sqrtl declaration.
17897
17898 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17899
17900 * math/Makefile: (gen-libm-templates.stmp): New rule.
17901 (libm-calls): Move carg conj cimag and cabs into ...
17902 (gen-libm-calls): New variable.
17903 (generated): Inform Make objects from gen-libm-calls
17904 may be generated.
17905
17906 * sysdeps/generic/math-type-macros.h: New file.
17907 * sysdeps/generic/math-type-macros-float.h: Likewise.
17908 * sysdeps/generic/math-type-macros-double.h: Likewise.
17909 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
17910 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
17911 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
17912
17913 * math/cabs.c: Refactor into
17914 * math/cabs_template.c: new file.
17915 * math/cabsf.c: Removed.
17916 * math/cabsl.c: Removed.
17917 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
17918 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
17919
17920 * math/carg.c: Refactor into
17921 * math/carg_template.c: new file.
17922 * math/cargf.c: Removed.
17923 * math/cargl.c: Removed.
17924 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
17925 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
17926
17927 * math/conj.c: Refactor into
17928 * math/conj_template.c: new file.
17929 * math/conjf.c: Removed.
17930 * math/conjl.c: Removed.
17931 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
17932 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
17933
17934 * math/cimag.c: Refactor into
17935 * math/cimag_template.c: new file.
17936 * math/cimagf.c: Removed.
17937 * math/cimagl.c: Removed.
17938 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
17939 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
17940
17941 * math/cimag.c: Refactor into
17942 * math/cimag_template.c: new file.
17943 * math/cimagf.c: Removed.
17944 * math/cimagl.c: Removed.
17945 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
17946 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
17947
17948 2016-08-17 Florian Weimer <fweimer@redhat.com>
17949
17950 Reduce time to expected nptl/tst-once5 failure.
17951 * nptl/tst-once5.cc (TIMEOUT): Define.
17952
17953 2016-08-17 Florian Weimer <fweimer@redhat.com>
17954
17955 [BZ #20452]
17956 Avoid additional copies of objects in libc.a in static libraries.
17957 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
17958 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
17959 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
17960 rt-sysdep.
17961 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
17962 Add nptl-sysdep.
17963 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
17964 Add ptw-sysdep.
17965 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
17966 rt-sysdep.
17967 * sysdeps/unix/sysv/linux/alpha/Makefile
17968 (libpthread-shared-only-routines): Add ptw-sysdep,
17969 ptw-sigprocmask, ptw-rt_sigaction.
17970 * sysdeps/unix/sysv/linux/ia64/Makefile
17971 (librt-shared-only-routines): Add rt-sysdep.
17972 * sysdeps/unix/sysv/linux/i386/Makefile
17973 (libpthread-shared-only-routines): Add libc-do-syscall.
17974 * sysdeps/unix/sysv/linux/microblaze/Makefile
17975 (libpthread-shared-only-routines): Add sysdep.
17976 * sysdeps/unix/sysv/linux/powerpc/Makefile
17977 (librt-shared-only-routines): Add rt-sysdep.
17978 (libpthread-shared-only-routines): Add sysdep.
17979 * sysdeps/unix/sysv/linux/s390/Makefile
17980 (librt-shared-only-routines): Add rt-sysdep.
17981 * sysdeps/unix/sysv/linux/sparc/Makefile
17982 (librt-shared-only-routines): Add rt-sysdep.
17983 (libpthread-shared-only-routines): Add sysdep.
17984 * sysdeps/unix/sysv/linux/tile/Makefile
17985 (libpthread-shared-only-routines): Likewise.
17986
17987 2016-08-16 Joseph Myers <joseph@codesourcery.com>
17988
17989 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
17990 Mask implicit bit out of unpacked value.
17991 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
17992 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
17993 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
17994
17995 * sysdeps/sparc/fpu/fesetexcept.c: New file.
17996
17997 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
17998
17999 * sysdeps/s390/fpu/fesetexcept.c: New file.
18000
18001 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
18002 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
18003 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
18004
18005 * sysdeps/mips/fpu/fesetexcept.c: New file.
18006
18007 * sysdeps/m68k/fpu/fesetexcept.c: New file.
18008
18009 * sysdeps/ia64/fpu/fesetexcept.c: New file.
18010
18011 * sysdeps/hppa/fpu/fesetexcept.c: New file.
18012
18013 * sysdeps/arm/fesetexcept.c: New file.
18014
18015 * sysdeps/alpha/fpu/fesetexcept.c: New file.
18016
18017 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
18018
18019 * math/fesetexcept.c: New file.
18020 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
18021 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
18022 * math/fenv.h: Define
18023 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18024 <bits/libc-header-start.h> instead of including <features.h>.
18025 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
18026 declaration.
18027 * manual/arith.texi (fesetexcept): Document function.
18028 * math/Versions (fesetexcept): New libm symbol at version
18029 GLIBC_2.25.
18030 * math/Makefile (libm-support): Add fesetexcept.
18031 (tests): Add test-fesetexcept and test-fesetexcept-traps.
18032 * math/test-fesetexcept.c: New file.
18033 * math/test-fesetexcept-traps.c: Likewise.
18034 * sysdeps/nacl/libm.abilist: Update.
18035 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18036 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18037 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18038 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18039 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18040 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18041 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18042 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18043 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18044 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18045 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18046 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18048 Likewise.
18049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18050 Likewise.
18051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18052 Likewise.
18053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18054 Likewise.
18055 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18056 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18057 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18058 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18059 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18060 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18061 Likewise.
18062 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18063 Likewise.
18064 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18065 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18066 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18067
18068 2016-08-16 Florian Weimer <fweimer@redhat.com>
18069
18070 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
18071 New.
18072 (do_test): Apply default_stack_size_in_mb if not set.
18073 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
18074
18075 2016-08-15 Andreas Schwab <schwab@suse.de>
18076
18077 [BZ #20435]
18078 CVE-2016-6323
18079 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
18080 as .cantunwind.
18081
18082 2016-08-12 Joseph Myers <joseph@codesourcery.com>
18083
18084 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
18085 comment from fraiseexcpt.c.
18086
18087 * math/test-fexcept.c (feraiseexcept_exact): New function.
18088 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
18089 (test_except): Likewise.
18090
18091 2016-08-10 Joseph Myers <joseph@codesourcery.com>
18092
18093 [BZ #20455]
18094 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
18095 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
18096 to be restored.
18097
18098 * math/test-fexcept-traps.c: New file.
18099 * math/test-fexcept.c: Likewise.
18100 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
18101 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
18102 macro.
18103 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
18104 (EXCEPTION_SET_FORCES_TRAP): Likewise.
18105
18106 2016-08-09 Torvald Riegel <triegel@redhat.com>
18107
18108 * include/atomic.h (atomic_fetch_and_relaxed,
18109 atomic_fetch_and_release, atomic_fetch_or_release,
18110 atomic_fetch_xor_release): New.
18111
18112 2016-08-06 Christian Seiler <christian@iwakd.de>
18113
18114 [BZ #20444]
18115 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
18116 MACH_PORT_NULL.
18117
18118 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18119
18120 * math/s_fdim.c: Avoid alias renamed.
18121 * math/s_fdimf.c: Likewise.
18122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18123 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18124 Add s_fdimf-vis3, s_fdim-vis3.
18125 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18126 (CFLAGS-s_fdim-vis3.c): Likewise.
18127 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
18128 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
18129
18130 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18131
18132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18133 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18134 Remove s_fdimf-vis3, s_fdim-vis3.
18135 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
18136 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
18137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
18138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
18139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
18140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
18141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
18142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
18143 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
18144 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
18145
18146 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18147
18148 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
18149 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
18150 -Wa,-Av9a -mvis.
18151
18152 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18153
18154 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
18155 LIT() to individual constants in simple expressions
18156 after splitting on spaces.
18157 (_apply_lit): Rename replaced version, and use it to
18158 apply to what appears to be a token.
18159
18160 * math/libm-test.inc: Fix many, many issues with
18161 spacing.
18162
18163 2016-08-05 Joseph Myers <joseph@codesourcery.com>
18164
18165 * math/math.h: Move comment about <bits/mathdef.h> definitions
18166 above inclusion of <bits/mathdef.h>. Do not mention
18167 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
18168
18169 2016-08-05 Torvald Riegel <triegel@redhat.com>
18170
18171 * include/atomic.h (atomic_exchange_relaxed): New.
18172
18173 2016-08-04 Joseph Myers <joseph@codesourcery.com>
18174
18175 * math/e_scalb.c: Do not include <fenv.h>.
18176 (invalid_fn): Do calculation resulting in NaN instead of raising
18177 FE_INVALID and returning a NaN explicitly.
18178 * math/e_scalbf.c: Do not include <fenv.h>.
18179 (invalid_fn): Do calculation resulting in NaN instead of raising
18180 FE_INVALID and returning a NaN explicitly.
18181 * math/e_scalbl.c: Do not include <fenv.h>.
18182 (invalid_fn): Do calculation resulting in NaN instead of raising
18183 FE_INVALID and returning a NaN explicitly.
18184
18185 2016-08-04 Carlos O'Donell <carlos@redhat.com>
18186
18187 * po/de.po: Updated from Translation Project.
18188 * po/fi.po: Likewise.
18189 * po/sv.po: Likewise.
18190
18191 2016-08-04 Florian Weimer <fweimer@redhat.com>
18192
18193 [BZ #20452]
18194 Use sysdep.o from libc.a in static libraries.
18195 * sysdeps/unix/sysv/linux/i386/Makefile
18196 (libpthread-shared-only-routines): Add sysdep.
18197 (librt-shared-only-routines): Likewise.
18198
18199 2016-08-03 Joseph Myers <joseph@codesourcery.com>
18200
18201 * math/tgmath.h (nextdown): Define if
18202 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
18203 (nextup): Likewise.
18204
18205 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
18206 macro.
18207 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18208 Document.
18209 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18210 Document macro.
18211 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
18212 (exp10f): Likewise.
18213 (exp10l): Likewise.
18214 * math/bits/mathcalls.h (exp10): Declare if
18215 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
18216
18217 * manual/arith.texi (nextup): Fix typo in last change.
18218
18219 2016-08-03 Zack Weinberg <zackw@panix.com>
18220
18221 [BZ #19239]
18222 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
18223 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
18224 define major, minor, and makedev to issue deprecation warnings on use.
18225 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
18226 previously-activated deprecation warnings for these macros and prevent
18227 subsequent inclusions of this header from having any effect.
18228 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
18229 including <sys/sysmacros.h>, and undefine it again afterward.
18230
18231 2016-08-03 Zack Weinberg <zackw@panix.com>
18232
18233 * sysdeps/generic/sys/sysmacros.h: Delete file.
18234 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
18235 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
18236 * bits/sysmacros.h: ... here; this encoding is now the generic
18237 encoding. Now defines only the following macros:
18238 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
18239 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
18240 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
18241
18242 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
18243 bits/sysmacros.h and the above new macros to generate the
18244 public implementations of major, minor, and makedev.
18245 * misc/tst-makedev.c: New test.
18246 * include/sys/sysmacros.h: New wrapper.
18247
18248 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
18249 (routines): Add makedev.
18250 (tests): Add tst-makedev.
18251 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
18252 gnu_dev_makedev.
18253 * posix/Makefile (headers): Remove sys/sysmacros.h.
18254 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
18255
18256 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
18257 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
18258 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
18259 * sysdeps/unix/sysv/linux/alpha/libc.abilist
18260 * sysdeps/unix/sysv/linux/arm/libc.abilist
18261 * sysdeps/unix/sysv/linux/hppa/libc.abilist
18262 * sysdeps/unix/sysv/linux/i386/libc.abilist
18263 * sysdeps/unix/sysv/linux/ia64/libc.abilist
18264 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18265 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
18266 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
18267 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18268 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18269 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18270 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18271 * sysdeps/unix/sysv/linux/nios2/libc.abilist
18272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18276 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
18277 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
18278 * sysdeps/unix/sysv/linux/sh/libc.abilist
18279 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18280 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18281 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18282 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18283 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
18284 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
18285 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
18286 Add GLIBC_2.25.
18287
18288 * include/features.h (__glibc_clang_prereq): New macro.
18289 * misc/sys/cdefs.h (__glibc_clang_has_extension)
18290 (__attribute_deprecated_msg__): New macros.
18291
18292 2016-08-03 Joseph Myers <joseph@codesourcery.com>
18293
18294 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
18295 macro.
18296 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
18297 * manual/arith.texi (issignaling): Document as ISO from TS
18298 18661-1:2014.
18299 (nextup): Likewise.
18300 (nextupf): Likewise.
18301 (nextupl): Likewise.
18302 (nextdown): Likewise.
18303 (nextdownf): Likewise.
18304 (nextdownl): Likewise.
18305 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
18306 macro.
18307 * math/math.h: Define
18308 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18309 <bits/libc-header-start.h> instead of including <features.h>.
18310 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
18311 [__USE_GNU].
18312 * math/bits/mathcalls.h (nextdown): Declare if
18313 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
18314 (nextup): Likewise.
18315 (__issignaling): Likewise.
18316
18317 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18318
18319 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
18320 check, and remove __glibc_likely hint
18321 from FP_INFINITE check.
18322 * s_csinhf.c (__csinhf): Likewise.
18323
18324 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
18325 hint from FP_INFINITE check.
18326 * s_csinhl.c (__csinhl): Likewise.
18327
18328 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18329
18330 * math/Makefile (libm-calls): Insert F placeholder into
18331 object names. Move w_lgamma_compat* routines into
18332 (libm-compat-calls): New variable.
18333 (libm-compat-calls-ldouble-yes): New variable.
18334 (calls): Insert F placeholder.
18335 (generated): Redefine using new type-foreach macro call.
18336 (routines): Likewise.
18337
18338 (types): New variable to hold a list of symbolic names
18339 for each type supported by the target machine.
18340 (libm-routines): Redefine using new types variable.
18341 (type-foreach): macro to replace fooF with the
18342 appropriately suffixed foo for each types.
18343
18344 (type-ldouble-suffix): New variable.
18345 (type-ldouble-routines): Likewise.
18346 (type-ldouble-yes): Likewise.
18347 (type-double-suffix): Likewise.
18348 (type-double-routines): Likewise.
18349 (type-float-suffix): Likewise.
18350 (type-float-routines): Likewise.
18351
18352 (dbl-only-routines): Remove.
18353 (long-c-yes): Likewise.
18354 (long-m-routines): Likewise.
18355 (long-m-support): Likewise.
18356 (long-m-yes): Likewise.
18357 (test-longdouble-yes): Likewise.
18358
18359 (test-float.o): Simplify by increasing the scope of the
18360 recipe which adds libm-test.stmp to the vector types.
18361 (test-ifloat.o): Likewise.
18362 (test-float-finite.o): Likewise.
18363 (test-double.o): Likewise
18364 (test-idouble.o): Likewise.
18365 (test-double-finite.o): Likewise.
18366 (test-ldouble.o): Likewise
18367 (test-ildoubl.o): Likewise.
18368 (test-ldouble-finite.o): Likewise.
18369
18370 (libm-tests): Redefine type tests using foreach and the
18371 list of types in types.
18372
18373 (CPPFLAGS-test-ildoubl.c): Rename to
18374 (CPPFLAGS-test-ildouble.c): New variable
18375
18376 * math/test-ildoubl.c: Rename to
18377 * math/test-ildouble.c: New file.
18378
18379 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18380
18381 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
18382 Use fabsl instead of fabs.
18383 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
18384 Likewise.
18385 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
18386 Add long double suffix to constant to ensure proper
18387 promotion to long double.
18388
18389 2016-08-03 Tom Tromey <tom@tromey.com>
18390
18391 [BZ #20311]
18392 * nptl_db/Makefile (headers): Add proc_service.h.
18393 * nptl_db/proc_service.h: Add include guard. Use
18394 __BEGIN/__END_DECLS.
18395 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
18396 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
18397 arguments.
18398
18399
18400 2016-08-03 Florian Weimer <fweimer@redhat.com>
18401
18402 [BZ #17730]
18403 Avoid using memalign for TCB allocations.
18404 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
18405 (_dl_allocate_tls_storage): Use malloc and manual alignment.
18406 Avoid alignment gap in the TLS_DTV_AT_TP case.
18407 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
18408 determine the pointer to free.
18409 * nptl/tst-tls3-malloc.c: New test.
18410 * nptl/Makefile (tests): Add it.
18411 (tst-tls3-malloc): Link with libdl, libpthread.
18412 (LDFLAGS-tst-tls3-malloc): Set.
18413 (tst-tls3-malloc.out): Depend on DSO used in test.
18414
18415 2016-08-03 Florian Weimer <fweimer@redhat.com>
18416
18417 [BZ #17730]
18418 Avoid using memalign for TLS allocations.
18419 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
18420 is_static member with to_free member.
18421 (union dtv): Use struct dtv_pointer.
18422 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
18423 dtv_pointer instead of is_static.
18424 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
18425 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
18426 instead of val.
18427 (allocate_dtv_entry): New function.
18428 (allocate_and_init): Return struct dtv_pointer. Call
18429 allocate_dtv_entry instead of __libc_memalign.
18430 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
18431 instead of val.
18432 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
18433 instead of is_static. Adjust call to allocate_and_init.
18434 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
18435 struct dtv_pointer instead of val.
18436
18437 2016-08-03 Florian Weimer <fweimer@redhat.com>
18438
18439 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
18440 (MALLOC_ALIGN_MASK): Move ...
18441 * malloc/malloc-internal.h: ... to here.
18442 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
18443
18444 2016-08-03 Joseph Myers <joseph@codesourcery.com>
18445
18446 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
18447 (UDP_ENCAP_GTP1U): Likewise.
18448
18449 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
18450 (PF_MAX): Update value.
18451 (AF_QIPCRTR): New macro.
18452
18453 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
18454
18455 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
18456 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18457 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18458 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18459 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18460 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18461 s_truncf-vis3, s_trunc-vis3.
18462 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18463 (CFLAGS-s_ceil-vis3.c): Likewise.
18464 (CFLAGS-s_floorf-vis3.c): Likewise.
18465 (CFLAGS-s_floor-vis3.c): Likewise.
18466 (CFLAGS-s_truncf-vis3.c): Likewise.
18467 (CFLAGS-s_trunc-vis3.c): Likewise.
18468 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
18469 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
18470 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
18471 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
18472 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
18473 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
18474 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
18475 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
18476 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
18477 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
18478 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
18479 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
18480
18481 2016-08-02 David S. Miller <davem@davemloft.net>
18482
18483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
18484 (__nearbyint_vis3): Don't check for sNaN before float register is
18485 loaded with the incoming argument.
18486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
18487 (__nearbyintf_vis3): Likewise.
18488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
18489 Likewise.
18490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
18491 Likewise.
18492
18493 * string/test-strncmp.c (do_test_limit): Make sure the test data
18494 stream is aligned as required for the type "CHAR".
18495 (do_test): Likewise.
18496
18497 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
18498
18499 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
18500 by beq instructions jumping to the end of the function.
18501 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
18502 clobber list. Use "i" constraint instead of "X".
18503 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
18504 of "X".
18505
18506 2016-08-02 Joseph Myers <joseph@codesourcery.com>
18507
18508 * bits/libc-header-start.h: New file.
18509 * Makefile (headers): Add bits/libc-header-start.h.
18510 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
18511 (__GLIBC_USE): New macro.
18512 * libio/stdio.h: Define
18513 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18514 <bits/libc-header-start.h> instead of including <features.h>.
18515 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
18516 (open_memstream): Likewise.
18517 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
18518 (__asprintf): Likewise.
18519 (asprintf): Likewise.
18520 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
18521 (getdelim): Likewise.
18522 (getline): Likewise.
18523 * string/string.h: Define
18524 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18525 <bits/libc-header-start.h> instead of including <features.h>.
18526 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
18527 (strndup): Likewise.
18528 * wcsmbs/wchar.h: Define
18529 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18530 <bits/libc-header-start.h> instead of including <features.h>.
18531 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
18532 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
18533
18534 2016-08-02 Florian Weimer <fweimer@redhat.com>
18535
18536 Support linking against compatibility symbols, for use in tests.
18537 * include/libc-symbols.h (symbol_version_reference): New macro.
18538 (symbol_version): Use it.
18539 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
18540 (compat_symbol): Use compat_symbol_reference.
18541 (compat_symbol_1, compat_symbol_2): Remove.
18542 (compat_symbol_reference, compat_symbol_reference_1)
18543 (compat_symbol_reference_2): New macro. Use
18544 symbol_version_reference.
18545
18546 2016-08-02 Florian Weimer <fweimer@redhat.com>
18547
18548 [BZ #19469]
18549 * malloc/Makefile (CPPFLAGS): Compile tests with
18550 -DTEST_NO_MALLOPT.
18551 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
18552
18553 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
18554
18555 [BZ #20033]
18556 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
18557 finite version.
18558 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
18559 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
18560 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
18561 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
18562 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
18563 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
18564 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
18565 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
18566 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
18567 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
18568 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
18569 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
18570 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
18571 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
18572 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
18573 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
18574 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
18575 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
18576 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
18577 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
18578 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
18579 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
18580 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
18581 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
18582 in zero power.
18583
18584 2016-08-02 Florian Weimer <fweimer@redhat.com>
18585
18586 [BZ #20370]
18587 * malloc/arena.c (get_free_list): Update comment. Assert that
18588 arenas on the free list have no attached threads.
18589 (remove_from_free_list): New function.
18590 (reused_arena): Call it.
18591
18592 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
18593
18594 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
18595 when it is a NaN.
18596 [_IEEE_FP_INEXACT] Remove.
18597 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
18598 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
18599 when it is a NaN.
18600 [_IEEE_FP_INEXACT] Remove.
18601 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
18602 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
18603 when it is a NaN.
18604 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
18605 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
18606 when its absolute value is greater than 0x1.0p52.
18607 [_IEEE_FP_INEXACT] Remove.
18608 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
18609 when its absolute value is greater than 0x1.0p23.
18610 [_IEEE_FP_INEXACT] Remove.
18611
18612 2016-08-01 Carlos O'Donell <carlos@redhat.com>
18613
18614 * version.h (RELEASE): Set to "development"
18615 (VERSION): Set to 2.24.90.
18616 * NEWS: Add 2.25 section.
18617
18618 * version.h (RELEASE): Set to "stable"
18619 (VERSION): Set to 2.24.
18620 * include/features.h (__GLIBC_MINOR__): Set to 24.
18621
18622 * NEWS: Add 2.24 fixed bugs.
18623 * po/libc.pot: Regenerate.
18624
18625 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
18626
18627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18628 [$(subdir) = math] (libm-sysdep_routines): Remove.
18629 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18630 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18631 s_truncf-vis3, s_trunc-vis3.
18632 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
18634 file.
18635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
18636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
18637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
18641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
18642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
18644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
18645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
18646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
18647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
18648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
18649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
18650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
18651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
18653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
18654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
18655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
18656 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
18657 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18658 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18659 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18660 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18661 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18662 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
18663 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18664 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18665 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
18666 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18667 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18668 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
18669 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
18670 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
18671 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
18672 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18673 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18674 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
18675 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
18676 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
18677 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
18678
18679 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
18680
18681 [BZ #20384]
18682 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
18683 test-double-libmvec-sincos-avx-main.o,
18684 test-double-libmvec-sincos-avx2-main.o,
18685 test-double-libmvec-sincos-main.o,
18686 test-float-libmvec-sincosf-avx-main.o,
18687 test-float-libmvec-sincosf-avx2-main.o and
18688 test-float-libmvec-sincosf-main.o.
18689 test-float-libmvec-sincosf-avx512-main.o.
18690 ($(objpfx)test-double-libmvec-sincos): Also link with
18691 $(objpfx)test-double-libmvec-sincos-main.o.
18692 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
18693 $(objpfx)test-double-libmvec-sincos-avx-main.o.
18694 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
18695 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
18696 ($(objpfx)test-float-libmvec-sincosf): Also link with
18697 $(objpfx)test-float-libmvec-sincosf-main.o.
18698 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
18699 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
18700 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
18701 test-double-libmvec-sincos-avx512-main.o and
18702 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
18703 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
18704 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
18705 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
18706 (CFLAGS-test-double-libmvec-sincos.c): Removed.
18707 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
18708 (CFLAGS-test-double-libmvec-sincos-main.c): New.
18709 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
18710 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
18711 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
18712 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
18713 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
18714 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
18715 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
18716 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
18717 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
18718 -DREQUIRE_AVX2.
18719 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
18720 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
18721 -DREQUIRE_AVX512F.
18722 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
18723 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
18724 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
18725 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
18726 file.
18727 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
18728 Likewise.
18729 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
18730 Likewise.
18731 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
18732 Likewise.
18733 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
18734 Likewise.
18735 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
18736 Likewise.
18737 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
18738 Likewise.
18739 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
18740 Likewise.
18741
18742 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
18743
18744 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
18745
18746 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
18747
18748 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
18749 and typo in a comment about AT_HWCAP entry.
18750
18751 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
18752
18753 * sysdeps/aarch64/libm-test-ulps: Updated.
18754
18755 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
18756
18757 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
18758 of r13 as it is not restored in mvcle case.
18759
18760 2016-07-19 Mike Frysinger <vapier@gentoo.org>
18761
18762 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
18763 Rename "ret" to "__ret".
18764 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
18765 inline_syscall5, inline_syscall6): Likewise.
18766
18767 2016-07-19 Will Newton <will.newton@gmail.com>
18768
18769 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
18770 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
18771 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
18772 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
18773 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
18774
18775 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
18776
18777 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
18778 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
18779 -mfpmath=387 with $(rtld-CFLAGS).
18780 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
18781 $(rtld-CFLAGS).
18782
18783 2016-07-18 Ross Burton <ross.burton@intel.com>
18784 Khem Raj <raj.khem@gmail.com>
18785
18786 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
18787 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
18788 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
18789 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
18790 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
18791 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
18792 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
18793 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
18794 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
18795 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
18796 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
18797 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
18798 R_METAG_TLS_DTPOFF): New.
18799
18800 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
18801 Matt Clay <mclay@lycos.com>
18802
18803 [BZ #20357]
18804 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
18805 to call __mpsin/__mpcos and to negate values.
18806 * math/auto-libm-test-in: Add test.
18807 * math/auto-libm-test-out: Regenerate.
18808
18809 2016-07-18 Zack Weinberg <zackw@panix.com>
18810
18811 * grp/Makefile: Don't install the internal header grp-merge.h.
18812
18813 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
18814
18815 * sysdeps/aarch64/libm-test-ulps: Regenerated.
18816
18817 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
18818
18819 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
18820
18821 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18822
18823 [BZ #15368]
18824 * sysdeps/unix/sysv/linux/nptl-signals.h
18825 (__nptl_clear_internal_signals): New function.
18826 (__libc_signal_block_all): Likewise.
18827 (__libc_signal_block_app): Likewise.
18828 (__libc_signal_restore_set): Likewise.
18829 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
18830 implementation.
18831 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
18832 the cached pid/tid value in pthread structure.
18833
18834 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
18835
18836 [BZ #20347]
18837 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
18838
18839 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
18840
18841 [BZ #20348]
18842 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
18843 preadv64, pwrite64 and pwritev64.
18844
18845 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
18846
18847 [BZ #20350]
18848 * posix/tst-preadwrite.c: Renamed to ...
18849 * posix/tst-preadwrite-common.c: This.
18850 (PREAD): Removed.
18851 (PWRITE): Likewise.
18852 (STRINGIFY): Likewise.
18853 (STRINGIFY2): Likewise.
18854 (do_prepare): Make it static and remove function arguments.
18855 (do_test): Likewise.
18856 (PREPARE): Updated.
18857 (TEST_FUNCTION): New.
18858 (name): Make it static.
18859 (fd): Likewise.
18860 (do_prepare): Use create_temp_file.
18861 (do_test): Renamed to ...
18862 (do_test_with_offset): This. Make it static and accept offset.
18863 Properly check return value of PWRITE and PREAD. Return bytes
18864 read. Don't close fd nor unlink name.
18865 * posix/tst-preadwrite.c: Rewrite.
18866 * posix/tst-preadwrite64.c: Likewise.
18867
18868 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
18869
18870 [BZ #20309]
18871 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
18872 -mtls-dialect=gnu2 works.
18873 * configure: Regenerated.
18874 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
18875 (tests): Add tst-gnu2-tls1.
18876 (modules-names): Add tst-gnu2-tls1mod.
18877 ($(objpfx)tst-gnu2-tls1): New.
18878 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
18879 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
18880 * elf/tst-gnu2-tls1.c: New file.
18881 * elf/tst-gnu2-tls1mod.c: Likewise.
18882 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
18883 bytes for push in the PLT entry to align the stack.
18884
18885 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
18886
18887 [BZ #20349]
18888 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
18889
18890 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
18891
18892 [BZ #18707]
18893 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
18894 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
18895
18896 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18897
18898 * sysdeps/unix/sysv/linux/sysdep.h
18899 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
18900 guards.
18901 * misc/tst-preadvwritev-common.c: New file.
18902 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
18903 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
18904 a check for files larger than 2GB.
18905
18906 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18907 (__ASSUME_OFF_DIFF_OFF64): Remove define.
18908 * sysdeps/unix/sysv/linux/pread.c
18909 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
18910 __OFF_T_MATCHES_OFF64_T.
18911 * sysdeps/unix/sysv/linux/pread64.c
18912 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
18913 * sysdeps/unix/sysv/linux/preadv.c
18914 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
18915 * sysdeps/unix/sysv/linux/preadv64.c
18916 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
18917 * sysdeps/unix/sysv/linux/pwrite.c
18918 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
18919 * sysdeps/unix/sysv/linux/pwrite64.c
18920 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
18921 * sysdeps/unix/sysv/linux/pwritev.c
18922 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
18923 * sysdeps/unix/sysv/linux/pwritev64.c
18924 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
18925
18926 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
18927
18928 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18929 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
18930
18931 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
18932
18933 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
18934
18935 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
18936
18937 [BZ #20240]
18938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
18939 (CFLAGS-s_modf-ppc32.c): New variable.
18940 (CFLAGS-s_modff-ppc32.c): Likewise.
18941 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
18942 (CFLAGS-s_modf-ppc64.c): Likewise.
18943 (CFLAGS-s_modff-ppc64.c): Likewise.
18944
18945 2016-07-07 Andreas Schwab <schwab@suse.de>
18946
18947 [BZ #20263]
18948 * nptl/tst-robust10.c: New test.
18949 * nptl/Makefile (tests): Add tst-robust10.
18950
18951 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
18952
18953 [BZ #20263]
18954 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
18955
18956 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
18957
18958 * sysdeps/s390/linkmap.h (struct link_map_machine):
18959 Remove member gotplt and add member jmprel.
18960 * sysdeps/s390/s390-32/dl-machine.h
18961 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
18962 instead of gotplt with &got[3].
18963 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
18964 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18965
18966 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
18967
18968 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
18969
18970 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18971
18972 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
18973 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
18974 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
18975 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
18976 * libio/vtables.c (_IO_vtable_check)
18977 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
18978 * libio/libioP.h (IO_set_accept_foreign_vtables)
18979 [!PTR_MANGLE]: Do not call PTR_MANGLE.
18980
18981 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
18982
18983 [BZ #20314]
18984 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
18985 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
18986 $(common-objpfx)cmath.
18987 ($(common-objpfx)cstdlib): New target.
18988 ($(common-objpfx)cmath): Likewise.
18989
18990 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
18991
18992 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
18993
18994 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18995
18996 [BZ #20327]
18997 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
18998 are not part of the string.
18999
19000 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19001
19002 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
19003 * nptl/tst-cancel4-common.h (fifoname): New variable.
19004 (fifofd): Likewise.
19005 (cl_fifo): New function.
19006 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
19007 SIGINT.
19008 (tf_open): Add early cancel test.
19009
19010 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
19011
19012 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
19013
19014 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
19015
19016 * sysdeps/generic/ldsodefs.h
19017 (dl_symbol_visibility_binds_local_p): New inline function.
19018 * elf/dl-addr.c (determine_info): Treat hidden and internal
19019 symbols as local.
19020 * elf/dl-lookup.c (do_lookup_x): Likewise.
19021 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
19022
19023 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
19024
19025 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
19026 invalid exception for a sNaN input.
19027 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19028 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
19029 (__nearbyint_vis3): Likewise
19030 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
19031 (__nearbyintf_vis3): Likewise
19032 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
19033 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19034 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
19035 Likewise.
19036 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
19037 Likewise.
19038
19039 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
19040
19041 [BZ #20139]
19042 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
19043 (HAVE_AVX512DQ_ASM_SUPPORT): This.
19044 * sysdeps/x86_64/configure.ac: Require assembler from binutils
19045 2.24 or above.
19046 (HAVE_AVX512_ASM_SUPPORT): Removed.
19047 (HAVE_AVX512DQ_ASM_SUPPORT): New.
19048 * sysdeps/x86_64/configure: Regenerated.
19049 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
19050 check unconditional.
19051 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
19052 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19053 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19054 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
19055 Likewise.
19056 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19057 Likewise.
19058 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
19059 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
19060 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19061 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19062 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
19063 Likewise.
19064 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19065 Likewise.
19066 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19067 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19068 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
19069 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
19070 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
19071 Likewise.
19072 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
19073 Likewise.
19074 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
19075 Likewise.
19076 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
19077 Likewise.
19078 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
19079 Likewise.
19080 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
19081 Likewise.
19082 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
19083 Likewise.
19084 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
19085 Likewise.
19086 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
19087 Likewise.
19088 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
19089 Likewise.
19090 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
19091 Likewise.
19092
19093 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
19094
19095 [BZ #20024]
19096 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
19097 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
19098 of this implementation of vector function.
19099 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19100 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19101 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
19102 Likewise.
19103 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19104 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19105 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
19106 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
19107 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
19108 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
19109 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
19110 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
19111 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
19112 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
19113 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
19114 for testing vector sincos with fixed ABI.
19115 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19116 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19117 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19118 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19119 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19120 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19121 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19122 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
19123 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
19124 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
19125 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
19126 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
19127 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
19128 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
19129 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
19130 * sysdeps/x86_64/fpu/Makefile: Added new tests.
19131
19132 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
19133
19134 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
19135
19136 2016-06-30 Anton Blanchard <anton@samba.org>
19137
19138 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19139 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
19140 s_sinf-ppc64.
19141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
19142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
19143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
19144 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
19145
19146 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19147
19148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19149 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19150 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
19151 e_expf-ppc64.
19152 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
19153 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
19154 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
19155 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
19156
19157 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
19158
19159 [BZ #20277]
19160 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
19161 when SHARED is defined.
19162
19163 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
19164
19165 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
19166 (index_arch_Prefer_ERMS): Likewise.
19167 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
19168 __memcpy_erms for Prefer_ERMS.
19169 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
19170 (__memmove_erms): Enabled for libc.a.
19171 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
19172 __memmove_erms or Prefer_ERMS.
19173 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
19174 __mempcpy_erms for Prefer_ERMS.
19175 * sysdeps/x86_64/multiarch/memset.S (memset): Return
19176 __memset_erms for Prefer_ERMS.
19177
19178 2016-06-30 Andreas Schwab <schwab@suse.de>
19179
19180 [BZ #20262]
19181 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
19182 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
19183 of memory.
19184
19185 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
19186
19187 [BZ #18645]
19188 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
19189 (test-extras): Add tst-cleanupx4aux.
19190 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
19191 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
19192 tst-cleanupx4aux.o.
19193 * nptl/tst-cleanupx4aux.c: New file.
19194
19195 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
19196
19197 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19198
19199 2016-06-29 Andreas Schwab <schwab@suse.de>
19200
19201 [BZ #20260]
19202 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
19203 address before the beginning of the string as an integer to avoid
19204 array-bounds warning.
19205
19206 2016-06-28 Richard Henderson <rth@redhat.com>
19207
19208 * elf/elf.h (EM_BPF): New.
19209 (EM_NUM): Update.
19210 (R_BPF_NONE, R_BPF_MAP_FD): New.
19211
19212 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
19213 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
19214 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
19215 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
19216 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
19217 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
19218 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
19219 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
19220 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
19221 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
19222 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
19223 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
19224 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
19225 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
19226 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
19227 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
19228 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
19229 (EM_NUM): Update.
19230
19231 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
19232
19233 [BZ #18960]
19234 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
19235 Set _nl_current_LC_CATEGORY_used to two instead of one.
19236
19237 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
19238
19239 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
19240 (do_test): ... this.
19241 (TEST_FUNCTION): New macro.
19242 Include test-skeleton.c.
19243 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
19244 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
19245
19246 2016-06-27 Joseph Myers <joseph@codesourcery.com>
19247
19248 [BZ #15479]
19249 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
19250 floating-point environment rather than just control word.
19251 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19252 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
19253 floating-point environment, with "invalid" exceptions merged in,
19254 rather than just control word.
19255 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
19256 * math/libm-test.inc (trunc_test_data): Do not allow spurious
19257 "inexact" exceptions.
19258
19259 [BZ #15479]
19260 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
19261 floating-point environment rather than just control word.
19262 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19263 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
19264 floating-point environment, with "invalid" exceptions merged in,
19265 rather than just control word.
19266 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
19267 * math/libm-test.inc (floor_test_data): Do not allow spurious
19268 "inexact" exceptions.
19269
19270 [BZ #15479]
19271 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
19272 floating-point environment rather than just control word.
19273 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19274 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
19275 floating-point environment, with "invalid" exceptions merged in,
19276 rather than just control word.
19277 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
19278 * math/libm-test.inc (ceil_test_data): Do not allow spurious
19279 "inexact" exceptions.
19280
19281 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
19282
19283 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
19284 __libc_vfork.
19285 (__vfork) [IS_IN (libc)]: Remove alias.
19286 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
19287 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19288 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19289
19290 2016-06-24 Torvald Riegel <triegel@redhat.com>
19291
19292 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
19293 of atomic_compare_and_exchange_bool_rel.
19294 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19295 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
19296 catomic_compare_and_exchange_bool_rel): Remove.
19297 * sysdeps/aarch64/atomic-machine.h
19298 (atomic_compare_and_exchange_bool_rel): Likewise.
19299 * sysdeps/alpha/atomic-machine.h
19300 (atomic_compare_and_exchange_bool_rel): Likewise.
19301 * sysdeps/arm/atomic-machine.h
19302 (atomic_compare_and_exchange_bool_rel): Likewise.
19303 * sysdeps/mips/atomic-machine.h
19304 (atomic_compare_and_exchange_bool_rel): Likewise.
19305 * sysdeps/microblaze/atomic-machine.h
19306 ( __arch_compare_and_exchange_bool_8_rel,
19307 __arch_compare_and_exchange_bool_16_rel): Likewise.
19308 * sysdeps/powerpc/atomic-machine.h
19309 ( __arch_compare_and_exchange_bool_8_rel,
19310 __arch_compare_and_exchange_bool_16_rel): Likewise.
19311 * sysdeps/powerpc/powerpc32/atomic-machine.h
19312 ( __arch_compare_and_exchange_bool_32_rel,
19313 __arch_compare_and_exchange_bool_64_rel): Likewise.
19314 * sysdeps/powerpc/powerpc64/atomic-machine.h
19315 ( __arch_compare_and_exchange_bool_32_rel,
19316 __arch_compare_and_exchange_bool_64_rel): Likewise.
19317 * sysdeps/tile/atomic-machine.h
19318 (atomic_compare_and_exchange_bool_rel): Likewise.
19319
19320 2016-06-23 Joseph Myers <joseph@codesourcery.com>
19321
19322 [BZ #20296]
19323 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
19324 when either argument is a NaN.
19325 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19326 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
19327
19328 * math/libm-test.inc (snan_value_ld): New macro.
19329 (isgreater_test_data): Add sNaN tests.
19330 (isgreaterequal_test_data): Likewise.
19331 (isless_test_data): Likewise.
19332 (islessequal_test_data): Likewise.
19333 (islessgreater_test_data): Likewise.
19334 (isunordered_test_data): Likewise.
19335 (nextafter_test_data): Likewise.
19336 (nexttoward_test_data): Likewise.
19337 (remainder_test_data): Likewise.
19338 (remquo_test_data): Likewise.
19339 (significand_test_data): Likewise.
19340 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
19341
19342 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
19343
19344 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
19345 environment macros are defined.
19346 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
19347
19348 2016-06-23 Florian Weimer <fweimer@redhat.com>
19349
19350 [BZ #20191]
19351 Implement vtable verification in libio.
19352 * Makerules (shlib.lds): Place __libc_IO_vtables section.
19353 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
19354 * debug/vdprintf_chk.c (__vdprintf_chk): Call
19355 _IO_new_file_init_internal instead of _IO_file_init.
19356 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
19357 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
19358 * libio/Makefile (routines): Add vtables.
19359 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
19360 (_IO_init): Remove, not for internal use.
19361 (_IO_init_internal): Declare, internal replacement for _IO_init.
19362 (_IO_file_init): Remove, not for internal use.
19363 (_IO_new_file_init): Remove, not for internal use.
19364 (_IO_new_file_init_internal): Declare, internal replacement for
19365 _IO_new_file_init.
19366 (_IO_old_file_init): Remove, not for internal use.
19367 (_IO_old_file_init_internal): Declare, internal replacement for
19368 _IO_old_file_init.
19369 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
19370 internal use.
19371 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
19372 Declare.
19373 (libio_vtable): New macro.
19374 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
19375 functions.
19376 * libio/fileops.c (_IO_new_file_init_internal): Rename from
19377 _IO_new_file_init.
19378 (_IO_new_file_init): New externally visible wrapper which disables
19379 vtable verification.
19380 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
19381 Define as vtables.
19382 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
19383 (_IO_init): New externally visible wrapper which disables
19384 vtable verification.
19385 * libio/iofdopen.c (_IO_new_fdopen): Call
19386 _IO_new_file_init_internal instead of _IO_file_init. Adjust
19387 comment.
19388 * libio/iofopen.c (__fopen_internal): Call
19389 _IO_new_file_init_internal instead of _IO_file_init.
19390 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
19391 Define as vtables.
19392 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
19393 _IO_new_file_init_internal instead of _IO_file_init.
19394 * libio/iopopen.c (_IO_new_popen): Likewise.
19395 (_IO_proc_jumps): Define as vtable.
19396 * libio/iovdprintf.c (_IO_vdprintf): Call
19397 _IO_new_file_init_internal instead of _IO_file_init.
19398 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
19399 (__open_memstream): Call _IO_init_internal instead of _IO_init.
19400 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
19401 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
19402 _IO_old_file_init.
19403 (_IO_old_file_init): New externally visible wrapper which disables
19404 vtable verification.
19405 (_IO_old_file_jumps): Define as vtable.
19406 * libio/oldiofdopen.c (_IO_old_fdopen): Call
19407 _IO_old_file_init_internal instead of _IO_old_file_init.
19408 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19409 * libio/oldiopopen.c (_IO_old_popen): Likewise.
19410 (_IO_old_proc_jumps): Define as vtable.
19411 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
19412 Define as vtables.
19413 * libio/vtables.c: New file.
19414 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
19415 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
19416 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
19417 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
19418 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
19419 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
19420 instead of _IO_init.
19421
19422 2016-06-23 Florian Weimer <fweimer@redhat.com>
19423
19424 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
19425
19426 2016-06-23 Florian Weimer <fweimer@redhat.com>
19427
19428 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
19429 potentially unused.
19430
19431 2016-06-22 Florian Weimer <fweimer@redhat.com>
19432
19433 * test-skeleton.c (write_message): New function.
19434 * malloc/tst-mallocfork2.c (write_message): Remove.
19435 * debug/tst-longjmp_chk2.c (write_indented): New function.
19436 (write_message): Remove.
19437 (stackoverflow_handler): Call write_indented.
19438
19439 2016-06-22 Joseph Myers <joseph@codesourcery.com>
19440
19441 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
19442 "inexact" exceptions after fnstenv.
19443 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19444 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19445 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19446
19447 2015-06-22 Zack Weinberg <zackw@panix.com>
19448
19449 * sysdeps/generic/bits/hwcap.h: Moved to ...
19450 * bits/hwcap.h: Here.
19451
19452 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
19453
19454 * sysdeps/aarch64/memcpy.S (memcpy):
19455 Further tuning for performance.
19456
19457 2016-06-21 Florian Weimer <fweimer@redhat.com>
19458
19459 [BZ #20284]
19460 * malloc/arena.c (reused_arena): Do not return NULL if we start
19461 out with a non-corrupted arena.
19462
19463 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19464
19465 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
19466 * misc/tst-preadvwritev.c: New file.
19467 * misc/tst-preadvwritev64.c: Likewise.
19468 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
19469 usage.
19470 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
19471 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
19472 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
19473 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
19474
19475 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
19476
19477 [BZ #19654]
19478 * sysdeps/x86_64/fpu/Makefile: Added new tests.
19479 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
19480 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
19481 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
19482 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
19483 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
19484 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
19485 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
19486 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
19487 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
19488 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
19489 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
19490 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
19491 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
19492 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
19493 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
19494 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
19495 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
19496 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
19497 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
19498 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
19499 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
19500 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
19501 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
19502 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
19503 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
19504
19505 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
19506
19507 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
19508 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
19509
19510 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
19511
19512 * sysdeps/aarch64/memcpy.S (memcpy):
19513 Rewrite of optimized memcpy and memmove.
19514 * sysdeps/aarch64/memmove.S (memmove): Remove
19515 memmove code (merged into memcpy.S).
19516
19517 2016-06-20 Florian Weimer <fweimer@redhat.com>
19518
19519 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
19520 * sysdeps/generic/dl-dtv.h: New file.
19521 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19522 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
19523 (dtv_t): Remove.
19524 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19525 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
19526 (dtv_t): Remove.
19527 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19528 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
19529 (dtv_t): Remove.
19530 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19531 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
19532 (dtv_t): Remove.
19533 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19534 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
19535 (dtv_t): Remove.
19536 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19537 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
19538 (dtv_t): Remove.
19539 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19540 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
19541 (dtv_t): Remove.
19542 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
19543 (dtv_t): Remove.
19544 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19545 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
19546 (dtv_t): Remove.
19547 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19548 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
19549 (dtv_t): Remove.
19550 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19551 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
19552 (dtv_t): Remove.
19553 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19554 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
19555 (dtv_t): Remove.
19556 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19557 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
19558 (dtv_t): Remove.
19559 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19560 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
19561 (dtv_t): Remove.
19562 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19563 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
19564 (dtv_t): Remove.
19565 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19566 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
19567 (dtv_t): Remove.
19568
19569 2016-06-20 Florian Weimer <fweimer@redhat.com>
19570
19571 Revert symbol poisoning of __malloc_initialize_hook.
19572 * include/stdc-predef.h (__malloc_initialize_hook): Remove
19573 poisoning.
19574 * malloc/Makefile: Remove un-poisoning.
19575 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
19576 instead of old__malloc_initialize_hook.
19577 * malloc/malloc-hooks.h: Likewise.
19578 * malloc/malloc.c: Likewise.
19579 * malloc/mcheck-init.c: Likewise.
19580
19581 2016-06-19 Carlos O'Donell <carlos@redhat.com>
19582
19583 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
19584
19585 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
19586
19587 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
19588 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
19589 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19590 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19591
19592 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19593
19594 * NEWS: Mention addition of nextup and nextdown.
19595 * manual/arith.texi: Document nextup and nextdown.
19596 * manual/libm-err-tab.pl: Add nextup and nextdown.
19597 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
19598 * math/Versions (libm): Add GLIBC_2.24.
19599 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
19600 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
19601 Add new test.
19602 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
19603 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
19604 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
19605 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
19606 (nextup_test_data): Likewise.
19607 (nextdown_test_data): Likewise.
19608 * math/s_nextdown.c: New file.
19609 * math/s_nextdownf.c: Likewise.
19610 * math/s_nextdownl.c: Likewise.
19611 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
19612 F(nextup): New function.
19613 F(nextdown): Likewise.
19614 * math/tgmath.h: Add nextup and nextdown.
19615 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
19616 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
19617 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
19618 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
19619 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
19620 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
19621 Add nextup and nextdown.
19622 (CFLAGS-nldbl-nextup.c): New variable.
19623 (CFLAGS-nldbl-nextdown.c): Likewise.
19624 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
19625 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
19626 * sysdeps/nacl/libm.abilist: Update.
19627 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19628 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19629 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19630 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19631 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19632 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19633 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19634 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19635 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19636 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19637 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19638 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19641 Likewise.
19642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19644 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19645 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19646 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19647 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19648 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19649 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
19650 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
19651 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19652 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19653 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
19654 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19655
19656 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19657
19658 * manual/pattern.texi: Fix typos & grammar errors.
19659
19660 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19661
19662 * manual/search.texi: Fix typos & grammar errors.
19663
19664 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19665
19666 * manual/message.texi: Fix typos & grammar errors.
19667
19668 2016-06-16 Mike Frysinger <vapier@gentoo.org>
19669
19670 * manual/contrib.texi: Fix spelling typos.
19671 * manual/crypt.texi: Likewise.
19672 * manual/filesys.texi: Likewise.
19673 * manual/locale.texi: Likewise.
19674 * manual/message.texi: Likewise.
19675 * manual/nss.texi: Likewise.
19676 * manual/string.texi: Likewise.
19677
19678 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19679
19680 * manual/locale.texi: Fix typos & grammar errors.
19681
19682 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19683
19684 * manual/charset.texi: Fix typos & grammar errors.
19685
19686 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19687
19688 * manual/string.texi: Fix typos.
19689
19690 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19691
19692 * manual/ctype.texi: Fix typos.
19693
19694 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19695
19696 * manual/memory.texi: Fix various typos & grammar errors.
19697
19698 2016-06-14 Joseph Myers <joseph@codesourcery.com>
19699
19700 [BZ #20255]
19701 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
19702 * math/libm-test.inc (fdim_test_data): Add another test.
19703
19704 [BZ #6796]
19705 [BZ #20255]
19706 [BZ #20256]
19707 * math/s_fdim.c: Include <math_private.h>.
19708 (__fdim): Use math_narrow_eval on result.
19709 * math/s_fdimf.c: Include <math_private.h>.
19710 (__fdimf): Use math_narrow_eval on result.
19711 * sysdeps/i386/fpu/s_fdim.S: Remove file.
19712 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
19713 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
19714 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
19715 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
19716 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
19717 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
19718 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
19719 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
19720 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
19721 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
19722 * math/libm-test.inc (fdim_test_data): Expect errno setting on
19723 overflow. Add sNaN tests.
19724
19725 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
19726 fpclassify.
19727 * math/s_fdimf.c (__fdimf): Likewise.
19728 * math/s_fdiml.c (__fdiml): Likewise.
19729
19730 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19731
19732 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19733 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
19734 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19735 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
19736 ifunc'ed strcasecmp/strncasecmp.
19737 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
19738 [EALIGN]: Removed.
19739 [END]: Likewise.
19740 [__strcasecmp]: Define instead of the above to control symbol name.
19741 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
19742 for __strcasecmp_power8.
19743 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
19744 for __strncasecmp_power8.
19745 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
19746 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
19747 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
19748 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
19749 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
19750 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
19751
19752 2016-06-13 Joseph Myers <joseph@codesourcery.com>
19753
19754 [BZ #20252]
19755 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
19756 arguments when second argument is a NaN.
19757 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
19758 qNaN tests.
19759
19760 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
19761 (conj_test_data): Likewise.
19762 (copysign_test_data): Likewise.
19763 (creal_test_data): Likewise.
19764 (fma_test_data): Likewise.
19765 (fmod_test_data): Likewise.
19766
19767 [BZ #20250]
19768 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
19769 itself.
19770 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
19771 zero input to itself.
19772 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
19773 Likewise.
19774 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
19775 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
19776 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19777 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
19778 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
19779
19780 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19781
19782 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
19783 * nptl/tst-cancel4-common.c: New file.
19784 * nptl/tst-cancel4-common.h: Likewise.
19785 * nptl/tst-cancel4.c: Move common definitions to
19786 tst-cancel4-common.{c,h} file.
19787 * nptl/tst-cancel4_1.c: New test.
19788 * nptl/tst-cancel4_2.c: New test.
19789
19790 2016-06-13 Florian Weimer <fweimer@redhat.com>
19791
19792 [BZ #20248]
19793 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
19794 (write_message): New function.
19795 (stackoverflow_handler): Call it instead of printf, to avoid
19796 excessive stack usage by printf.
19797 (do_test): Restore SIGSEGV, SIGBUS default handlers.
19798
19799 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19800
19801 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
19802 (prio_inherit_missing): Remove define.
19803 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19804 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19805 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
19806 Likewise.
19807 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19808 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19809 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19810 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19811 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19812 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19813
19814 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
19815
19816 [BZ #19670]
19817 [BZ #19672]
19818
19819 * io/test-lfs.c (do_prepare): Use xmalloc.
19820 * io/tst-fcntl.c (do_prepare): Likewise.
19821 * libio/tst-fopenloc.c (do_bz17916): Likewise.
19822 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
19823 * login/tst-utmp.c (do_prepare): Likewise.
19824 * posix/tst-exec.c (do_prepare): Likewise.
19825 * posix/tst-pathconf.c (prepare): Likewise.
19826 * posix/tst-spawn.c (do_prepare): Likewise.
19827 * posix/tst-truncate.c (do_prepare): Likewise.
19828 * rt/tst-aio.c (do_prepare): Likewise.
19829 * rt/tst-aio64.c (do_prepare): Likewise.
19830
19831 2016-06-11 Florian Weimer <fweimer@redhat.com>
19832
19833 [BZ #20237]
19834 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
19835 (get*ent): Set entidx to NULL during initialization. If entidx is
19836 NULL, start iteration from the beginning.
19837
19838 2016-06-11 Florian Weimer <fweimer@redhat.com>
19839
19840 * malloc/malloc.c (musable): Return correct size for dumped fake
19841 mmapped chunk.
19842
19843 2016-06-11 Florian Weimer <fweimer@redhat.com>
19844
19845 [BZ #20222]
19846 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
19847 (_IO_cookie_write): Likewise.
19848 (_IO_cookie_seek): Likewise.
19849 (_IO_cookie_close): Likewise.
19850 (_IO_old_cookie_seek): Likewise.
19851 (set_callbacks): New function.
19852 (_IO_cookie_init): Call set_callbacks to copy callbacks.
19853
19854 2016-06-11 Marko Myllynen <myllynen@redhat.com>
19855
19856 * locale/programs/localedef.c (oldstyle_tables): Remove.
19857 * locale/programs/localedef.h (oldstyle_tables): Likewise.
19858
19859 2016-06-10 Joseph Myers <joseph@codesourcery.com>
19860
19861 [BZ #20240]
19862 * math/Makefile (CFLAGS-s_modf.c): New variable.
19863 (CFLAGS-s_modff.c): Likewise.
19864 (CFLAGS-s_modfl.c): Likewise.
19865 * math/libm-test.inc (modf_test_data): Add sNaN tests.
19866
19867 2016-06-09 Carlos O'Donell <carlos@redhat.com>
19868
19869 [BZ #20215]
19870 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
19871 [!__GNUC_PREREQ (3,2)]: Likewise.
19872
19873 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
19874
19875 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
19876 (msghdr.msg_controllen): Likewise.
19877 (cmsghdr.cmsg_len): Likewise.
19878 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
19879 ptw-oldsendmsg.
19880 (CFLAGS-oldrecvmsg.c): Remove rule.
19881 (CFLAGS-oldsendmsg.c): Likewise.
19882 (CFLAGS-recvmsg.c): Add rule.
19883 (CFLAGS-sendmsg.c): Likewise.
19884 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
19885 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
19886 (CFLAGS-recvmsg.c): Remove rule.
19887 (CFLAGS-sendmsg.c): Likewise.
19888 (CFLAGS-oldrecvmsg.c): Likewise.
19889 (CFLAGS-oldsendmsg.c): Likewise.
19890 (CFLAGS-recvmmsg.c): Likewise.
19891 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
19892 to kernel defined interfaces.
19893 (msghdr.msg_controllen): Likewise.
19894 (cmsghdr.cmsg_len): Likewise.
19895 (msghdr.__glibc_reserved1): Remove member.
19896 (msghdr.__glibc_reserved2): Likewise.
19897 (cmsghdr.__glibc_reserved1): Likewise.
19898 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
19899 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
19900 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
19901 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
19902 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
19903 version.
19904 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
19905 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
19906 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
19907 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
19908 Remove recvmsg and sendmsg.
19909 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
19910 Likewise.
19911 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
19912 Likewise.
19913 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
19914 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
19915 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
19916 Likewise.
19917 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
19918 Likewise.
19919 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
19920 [libc] (GLIBC_2.24): Likewise.
19921 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
19922 Likewise.
19923 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
19924 Likewise.
19925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19926 [libc] (GLIBC_2.24): Likewise.
19927 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
19928 Likewise.
19929 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
19930 Likewise.
19931 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
19932 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
19933 Likewise.
19934 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
19935 Likewise.
19936 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
19937 Likewise.
19938 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
19939 Likewise.
19940 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
19941 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
19942 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
19943 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
19944 version for {recv,send,recm,sendm}msg.
19945 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19946 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19947 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19948 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19949 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19950 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19951 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19952 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19953 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19954 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
19955 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19956 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19958 Likewise.
19959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19960 Likewise.
19961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19963 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19964 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19965 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19966 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19967 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19968 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
19970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
19971 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19972 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19973 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19974
19975 2016-06-10 Florian Weimer <fweimer@redhat.com>
19976
19977 [BZ #19564]
19978 Remove __malloc_initialize_hook from the API.
19979 * malloc/malloc.h (__malloc_initialize_hook): Remove.
19980 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
19981 #pragma GCC poison.
19982 * malloc/malloc-hooks.h: New file.
19983 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
19984 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
19985 (old__malloc_initialize_hook): Rename from
19986 __malloc_initialize_hook to evade poisoning. Turn into compat
19987 symbol.
19988 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
19989 __malloc_initialize_hook.
19990 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
19991 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
19992 * manual/memory.texi (Hooks for Malloc): Remove
19993 __malloc_initialize_hook. Adjust hook example.
19994
19995 2016-06-09 Joseph Myers <joseph@codesourcery.com>
19996
19997 [BZ #20235]
19998 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
19999 itself.
20000 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
20001 * math/libm-test.inc (log2_test_data): Add sNaN tests.
20002
20003 [BZ #20234]
20004 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
20005 infinity or NaN input to itself.
20006
20007 [BZ #20233]
20008 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
20009 to itself.
20010
20011 [BZ #20232]
20012 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
20013 itself.
20014
20015 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
20016
20017 * sysdeps/x86_64/start.S (_start): Always indirect branch to
20018 __libc_start_main via GOT.
20019
20020 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
20021
20022 * sysdeps/x86_64/memcopy.h: New file.
20023 * sysdeps/x86_64/wordcopy.c: Likewise.
20024
20025 2016-06-09 Florian Weimer <fweimer@redhat.com>
20026
20027 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
20028 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
20029 <cstdlib>.
20030 (optimization_barrier): New.
20031 (do_test): Use it. Call quick_exit in the global namespace.
20032 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
20033 instead of <cstdlib>, <thread>.
20034 (optimization_barrier): New.
20035 (non_main_thread): Adjust declaration. Call optimization_barrier.
20036 Call quick_exit in the global namespace.
20037 (do_test): Call optimization_barrier. Use pthread_create,
20038 pthread_join instead of std::thread.
20039
20040 2016-06-09 Andreas Schwab <schwab@suse.de>
20041
20042 [BZ #19755]
20043 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
20044 new entries in auto-propagate mode.
20045 * nscd/grpcache.c (cache_addgr): Likewise.
20046
20047 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
20048
20049 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
20050 New functions.
20051 (add_temp_file): Use them.
20052
20053 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
20054
20055 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
20056
20057 2016-06-08 Joseph Myers <joseph@codesourcery.com>
20058
20059 [BZ #20229]
20060 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
20061 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
20062 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
20063
20064 [BZ #20228]
20065 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
20066 itself.
20067 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20068 * math/libm-test.inc (log10_test_data): Add sNaN tests.
20069
20070 [BZ #20227]
20071 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
20072 itself.
20073 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20074 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
20075 * math/libm-test.inc (log_test_data): Add sNaN tests.
20076
20077 [BZ #20226]
20078 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
20079 itself.
20080 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20081 * math/libm-test.inc (exp_test_data): Add sNaN tests.
20082 (exp10_test_data): Likewise.
20083 (expm1_test_data): Likewise.
20084
20085 [BZ #20225]
20086 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
20087 itself.
20088 * math/s_ldexpf.c (__ldexpf): Likewise.
20089 * math/s_ldexpl.c (__ldexpl): Likewise.
20090 * math/w_scalbln.c (__w_scalbln): Likewise.
20091 * math/w_scalblnf.c (__w_scalblnf): Likewise.
20092 * math/w_scalblnl.c (__w_scalblnl): Likewise.
20093 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
20094 (scalbln_test_data): Likewise.
20095
20096 [BZ #20224]
20097 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
20098 argument to itself.
20099 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
20100
20101 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
20102
20103 [BZ #19776]
20104 * sysdeps/x86_64/memcpy.S: Make it dummy.
20105 * sysdeps/x86_64/mempcpy.S: Likewise.
20106 * sysdeps/x86_64/memmove.S: New file.
20107 * sysdeps/x86_64/memmove_chk.S: Likewise.
20108 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
20109 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
20110 * sysdeps/x86_64/memmove.c: Removed.
20111 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
20112 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20113 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
20114 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
20115 Likewise.
20116 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20117 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20118 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20119 memcpy-sse2-unaligned, memmove-avx-unaligned,
20120 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
20121 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20122 (__libc_ifunc_impl_list): Replace
20123 __memmove_chk_avx512_unaligned_2 with
20124 __memmove_chk_avx512_unaligned. Remove
20125 __memmove_chk_avx_unaligned_2. Replace
20126 __memmove_chk_sse2_unaligned_2 with
20127 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
20128 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
20129 with __memmove_avx512_unaligned. Replace
20130 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
20131 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
20132 with __memcpy_chk_avx512_unaligned. Remove
20133 __memcpy_chk_avx_unaligned_2. Replace
20134 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
20135 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
20136 Replace __memcpy_avx512_unaligned_2 with
20137 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
20138 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
20139 with __mempcpy_chk_avx512_unaligned. Remove
20140 __mempcpy_chk_avx_unaligned_2. Replace
20141 __mempcpy_chk_sse2_unaligned_2 with
20142 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
20143 Replace __mempcpy_avx512_unaligned_2 with
20144 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
20145 Replace __mempcpy_sse2_unaligned_2 with
20146 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
20147 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
20148 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
20149 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
20150 if processor has ERMS. Default to __memcpy_sse2_unaligned.
20151 (ENTRY): Removed.
20152 (END): Likewise.
20153 (ENTRY_CHK): Likewise.
20154 (libc_hidden_builtin_def): Likewise.
20155 Don't include ../memcpy.S.
20156 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
20157 __memcpy_chk_avx512_unaligned_erms and
20158 __memcpy_chk_avx512_unaligned. Use
20159 __memcpy_chk_avx_unaligned_erms and
20160 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20161 Default to __memcpy_chk_sse2_unaligned.
20162 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
20163 Change function suffix from unaligned_2 to unaligned.
20164 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
20165 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
20166 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
20167 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
20168 (ENTRY): Removed.
20169 (END): Likewise.
20170 (ENTRY_CHK): Likewise.
20171 (libc_hidden_builtin_def): Likewise.
20172 Don't include ../mempcpy.S.
20173 (mempcpy): New. Add a weak alias.
20174 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
20175 __mempcpy_chk_avx512_unaligned_erms and
20176 __mempcpy_chk_avx512_unaligned. Use
20177 __mempcpy_chk_avx_unaligned_erms and
20178 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20179 Default to __mempcpy_chk_sse2_unaligned.
20180
20181 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
20182
20183 [BZ #19881]
20184 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
20185 into ...
20186 * sysdeps/x86_64/memset.S: This.
20187 (__bzero): Removed.
20188 (__memset_tail): Likewise.
20189 (__memset_chk): Likewise.
20190 (memset): Likewise.
20191 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
20192 defined.
20193 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
20194 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
20195 (__memset_zero_constant_len_parameter): Check SHARED instead of
20196 PIC.
20197 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20198 memset-avx2 and memset-sse2-unaligned-erms.
20199 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20200 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
20201 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
20202 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
20203 (__bzero): Enabled.
20204 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
20205 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
20206 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
20207 or __memset_avx2_unaligned_erms if processor has ERMS. Support
20208 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
20209 (memset): Removed.
20210 (__memset_chk): Likewise.
20211 (MEMSET_SYMBOL): New.
20212 (libc_hidden_builtin_def): Replace __memset_sse2 with
20213 __memset_sse2_unaligned.
20214 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
20215 __memset_chk_sse2 and __memset_chk_avx2 with
20216 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
20217 Use __memset_chk_sse2_unaligned_erms or
20218 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
20219 __memset_chk_avx512_unaligned_erms and
20220 __memset_chk_avx512_unaligned.
20221
20222 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20223
20224 * math/gen-auto-libm-test.c (fp_format_desc): remove
20225 suffix member.
20226 (output_generic_value): Remove usage of suffix member,
20227 and the resulting unuse of the fp_format argument.
20228 (output_for_one_input_case): Remove unused fp_format
20229 parameter.
20230
20231 * math/auto-libm-test-out: Regenerate.
20232
20233 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
20234 usage with TEST_COND_ibm128.
20235 (TEST_COND_flt_32): Remove.
20236 (TEST_COND_dbl_64): Remove.
20237 (TEST_COND_ldbl_96_intel): Remove.
20238 (TEST_COND_ldbl_96_m68k): Remove.
20239 (TEST_COND_ldbl_128): Remove.
20240
20241 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20242
20243 * auto-libm-test-in:
20244 Replace flt-32 usage with binary32.
20245 Replace dbl-64 usage with binary64.
20246 Replace ldbl-intel-96 usage with intel96.
20247 Replace ldbl-m68k-96 usage with m68k96.
20248 Replace ldbl-128ibm usage with ibm128.
20249 Replace ldbl-128 usage with binary128.
20250
20251 * auto-libm-test-out: Regenerate.
20252
20253 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20254
20255 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
20256 (parse_ulps): Dynamically generate type name matching
20257 string from all_floats.
20258 (get_ulps): Generate the ulps as an array instead.
20259 (output_ulps): Dynamically compose the type based
20260 on the number of supported formats, and print
20261 the indices as type specific helper macros.
20262
20263 * math/libm-test.inc: Remove comment about CHOOSE.
20264 (ulp_data): Generate the type in libm-test-ulps.h.
20265 (ULP_IDX): New macro.
20266 (find_ulps): Update usage of max_ulp.
20267
20268 * math/test-double-vlen2.h (CHOOSE): Remove.
20269 * math/test-double-vlen4.h (CHOOSE): Likewise.
20270 * math/test-double-vlen8.h (CHOOSE): Likewise.
20271 * math/test-float.c (CHOOSE): Likewise.
20272 * math/test-float-finite.c (CHOOSE): Likewise.
20273 * math/test-double.c (CHOOSE): Likewise.
20274 * math/test-double-finite.c (CHOOSE): Likewise.
20275 * math/test-idouble.c (CHOOSE): Likewise.
20276 * math/test-ifloat.c (CHOOSE): Likewise.
20277 * math/test-ildoubl.c (CHOOSE): Likewise.
20278 * math/test-ldouble-finite.c (CHOOSE): Likewise.
20279 * math/test-ldouble.c (CHOOSE): Likewise.
20280
20281 * math/test-float.h (TEST_FLOAT): Remove.
20282 * math/test-double.h (TEST_DOUBLE): Likewise.
20283 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
20284
20285 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20286
20287 * math/gen-libm-test.pl: (apply_lit): New subroutine.
20288 (parse_args): Strip C suffix from floating point literals
20289 typed with 'f' and wrap them with LIT().
20290
20291 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
20292 (test_ff_f_data_nexttoward): Rename to
20293 (test_fj_f_data): New struct.
20294 (nexttoward_test_data): Relabel tests as
20295 TEST_fj_f instead of TEST_ff_f.
20296
20297 2016-06-08 Florian Weimer <fweimer@redhat.com>
20298
20299 Emacs bug 23726.
20300 * malloc/malloc.c (dumped_main_arena_start): Update comment.
20301 (__libc_realloc): Correct size computation for dumped fake mmapped
20302 chunks.
20303
20304 2016-06-07 Joseph Myers <joseph@codesourcery.com>
20305
20306 [BZ #20219]
20307 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
20308 to itself.
20309 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
20310
20311 [BZ #20218]
20312 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
20313 to itself.
20314 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
20315
20316 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
20317
20318 [BZ #20195]
20319 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
20320 check to ...
20321 (init_cpu_features): Here.
20322
20323 2016-06-07 Carlos O'Donell <carlos@redhat.com>
20324
20325 [BZ #20214]
20326 * sysdeps/unix/sysv/linux/bits/in.h
20327 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20328 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
20329 Define to 1.
20330 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20331 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
20332 Define to 0.
20333 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
20334 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
20335
20336 2016-06-06 Carlos O'Donell <carlos@redhat.com>
20337
20338 [BZ #20198]
20339 * stdlib/Makefile (tests): Add tst-quick_exit, and
20340 tst-thread-quick_exit.
20341 [ifeq ($(have-cxx-thread_local),yes)]
20342 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
20343 (CFLAGS-tst-thread-quick_exit.o): Likewise.
20344 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
20345 (LDLIBS-tst-thread-quick_exit): Likewise.
20346 [ifneq ($(have-cxx-thread_local),yes)]
20347 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
20348 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
20349 If run_dtors is true call __call_tls_dtors.
20350 (exit): Call __run_exit_handlers with run_dtors set to true.
20351 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
20352 definition.
20353 * stdlib/quick_exit.c (quick_exit): Remove function.
20354 (__new_quick_exit): New function.
20355 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
20356 function.
20357 * stdlib/tst-quick_exit.cc: New file.
20358 * stdlib/tst-thread-quick_exit.cc: New file.
20359 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
20360 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
20361 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
20362 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
20363 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
20364 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
20365 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
20366 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
20367 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
20368 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
20369 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
20370 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
20371 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
20372 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
20373 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
20374 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
20375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
20376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
20377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
20378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
20379 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
20380 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
20381 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
20382 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
20383 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
20384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
20385 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
20386 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
20387 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
20388 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
20389
20390 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
20391
20392 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
20393 a typo in comments.
20394
20395 2016-06-06 Joseph Myers <joseph@codesourcery.com>
20396
20397 [BZ #20213]
20398 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
20399 argument to itself.
20400 * math/libm-test.inc (asin_test_data): Add sNaN tests.
20401
20402 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20403
20404 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
20405 required flags.
20406 (CFLAGS-pwritev64.c): Likewise.
20407 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
20408 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
20409 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
20410 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20411 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
20412 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
20413 syscall from auto-generation.
20414 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
20415 [WORDSIZE == 64] (pwritev64): Remove macro.
20416 [!PWRITEV] (PWRITEV): Likewise.
20417 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20418 [!PWRITEV] (PWRITE): Likewise.
20419 [!PWRITEV] (OFF_T): Likewise.
20420 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20421 (LO_HI_LONG): Remove macro.
20422 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
20423 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
20424 (PWRITEV): Remove macro.
20425 (PWRITEV_REPLACEMENTE): Likewise.
20426 (PWRITE): Likewise.
20427 (OFF_T): Likewise.
20428 (pwritev64): New function.
20429 * nptl/tst-cancel4.c (tf_writev): Add test.
20430
20431 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
20432 required flags.
20433 (CFLAGS-preadv64.c): Likewise.
20434 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
20435 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
20436 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
20437 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
20438 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
20439 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
20440 syscall from auto-generation.
20441 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
20442 [WORDSIZE == 64] (preadv64): Remove macro.
20443 [!PREADV] (PREADV): Likewise.
20444 [!PREADV] (PREADV_REPLACEMENT): Likewise.
20445 [!PREADV] (PREAD): Likewise.
20446 [!PREADV] (OFF_T): Likewise.
20447 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
20448 (LO_HI_LONG): Remove macro.
20449 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
20450 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
20451 (PREADV): Remove macro.
20452 (PREADV_REPLACEMENTE): Likewise.
20453 (PREAD): Likewise.
20454 (OFF_T): Likewise.
20455 (preadv64): New function.
20456 * nptl/tst-cancel4.c (tf_preadv): Add test.
20457
20458 2016-06-06 Joseph Myers <joseph@codesourcery.com>
20459
20460 [BZ #20212]
20461 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
20462 argument to itself.
20463 * math/libm-test.inc (acos_test_data): Add sNaN tests.
20464
20465 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20466
20467 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
20468 New symbol defined as libc_hidden_def.
20469 (strcasestr): Became a weak alias to __strcasestr.
20470 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
20471 according to multi-arch support. Move __stpncpy hidden
20472 definition from here to...
20473 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
20474 symbol stpncpy.
20475 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
20476 libc_hidden_builtin_def.
20477 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
20478 memset symbol to use when multi-arch support is available.
20479
20480 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
20481
20482 * dlfcn/tst-rec-dlopen.c: Include string.h.
20483
20484 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20485
20486 * manual/install.texi: Remove mention of --without-tls
20487 * INSTALL: Regenerate.
20488
20489 2016-06-05 Florian Weimer <fweimer@redhat.com>
20490
20491 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
20492 Remove.
20493 (call_function, interposed_malloc_called): New variables.
20494 (malloc): New function.
20495 (do_test): Do not change malloc hooks. Initialize malloc. Set
20496 and clear call_function as needed.
20497
20498 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
20499
20500 * include/wchar.h (__wmemset): Use __typeof.
20501
20502 2016-06-03 Carlos O'Donell <carlos@redhat.com>
20503
20504 * include/wchar.h (__wmemset): Declare function without typeof.
20505
20506 2016-06-03 Joseph Myers <joseph@codesourcery.com>
20507
20508 [BZ #20205]
20509 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
20510 exponent when incrementing negative subnormal with low mantissa
20511 word zero.
20512 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
20513 Add another test.
20514
20515 2016-06-03 Florian Weimer <fweimer@redhat.com>
20516
20517 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
20518 __wmemset instead of wmemset.
20519
20520 2016-06-02 Carlos O'Donell <carlos@redhat.com>
20521
20522 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
20523 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
20524 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
20525 __USE_KERNEL_IPV6_DEFS to 0.
20526 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
20527 Update comment.
20528
20529 2016-06-01 Florian Weimer <fweimer@redhat.com>
20530
20531 [BZ #19861]
20532 Do not use IFUNC resolver with potentially unrelocated symbol.
20533 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
20534 (DEFINE_FORK): Remove macro and inline definition.
20535 (fork_alias): Renamed from fork_ifunc.
20536 (__fork_alias): Renamed from __fork_ifunc.
20537
20538 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
20539
20540 [BZ 19653]
20541 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
20542 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
20543
20544 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20545
20546 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
20547 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
20548 i386-linux-gnu).
20549 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
20550 Set to no.
20551 * sysdeps/mach/hurd/configure: Refresh.
20552
20553 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20554
20555 [BZ #20178]
20556 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
20557 on failure instead of exit.
20558
20559 2016-05-30 Roland McGrath <roland@hack.frob.com>
20560
20561 [BZ #3629]
20562 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
20563 of POSIX.1-2008.
20564
20565 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20566
20567 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
20568 Use PLT entry for calling _hurd_self_sigstate.
20569
20570 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
20571
20572 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
20573 available logical processors with SMT level type sharing L2
20574 cache for Intel processors.
20575
20576 2016-05-27 Joseph Myers <joseph@codesourcery.com>
20577
20578 [BZ #20160]
20579 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
20580 argument to itself before returning the result.
20581 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
20582 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
20583 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
20584 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
20585 Likewise.
20586 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
20587 Likewise.
20588 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
20589 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
20590 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
20591 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
20592 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
20593 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
20594
20595 [BZ #20160]
20596 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
20597 argument to itself before returning the result.
20598 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
20599 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
20600 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
20601 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
20602 Likewise.
20603 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20604 Likewise.
20605 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
20606 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
20607 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
20608 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
20609 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
20610 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
20611
20612 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20613
20614 * libm-test.inc: Replace usage of M_El with
20615 (lit_e): New macro.
20616
20617 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20618
20619 * libm-test.inc: Replace usage of M_PI_4l with
20620 (lit_pi_4_d): New macro.
20621
20622 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20623
20624 * libm-test.inc: Replace usage of M_PIl with
20625 (lit_pi): New macro.
20626
20627 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20628
20629 * libm-test.inc: Replace usage of M_PI2l with
20630 (lit_pi_2_d): New macro.
20631
20632 * math/test-double.h (LITM): New macro.
20633 * math/test-float.h (LITM): Likewise.
20634 * math/test-ldouble.h (LITM): Likewise.
20635
20636 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20637
20638 * libm-test.inc (M_PI_34l): Rename to
20639 (lit_pi_3_m_4_d): New Macro.
20640 (M_PI_34_LOG10El): Rename to
20641 (lit_pi_3_m_4_ln10_m_d): New Macro.
20642 (M_PI2_LOG10El): Rename to
20643 (lit_pi_2_ln10_m_d): New Macro.
20644 (M_PI4_LOG10El): Rename to
20645 (lit_pi_4_ln10_m_d): New Macro.
20646 (M_PI_LOG10El): Rename to
20647 (lit_pi_ln10_d): New Macro.
20648
20649 2016-05-27 Joseph Myers <joseph@codesourcery.com>
20650
20651 [BZ #20157]
20652 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
20653 determine whether to negate low half if [_ARCH_PPCGR], and integer
20654 comparison otherwise.
20655 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
20656 determine whether to negate low half.
20657
20658 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
20659 (NO_TEST_INLINE_DOUBLE): Likewise.
20660 (TEST_COND_x86_64): Likewise.
20661 (TEST_COND_x86): Likewise.
20662 (M_PI_6l): Likewise.
20663
20664 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20665
20666 * math/libm-test.inc:
20667 (TEST_FLOAT): Change usage to TEST_COND_binary32.
20668 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
20669 (TEST_LDOUBLE): Update usage to evaluate as true if
20670 the guarded tests match the property being tested.
20671 (LDBL_MAX_EXP): Change to MAX_EXP.
20672 (LDBL_MIN_EXP): Change to MIN_EXP.
20673 (LDBL_MANT_DIG): Change to MANT_DIG, except for
20674 nexttoward tests.
20675
20676 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20677
20678 * math/libm-test.inc:
20679 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
20680 (TYPE_MIN): Likewise.
20681 (TYPE_TRUE_MIN): Likewise.
20682 (TYPE_MAX): Likewise.
20683 (MIN_EXP): Likewise.
20684 (MAX_EXP): Likewise.
20685 (MANT_DIG): Likewise.
20686
20687 (FSTR_MAX): New macro.
20688 (__CONCATX): Likewise.
20689 (QTYPE_STR): Likewise.
20690 (TEST_COND_binary32): Likewise.
20691 (TEST_COND_binary64): Likewise.
20692 (TEST_COND_binary128): Likewise.
20693 (TEST_COND_ibm128): Likewise.
20694 (TEST_COND_intel96): Likewise.
20695 (TEST_COND_m68k96): Likewise.
20696
20697 (TEST_COND_flt_32): Redefine as equivalent format test macro.
20698 (TEST_COND_dbl_64): Likewise.
20699 (TEST_COND_ldbl_96_intel): Likewise.
20700 (TEST_COND_ldbl_96_m68k): Likewise.
20701 (TEST_COND_ldbl_128): Likewise.
20702 (TEST_COND_ldbl_128ibm): Likewise.
20703
20704 (plus_zero): Redefine using LIT macro.
20705 (minus_zero): Likewise.
20706 (plus_infty): Redefine as (INF).
20707 (minux_infty): Redefine as (-INF).
20708 (max_value): Redefine as TYPE_MAX.
20709 (min_value): Redefine as TYPE_MIN.
20710 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
20711
20712 (print_float): Refactor to use snprintf to convert FLOAT values
20713 to string. This brings it closer to dropin replacement of strtof
20714 for the TS 18661 defined types.
20715 (update_stats): Likewise.
20716 (print_complex_function_ulps): Likewise.
20717 (print_max_error): Likewise.
20718 (print_complex_max_error): Likewise.
20719 (check_float_internal): Likewise.
20720
20721 * math/test-float.h (PREFIX): New macro.
20722 (LIT): Likewise.
20723 (TYPE_STR): Likewise.
20724 (FTOSTR): Likewise.
20725
20726 * math/test-double.h (PREFIX): New macro.
20727 (LIT): Likewise.
20728 (TYPE_STR): Likewise.
20729 (FTOSTR): Likewise.
20730
20731 * math/test-ldouble.h (PREFIX): New macro.
20732 (LIT): Likewise.
20733 (TYPE_STR): Likewise.
20734 (FTOSTR): Likewise.
20735
20736 2016-05-27 Joseph Myers <joseph@codesourcery.com>
20737
20738 [BZ #20156]
20739 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
20740 to itself when zero or not finite.
20741 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
20742 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20743 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
20744 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
20745
20746 2016-05-26 Joseph Myers <joseph@codesourcery.com>
20747
20748 [BZ #20153]
20749 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
20750 x * x + x for infinities and NaNs.
20751
20752 [BZ #20151]
20753 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
20754 argument to itself before returning result.
20755 (__ieee754_y0l): Likewise.
20756 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20757 (__ieee754_y1l).
20758
20759 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
20760 (atan_test_data): Likewise.
20761 (ceil_test_data): Likewise.
20762 (cos_test_data): Likewise.
20763 (cosh_test_data): Likewise.
20764 (erf_test_data): Likewise.
20765 (exp2_test_data): Likewise.
20766 (fabs_test_data): Likewise.
20767 (floor_test_data): Likewise.
20768 (ilogb_test_data): Likewise.
20769 (j0_test_data): Likewise.
20770 (j1_test_data): Likewise.
20771 (jn_test_data): Likewise.
20772 (lgamma_test_data): Likewise.
20773 (lrint_test_data): Likewise.
20774 (llrint_test_data): Likewise.
20775 (logb_test_data): Likewise.
20776 (lround_test_data): Likewise.
20777 (llround_test_data): Likewise.
20778 (nearbyint_test_data): Likewise.
20779 (rint_test_data): Likewise.
20780 (round_test_data): Likewise.
20781 (sin_test_data): Likewise.
20782 (sincos_test_data): Likewise.
20783 (sinh_test_data): Likewise.
20784 (sqrt_test_data): Likewise.
20785 (tan_test_data): Likewise.
20786 (tanh_test_data): Likewise.
20787 (tgamma_test_data): Likewise.
20788 (trunc_test_data): Likewise.
20789 (y0_test_data): Likewise.
20790 (y1_test_data): Likewise.
20791 (yn_test_data): Likewise.
20792
20793 * math/libm-test.inc: Update comment about NaN testing.
20794 (TEST_SNAN): New macro.
20795 (snan_value): Likewise.
20796 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
20797 (fpclassify_test_data): Add sNaN tests.
20798 (isfinite_test_data): Likewise.
20799 (isinf_test_data): Likewise.
20800 (isnan_test_data): Likewise.
20801 (isnormal_test_data): Likewise.
20802 (issignaling_test_data): Likewise.
20803 (signbit_test_data): Likewise.
20804 * math/gen-libm-test.pl (%beautify): Add snan_value.
20805 (show_exceptions): Add argument $test_snan.
20806 (parse_args): Handle snan_value as non-finite. Update call to
20807 show_exceptions.
20808 * math/Makefile (libm-test-no-inline-cflags): Add
20809 -fsignaling-nans.
20810
20811 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20812
20813 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
20814 (CFLAGS-oldsendmsg.c): Add rule.
20815 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
20816 Correct recvmsg symbol name.
20817 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
20818 Likewise.
20819
20820 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20821
20822 * sysdeps/unix/sysv/linux/Makefile
20823 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
20824 oldsendmmsg.
20825 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
20826 sendmmsg.
20827 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20828 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20829 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20830 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20832 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20833 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20835 Likewise.
20836 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20837 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
20838 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
20839 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
20840 iovlen and controllen fields to adjust to POSIX specification.
20841 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
20842
20843 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
20844 and change to correct expected type.
20845 (msghdr.msg_controllen): Likewise.
20846 (cmsghdr.cmsg_len): Likewise.
20847 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
20848 expected POSIX assumption about the size.
20849 (msghdr.msg_controllen): Likewise.
20850 (msghdr.__glibc_reserved1): Likewise.
20851 (msghdr.__glibc_reserved2): Likewise.
20852 (cmsghdr.cmsg_len): Likewise.
20853 (cmsghdr.__glibc_reserved1): Likewise.
20854 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
20855 Add ptw-oldrecvmsg and ptw-oldsendmsg.
20856 (CFLAGS-sendmsg.c): Remove rule.
20857 (CFLAGS-recvmsg.c): Likewise.
20858 (CFLAGS-oldsendmsg.c): Add rule.
20859 (CFLAGS-oldrecvmsg.c): Likewise.
20860 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
20861 recvmsg and sendmsg.
20862 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
20863 Likewise.
20864 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
20865 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
20866 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
20867 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
20868 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
20869 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
20870 Likewise.
20871 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
20872 Likewise.
20873 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
20874 Likewise.
20875 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
20876 Likewise.
20877 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
20878 Likewise.
20879 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
20880 Likewise.
20881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
20882 (GLIBC_2.24): Likewise.
20883 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
20884 Likewise.
20885 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
20886 Likewise.
20887 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
20888 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
20889 Likewise.
20890 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
20891 Likewise.
20892 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
20893 Likewise.
20894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
20895 (GLIBC_2.24): Likewise.
20896 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
20897 Likewise.
20898 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
20899 Likewise.
20900 * sysdeps/unix/sysv/linux/Makefile
20901 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
20902 (CFLAGS-sendmsg.c): Add rule.
20903 (CFLAGS-recvmsg.c): Likewise.
20904 (CFLAGS-oldsendmsg.c): Likewise.
20905 (CFLAGS-oldrecvmsg.c): Likewise.
20906 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
20907 initialization.
20908 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
20909 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
20910 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
20911 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
20912 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
20913 iovlen and controllen fields to adjust to POSIX specification.
20914 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
20915 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
20916 added recvmsg and sendmsg.
20917 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20918 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20919 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20920 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20921 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20922 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20923 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20924 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20925 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20926 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20927 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20928 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
20929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20930 Likewise.
20931 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
20932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20933 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20934 Likewise.
20935 Likewise.
20936 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20937 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20938 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20939 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20940 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20941 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20942 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20943 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20944 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20945 Likewise.
20946 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20947 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20948
20949 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
20950 from auto-generation.
20951 (sendmsg): Likewise.
20952 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
20953 (sendmsg): Likewise.
20954 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
20955 (sendmsg): Likewise.
20956 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
20957 (sendmsg): Likewise.
20958 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
20959 (sendmsg): Likewise.
20960 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
20961 (sendmsg): Likewise.
20962 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
20963 Likewise.
20964 (sendmsg): Likewise.
20965 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
20966 (sendmsg): Likewise.
20967 * sysdeps/unix/sysv/linux/i386/kernel-features.h
20968 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20969 Remove.
20970 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20971 Likewise.
20972 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20973 Undefine.
20974 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20975 Likewise.
20976 * sysdeps/unix/sysv/linux/kernel-features.h
20977 (__ASSUME_SENDMSG_SYSCALL): Define.
20978 (__ASSUME_RECVMSG_SYSCALL): Likewise.
20979 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20980 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20981 Remove.
20982 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20983 Likewise.
20984 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20985 Undefine.
20986 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20987 Likewise.
20988 * sysdeps/unix/sysv/linux/s390/kernel-features.h
20989 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20990 Remove.
20991 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20992 Likewise.
20993 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20994 Undefine.
20995 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20996 Likewise.
20997 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20998 (__ASSUME_SENDMSG_SYSCALL): Undefine.
20999 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21000 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21001 (__ASSUME_SENDMSG_SYSCALL): Likewise.
21002 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21003 * sysdeps/unix/sysv/linux/sh/kernel-features.h
21004 (__ASSUME_SENDMSG_SYSCALL): Likewise.
21005 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21006
21007 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21008
21009 * stdlib/gen-tst-strtod-round.c: Add backslash to
21010 compile command in comment.
21011 (printfp): Remove the literal suffix, and define an infinite
21012 value as INF to avoid expansion clash with INFINITY.
21013 (round_str): Remove the literal suffix.
21014 (round_for_all): Likewise, remove the now duplicate ldbl-64
21015 entry, and remove some magic constants.
21016
21017 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
21018 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
21019 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
21020 (_CONCAT): New macro.
21021 (CONCAT): Likewise.
21022 (CHOOSE_ld): Likewise.
21023 (CHOOSE_f): Likewise.
21024 (CHOOSE_d): Likewise.
21025 (FTYPE_MEMBER): Likewise.
21026 (BOOL_MEMBER): Likewise.
21027 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
21028 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
21029 (_XNTRY): Likewise.
21030 (XNTRY): Likewise.
21031 (_ENTRY): Likewise.
21032 (ENTRY): Likewise.
21033 (test_exactness): Generate members via macro.
21034 (test_results): Likewise.
21035 (test): Update members.
21036 (TEST): Redefine using new macros.
21037 (INF): New macro.
21038 (fetestmodes): New structure.
21039 (do_test): Refactor to be type generic.
21040 (test_in_one_mode): Refactor duplicate code into
21041 (GEN_ONE_TEST): New macro.
21042
21043 * stdlib/tst-strtod-round-data.h: Regenerate.
21044
21045 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
21046 Extend to pass additional arbitrary parameters to
21047 generators.
21048
21049 2016-05-25 Joseph Myers <joseph@codesourcery.com>
21050
21051 [BZ #15479]
21052 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
21053 floating-point state after first floating-point operation on
21054 input. Restore full floating-point state instead of just rounding
21055 mode.
21056 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
21057 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
21058 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
21059 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
21060 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
21061
21062 [BZ #15479]
21063 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
21064 floating-point state after first floating-point operation on
21065 input. Restore full floating-point state instead of just rounding
21066 mode.
21067 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
21068 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
21069 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
21070 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
21071 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
21072
21073 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21074
21075 [BZ #19727]
21076 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
21077 valid high surrogate.
21078 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
21079 of an utf16 surrogate.
21080 * iconv/gconv_simple.c (BODY): Likewise.
21081 * iconvdata/bug-iconv12.c: New file.
21082 * iconvdata/Makefile (tests): Add bug-iconv12.
21083
21084 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21085
21086 [BZ #19726]
21087 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
21088 outptrp in case of an illegal input.
21089 * iconv/tst-iconv6.c: New file.
21090 * iconv/Makefile (tests): Add tst-iconv6.
21091
21092 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21093
21094 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
21095 an error in case of a value in range of an utf16 low surrogate.
21096
21097 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21098
21099 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
21100 an error in case of a value in range of an utf16 low surrogate.
21101
21102 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21103
21104 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
21105 Move to ...
21106 * sysdeps/s390/Makefile: ... here.
21107 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
21108 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
21109 (BRANCH_ON_COUNT): New define.
21110 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
21111 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
21112 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
21113 run on s390-32, too.
21114 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
21115 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
21116 run on s390-32, too.
21117 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
21118 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
21119 run on s390-32, too.
21120
21121 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21122
21123 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
21124 etf3eh or new vector loop-variant.
21125
21126 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21127
21128 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
21129 etf3eh or new vector loop-variant.
21130
21131 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21132
21133 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
21134 or new vector loop-variant.
21135
21136 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21137
21138 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
21139 Rename to TR_LOOP and usage of tr instead of troo instruction.
21140
21141 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21142
21143 * sysdeps/s390/multiarch/gconv_simple.c: New File.
21144 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
21145
21146 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21147
21148 * sysdeps/s390/multiarch/8bit-generic.c: New File.
21149 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
21150 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
21151 New override define.
21152 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
21153
21154 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21155
21156 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
21157 * sysdeps/s390/configure.ac: Add test for S390 vector register
21158 support in gcc.
21159 * sysdeps/s390/configure: Regenerated.
21160
21161 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21162
21163 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
21164 Install file from $(objpfx)gconv-modules.
21165 ($(objpfx)gconv-modules): Concatenate architecture specific file
21166 in variable sysdeps-gconv-modules and gconv-modules in src dir.
21167 * sysdeps/s390/gconv-modules: New file.
21168 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
21169 Deleted.
21170 ($(objpfx)gconv-modules-s390): Deleted.
21171 (sysdeps-gconv-modules): New variable.
21172
21173 2016-05-24 Joseph Myers <joseph@codesourcery.com>
21174
21175 [BZ #15479]
21176 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
21177 of immediate operand to rounding instruction.
21178 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
21179 Likewise.
21180 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
21181 Likewise.
21182 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
21183 Likewise.
21184
21185 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21186
21187 * math/libm-test.inc (MIN_EXP): Directly define as
21188 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
21189
21190 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21191
21192 * math/libm-test.inc (MANT_DIG): Directly define as
21193 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
21194
21195 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21196
21197 * stdlib/gen-tst-strtod-round.c (main):
21198 Change usage to more closely match the generated
21199 output. Add usage and compilation instructions.
21200 (string_to_fp): Add and use FILE* parameter as
21201 output target.
21202 (print_fp): Likewise.
21203 (round_str): Likewise.
21204 (round_for_all): Likewise.
21205 * stdlib/tst-strtod-round.c (tests): Move into
21206 * stdlib/tst-strtod-round-data.h: New file.
21207
21208 2016-05-24 Joseph Myers <joseph@codesourcery.com>
21209
21210 [BZ #15479]
21211 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
21212 (__round): Do not force "inexact" exception.
21213 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
21214 variable.
21215 (__round): Do not force "inexact" exception.
21216 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
21217 (__roundf): Do not force "inexact" exception.
21218 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
21219 (__roundl): Do not force "inexact" exception.
21220 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
21221 (__roundl): Do not force "inexact" exception.
21222 * math/libm-test.inc (round_test_data): Do not allow spurious
21223 "inexact" exceptions.
21224
21225 [BZ #15479]
21226 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
21227 exception in comment.
21228 (huge): Remove variable.
21229 (__floor): Do not force "inexact" exception.
21230 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
21231 "inexact" exception in comment.
21232 (huge): Remove variable.
21233 (__floor): Do not force "inexact" exception.
21234 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
21235 exception in comment.
21236 (huge): Remove variable.
21237 (__floorf): Do not force "inexact" exception.
21238 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
21239 exception in comment.
21240 (huge): Remove variable.
21241 (__floorl): Do not force "inexact" exception.
21242
21243 [BZ #15479]
21244 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
21245 exception in comment.
21246 (huge): Remove variable.
21247 (__ceil): Do not force "inexact" exception.
21248 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
21249 "inexact" exception in comment.
21250 (huge): Remove variable.
21251 (__ceil): Do not force "inexact" exception.
21252 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
21253 (__ceilf): Do not force "inexact" exception.
21254 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
21255 exception in comment.
21256 (huge): Remove variable.
21257 (__ceill): Do not force "inexact" exception.
21258
21259 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
21260
21261 * config.h.in (BIND_NOW): New.
21262 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
21263 * configure: Regenerated.
21264 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
21265 indirect branch via the GOT slot.
21266
21267 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21268
21269 [BZ #19765]
21270 * sysdeps/s390/mempcpy.S: New File.
21271 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
21272 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
21273 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21274 Add mempcpy variants.
21275 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
21276 (memcpy): Adjust to be usable from mempcpy entry point.
21277 (__memcpy_mvcle): Likewise.
21278 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21279 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
21280 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
21281 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
21282 (__memcpy_z10): Likewise.
21283 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21284
21285 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21286
21287 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
21288 Remove __GI_ symbol.
21289 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
21290 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
21291 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
21292 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21293 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
21294 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
21295
21296 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21297
21298 * sysdeps/s390/s390-64/memcpy.S (memcpy):
21299 Use cghi instead of chi to compare 64bit value.
21300
21301 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21302
21303 * sysdeps/s390/s390-32/memcpy.S (memcpy):
21304 Jump to 1MB check before executing mvc-loop.
21305
21306 2016-05-24 Florian Weimer <fweimer@redhat.com>
21307
21308 [BZ #6527]
21309 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
21310 unconditionally.
21311 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
21312
21313 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21314
21315 * stdlib/tst-strtod6.c (do_test): Use new type generic
21316 invocation of the test function.
21317 (test): Refactor into ...
21318 (TEST_STRTOD): New macro base function.
21319
21320 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21321
21322 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
21323 (TEST_STRTOD): New macro.
21324 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
21325
21326 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21327
21328 * stdlib/tst-strtod6.c (do_test): Use new type generic
21329 invocation of the test function.
21330 (test): Refactor into ...
21331 (TEST_STRTOD): New macro base function.
21332
21333 2016-05-23 Florian Weimer <fweimer@redhat.com>
21334
21335 CVE-2016-4429
21336 [BZ #20112]
21337 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
21338 payload.
21339
21340 2016-05-23 Florian Weimer <fweimer@redhat.com>
21341
21342 [BZ #20111]
21343 * bits/sockaddr.h (_SS_SIZE): Define.
21344 * bits/socket.h (_SS_SIZE): Remove.
21345 (_SS_PADSIZE): Adjust to account for all padding.
21346 (struct sockaddr_storage): Update comment. Avoid implicit
21347 padding.
21348 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
21349 (_SS_PADSIZE): Adjust to account for all padding.
21350 (struct sockaddr_storage): Update comment. Avoid implicit
21351 padding.
21352 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
21353 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
21354 (_SS_PADSIZE): Adjust to account for all padding.
21355 (struct sockaddr_storage): Update comment. Avoid implicit
21356 padding.
21357 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
21358 __SS_SIZE is 126 in this version.
21359 * inet/tst-sockaddr.c: New file.
21360 * inet/Makefile (tests): Add tst-sockaddr.c
21361 (tst-sockaddr.c): Compile with non-strict aliasing.
21362
21363 2016-05-23 Joseph Myers <joseph@codesourcery.com>
21364
21365 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
21366 [XPG3 || XPG4].
21367 (NL_ARGMAX): Also expect for [XPG3].
21368 (NL_LANGMAX): Likewise.
21369 (NL_MSGMAX): Likewise.
21370 (NL_NMAX): Likewise.
21371 (NL_SETMAX): Likewise.
21372 (NL_TEXTMAX): Likewise.
21373 (NZERO): Likewise.
21374 (TMP_MAX): Likewise.
21375 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
21376 variable.
21377
21378 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
21379 (PF_MAX): Update value.
21380 (AF_KCM): New macro.
21381 (SOL_NETBEUI): Likewise.
21382 (SOL_LLC): Likewise.
21383 (SOL_DCCP): Likewise.
21384 (SOL_NETLINK): Likewise.
21385 (SOL_TIPC): Likewise.
21386 (SOL_RXRPC): Likewise.
21387 (SOL_PPPOL2TP): Likewise.
21388 (SOL_BLUETOOTH): Likewise.
21389 (SOL_PNPIPE): Likewise.
21390 (SOL_RDS): Likewise.
21391 (SOL_IUCV): Likewise.
21392 (SOL_CAIF): Likewise.
21393 (SOL_ALG): Likewise.
21394 (SOL_NFC): Likewise.
21395 (SOL_KCM): Likewise.
21396 (MSG_BATCH): New enum value and macro.
21397
21398 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
21399
21400 [BZ #18185]
21401 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
21402 sharing L2 cache to 2 for Knights Landing.
21403
21404 2016-05-20 Joseph Myers <joseph@codesourcery.com>
21405
21406 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
21407 (FTW_DP): Do not expect for [XPG3 || XPG4].
21408 (FTW_SL): Do not expect for [XPG3].
21409 (FTW_SLN): Likewise.
21410 (FTW_PHYS): Likewise.
21411 (FTW_MOUNT): Likewise.
21412 (FTW_DEPTH): Likewise.
21413 (FTW_CHDIR): Likewise.
21414 (nftw): Likewise.
21415 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
21416 variable.
21417
21418 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
21419
21420 * manual/errno.texi: Fix various typos & grammar errors.
21421
21422 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
21423
21424 * manual/intro.texi: Fix duplicated typo.
21425
21426 2016-05-19 Joseph Myers <joseph@codesourcery.com>
21427
21428 [BZ #13304]
21429 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
21430 <float.h>, <math_private.h> and <stdlib.h>.
21431 (add_split): New function.
21432 (mul_split): Likewise.
21433 (ext_val): New typedef.
21434 (store_ext_val): New function.
21435 (mul_ext_val): New function.
21436 (compare): New function.
21437 (add_split_ext): New function.
21438 (__fmal): After checking for Inf, NaN and zero, compute result as
21439 an exact sum of scaled double values in round-to-nearest before
21440 adding those up and adjusting for other rounding modes.
21441 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
21442 tests of fma.
21443 * math/auto-libm-test-out: Regenerated.
21444
21445 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21446
21447 [BZ #20119]
21448 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
21449 processor level type mask for CPUID with EAX == 11.
21450
21451 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21452
21453 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
21454 logical threads if the HTT bit is 0.
21455 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
21456 (index_cpu_HTT): Likewise.
21457 (reg_HTT): Likewise.
21458
21459 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21460
21461 [BZ #20115]
21462 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
21463 Remove alignments on jump targets.
21464
21465 2016-05-19 Joseph Myers <joseph@codesourcery.com>
21466
21467 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
21468 (getpwent): Likewise.
21469 (setpwent): Likewise.
21470 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
21471 variable.
21472
21473 * conform/data/search.h-data (insque): Do not expect for [XPG3].
21474 (remque): Likewise.
21475 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
21476 variable.
21477
21478 2016-05-18 Joseph Myers <joseph@codesourcery.com>
21479
21480 * math/libm-test.inc: Update comment not to refer to signs of NaNs
21481 not being tested.
21482
21483 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21484
21485 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21486 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
21487 call.
21488 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21489 (__condvar_cleanup1): Likewise.
21490
21491 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21492
21493 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
21494 New
21495 (__pthread_unwind): Renamed to ...
21496 (PTHREAD_UNWIND): This.
21497 (__pthread_enable_asynccancel): Replace
21498 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
21499
21500 2016-05-18 Joseph Myers <joseph@codesourcery.com>
21501
21502 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
21503 (CLONE_NEWCGROUP): New macro.
21504
21505 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
21506 (Q_GETNEXTQUOTA): New macro.
21507
21508 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21509
21510 [BZ #19907]
21511 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
21512 buffer updated by the previous run.
21513 * string/test-memcpy.c (do_one_test): Likewise.
21514 * benchtests/bench-memmove.c (do_one_test): Add a comment.
21515 * string/test-memmove.c (do_one_test): Likewise.
21516
21517 2016-05-17 Joseph Myers <joseph@codesourcery.com>
21518
21519 [BZ #20094]
21520 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
21521 not [__USE_XOPEN].
21522 (unlockpt): Likewise.
21523 (ptsname): Likewise.
21524 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
21525 variable.
21526
21527 [BZ #20076]
21528 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
21529 instead of [__USE_UNIX98].
21530 (S_ISSOCK): Likewise.
21531 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
21532 variable.
21533
21534 [BZ #20074]
21535 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
21536 [__USE_POSIX].
21537 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
21538 variable.
21539
21540 [BZ #20051]
21541 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
21542 (ttyslot): Do not declare.
21543 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
21544 (ttyslot): New prototype.
21545 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
21546 variable.
21547 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21548
21549 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
21550
21551 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
21552
21553 2016-05-13 Florian Weimer <fweimer@redhat.com>
21554
21555 Fix race condition in tst-mallocfork2, use fewer resources.
21556 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
21557 to current process group.
21558 (signal_sender): Yield in the non-sleeping case.
21559
21560 2016-05-13 Joseph Myers <joseph@codesourcery.com>
21561
21562 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
21563 (ecvt): Likewise.
21564 (fcvt): Likewise.
21565 (gcvt): Likewise.
21566 (getsubopt): Likewise.
21567 (grantpt): Likewise.
21568 (initstate): Likewise.
21569 (l64a): Likewise.
21570 (mktemp): Likewise.
21571 (mkstemp): Likewise.
21572 (ptsname): Likewise.
21573 (random): Likewise.
21574 (realpath): Likewise.
21575 (setstate): Likewise.
21576 (srandom): Likewise.
21577 (ttyslot): Likewise.
21578 (unlockpt): Likewise.
21579 (valloc): Likewise.
21580
21581 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
21582 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
21583 variable.
21584
21585 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
21586
21587 [BZ #20072]
21588 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
21589 init_cpu_features only if SHARED is defined.
21590 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
21591
21592 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
21593
21594 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
21595 non-inclusive caches on Intel processors.
21596
21597 2016-05-13 Florian Weimer <fweimer@redhat.com>
21598
21599 * malloc/malloc.c (dumped_main_arena_start)
21600 (dumped_main_arena_end): New variables.
21601 (DUMPED_MAIN_ARENA_CHUNK): New macro.
21602 (do_check_chunk): Skip dumped fake mmapped chunks.
21603 (munmap_chunk): Likewise.
21604 (__libc_free): Do not adjust statistics for fake mmapped chunks.
21605 (__libc_realloc): Adjust hardening check. Always copy dumped fake
21606 mmapped chunks.
21607 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
21608 Mark dumped chunks as using mmap. Update dumped_main_arena_start
21609 and dumped_main_arena_end to cover the dumped heap.
21610
21611 2016-05-12 Joseph Myers <joseph@codesourcery.com>
21612
21613 * conform/data/time.h-data (getdate_err): Do not expect for
21614 [XPG3].
21615 (getdate): Likewise.
21616 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
21617 variable.
21618
21619 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
21620 (F_ULOCK): Likewise.
21621 (F_TEST): Likewise.
21622 (F_TLOCK): Likewise.
21623 (useconds_t): Likewise.
21624 (intptr_t): Do not expect for [XPG3] or [XPG4].
21625 (brk): Do not expect for [XPG3]
21626 (fchown): Likewise.
21627 (fchdir): Likewise.
21628 (ftruncate): Likewise.
21629 (getdtablesize): Likewise.
21630 (gethostid): Likewise.
21631 (getpagesize): Likewise.
21632 (getpgid): Likewise.
21633 (getsid): Likewise.
21634 (getwd): Likewise.
21635 (lchown): Likewise.
21636 (lockf): Likewise.
21637 (readlink): Likewise.
21638 (sbrk): Likewise.
21639 (setpgrp): Likewise.
21640 (setregid): Likewise.
21641 (setreuid): Likewise.
21642 (symlink): Likewise.
21643 (sync): Likewise.
21644 (truncate): Likewise.
21645 (ualarm): Likewise.
21646 (usleep): Likewise.
21647 (vfork): Likewise.
21648 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
21649 variable.
21650
21651 [BZ #20054]
21652 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
21653 not [__USE_UNIX98].
21654 * conform/data/unistd.h-data (gethostname): Do not expect for
21655 [XPG3].
21656
21657 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
21658 [!POSIX] (S_IFBLK): Likewise.
21659 [!POSIX] (S_IFCHR): Likewise.
21660 [!POSIX] (S_IFIFO): Likewise.
21661 [!POSIX] (S_IFREG): Likewise.
21662 [!POSIX] (S_IFDIR): Likewise.
21663 [!POSIX] (S_IFLNK): Likewise.
21664 [!POSIX] (S_IFSOCK): Likewise.
21665 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
21666 variable.
21667 (test-xfail-XPG4/fcntl.h/conform): Likewise.
21668
21669 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
21670
21671 * sysdeps/aarch64/memset.S (__memset):
21672 Rewrite of optimized memset.
21673
21674 2016-05-12 Florian Weimer <fweimer@redhat.com>
21675
21676 [BZ #19703]
21677 Partially async-signal-safe fork for single-threaded processes.
21678 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
21679 variable. Do not acquire and reset/release malloc and libio locks
21680 in single-threaded processes.
21681 * malloc/tst-mallocfork2.c: New file.
21682 * malloc/Makefile (tests): Add it.
21683
21684 2016-05-12 Florian Weimer <fweimer@redhat.com>
21685
21686 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
21687 argument. Use scratch buffer instead of extend_alloca.
21688 (gethosts): Use scratch buffer instead of extend_alloca.
21689 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
21690 extend_alloca.
21691 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
21692
21693 2016-05-11 Joseph Myers <joseph@codesourcery.com>
21694
21695 [BZ #20055]
21696 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
21697 instead of [__USE_UNIX98].
21698 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
21699 [__USE_UNIX98].
21700 * conform/data/termios.h-data (tcgetsid): Do not expect for
21701 [XPG3].
21702 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
21703 variable.
21704 (test-xfail-XPG4/termios.h/conform): Likewise.
21705
21706 2016-05-11 Florian Weimer <fweimer@redhat.com>
21707
21708 Do not use mcheck in localedef.
21709 * locale/programs/localedef.c (turn_on_mcheck)
21710 (__malloc_initialize_hook): Remove.
21711
21712 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21713
21714 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
21715 * sysdeps/s390/s390-64/Makefile: Likewise.
21716
21717 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
21718
21719 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
21720 Remove ifunc-defines.sym.
21721 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
21722 Likewise.
21723 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
21724 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
21725 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
21726 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
21727 rtld-global-offsets.sym.
21728 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
21729 * sysdeps/x86/cpu-features-offsets.sym: This.
21730 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
21731 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
21732
21733 2016-05-10 Joseph Myers <joseph@codesourcery.com>
21734
21735 [BZ #20073]
21736 * io/sys/stat.h (fchmod): Declare for
21737 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
21738 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
21739 variable.
21740
21741 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
21742 [XPG3] (S_IFSOCK): Likewise.
21743 [XPG3] (S_ISVTX): Likewise.
21744 [XPG3] (S_ISLNK): Likewise.
21745 [XPG3] (S_ISSOCK): Likewise.
21746 [XPG3] (fchmod): Likewise.
21747 [XPG3] (lstat): Likewise.
21748 [XPG3] (mknod): Likewise.
21749
21750 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
21751 [XPG3]. Expect type long and XFAIL for [XPG4].
21752 (st_blocks): Likewise.
21753
21754 [BZ #20044]
21755 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
21756 (pthread_atfork): New prototype.
21757 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
21758 variable.
21759
21760 [BZ #20043]
21761 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
21762 prototype.
21763
21764 2016-05-10 Florian Weimer <fweimer@redhat.com>
21765
21766 [BZ #20017]
21767 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
21768 gmtime.
21769
21770 2016-05-10 Florian Weimer <fweimer@redhat.com>
21771
21772 [BZ #19994]
21773 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
21774 flag in _res.options.
21775
21776 2016-05-09 Joseph Myers <joseph@codesourcery.com>
21777
21778 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
21779 [XPG3 || XPG4].
21780 (blksize_t): Likewise.
21781 (clockid_t): Likewise.
21782 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
21783 variable.
21784 (test-xfail-XPG4/sys/types.h/conform): Likewise.
21785
21786 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
21787
21788 * sysdeps/unix/sysv/linux/s390/init-first.c:
21789 Add VDSO_SYMBOL(getcpu).
21790 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
21791 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
21792 Add VDSO_SYMBOL(getcpu).
21793 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
21794 New define HAVE_GETCPU_VSYSCALL.
21795 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21796
21797 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
21798
21799 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
21800 instead of <sysdeps/x86_64/cacheinfo.c>.
21801 * sysdeps/x86_64/cacheinfo.c: Moved to ...
21802 * sysdeps/x86/cacheinfo.c: Here.
21803
21804 2016-05-04 Florian Weimer <fweimer@redhat.com>
21805
21806 * malloc/malloc-internal.h: Adjust header file guard.
21807
21808 2016-05-04 Florian Weimer <fweimer@redhat.com>
21809
21810 [BZ #19787]
21811 * inet/getnameinfo.c (check_sprintf_result): New function.
21812 (CHECKED_SNPRINTF): New macro.
21813 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
21814 to the host buffer.
21815 (gni_host_local): Use checked_copy to copy the host name.
21816 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
21817 (gni_serv_local): Use checked_copy to copy the service name.
21818 (getnameinfo): Remove unnecessary truncation of result buffers.
21819
21820 2016-05-04 Florian Weimer <fweimer@redhat.com>
21821
21822 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
21823 in case of inet_ntop failure.
21824
21825 2016-05-04 Florian Weimer <fweimer@redhat.com>
21826
21827 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
21828 avoid long lines.
21829 (gni_host_inet_numeric): Likewise. Reduce scope of local
21830 variables.
21831 (gni_host_inet, gni_host_local): Add comment.
21832 (gni_host): Add comment. Use temporary to avoid long lines.
21833
21834 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
21835
21836 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
21837 registers specifiers where general purpose registers specifiers should
21838 have been used.
21839
21840 2016-05-04 Florian Weimer <fweimer@redhat.com>
21841
21842 [BZ #19779]
21843 CVE-2016-1234
21844 Avoid copying names of directory entries.
21845 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
21846 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
21847 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
21848 (struct readdir_result): New type.
21849 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
21850 (GL_READDIR): New macros.
21851 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
21852 (convert_dirent, convert_dirent64): New functions.
21853 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
21854 convert_dirent64. Adjust references to the readdir result.
21855 * sysdeps/unix/sysv/linux/i386/glob64.c:
21856 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
21857 * posix/bug-glob2.c (LONG_NAME): Define.
21858 (filesystem): Add LONG_NAME.
21859 (my_DIR): Increase the size of room_for_dirent.
21860
21861 2016-05-03 Joseph Myers <joseph@codesourcery.com>
21862
21863 [BZ #20041]
21864 * misc/sys/select.h (__need_timespec): Only define if
21865 [__USE_XOPEN2K].
21866 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
21867 variable.
21868 (test-xfail-XPG4/utmpx.h/conform): Likewise.
21869 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21870 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21871
21872 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21873 Segher Boessenkool <segher@gcc.gnu.org>
21874
21875 [BZ #20004]
21876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
21877 (__novec_swapcontext): Add missing load.
21878
21879 2016-05-02 Joseph Myers <joseph@codesourcery.com>
21880
21881 [BZ #20023]
21882 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
21883 <time.h>.
21884 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
21885 variable.
21886 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21887
21888 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21889
21890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
21891 flags CLONE_VM compare.
21892
21893 2016-05-02 Florian Weimer <fweimer@redhat.com>
21894
21895 [BZ #20031]
21896 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
21897 completely empty.
21898
21899 2016-05-02 Florian Weimer <fweimer@redhat.com>
21900
21901 [BZ #19573]
21902 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
21903 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
21904 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
21905 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
21906 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
21907 (hesiod_free_list): Mark as hidden.
21908 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
21909 res_set, res_get.
21910 * hesiod/hesiod.c: Remove unnecessary forward declarations.
21911 (init, __hesiod_res_get, __hesiod_res_set): Remove.
21912 (hesiod_init): Remove obsolete res_ninit call.
21913 (hesiod_end): Do not free resolver state. Do not invoke callback.
21914 (hesiod_bind): Do not call init.
21915 (get_txt_records): Use res_mkquery, res_send instead of
21916 res_nmkquery, res_nsend.
21917 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
21918 instead of _nss_hesiod_init.
21919 (_nss_hesiod_initgroups_dyn): Likewise.
21920 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
21921 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
21922 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
21923
21924 2016-05-02 Florian Weimer <fweimer@redhat.com>
21925
21926 * hesiod/hesiod_p.h (DEF_RHS): Remove.
21927 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
21928
21929 2016-05-02 Florian Weimer <fweimer@redhat.com>
21930
21931 * hesiod/hesiod.h: Remove RCS keyword.
21932 * hesiod/hesiod_p.h: Likewise.
21933
21934 * hesiod/hesiod.c: Likewise.
21935
21936 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
21937
21938 [BZ #12450]
21939 * locale/iso-639.def: Add Samogitian/sgs.
21940
21941 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
21942
21943 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
21944
21945 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
21946
21947 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
21948 Carlos O'Donell <carlos@redhat.com>
21949
21950 [BZ #19072]
21951 * grp/Makefile (headers): Add grp-merge.h
21952 (routines): Add grp-merge.
21953 * grp/getgrgid_r.c: Include grp-merge.h.
21954 (DEEPCOPY_FN): Define.
21955 (MERGE_FN): Define.
21956 * grp/getgrname_r.c: Include grp-merge.h.
21957 (DEEPCOPY_FN): Define.
21958 (MERGE_FN): Define.
21959 * grp/grp-merge.c: New file.
21960 * grp/grp-merge.h: New file.
21961 * include/grp-merge.h: New file.
21962 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
21963 __copy_grp@GLIBC_PRIVATE.
21964 * manual/nss.texi (Actions in the NSS configuration): Describe
21965 return, continue, and merge.
21966 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
21967 (DEEPCOPY_FN): Define.
21968 (MERGE_FN): Define.
21969 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
21970 (DEEPCOPY_FN): Define.
21971 (MERGE_FN): Define.
21972 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
21973 [!MERGE_FN]: Define __merge_einval.
21974 (CHECK_MERGE): Define.
21975 (REENTRANT_NAME): Process merge if do_merge is true.
21976 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
21977 (__nss_getent_r): Likewise.
21978 * nss/nsswitch.c (nss_parse_service_list): Likewise.
21979 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
21980
21981 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21982
21983 [BZ #20012]
21984 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
21985 length to calculate the buffer to read.
21986 (fmemopen_write): Set the buffer position based on bytes written.
21987 (fmemopen_seek): Return EINVAL for invalid whence modes.
21988
21989 [BZ #19957]
21990 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
21991 tst-getpid2.
21992 (test): Add tst-clone2.
21993 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
21994 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
21995 pid/tid fields for CLONE_VM.
21996 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
21997 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
21998 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
21999 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
22000 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
22001 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
22002 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
22003 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
22004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
22005 Likewise.
22006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22007 Likewise.
22008 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
22009 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
22010 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
22011 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
22012 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
22013 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
22014 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
22015 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
22016
22017 2016-04-29 Florian Weimer <fweimer@redhat.com>
22018
22019 [BZ #19642]
22020 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
22021 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
22022 (gni_serv_local, gni_serv): New functions extracted from
22023 getnameinfo.
22024 (getnameinfo): Call gni_host and gni_serv to perform the
22025 processing. Always free scratch buffer.
22026
22027 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
22028
22029 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
22030 remaining bytes in the dest string, with zeros.
22031
22032 2016-04-29 Florian Weimer <fweimer@redhat.com>
22033
22034 [BZ #20010]
22035 CVE-2016-3706
22036 * sysdeps/posix/getaddrinfo.c
22037 (convert_hostent_to_gaih_addrtuple): New function.
22038 (gethosts): Call convert_hostent_to_gaih_addrtuple.
22039 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
22040 AF_INET data.
22041
22042 2016-04-29 Florian Weimer <fweimer@redhat.com>
22043
22044 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
22045 callback function gl_readdir.
22046 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
22047 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
22048 (glob_in_dir): Remove len. Use strdup instead of malloc and
22049 memcpy to copy the name.
22050 * manual/pattern.texi (Calling Glob): Document requirements for
22051 implementations of the gl_readdir callback function.
22052 * manual/examples/mkdirent.c: New example.
22053 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
22054 per the manual guidance.
22055 * posix/tst-gnuglob.c (my_readdir): Likewise.
22056
22057 2016-04-28 Joseph Myers <joseph@codesourcery.com>
22058
22059 [BZ #20014]
22060 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
22061 not [__USE_POSIX].
22062 (getchar_unlocked): Likewise.
22063 (putc_unlocked): Likewise.
22064 (putchar_unlocked): Likewise.
22065 (flockfile): Likewise.
22066 (ftrylockfile): Likewise.
22067 (funlockfile): Likewise.
22068 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
22069 variable.
22070 (test-xfail-XPG4/stdio.h/conform): Likewise.
22071
22072 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
22073 Expect constant.
22074 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
22075 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
22076 variable.
22077 (test-xfail-XPG4/langinfo.h/conform): Likewise.
22078 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22079
22080 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
22081 [__USE_LARGEFILE64] (off64_t): Likewise.
22082 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
22083 variable.
22084
22085 2016-04-28 Florian Weimer <fweimer@redhat.com>
22086
22087 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
22088
22089 2016-04-28 Florian Weimer <fweimer@redhat.com>
22090
22091 * resolv/inet_addr.c: Reindent preprocessor conditionals.
22092 * resolv/res_init.c: Likewise.
22093 * resolv/res_mkquery.c: Likewise.
22094
22095 2016-04-28 Florian Weimer <fweimer@redhat.com>
22096
22097 * resolv/res_init.c (isascii): Do not define. Use definition in
22098 <ctype.h>.
22099 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
22100 (LOG_AUTH): Remove.
22101 (SPRINTF): Remove, adjust caller.
22102 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
22103
22104 2016-04-28 Florian Weimer <fweimer@redhat.com>
22105
22106 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
22107 SUNSECURITY conditional.
22108 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
22109
22110 2016-04-28 Florian Weimer <fweimer@redhat.com>
22111
22112 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
22113 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
22114 Remove BSD-related preprocessor conditionals.
22115 * conf/portability.h: Remove.
22116
22117 2016-04-28 Florian Weimer <fweimer@redhat.com>
22118
22119 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
22120 * resolv/res_data.c: Likewise.
22121
22122 2016-04-28 Florian Weimer <fweimer@redhat.com>
22123
22124 * resolv/res_comp.c: Remove code conditional on __ultrix__.
22125 * resolv/res_data.c: Remove code conditional on ultrix.
22126
22127 2016-04-28 Florian Weimer <fweimer@redhat.com>
22128
22129 * resolv/res_init.c (RFC1535): Do not define. Remove
22130 RFC1535 preprocessor conditionals.
22131 * resolv/README: Update. Do not claim strict RFC 1535 compliance
22132 because there configuration options which make the resolver
22133 behavior different.
22134
22135 2016-04-28 Florian Weimer <fweimer@redhat.com>
22136
22137 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
22138 RESOLVSORT preprocessor conditionals.
22139 * resolv/nss_dns/dns-host.c: Likewise.
22140 * resolv/res_init.c: Likewise.
22141
22142 2016-04-28 Florian Weimer <fweimer@redhat.com>
22143
22144 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
22145 is never defined.
22146
22147 2016-04-28 Florian Weimer <fweimer@redhat.com>
22148
22149 * inet/inet_lnaof.c: Remove SCSS keyword.
22150 * inet/inet_mkadr.c: Likewise.
22151 * inet/inet_net.c: Likewise.
22152 * inet/inet_netof.c: Likewise.
22153 * inet/rcmd.c: Likewise.
22154 * inet/rexec.c: Likewise.
22155 * inet/ruserpass.c: Likewise.
22156
22157 2016-04-28 Florian Weimer <fweimer@redhat.com>
22158
22159 * resolv/inet_addr.c: Remove _LIBC conditionals.
22160 * resolv/res_data.c: Likewise.
22161 * resolv/res_init.c: Likewise.
22162 * resolv/res_mkquery.c: Likewise.
22163 * resolv/res_libc.c: Update comment.
22164 * resolv/README: Update.
22165
22166 2016-04-28 Florian Weimer <fweimer@redhat.com>
22167
22168 * resolv/gethnamaddr.c: Remove SCSS keyword.
22169 * resolv/herror.c: Likewise.
22170 * resolv/inet_addr.c: Likewise.
22171 * resolv/inet_net_ntop.c: Likewise.
22172 * resolv/inet_net_pton.c: Likewise.
22173 * resolv/inet_neta.c: Likewise.
22174 * resolv/inet_ntop.c: Likewise.
22175 * resolv/inet_pton.c: Likewise.
22176 * resolv/ns_date.c: Remove RCS keyword.
22177 * resolv/ns_name.c: Likewise.
22178 * resolv/ns_netint.c: Likewise.
22179 * resolv/ns_parse.c: Likewise.
22180 * resolv/ns_print.c: Likewise.
22181 * resolv/ns_samedomain.c: Likewise.
22182 * resolv/ns_ttl.c: Likewise.
22183 * resolv/nsap_addr.c: Likewise.
22184 * resolv/res_comp.c: Remove SCSS and RCS keyword.
22185 * resolv/res_data.c: Remove RCS keyword.
22186 * resolv/res_debug.c: Remove SCSS and RCS keyword.
22187 * resolv/res_init.c: Likewise.
22188 * resolv/res_mkquery.c: Likewise.
22189 * resolv/res_query.c: Likewise.
22190 * resolv/res_send.c: Likewise.
22191
22192 2016-04-27 Joseph Myers <joseph@codesourcery.com>
22193
22194 * conform/data/stdio.h-data (fdopen): Expect also for
22195 [XPG3 || XPG4].
22196
22197 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
22198 (fseeko): Likewise.
22199 (ftello): Likewise.
22200 (ftrylockfile): Likewise.
22201 (funlockfile): Likewise.
22202 (getc_unlocked): Likewise.
22203 (getchar_unlocked): Likewise.
22204 (putc_unlocked): Likewise.
22205 (putchar_unlocked): Likewise.
22206
22207 2016-04-27 Florian Weimer <fweimer@redhat.com>
22208
22209 [BZ #19868]
22210 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
22211 DNS packet syntax checks (which were not needed before). Skip
22212 over non-PTR records.
22213
22214 2016-04-27 Florian Weimer <fweimer@redhat.com>
22215
22216 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
22217 definition. Include <stddef.h> instead.
22218
22219 2016-04-27 Florian Weimer <fweimer@redhat.com>
22220
22221 [BZ #19831]
22222 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
22223 function.
22224 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
22225 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
22226
22227 2016-04-27 Florian Weimer <fweimer@redhat.com>
22228
22229 [BZ #19862]
22230 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
22231 (getanswer_r): Do not call syslog.
22232 (gaih_getanswer_slice): Likewise.
22233 * resolv/gethnamaddr.c (AskedForGot): Remove.
22234 (getanswer): Do not call syslog.
22235 (gethostbyaddr): Likewise.
22236
22237 2016-04-27 Joseph Myers <joseph@codesourcery.com>
22238
22239 * conform/data/signal.h-data (union sigval): Expect also if
22240 [XOPEN2K].
22241 (struct sigevent): Likewise.
22242 (SIGEV_NONE): Likewise.
22243 (SIGEV_SIGNAL): Likewise.
22244 (SIGEV_THREAD): Likewise.
22245 (SIGRTMIN): Likewise.
22246 (SIGRTMAX): Likewise.
22247 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
22248 variable.
22249 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22250
22251 2016-04-27 Florian Weimer <fweimer@redhat.com>
22252
22253 [BZ #19830]
22254 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
22255 (gaih_getanswer_slice): Likewise.
22256 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
22257 Also check for availability of RR metadata.
22258
22259 2016-04-27 Florian Weimer <fweimer@redhat.com>
22260
22261 [BZ #19825]
22262 * resolv/res_send.c (send_vc): Remove early *resplen2
22263 initialization. Set *resplen2 on socket error. Call
22264 close_and_return_error for other errors.
22265
22266 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
22267
22268 * sysdeps/unix/sysv/linux/netiucv/iucv.h
22269 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
22270 (SCM_IUCV_TRGCLS): New define.
22271
22272 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22273
22274 [BZ #20005]
22275 * libio/fmemopen.c (fmemopen_write): Update internal position after
22276 write.
22277 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
22278 * stdio-common/tst-fmemopen4.c: New file..
22279
22280 2016-04-26 Joseph Myers <joseph@codesourcery.com>
22281
22282 [BZ #19996]
22283 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
22284 not [__USE_XOPEN2K].
22285 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
22286 variable.
22287
22288 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
22289 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
22290 variable.
22291
22292 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
22293 [__USE_XOPEN2K8].
22294 [__USE_LARGEFILE64] (off64_t): Likewise.
22295 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
22296 variable.
22297
22298 2016-04-25 Joseph Myers <joseph@codesourcery.com>
22299
22300 [BZ #19989]
22301 * libio/stdio.h (cuserid): Do not declare if
22302 [__USE_XOPEN2K && !__USE_GNU].
22303 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
22304 variable.
22305
22306 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22307
22308 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22309 (sysdep_routines): Add P8 and PPC64 strcspn targets.
22310 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22311 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
22312 ifunc'ed strcspn.
22313 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
22314 [EALIGN]: Removed.
22315 [END]: Likewise
22316 [STRSPN]: Define instead of the above to control symbol name.
22317 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
22318 New file.
22319 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
22320 Likewise.
22321 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
22322 Likewise.
22323 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
22324 Likewise.
22325 * sysdeps/powerpc/powerpc64/power8/strspn.S:
22326 [INITIAL_MASK]: New macro.
22327 [STRCSPN]: Likewise.
22328 [UPDATE_MASK]: Likewise.
22329 [USE_AS_STRCSPN]: Likewise.
22330
22331 2016-04-25 Florian Weimer <fweimer@redhat.com>
22332
22333 [BZ #19931]
22334 * stdio-common/tst-vfprintf-width-prec.c: New file.
22335 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
22336 (tests-special): Add tst-vfprintf-width-prec-mem.out.
22337 (generated): Add mtrace-related files.
22338 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
22339 (tst-%-mem.out): New pattern rule, replaces
22340 tst-printf-bz18872-mem.out.
22341 * stdio-common/vfprintf.c (vfprintf): When handling a precision
22342 specifier, deallocate any previously allocated work buffer.
22343
22344 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22345
22346 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
22347 Add nop before __startcontext, add explaining comments.
22348
22349 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
22350
22351 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
22352 any more. Notably since IPV6_PKTINFO has been reintroduced with a
22353 completely different API.
22354
22355 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
22356 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
22357 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
22358 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
22359 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
22360 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
22361 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
22362 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
22363 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
22364 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
22365
22366 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
22367
22368 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
22369
22370 2016-04-23 Mike Frysinger <vapier@gentoo.org>
22371
22372 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
22373 when it is the default of 0.
22374
22375 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22376
22377 * sysdeps/powerpc/locale-defines.sym: Add new macros.
22378 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22379 (sysdep_routines): Add new strcasestr targets.
22380 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22381 (__libc_ifunc_impl_list): Likewise.
22382 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
22383 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
22384 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
22385 * sysdeps/powerpc/powerpc64/power8/Makefile:
22386 New file to add strcasestr-ppc64 to sysdep_routines.
22387 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
22388 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
22389
22390 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
22391
22392 * benchtests/Makefile (wcsmbs-benchset): Include only for
22393 native builds and runs.
22394 (LOCALES): Likewise.
22395 (bench-build): Build timing-type here instead of the bench
22396 target. Generate locale only for native builds.
22397 * benchtests/README: Add note for cross-building.
22398
22399 * benchtests/Makefile (bench-clean): Clean up extra-objs.
22400
22401 * benchtests/README: Update README to include instructions on
22402 using bench-build.
22403
22404 * Makefile.in (bench-build): New target.
22405 * Rules (PHONY): Add bench-build target.
22406 * benchtests/Makefile (bench): Depend on bench-build.
22407 (bench-build): New target.
22408
22409 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
22410
22411 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
22412 profil_reply_port.
22413 (profile_waiter): Do not initialize profil_reply_port.
22414 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
22415 frequency instead of tick length in us.
22416
22417 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
22418
22419 [BZ #18712]
22420 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
22421 (__old_mempcpy_small): Likewise.
22422 (__old_strcpy_small): Likewise.
22423 (__old_stpcpy_small): Likewise.
22424 (__old_strpbrk_c2): Fix compat symbol name.
22425 (__old_strpbrk_c3): Likewise.
22426 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
22427 (__mempcpy_small): Remove.
22428 (__strcpy_small): Remove.
22429 (__stpcpy_small): Remove.
22430
22431 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
22432
22433 [BZ #19400]
22434 * locale/iso-639.def: Add the Talossan/tzl language.
22435
22436 2016-04-16 Mike Frysinger <vapier@gentoo.org>
22437
22438 [BZ #16983]
22439 * locale/programs/ld-address.c (address_finish): Update postal_fmt
22440 comment. Add "ln" to strchr check on postal_fmt.
22441
22442 2016-04-16 Mike Frysinger <vapier@gentoo.org>
22443
22444 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
22445 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
22446 tel_dom_fmt.
22447
22448 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22449
22450 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22451 (sysdep_routines): Added __strlen_power8.
22452 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
22453 __strlen_power8 entry.
22454 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
22455 Implementation for POWER8.
22456 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
22457 for __strlen_power8.
22458 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
22459 Implementation for POWER8.
22460
22461 2016-04-15 Mike Frysinger <vapier@gentoo.org>
22462
22463 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
22464
22465 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
22466
22467 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
22468 Goldmont and Airmont processors.
22469
22470 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
22471
22472 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
22473 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
22474 (__STRING2_SMALL_GET32): Remove.
22475 (memset): Remove.
22476 (__memset_1): Remove.
22477 (__memset_gc): Remove.
22478 (__mempcpy): Remove.
22479 (mempcpy): Remove.
22480 (__mempcpy_args): Remove.
22481 (strchr): Remove.
22482 (strcpy): Remove.
22483 (strcpy_args): Remove.
22484 (__stpcpy_args): Remove.
22485 (__strcmp_cc): Remove.
22486 (__strcmp_gc): Remove.
22487 (strstr): Remove.
22488
22489 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
22490
22491 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
22492 * nis/nis_call.c (nis_server_cache_add): Likewise.
22493
22494 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22495
22496 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
22497
22498 2016-04-14 Florian Weimer <fweimer@redhat.com>
22499
22500 * malloc/arena.c (__malloc_fork_lock_parent)
22501 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
22502 internal_function attribute.
22503
22504 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
22505
22506 * stdio-common/printf_fp.c (__printf_fp_l):
22507 Rename ___printf_fp_l to __printf_fp_l and
22508 remove strong alias. Use libc_hidden_def instead
22509 of ldbl_hidden_def macro.
22510
22511 2016-04-14 Florian Weimer <fweimer@redhat.com>
22512
22513 Remove malloc hooks from fork handler. They are no longer needed
22514 because malloc runs right before fork, and no malloc calls from
22515 other fork handlers are not possible anymore.
22516 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
22517 declarations.
22518 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
22519 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
22520 (atfork_recursive_cntr): Remove.
22521 (__malloc_fork_lock_parent): Do not override malloc hooks and
22522 thread_arena.
22523 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
22524 thread_arena.
22525 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
22526 thread_arena instead of save_arena.
22527
22528 2016-04-14 Florian Weimer <fweimer@redhat.com>
22529
22530 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
22531 (thread_atfork, thread_atfork_static): Remove.
22532 * sysdeps/mach/hurd/malloc-machine.h:
22533 (thread_atfork, thread_atfork_static): Remove.
22534
22535 2016-04-14 Florian Weimer <fweimer@redhat.com>
22536
22537 [BZ #19431]
22538 Run the malloc fork handler as late as possible to avoid deadlocks.
22539 * malloc/malloc-internal.h: New file.
22540 * malloc/malloc.c: Include it.
22541 * malloc/arena.c (ATFORK_MEM): Remove.
22542 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
22543 Update comment.
22544 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
22545 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
22546 Remove outdated comment.
22547 (ptmalloc_init): Do not call thread_atfork. Remove
22548 thread_atfork_static.
22549 * malloc/tst-malloc-fork-deadlock.c: New file.
22550 * Makefile (tests): Add tst-malloc-fork-deadlock.
22551 (tst-malloc-fork-deadlock): Link against libpthread.
22552 * manual/memory.texi (Aligned Memory Blocks): Update safety
22553 annotation comments.
22554 * sysdeps/nptl/fork.c (__libc_fork): Call
22555 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
22556 __malloc_fork_unlock_child.
22557 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
22558
22559 2016-04-14 Florian Weimer <fweimer@redhat.com>
22560
22561 [BZ #19613]
22562 Remove union wait.
22563 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
22564 (w_stopsig, w_stopval): Remove.
22565 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
22566 stat_loc argument.
22567 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
22568 (__WAIT_STATUS_DEFN): Remove.
22569 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22570 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
22571 (wait, wait3, wait4): Use int * for the stat_loc argument.
22572 * posix/wait.c (__wait): Likewise.
22573 * posix/wait3.c (__wait3): Likewise.
22574 * posix/wait4.c (__wait4): Likewise.
22575 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
22576 (__WAIT_STATUS_DEFN): Remove.
22577 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22578 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
22579 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
22580 argument.
22581 * sysdeps/posix/wait.c (__libc_wait): Likewise.
22582 * sysdeps/posix/wait3.c (__wait3): Likewise.
22583 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
22584 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
22585 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
22586 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
22587 stat_loc argument.
22588 * manual/process.texi (BSD Wait Functions): Remove union wait.
22589
22590 2016-04-13 Andreas Schwab <schwab@suse.de>
22591
22592 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
22593 (test-extras): Add tst-tlsalign-vars.
22594 * math/Makefile: Wrap long lines.
22595 (libm-vec-test-wrappers): Define.
22596 (test-extras): Add $(libm-vec-test-wrappers).
22597 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
22598 * nss/Makefile (extra-test-objs): Add nss_test1.os.
22599 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
22600 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
22601 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
22602 (extra-test-objs): Add corresponding objects.
22603
22604 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
22605
22606 [BZ #19928]
22607 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
22608 New.
22609 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
22610 times of shared cache size.
22611 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
22612 (VMOVNT): New.
22613 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
22614 (VMOVNT): Likewise.
22615 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
22616 (VMOVNT): Likewise.
22617 (VMOVU): Changed to movups for smaller code sizes.
22618 (VMOVA): Changed to movaps for smaller code sizes.
22619 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
22620 comments.
22621 (PREFETCH): New.
22622 (PREFETCH_SIZE): Likewise.
22623 (PREFETCHED_LOAD_SIZE): Likewise.
22624 (PREFETCH_ONE_SET): Likewise.
22625 Rewrite to use forward and backward loops, which move 4 vector
22626 registers at a time, to support overlapping addresses and use
22627 non temporal store if size is above the threshold and there is
22628 no overlap between destination and source.
22629
22630 2016-04-12 Alex Smith <alex.smith@imgtec.com>
22631
22632 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
22633 Include dl-vdso.
22634 * sysdeps/unix/sysv/linux/mips/Versions: Add
22635 __vdso_clock_gettime.
22636 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
22637 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
22638 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
22639 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
22640 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
22641 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
22642 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
22643 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
22644 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
22645
22646 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22647
22648 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
22649 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
22650 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
22651 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
22652 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
22653 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
22654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
22655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
22656 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
22657 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
22658 syscalls generation.
22659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22660 [__NR_pwrite64] (__NR_write): Remove define.
22661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22662 [__NR_pwrite64] (__NR_write): Remove define.
22663 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
22664 Remove define.
22665 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
22666 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
22667 Remove define.
22668 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
22669 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
22670 Linux implementation as base.
22671 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
22672
22673 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
22674 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
22675 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
22676 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
22677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
22678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
22679 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
22680 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
22681 syscall generation.
22682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22683 [__NR_pread64] (__NR_pread): Remove define.
22684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22685 [__NR_pread64] (__NR_pread): Likewise.
22686 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
22687 define.
22688 (__libc_pread): Use SYSCALL_LL macro on offset argument.
22689 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
22690 Remove define.
22691 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
22692 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
22693 Linux implementation as base.
22694 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
22695 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
22696 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
22697
22698 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
22699 definition.
22700 (__ALIGNMENT_COUNT): Likewise.
22701 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
22702 (__ALIGNMENT_COUNT): Likewise.
22703 (SYSCALL_LL): New define.
22704 (SYSCALL_LL64): Likewise.
22705 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
22706 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
22707 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
22708 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
22709
22710 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22711 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
22712 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22713 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
22714 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22715 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
22716
22717 2016-04-11 Florian Weimer <fweimer@redhat.com>
22718
22719 [BZ #19865]
22720 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
22721 original buffer before retry.
22722
22723 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22724
22725 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
22726 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
22727 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
22728 GLRO(dl_auxv) list.
22729 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
22730 including <ldsodefs.h>.
22731 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
22732
22733 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
22734
22735 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
22736 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
22737 $(CPPFLAGS).
22738
22739 2016-04-09 Khem Raj <raj.khem@gmail.com>
22740
22741 [BZ #17950]
22742 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
22743 Add -mfpmath=387.
22744
22745 2016-04-09 Mike Frysinger <vapier@gentoo.org>
22746
22747 * sysdeps/i386/configure.ac: Change == to = when calling test.
22748 * sysdeps/x86_64/configure.ac: Likewise.
22749 * sysdeps/i386/configure: Regenerated.
22750 * sysdeps/x86_64/configure: Likewise.
22751
22752 2016-04-08 Mike Frysinger <vapier@gentoo.org>
22753
22754 [BZ #16137]
22755 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
22756 * benchtests/bench-strcoll.c (input_files): Likewise.
22757 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
22758 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
22759 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
22760
22761 2016-04-08 Joseph Myers <joseph@codesourcery.com>
22762
22763 [BZ #19929]
22764 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
22765 [__USE_XOPEN2K8 && !__USE_GNU].
22766 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
22767 variable.
22768
22769 [BZ #19925]
22770 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
22771 define if [!__USE_MISC && __USE_XOPEN2K].
22772 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
22773 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
22774 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
22775 Likewise.
22776 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
22777 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
22778 variable.
22779 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22780
22781 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22782
22783 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22784 (sysdep_routines): Add new strspn targets.
22785 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22786 (__libc_ifunc_impl_list): Add strspn.
22787 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
22788 New file.
22789 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
22790 Likewise.
22791 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
22792 Likewise.
22793 * sysdeps/powerpc/powerpc64/power8/strspn.S:
22794 Likewise.
22795
22796 2016-04-07 Florian Weimer <fweimer@redhat.com>
22797
22798 * misc/hsearch_r.c: Include <limits.h>.
22799
22800 2016-04-07 Florian Weimer <fweimer@redhat.com>
22801
22802 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
22803
22804 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
22805
22806 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
22807 (MEMCPY_SYMBOL): New.
22808 (MEMPCPY_SYMBOL): Likewise.
22809 (MEMMOVE_CHK_SYMBOL): Likewise.
22810 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
22811 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
22812 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
22813 Provide alias for memcpy in libc.a and ld.so.
22814
22815 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
22816
22817 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
22818 (MEMSET_CHK_SYMBOL): New. Define if not defined.
22819 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
22820 Disabled fro now.
22821 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
22822 symbols. Properly check USE_MULTIARCH on __memset symbols.
22823
22824 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
22825
22826 * benchtests/Makefile (string-benchset): Add memcpy-large,
22827 memmove-large and memset-large.
22828 * benchtests/bench-memcpy-large.c: New file.
22829 * benchtests/bench-memmove-large.c: Likewise.
22830 * benchtests/bench-memmove-large.c: Likewise.
22831 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
22832
22833 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
22834
22835 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
22836 32-bit displacement to avoid long nop between instructions.
22837
22838 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
22839
22840 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
22841 a comment on VMOVU and VMOVA.
22842
22843 2016-04-04 Florian Weimer <fweimer@redhat.com>
22844
22845 [BZ #19633]
22846 Use specified locale for number formatting in strfmon_l.
22847 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
22848 (__nl_lookup_word): New inline functions.
22849 * include/printf.h (__print_fp_l): Declare.
22850 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
22851 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
22852 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
22853 (___printf_fp): New function.
22854 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
22855 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
22856 * stdlib/tst-strfmon_l.c (do_test): New test.
22857 * stdlib/Makefile (tests): Add kt.
22858 (LOCALES): Build additional locales.
22859 (tst-strfmon_l.out): Require locales.
22860
22861 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
22862
22863 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
22864 if not in libc.
22865 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
22866 Likewise.
22867 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
22868 Likewise.
22869 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
22870 Likewise.
22871
22872 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
22873
22874 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
22875 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
22876 with unaligned_erms.
22877 (__memmove_erms): Skip if source == destination.
22878 (__memmove_unaligned_erms): Don't check source == destination
22879 first.
22880
22881 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
22882
22883 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
22884 bit_arch_Fast_Copy_Backward for Intel Core proessors.
22885
22886 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22887
22888 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
22889 * string/strspn.c (strspn): Likewise.
22890
22891 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
22892
22893 * benchtests/bench-memset.c (do_test): Support 64-byte
22894 alignment.
22895 (test_main): Test 64-byte alignment.
22896
22897 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
22898
22899 * benchtests/bench-memmove.c (test_main): Test 64-byte
22900 alignment.
22901
22902 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
22903
22904 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
22905
22906 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22907
22908 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
22909 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
22910 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
22911
22912 * string/strpbrk.c (strpbrk): Rewrite function.
22913 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
22914 (__strpbrk_c2): Likewise.
22915 (__strpbrk_c3): Likewise.
22916 * string/string-inlines.c
22917 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
22918 Likewise.
22919 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
22920 Likewise.
22921
22922 * string/strspn.c (strcspn): Rewrite function.
22923 * string/bits/string2.h (strspn): Use __builtin_strcspn.
22924 (__strspn_c1): Remove inline function.
22925 (__strspn_c2): Likewise.
22926 (__strspn_c3): Likewise.
22927 * string/string-inlines.c
22928 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
22929 compatibility symbol.
22930 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
22931 Likewise.
22932 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
22933 Likewise.
22934 * string/string-inlines.c: Include generic version.
22935
22936 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
22937 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22938
22939 * string/Version (libc): Add GLIBC_2.24.
22940 * string/strcspn.c (strcspn): Rewrite function.
22941 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
22942 (__strcspn_c1): Remove inline function.
22943 (__strcspn_c2): Likewise.
22944 (__strcspn_c3): Likewise.
22945 * string/string-inline.c
22946 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
22947 compatibility symbol.
22948 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
22949 Likewise.
22950 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
22951 Likewise.
22952 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
22953
22954 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
22955
22956 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
22957 Use ahi instead of aghi to adjust stack pointer.
22958
22959 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22960
22961 [BZ #19853]
22962 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
22963 TEST to take significant digits as second parameter.
22964 [TEST]: Redefine in terms of TEST_N taking 30
22965 significant digits.
22966 (do_test): Add test case to demonstrate precision
22967 failure in the ldbl-128ibm printf.
22968 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
22969 (__mpn_extract_long_double): Carry 7 extra intermediate
22970 bits of precision to aide computing difference when
22971 signs differ.
22972
22973 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
22974
22975 [BZ #19881]
22976 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22977 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
22978 memset-avx512-unaligned-erms.
22979 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22980 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
22981 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
22982 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
22983 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
22984 __memset_sse2_unaligned_erms, __memset_erms,
22985 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
22986 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
22987 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
22988 file.
22989 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
22990 Likewise.
22991 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
22992 Likewise.
22993 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
22994 Likewise.
22995
22996 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
22997
22998 [BZ #19776]
22999 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23000 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
23001 memmove-avx512-unaligned-erms.
23002 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23003 (__libc_ifunc_impl_list): Test
23004 __memmove_chk_avx512_unaligned_2,
23005 __memmove_chk_avx512_unaligned_erms,
23006 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
23007 __memmove_chk_sse2_unaligned_2,
23008 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
23009 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
23010 __memmove_avx512_unaligned_erms, __memmove_erms,
23011 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
23012 __memcpy_chk_avx512_unaligned_2,
23013 __memcpy_chk_avx512_unaligned_erms,
23014 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
23015 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
23016 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
23017 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
23018 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
23019 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
23020 __mempcpy_chk_avx512_unaligned_erms,
23021 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
23022 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
23023 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
23024 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
23025 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
23026 __mempcpy_erms.
23027 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
23028 file.
23029 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
23030 Likewise.
23031 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
23032 Likewise.
23033 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
23034 Likewise.
23035
23036 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
23037
23038 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
23039 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
23040 (La_s390_64_regs): Likewise.
23041 (La_s390_32_retval): Append vector register lrv_v24.
23042 (La_s390_64_retval): Likeweise.
23043 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
23044 Handle extended structs La_s390_32_regs and La_s390_32_retval.
23045 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
23046 Handle extended structs La_s390_64_regs and La_s390_64_retval.
23047
23048 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
23049
23050 [BZ #19916]
23051 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
23052 to create a non-vector/vector version for _dl_runtime_resolve and
23053 _dl_runtime_profile. Move implementation to ...
23054 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
23055 (_dl_runtime_resolve) Save and restore fpr/vrs.
23056 (_dl_runtime_profile) Save and restore vrs and fix some issues
23057 if _dl_call_pltexit is called.
23058 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
23059 Choose the correct resolver function if running on a machine with vx.
23060 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
23061 to create a non-vector/vector version for _dl_runtime_resolve and
23062 _dl_runtime_profile. Move implementation to ...
23063 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
23064 (_dl_runtime_resolve) Save and restore fpr/vrs.
23065 (_dl_runtime_profile) Save and restore vrs and fix some issues
23066 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
23067 Choose the correct resolver function if running on a machine with vx.
23068
23069 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23070
23071 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
23072
23073 2016-03-31 Florian Weimer <fweimer@redhat.com>
23074
23075 [BZ #19509]
23076 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
23077 skip_map != NULL.
23078 * elf/tst-dlsym-error.c: New file.
23079 * elf/Makefile (tests): Add tst-dlsym-error.
23080 (tst-dlsym-error): Link against libdl.
23081
23082 2016-03-29 Joseph Myers <joseph@codesourcery.com>
23083
23084 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23085 (__ASSUME_FUTIMESAT): Remove macro.
23086 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
23087
23088 2016-03-29 Florian Weimer <fweimer@redhat.com>
23089
23090 [BZ #19879]
23091 CVE-2016-3075
23092 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
23093 copy name.
23094
23095 2016-03-29 Florian Weimer <fweimer@redhat.com>
23096
23097 [BZ #19837]
23098 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
23099 error if parse_line fails.
23100
23101 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23102
23103 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
23104 (index_cpu_ERMS): Likewise.
23105 (reg_ERMS): Likewise.
23106
23107 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
23108
23109 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
23110 PER_LINUX_FDPIC): Add.
23111
23112 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23113
23114 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23115 memcpy-avx512-no-vzeroupper.
23116 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
23117 to ...
23118 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
23119 (MEMCPY): Don't define.
23120 (MEMCPY_CHK): Likewise.
23121 (MEMPCPY): Likewise.
23122 (MEMPCPY_CHK): Likewise.
23123 (MEMPCPY_CHK): Renamed to ...
23124 (__mempcpy_chk_avx512_no_vzeroupper): This.
23125 (MEMPCPY_CHK): Renamed to ...
23126 (__mempcpy_chk_avx512_no_vzeroupper): This.
23127 (MEMCPY_CHK): Renamed to ...
23128 (__memmove_chk_avx512_no_vzeroupper): This.
23129 (MEMCPY): Renamed to ...
23130 (__memmove_avx512_no_vzeroupper): This.
23131 (__memcpy_avx512_no_vzeroupper): New alias.
23132 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
23133
23134 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23135
23136 [BZ #18858]
23137 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23138 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
23139 and mempcpy-avx512-no-vzeroupper.
23140 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
23141 New.
23142 (MEMPCPY): Likewise.
23143 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
23144 (MEMPCPY_CHK): New.
23145 (MEMPCPY): Likewise.
23146 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
23147 (MEMPCPY): Likewise.
23148 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
23149 (MEMPCPY): Likewise.
23150 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
23151 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
23152 Likewise.
23153 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
23154 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
23155
23156 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23157 Amit Pawar <Amit.Pawar@amd.com>
23158
23159 [BZ #19583]
23160 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
23161 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
23162 processors. Set Fast_Copy_Backward for AMD Excavator
23163 processors.
23164 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
23165 New.
23166 (index_arch_Fast_Unaligned_Copy): Likewise.
23167 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
23168 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
23169
23170 2016-03-25 Florian Weimer <fweimer@redhat.com>
23171
23172 [BZ #19791]
23173 * resolv/res_send.c (close_and_return_error): New function.
23174 (send_dg): Initialize *resplen2 after reopen failure. Call
23175 close_and_return_error for error returns. On error paths without
23176 __res_iclose, initialze *resplen2 explicitly. Update comment for
23177 successful return.
23178
23179 2016-03-25 Florian Weimer <fweimer@redhat.com>
23180
23181 [BZ #19860]
23182 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
23183 zero if the compiler does not provide the AVX512F bit.
23184
23185 2016-03-24 Joseph Myers <joseph@codesourcery.com>
23186
23187 [BZ #19848]
23188 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
23189 from 8 to 4.
23190 (__ieee754_powl): Compare integer exponent against 4 not 8.
23191 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
23192 from 8 to 4.
23193 (__ieee754_powl): Compare integer exponent against 4 not 8.
23194 * math/auto-libm-test-in: Add more tests of pow.
23195 * math/auto-libm-test-out: Regenerated.
23196 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
23197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23198
23199 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
23200
23201 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
23202 Make code unconditional.
23203 [!__NR_utimensat]: Remove conditional code.
23204 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
23205 Make code unconditional.
23206 [!__NR_utimensat]: Remove conditional code.
23207 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
23208 Make code unconditional.
23209 [!__NR_utimensat]: Remove conditional code.
23210
23211 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
23212
23213 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
23214 Make code unconditional.
23215
23216 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
23217
23218 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
23219 call-clobbered %eax on retry path.
23220 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
23221
23222 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
23223
23224 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
23225 Don't set %rcx twice before "rep movsb".
23226
23227 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
23228
23229 [BZ #19583]
23230 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
23231 inline. Check family before setting family, model and
23232 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
23233 bits here.
23234 (init_cpu_features): Replace HAS_CPU_FEATURE and
23235 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
23236 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
23237 for Intel processors with usable AVX2. Call get_common_indeces
23238 for other processors with family == NULL.
23239 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
23240 (CPU_FEATURES_ARCH_P): Likewise.
23241 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
23242 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
23243
23244 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23245
23246 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
23247 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
23248 $(shared-thread-library) instead of hardcoding the path to libpthread.
23249
23250 2016-03-22 Joseph Myers <joseph@codesourcery.com>
23251
23252 * sysdeps/unix/sysv/linux/kernel-features.h
23253 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
23254 * sysdeps/unix/sysv/linux/getdents.c
23255 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
23256 [!have_no_getdents64_defined]: Likewise.
23257 (__GETDENTS): Remove __have_no_getdents64 conditional.
23258
23259 2016-03-21 Joseph Myers <joseph@codesourcery.com>
23260
23261 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
23262 Remove macro.
23263 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
23264 <kernel-features.h>.
23265 (signalfd) [__NR_signalfd4]: Make code unconditional.
23266 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
23267
23268 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23269
23270 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
23271 style.
23272
23273 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
23274
23275 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
23276 (__pthread_enable_asynccancel): Use JUMPTARGET to call
23277 __pthread_unwind.
23278 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
23279 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
23280 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
23281 (__condvar_cleanup1): Likewise.
23282
23283 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
23284
23285 [BZ #19822]
23286 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
23287 move it to the final $@ location.
23288
23289 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23290
23291 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
23292 access where posix_spawn success and pid argument is null.
23293 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
23294 success case.
23295
23296 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
23297
23298 * sysdeps/mach/hurd/i386/c++-types.data: New file.
23299
23300 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
23301
23302 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
23303 and __fcntl.
23304 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
23305 __fcntl only.
23306 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
23307 adding attribute_hidden to __open and __fcntl.
23308
23309 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
23310 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
23311 depend on libc-modules.h,
23312 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
23313
23314 2016-03-17 Joseph Myers <joseph@codesourcery.com>
23315
23316 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
23317 Remove macro.
23318 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
23319 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
23320 entry.
23321
23322 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
23323 Remove macro.
23324 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
23325 include <kernel-features.h>.
23326 [!__ASSUME_FALLOCATE]: Remove conditional code.
23327 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
23328
23329 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
23330
23331 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
23332 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
23333 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
23334 (_ZGVdN4v_cos_avx2): Likewise.
23335 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
23336 (_ZGVdN4v_cos): Likewise.
23337 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
23338 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
23339 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
23340 (_ZGVdN4v_exp_avx2): Likewise.
23341 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
23342 (_ZGVdN4v_exp): Likewise.
23343 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
23344 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
23345 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
23346 (_ZGVdN4v_log_avx2): Likewise.
23347 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
23348 (_ZGVdN4v_log): Likewise.
23349 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
23350 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
23351 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
23352 (_ZGVdN4vv_pow_avx2): Likewise.
23353 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
23354 (_ZGVdN4vv_pow): Likewise.
23355 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
23356 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
23357 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
23358 (_ZGVdN4v_sin_avx2): Likewise.
23359 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
23360 (_ZGVdN4v_sin): Likewise.
23361 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
23362 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
23363 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
23364 (_ZGVdN4vvv_sincos_avx2): Likewise.
23365 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
23366 (_ZGVdN4vvv_sincos): Likewise.
23367 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
23368 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
23369 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
23370 (_ZGVbN4v_cosf_sse4): Likewise.
23371 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
23372 (_ZGVdN8v_cosf_avx2): Likewise.
23373 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
23374 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
23375 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
23376 (_ZGVbN4v_expf_sse4): Likewise.
23377 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
23378 (_ZGVdN8v_expf_avx2): Likewise.
23379 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
23380 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
23381 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
23382 (_ZGVbN4v_logf_sse4): Likewise.
23383 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
23384 (_ZGVdN8v_logf_avx2): Likewise.
23385 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
23386 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
23387 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
23388 (_ZGVbN4vv_powf_sse4): Likewise.
23389 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
23390 (_ZGVdN8vv_powf_avx2): Likewise.
23391 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
23392 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
23393 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
23394 (_ZGVbN4vvv_sincosf_sse4): Likewise.
23395 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
23396 (_ZGVdN8vvv_sincosf_avx2): Likewise.
23397 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
23398 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
23399 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
23400 (_ZGVbN4v_sinf_sse4): Likewise.
23401 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
23402 (_ZGVdN8v_sinf_avx2): Likewise.
23403 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23404 Use JUMPTARGET to call callee.
23405 (WRAPPER_IMPL_SSE2_ff): Likewise.
23406 (WRAPPER_IMPL_SSE2_fFF): Likewise.
23407 (WRAPPER_IMPL_AVX): Likewise.
23408 (WRAPPER_IMPL_AVX_ff): Likewise.
23409 (WRAPPER_IMPL_AVX_fFF): Likewise.
23410 (WRAPPER_IMPL_AVX512): Likewise.
23411 (WRAPPER_IMPL_AVX512_ff): Likewise.
23412 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23413 Likewise.
23414 (WRAPPER_IMPL_SSE2_ff): Likewise.
23415 (WRAPPER_IMPL_SSE2_fFF): Likewise.
23416 (WRAPPER_IMPL_AVX): Likewise.
23417 (WRAPPER_IMPL_AVX_ff): Likewise.
23418 (WRAPPER_IMPL_AVX_fFF): Likewise.
23419 (WRAPPER_IMPL_AVX512): Likewise.
23420 (WRAPPER_IMPL_AVX512_ff): Likewise.
23421 (WRAPPER_IMPL_AVX512_fFF): Likewise.
23422
23423 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23424
23425 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
23426 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
23427 qualifier.
23428 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
23429 internal_function qualifiers.
23430
23431 2016-03-15 Carlos O'Donell <carlos@redhat.com>
23432
23433 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
23434 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
23435 * math/atest-exp.c (exp_mpn): Mark chk unused.
23436 * math/atest-exp2.c (exp_mpn): Likewise.
23437 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
23438 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
23439
23440 2016-03-15 Joseph Myers <joseph@codesourcery.com>
23441
23442 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
23443 Remove macro.
23444 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
23445 <kernel-features.h>.
23446 [__NR_ppoll]: Make code unconditional.
23447 [!__ASSUME_PPOLL]: Remove conditional code.
23448
23449 * sysdeps/unix/sysv/linux/kernel-features.h
23450 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
23451 (__ASSUME_ACCEPT4): Likewise.
23452 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23453 Define.
23454 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
23455 Likewise.
23456 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23457 Likewise.
23458 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
23459 Likewise.
23460 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
23461 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
23462 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23463 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23464 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23465 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23466 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23467 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23468 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23469 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23470 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23471 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23472 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23473 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23474 * sysdeps/unix/sysv/linux/i386/kernel-features.h
23475 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23476 Likewise.
23477 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23478 Likewise.
23479 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23480 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23481 0x040300].
23482 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23483 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23484 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23485 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23486 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23487 0x030300].
23488 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
23489 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23490 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23491 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23492 0x040300].
23493 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23494 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23495 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23496 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23497 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23498 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23499 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23500 0x030300].
23501 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23502 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23503 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23504 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23505 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23506 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23507 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23508 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23509 * sysdeps/unix/sysv/linux/s390/kernel-features.h
23510 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23511 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23512 0x040300].
23513 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23514 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23515 * sysdeps/unix/sysv/linux/sh/kernel-features.h
23516 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23517 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23518 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23519 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
23520 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23521 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23522 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23523 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23524 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23525 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23526 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23527 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
23528 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23529 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23530 Likewise.
23531 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23532 Likewise.
23533
23534 2016-03-15 Andreas Schwab <schwab@suse.de>
23535
23536 [BZ #19257]
23537 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
23538 statp->_u._ext.nscount as loop count.
23539
23540 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
23541
23542 * math/test-signgam-finite-c99.c: Also #undef
23543 __LIBC_INTERNAL_MATH_INLINES.
23544 * math/test-signgam-main.c: Likewise.
23545
23546 2016-03-14 Joseph Myers <joseph@codesourcery.com>
23547
23548 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
23549 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
23550 (MADV_FREE): Likewise.
23551 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
23552 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
23553 EPOLLEXCLUSIVE.
23554
23555 2016-03-14 Carlos O'Donell <carlos@redhat.com>
23556
23557 * timezone/README: Remove mention of checktab.awk. Mention wiki
23558 SharedSourceFiles.
23559
23560 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
23561
23562 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
23563 WUNTRACED.
23564
23565 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23566
23567 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
23568 order to match the type of p when calling atomic_exchange_acq().
23569
23570 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23571
23572 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
23573 cfi_offset calls.
23574 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
23575 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
23576 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
23577 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
23578 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
23579
23580 2016-03-10 Carlos O'Donell <carlos@redhat.com>
23581
23582 * timezone/checktab.awk: Removed.
23583
23584 2016-03-10 Joseph Myers <joseph@codesourcery.com>
23585
23586 * manual/math.texi (Errors in Math Functions): Document relaxed
23587 accuracy goals for IBM long double.
23588 * math/libm-test.inc (test_exceptions): Always allow spurious
23589 "underflow" and "inexact" exceptions for IBM long double.
23590
23591 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
23592
23593 [BZ #19762]
23594 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
23595 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
23596 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
23597 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
23598 (bit_arch_*): This for feature array.
23599 (bit_*): Renamed to ...
23600 (bit_cpu_*): This for cpu array.
23601 (index_*): Renamed to ...
23602 (index_arch_*): This for feature array.
23603 (index_*): Renamed to ...
23604 (index_cpu_*): This for cpu array.
23605 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
23606 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
23607 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
23608 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
23609 bit_##name with index_cpu_##name and bit_cpu_##name.
23610 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
23611 bit_##name with index_arch_##name and bit_arch_##name.
23612
23613 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
23614
23615 [BZ #19792]
23616 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
23617 Terminate FDE before return label.
23618
23619 2016-03-09 Joseph Myers <joseph@codesourcery.com>
23620
23621 [BZ #19790]
23622 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
23623 (rintl): Define as macro.
23624 [USE_AS_NEARBYINTL] (__rintl): Likewise.
23625 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
23626 of fesetround. Ensure results are evaluated before end of scope.
23627 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
23628 USE_AS_NEARBYINTL and include s_rintl.c.
23629 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
23630 Disable exception traps in new environment.
23631 (libc_feholdsetround_ppc_ctx): Likewise.
23632
23633 2016-03-08 Roland McGrath <roland@hack.frob.com>
23634
23635 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
23636 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
23637 (tst_audit10_aux) [__AVX512F__]: ... here.
23638
23639 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
23640
23641 * include/sys/auxv.h: New file.
23642
23643 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
23644
23645 [BZ #19759]
23646 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
23647
23648 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
23649
23650 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
23651 operand modifier.
23652 (feclearexcept): Likewise.
23653
23654 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
23655
23656 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
23657 to reflect the entire 32-bit HWCAP.
23658 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
23659 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
23660
23661 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
23662
23663 [BZ #19783]
23664 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
23665 $(test-via-rtld-prefix).
23666 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
23667
23668 2016-03-08 Florian Weimer <fweimer@redhat.com>
23669
23670 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
23671 union wait. Report any non-zero exit status as error.
23672
23673 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23674
23675 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
23676 configured with --enable-hardcoded-path-in-tests.
23677
23678 2016-03-08 Joseph Myers <joseph@codesourcery.com>
23679
23680 [BZ #19677]
23681 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
23682 (__ieee754_remainderl): Put zero low parts in canonical form.
23683 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
23684 file. Based on
23685 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
23686 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
23687 with wrapper round test-fmodrem-ldbl-128ibm.c.
23688 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
23689 file.
23690 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
23691 Likewise.
23692 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
23693 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
23694
23695 2016-03-07 Florian Weimer <fweimer@redhat.com>
23696
23697 [BZ #19610]
23698 * elf/ldconfig.c (opt_link): Update comment.
23699 (options): Update help string for option -X.
23700 (search_dir): Unlink stale symbolic link only if updating symbolic
23701 links.
23702 * elf/tst-ldconfig-X.sh: New file.
23703 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
23704 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
23705
23706 2016-03-07 Andreas Schwab <schwab@suse.de>
23707
23708 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
23709 needed arguments.
23710
23711 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
23712
23713 [BZ #15333]
23714 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
23715 to lstat64.
23716
23717 2016-03-07 Florian Weimer <fweimer@redhat.com>
23718
23719 * libio/filedoalloc.c (isatty): Remove.
23720 (local_isatty): Add comment. Call __isatty directly.
23721 (_IO_file_doallocate): Update comment. Assume _LIBC.
23722 * libio/wfiledoalloc.c (isatty): Remove.
23723 (_IO_wfile_doallocate): Update comment.
23724
23725 2016-03-07 Florian Weimer <fweimer@redhat.com>
23726
23727 [BZ #19269]
23728 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
23729 tst-audit4-aux.o.
23730 (tst-audit10): Depend on tst-audit10-aux.o.
23731 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
23732 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
23733 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
23734 instead of inline AVX code.
23735 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
23736 instead of inline AVX512 code.
23737 * sysdeps/x86_64/tst-audit4-aux.c: New file
23738 * sysdeps/x86_64/tst-audit10-aux.c: New file
23739
23740 [BZ #19648]
23741 * test-skeleton.c (main): Do not set RLIMIT_DATA.
23742
23743 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23744
23745 [BZ #14750]
23746 [BZ #10354]
23747 [BZ #18433]
23748 * include/sched.h (__clone): Add hidden prototype.
23749 (__clone2): Likewise.
23750 * include/unistd.h (__dup): Likewise.
23751 * posix/Makefile (tests): Add tst-spawn2.
23752 * posix/tst-spawn2.c: New file.
23753 * sysdeps/posix/dup.c (__dup): Add hidden definition.
23754 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
23755 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
23756 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
23757 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
23758 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
23759 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
23760 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
23761 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
23762 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
23763 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
23764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
23765 Likewise.
23766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23767 Likewise.
23768 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
23769 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
23770 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
23771 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
23772 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
23773 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
23774 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
23775 * sysdeps/unix/sysv/linux/nptl-signals.h
23776 (____nptl_is_internal_signal): New function.
23777 * sysdeps/unix/sysv/linux/spawni.c: New file.
23778
23779 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
23780 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
23781 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
23782 * posix/tst-execvp2.c (do_test): Likewise.
23783 * posix/tst-execvp3.c (do_test): Likewise.
23784 * posix/tst-execvp4.c (do_test): Likewise.
23785 * posix/tst-execvpe1.c: New file.
23786 * posix/tst-execvpe2.c: Likewise.
23787 * posix/tst-execvpe3.c: Likewise.
23788 * posix/tst-execvpe4.c: Likewise.
23789 * posix/tst-execvpe5.c: Likewise.
23790 * posix/tst-execvpe6.c: Likewise.
23791
23792 [BZ #19534]
23793 * posix/execl.c (execl): Remove dynamic memory allocation.
23794 * posix/execle.c (execle): Likewise.
23795 * posix/execlp.c (execlp): Likewise.
23796
23797 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
23798
23799 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
23800 Replace .text with .text.avx512.
23801 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
23802 Likewise.
23803
23804 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
23805
23806 * sysdeps/generic/libnsl.abilist: New file.
23807 * sysdeps/generic/libutil.abilist: New file.
23808
23809 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
23810
23811 [BZ #19762]
23812 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
23813 HAS_ARCH_FEATURE with Fast_Rep_String.
23814 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
23815 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
23816 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
23817 Likewise.
23818 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
23819 Likewise.
23820 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
23821 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
23822 Likewise.
23823 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
23824 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
23825 Likewise.
23826
23827 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
23828
23829 [BZ #19745]
23830 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
23831 with *%rax in call.
23832
23833 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
23834
23835 [BZ #19745]
23836 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
23837 with *__libc_start_main@GOTPCREL(%rip) in call.
23838
23839 2016-03-04 Roland McGrath <roland@hack.frob.com>
23840
23841 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
23842 inside conditional for nonempty $(CXX).
23843
23844 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
23845 nonempty.
23846
23847 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
23848 to test for empty $(CXX) rather than $(CXX) of "no".
23849
23850 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
23851
23852 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
23853
23854 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
23855 H.J. Lu <hongjiu.lu@intel.com>
23856
23857 [BZ #18880]
23858 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
23859 instead of Slow_BSF, and also check for Fast_Copy_Backward to
23860 enable __memcpy_ssse3_back.
23861
23862 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
23863
23864 [BZ #19758]
23865 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
23866 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
23867
23868 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
23869
23870 [BZ #19490]
23871 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
23872 (__fentry__): Likewise.
23873
23874 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
23875
23876 * gmon/Makefile (noprof): Add $(sysdep_noprof).
23877 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
23878
23879 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
23880
23881 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
23882 __mcount_internal directly.
23883 (C_LABEL(__fentry__)): Likewise.
23884 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
23885 directly.
23886
23887 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
23888
23889 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23890 (__start_context): Call __setcontext directly.
23891
23892 2016-02-26 Joseph Myers <joseph@codesourcery.com>
23893
23894 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23895 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23896 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
23897 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
23898 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23899 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23900 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
23901 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23902 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23903 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
23904 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
23905 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
23906 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23907 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23908 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23909 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23910 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
23911 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23912 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23913 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
23914 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
23915 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23916 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23917 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
23918 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
23919 Remove conditional code.
23920 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23921 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
23922 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23923 * sysdeps/unix/sysv/linux/sh/kernel-features.h
23924 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
23925 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23926 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
23927 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
23928 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23929 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23930 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23931 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23932
23933 2016-02-24 Marko Myllynen <myllynen@redhat.com>
23934
23935 * NEWS (2.23): Fix typo in bug 19048 text.
23936
23937 2016-02-24 Carlos O'Donell <carlos@redhat.com>
23938
23939 [BZ #14259]
23940 * Makeconfig: Rename msgcatdir to localedir.
23941 Rename inst_msgcatdir to inst_localedir.
23942 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
23943 * config.make.in: Add localedir.
23944 * elf/Makefile ($(objpfx)sotruss): Use localedir.
23945 (ldd-rewrite): Likewise.
23946 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
23947 (install-others): Use inst_localedir.
23948 (CPPFLAGS): Use localedir.
23949 * locale/Makefile (locale-CPPFLAGS): Likewise.
23950 * po/Makefile (mo-installed): Use inst_localedir.
23951
23952 [BZ #19575]
23953 * localedata/charmaps/GB18030: Update comments regarding PAU to
23954 non-PUA mappings.
23955
23956 2016-02-24 Joseph Myers <joseph@codesourcery.com>
23957
23958 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
23959 test for header.
23960 * sysdeps/unix/sysv/linux/configure: Regenerated.
23961 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
23962 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
23963 Remove conditional code.
23964 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
23965
23966 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
23967 Define to 3.2.0.
23968 (arch_minimum_kernel): Likewise.
23969 * sysdeps/unix/sysv/linux/configure: Regenerated.
23970 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
23971 Define to 2.6.32.
23972 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
23973 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
23974 (arch_minimum_kernel): Define to 2.6.32.
23975 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
23976 * README: Document Linux 3.2 requirement.
23977 * manual/install.texi (Linux): Document Linux 3.2 headers
23978 requirement.
23979 * INSTALL: Regenerated.
23980
23981 2016-02-24 Andreas Schwab <schwab@suse.de>
23982
23983 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
23984 if !NO_LONG_DOUBLE.
23985
23986 2016-02-22 Roland McGrath <roland@hack.frob.com>
23987
23988 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
23989 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
23990
23991 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
23992
23993 [BZ #19512]
23994 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
23995
23996 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
23997
23998 * posix/tst-dir.c: Include libc-internal.h.
23999
24000 2016-02-20 Florian Weimer <fweimer@redhat.com>
24001
24002 [BZ #19056]
24003 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
24004 * manual/filesys.texi (Reading/Closing Directory): Mention
24005 deprecaion.
24006 * posix/tst-dir.c (main): Disable deprecation warning in test.
24007
24008 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
24009
24010 [BZ #19679]
24011 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
24012 Renamed to ...
24013 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
24014 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24015 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
24016 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24017 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24018 * sysdeps/x86_64/dl-trampoline.h
24019 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24020 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24021
24022 2016-02-19 Mark Wielaard <mjw@redhat.com>
24023
24024 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
24025
24026 2016-02-19 Mark Wielaard <mjw@redhat.com>
24027
24028 * elf/elf.h (R_386_GOT32X): New.
24029 (R_386_NUM): Update.
24030 (R_X86_64_GOTPCRELX: New.
24031 (R_X86_64_REX_GOTPCRELX): New.
24032 (R_X86_64_NUM): Update.
24033
24034 2016-02-19 Mike Frysinger <vapier@gentoo.org>
24035
24036 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
24037
24038 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
24039
24040 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
24041 assign attr->stackaddr to it, and adjust it down when
24042 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
24043 [_STACK_GROWS_UP]: Delete assert.
24044 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
24045 Implement stack grows up logic.
24046 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
24047 stack grows up logic.
24048
24049 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24050
24051 * NEWS: Update with 2.24 template.
24052
24053 2016-02-19 Joseph Myers <joseph@codesourcery.com>
24054
24055 [BZ #19678]
24056 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
24057 Ensure +0.0 is returned when taking the next value below the least
24058 positive value.
24059
24060 2016-02-19 Florian Weimer <fweimer@redhat.com>
24061
24062 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
24063 available. Do not define NO_THREADS.
24064 * malloc/malloc.c: Do not check NO_THREADS.
24065 * malloc/arena.c: Likewise.
24066
24067 2016-02-19 Florian Weimer <fweimer@redhat.com>
24068
24069 * malloc/malloc.c (__libc_mallinfo): Update comment.
24070 (struct malloc_par): Remove max_total_mem member, it was always 0.
24071 (int_mallinfo): Store 0 into usmblks (no functional change).
24072 * malloc/hooks.c (struct malloc_state): Document that
24073 max_total_mem is always 0.
24074 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
24075 always 0.
24076 * manual/memory.texi (Statistics of Malloc): Likewise.
24077
24078 2016-02-19 Florian Weimer <fweimer@redhat.com>
24079
24080 * malloc/malloc.c (sysmalloc): Do not update arena_max.
24081 * malloc/arena.c (arena_max): Remove.
24082 (heap_trim, _int_new_arena): Do not update arena_max.
24083
24084 2016-02-19 Florian Weimer <fweimer@redhat.com>
24085
24086 * resolv/res_init.c (res_ninit): Update comment.
24087
24088 2016-02-19 Florian Weimer <fweimer@redhat.com>
24089
24090 [BZ #19505]
24091 * posix/spawn_int.h: Add headers and include guard.
24092 (__spawn_valid_fd): New function.
24093 * posix/spawn_faction_addopen.c
24094 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
24095 * posix/spawn_faction_addclose.c
24096 (posix_spawn_file_actions_addclose): Likewise.
24097 * posix/spawn_faction_adddup2.c
24098 (posix_spawn_file_actions_adddup2): Likewise. Add check for
24099 second file descriptor.
24100 * posix/spawn_valid_fd.c: New file.
24101 * posix/tst-posix_spawn-fd.c: New file.
24102 * posix/Makefile (routines): Add spawn_valid_fd.
24103 (tests): Add tst-posix_spawn-fd.
24104
24105 2016-02-19 Florian Weimer <fweimer@redhat.com>
24106
24107 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
24108 (do_test): Limit the number of arenas, so that we can use fewer
24109 outer threads. Limit timeout to 3 seconds, in preparation for a
24110 larger TIMEOUT value.
24111
24112 2016-02-19 Joseph Myers <joseph@codesourcery.com>
24113
24114 [BZ #19674]
24115 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
24116 sign in overflowing and underflowing results when overflow or
24117 underflow is detected early. Include sign in result before rather
24118 than after scaling.
24119
24120 [BZ #19603]
24121 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
24122 (__ieee754_remainderl): Adjust sign of integer version of low part
24123 when taking absolute value of high part.
24124 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24125 * math/libm-test.inc (remainder_test_data): Add another test.
24126 (remquo_test_data): Likewise.
24127
24128 2016-02-18 Joseph Myers <joseph@codesourcery.com>
24129
24130 [BZ #19602]
24131 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
24132 equal high parts and both low parts zero specially.
24133 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
24134 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
24135 Add test-fmodl-ldbl-128ibm.
24136
24137 [BZ #19595]
24138 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
24139 common logic for all cases of shifting subnormal results. Do not
24140 insert sign bit in shifted mantissa. Always pass -1023 as biased
24141 exponent to ldbl_insert_mantissa in subnormal case.
24142
24143 [BZ #19594]
24144 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
24145 on high and low parts then adjust result and use
24146 ldbl_canonicalize_int if needed.
24147
24148 [BZ #19593]
24149 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
24150 on high part and __floor or __ceil on low part then use
24151 ldbl_canonicalize_int if needed.
24152
24153 [BZ #19592]
24154 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
24155 high and low parts then use ldbl_canonicalize_int if needed.
24156
24157 [BZ #17899]
24158 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
24159 New function.
24160 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
24161 on high and low parts then use ldbl_canonicalize_int if needed.
24162
24163 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24164
24165 * configure: Regenerated.
24166
24167 * po/libc.pot: Regenerated.
24168
24169 * po/be.po: Updated translation.
24170 * po/bg.po: Likewise.
24171 * po/ca.po: Likewise.
24172 * po/cs.po: Likewise.
24173 * po/da.po: Likewise.
24174 * po/el.po: Likewise.
24175 * po/eo.po: Likewise.
24176 * po/es.po: Likewise.
24177 * po/fi.po: Likewise.
24178 * po/fr.po: Likewise.
24179 * po/gl.po: Likewise.
24180 * po/hr.po: Likewise.
24181 * po/hu.po: Likewise.
24182 * po/ia.po: Likewise.
24183 * po/id.po: Likewise.
24184 * po/it.po: Likewise.
24185 * po/ja.po: Likewise.
24186 * po/lt.po: Likewise.
24187 * po/nb.po: Likewise.
24188 * po/nl.po: Likewise.
24189 * po/pt_BR.po: Likewise.
24190 * po/rw.po: Likewise.
24191 * po/sk.po: Likewise.
24192 * po/sl.po: Likewise.
24193 * po/sv.po: Likewise.
24194 * po/tr.po: Likewise.
24195 * po/zh_CN.po: Likewise.
24196 * po/zh_TW.po: Likewise.
24197
24198 * version.h (RELEAES): Set to "development".
24199 (VERSION): Set to 2.23.90.
24200
24201 * version.h (RELEASE): Set to "stable".
24202 (VERSION): Set to 2.23.
24203 * include/feature.h (__GLIBC_MINOR__): Set to 23.
24204
24205 * NEWS: Updated fixed bugs.
24206
24207 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
24208 Wilco Dijkstra <wdijkstr@arm.com>
24209
24210 [BZ #19462]
24211 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
24212 (_STRING_INLINE_unaligned): This.
24213 * include/string.h: Include <string_private.h>.
24214 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
24215 _STRING_INLINE_unaligned.
24216 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
24217 (_STRING_INLINE_unaligned): New.
24218 * sysdeps/aarch64/string_private.h: New file.
24219 * sysdeps/generic/string_private.h: Likewise.
24220 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
24221 * sysdeps/s390/string_private.h: Likewise.
24222 * sysdeps/x86/string_private.h: Likewise.
24223 * sysdeps/m68k/m680x0/m68020/bits/string.h
24224 (_STRING_ARCH_unaligned): Renamed to ...
24225 (_STRING_INLINE_unaligned): This.
24226 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
24227 to ...
24228 (_STRING_INLINE_unaligned): This.
24229 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
24230 to ...
24231 (_STRING_INLINE_unaligned): This.
24232 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
24233 to ...
24234 (_STRING_INLINE_unaligned): This.
24235
24236 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
24237 H.J. Lu <hongjiu.lu@intel.com>
24238
24239 [BZ #19590]
24240 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
24241 relocation.
24242
24243 2016-02-15 Carlos O'Donell <carlos@redhat.com>
24244
24245 [BZ #18665]
24246 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
24247 *herrno_p.
24248 (gaih_getanswer): Document functional behviour. Return tryagain
24249 if any result is tryagain.
24250 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
24251 when freed.
24252 * resolv/res_send.c: Add copyright text.
24253 (__libc_res_nsend): Document that MAXPACKET is expected.
24254 (send_vc): Document. Remove buffer reuse.
24255 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
24256 size of the buffer. Add Dprint for truncated UDP buffer.
24257
24258 2016-02-14 Carlos O'Donell <carlos@redhat.com>
24259
24260 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
24261 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
24262 * INSTALL: Regenerate.
24263
24264 2016-02-14 Jakub Jelinek <jakub@redhat.com>
24265 Jonathan Wakely <jwakely@redhat.com>
24266 Carlos O'Donell <carlos@redhat.com>
24267
24268 [BZ 19439]
24269 * math/Makefile (tests): Add test-math-isinff.
24270 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
24271 * math/bits/mathcalls.h [__USE_MISC]: Use
24272 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
24273 functions not in C++11 and which don't conflict e.g. isinff,
24274 isinfl etc.
24275 * math/test-math-isinff.cc: New file.
24276
24277 2016-02-12 Florian Weimer <fweimer@redhat.com>
24278
24279 * misc/bug18240.c (do_test): Set RLIMIT_AS.
24280
24281 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
24282
24283 [BZ #19529]
24284 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
24285
24286 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24287
24288 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
24289
24290 2016-02-01 Joseph Myers <joseph@codesourcery.com>
24291
24292 [BZ #19550]
24293 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
24294 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
24295 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
24296 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
24297 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
24298 New syscall entry.
24299 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
24300 New syscall entry.
24301 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
24302 syscall entry.
24303
24304 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
24305
24306 [BZ #18240]
24307 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
24308 unsigned int wraparound.
24309
24310 2016-01-27 Florian Weimer <fweimer@redhat.com>
24311
24312 [BZ #18240]
24313 * misc/bug18240.c: New test.
24314 * misc/Makefile (tests): Add it.
24315
24316 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
24317 Joseph Myers <joseph@codesourcery.com>
24318
24319 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
24320 load in branch delay slot when less than a word of input left.
24321
24322 2016-01-27 Andreas Schwab <schwab@suse.de>
24323
24324 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
24325 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
24326 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
24327 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
24328
24329 2016-01-26 David S. Miller <davem@davemloft.net>
24330
24331 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
24332
24333 2016-01-25 David S. Miller <davem@davemloft.net>
24334
24335 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
24336 __sqrtl_finite.
24337 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
24338 instead using versioned_symbol.
24339 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
24340 of entries.
24341
24342 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
24343 __sqrtl_finite to GLIBC_2.23
24344
24345 2016-01-25 Ricchard Henderson <rth@redhat.com>
24346
24347 * sysdeps/alpha/fpu/libm-test-ulps: Update.
24348
24349 2016-01-25 Andreas Schwab <schwab@suse.de>
24350
24351 [BZ #17514]
24352 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
24353 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
24354 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
24355 * nptl/tst-mutex-errorcheck.c: New file.
24356
24357 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24358
24359 [BZ #18560]
24360 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
24361 (IPCOP_semop): Likewise.
24362 (IPCOP_semget): Likewise.
24363 (IPCOP_semctl): Likewise.
24364 (IPCOP_msgsnd): Likewise.
24365 (IPCOP_msgrcv): Likewise.
24366 (IPCOP_msgget): Likewise.
24367 (IPCOP_msgctl): Likewise.
24368 (IPCOP_shmat): Likewise.
24369 (IPCOP_shmdt): Likewise.
24370 (IPCOP_shmget): Likewise.
24371 (IPCOP_shmctl): Likewise.
24372
24373 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
24374
24375 * string/tst-endian.c: Include <libc-internal.h>.
24376 (do_test): Ignore tautological-compare warnings around
24377 "htobeXX (beXXtoh (i)) != i" and
24378 "htoleXX (leXXtoh (i)) != i" if-statements.
24379
24380 2016-01-24 David S. Miller <davem@davemloft.net>
24381
24382 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
24383 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
24384 alias.
24385 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24386 __sqrtl_finite.
24387
24388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24389
24390 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
24391
24392 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
24393 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
24394 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24395
24396 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24397
24398 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
24399 (thread_func): Use new function to simplify barrier check.
24400 (do_test): Use new function to simplify checking barrier exit
24401 code, and actually join the child thread.
24402
24403 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24404
24405 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
24406 semicolon.
24407 (__libc_tend): Likewise.
24408 (__libc_tabort): Likewise.
24409
24410 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
24411
24412 * sysdeps/nios2/libm-test-ulps: Update.
24413 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
24414 (__gtsf2): Likewise.
24415 (__unorddf2): Likewise.
24416 (__unordsf2): Likewise.
24417 (__ledf2): Likewise.
24418
24419 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
24420
24421 * nis/nis_table.c (__follow_path): Disable diagnostic for
24422 uninitialized variable that is a false positive for gcc 4.7.
24423 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
24424
24425 2016-01-20 Roland McGrath <roland@hack.frob.com>
24426
24427 * sysdeps/nacl/lowlevellock-futex.h
24428 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
24429 Always evaluate PRIVATE argument.
24430
24431 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
24432
24433 [BZ #19490]
24434 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
24435 (pthread_cond_broadcast): Use ENTRY/END
24436 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
24437 (pthread_cond_signal): Likewise.
24438 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
24439 Likewise.
24440 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
24441 Likewise.
24442 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
24443 Likewise.
24444
24445 2016-01-20 Joseph Myers <joseph@codesourcery.com>
24446
24447 * sysdeps/ieee754/dbl-64/s_finite.c
24448 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
24449 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
24450 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
24451 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
24452 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
24453
24454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
24455 (__gtsf2): Add as optional for libc.so.
24456 (__unordsf2): Likewise.
24457 (__signbit): Remove for libc.so.
24458 (__signbitl): Likewise.
24459
24460 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24461
24462 * iconvdata/bug-iconv11.c (test_ibm93x):
24463 Use %zu printf format specifier for size_t argument.
24464
24465 2016-01-19 Joseph Myers <joseph@codesourcery.com>
24466
24467 * math/gen-libm-test.pl (parse_ulps): Do not reduce
24468 already-recorded ulps.
24469 * sysdeps/arm/libm-test-ulps: Regenerated.
24470 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24471 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24472 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24473
24474 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
24475 Paul Pluzhnikov <ppluzhnikov@google.com>
24476
24477 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
24478 assembler not supporting AVX-512.
24479
24480 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
24481
24482 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24483
24484 2016-01-18 Joseph Myers <joseph@codesourcery.com>
24485
24486 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24487 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24488
24489 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24490
24491 * sysdeps/arm/libm-test-ulps: Regenerated.
24492
24493 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24494
24495 [BZ #19451]
24496 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
24497
24498 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
24499
24500 [BZ #19486]
24501 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
24502 * sysdeps/generic/fix-fp-int-convert-overflow.h
24503 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
24504 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
24505 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
24506 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
24507 Likewise.
24508 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
24509 Avoid conversions to long int where inexact exceptions
24510 could be raised.
24511 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
24512 Likewise.
24513 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
24514 Avoid conversions to long long int where inexact exceptions
24515 could be raised.
24516 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
24517 Likewise.
24518
24519 2016-01-17 Mike Frysinger <vapier@gentoo.org>
24520
24521 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
24522 * configure: Regenerated.
24523
24524 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
24525
24526 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
24527
24528 2016-01-16 Mike Frysinger <vapier@gentoo.org>
24529
24530 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
24531 outside of comment.
24532
24533 2016-01-15 Torvald Riegel <triegel@redhat.com>
24534
24535 * nptl/tst-barrier1.c: Add description on first line.
24536 * nptl/tst-barrier2.c: Likewise.
24537 * nptl/tst-barrier3.c: Likewise.
24538 * nptl/tst-barrier4.c: Likewise.
24539 * nptl/tst-barrier5.c: Likewise.
24540
24541 2016-01-15 Torvald Riegel <triegel@redhat.com>
24542
24543 [BZ #18868]
24544 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
24545
24546 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
24547
24548 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
24549 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
24550 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
24551 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
24552 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
24553 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
24554 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24555 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24556 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24557 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24558 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24559
24560 2016-01-15 Torvald Riegel <triegel@redhat.com>
24561
24562 [BZ #13065]
24563 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
24564 new implementation.
24565 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
24566 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
24567 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
24568 (BARRIER_IN_THRESHOLD): New macro.
24569 * nptl/pthread_barrierattr_setpshared.c
24570 (pthread_barrierattr_setpshared): Clean up.
24571 * nptl/tst-barrier4.c: Correct comment.
24572 * nptl/tst-barrier5.c: New file.
24573 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
24574 (gen-as-const-headers): Remove lowlevelbarrier.sym.
24575 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
24576 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
24577 * nptl/lowlevelbarrier.sym: Remove.
24578 * nptl/DESIGN-barrier.txt: Remove.
24579 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
24580 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
24581 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
24582 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
24583 error.
24584 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
24585 implementation.
24586
24587 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24588
24589 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
24590 (do_child): Mask SIGRTMIN while thr is running.
24591
24592 2016-01-15 Martin Sebor <msebor@redhat.com>
24593
24594 [BZ #19432]
24595 * iconvdata/Makefile: Add bug-iconv11.
24596 * iconvdata/bug-iconv11.c: New test.
24597 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
24598 * iconvdata/ibm933.c: Same.
24599 * iconvdata/ibm935.c: Same.
24600 * iconvdata/ibm937.c: Same.
24601 * iconvdata/ibm939.c: Same.
24602
24603 2016-01-15 Martin Sebor <msebor@redhat.com>
24604
24605 [BZ #19443]
24606 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
24607 [DEBUG] (_ufc_set_bits): Declare used.
24608 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
24609 [DEBUG] (print_all): Declare used.
24610 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
24611 operands of the ternary ?: expression to target type.
24612 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
24613 calling the undeclared abort.
24614 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
24615
24616 2016-01-15 Martin Sebor <msebor@redhat.com>
24617
24618 [BZ #18755]
24619 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
24620 warnings.
24621 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
24622 (__gai_create_helper_thread): Same.
24623 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
24624 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
24625 to suppress -Wmaybe-uninitialized warnings.
24626
24627 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
24628
24629 [BZ #19465]
24630 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
24631 inside if.
24632 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24633 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24634 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24635
24636 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
24637
24638 [BZ #19466]
24639 * time/tst-mktime2.c (time_t_max): Removed.
24640 (time_t_min): Likewise.
24641 (TYPE_SIGNED): New.
24642 (TYPE_MINIMUM): Likewise.
24643 (TYPE_MAXIMUM): Likewise.
24644 (TIME_T_MIN): Likewise.
24645 (TIME_T_MAX): Likewise.
24646 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
24647 and TIME_T_MIN.
24648 (do_test): Likewise.
24649
24650 2016-01-14 Amit Pawar <amit.pawar@amd.com>
24651
24652 [BZ #19467]
24653 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
24654 index_Fast_Unaligned_Load flag for Excavator family CPUs.
24655
24656 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
24657
24658 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
24659
24660 2016-01-13 Carlos O'Donell <carlos@redhat.com>
24661
24662 * benchtests/Makefile (PYTHON): Define.
24663 (bench-func): Use $(PYTHON) to run python scripts.
24664 ($(objpfx)bench-%.c): Likewise.
24665
24666 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
24667
24668 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
24669 leading slash when `file_name' is "/".
24670
24671 2016-01-12 Joseph Myers <joseph@codesourcery.com>
24672
24673 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
24674 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
24675 Likewise.
24676 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
24677 Likewise.
24678 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
24679 Likewise.
24680 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
24681 enum constant and macro.
24682 (PTRACE_SETSIGMASK): Likewise.
24683 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24684 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
24685 (PTRACE_GETSIGMASK): Likewise.
24686 (PTRACE_SETSIGMASK): Likewise.
24687 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24688 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
24689 Likewise.
24690 (PTRACE_SETSIGMASK): Likewise.
24691 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24692 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
24693 (PTRACE_GETSIGMASK): Likewise.
24694 (PTRACE_SETSIGMASK): Likewise.
24695 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24696 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
24697 Likewise.
24698 (PTRACE_SETSIGMASK): Likewise.
24699 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24700 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
24701 Likewise.
24702 (PTRACE_SETSIGMASK): Likewise.
24703 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24704 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
24705 Likewise.
24706 (PTRACE_SETSIGMASK): Likewise.
24707 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24708
24709 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
24710 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24711
24712 [BZ #19439]
24713 * math/bits/mathcalls.h
24714 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
24715 prototype.
24716 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
24717
24718 2016-01-11 Andreas Schwab <schwab@suse.de>
24719
24720 [BZ #19253]
24721 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
24722 cache when TZDEFRULES was used.
24723 * time/tst-tzname.c: New file.
24724 * time/Makefile (test): Add tst-tzname.
24725 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
24726 * timezone/Makefile (test-zones): Add $(posixrules-file).
24727 ($(testdata)/$(posixrules-file)): New rule.
24728
24729 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
24730
24731 Fix doc quoting problems with Texinfo 5
24732 Without this change, in the info file output, Texinfo 5 quotes code
24733 in text with undirected single quotes 'like this' and generates
24734 code examples that with many PDF readers cannot be cut out of PDFs
24735 and pasted into code.
24736 * manual/libc.texinfo: Configure the libc manual like the GNU
24737 Emacs manual, by using @documentencoding and setting
24738 txicodequoteundirected and txicodequotebacktick. This way,
24739 Texinfo 5 quotes code in text with directed single quotes ‘like
24740 this’ and produces examples that can be cut out of PDFs. This
24741 change causes Texinfo 5 to generate info files that contain UTF-8
24742 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
24743 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
24744
24745 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24746
24747 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
24748 __libc_tabort, __libc_tend): New wrappers that enforce compiler
24749 barriers to their respective compiler built-ins.
24750 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
24751 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
24752 * sysdeps/powerpc/sysdep.h: Likewise.
24753 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
24754 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
24755 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
24756
24757 2016-01-08 Marko Myllynen <myllynen@redhat.com>
24758
24759 * scripts/config.guess: Revert previous shebang change.
24760 * scripts/config.sub: Likewise.
24761 * scripts/mkinstalldirs: Likewise.
24762
24763 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
24764
24765 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
24766 PPC_FEATURE2_HAS_IEEE128.
24767 * sysdeps/powerpc/dl-procinfo.c:
24768 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
24769
24770 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
24771
24772 [BZ #19415]
24773 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
24774 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
24775 (_dl_lookup_address): Rewrite using function resolver trampoline.
24776 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
24777 two bits in address.
24778
24779 2016-01-07 Mike Frysinger <vapier@gentoo.org>
24780
24781 * longlong.h: Change !__SHMEDIA__ to
24782 (!defined (__SHMEDIA__) || !__SHMEDIA__).
24783 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
24784
24785 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
24786 Joseph Myers <joseph@codesourcery.com>
24787 Mark Shinwell <shinwell@codesourcery.com>
24788 Andrew Stubbs <ams@codesourcery.com>
24789 Rich Felker <dalias@libc.org>
24790
24791 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
24792
24793 2016-01-07 Richard Henderson <rth@redhat.com>
24794
24795 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
24796
24797 2016-01-07 Mike Frysinger <vapier@gentoo.org>
24798
24799 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
24800 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
24801 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24802 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24803 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
24804
24805 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
24806 Joseph Myers <joseph@codesourcery.com>
24807
24808 * timezone/private.h: Update from tzcode 2015g.
24809 * timezone/tzfile.h: Likewise.
24810 * timezone/tzselect.ksh: Likewise.
24811 * timezone/zdump.c: Likewise.
24812 * timezone/zic.c: Likewise.
24813 * timezone/ialloc.c: Remove file.
24814 * timezone/scheck.c: Likewise.
24815 * timezone/Makefile (extra-objs): Remove variable.
24816 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
24817 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
24818 -Wno-maybe-uninitialized.
24819 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
24820 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
24821 (CFLAGS-ialloc.c): Remove variable.
24822 (CFLAGS-scheck.c): Likewise.
24823 * timezone/README: Update list of files from tzcode.
24824
24825 2016-01-07 Khem Raj <raj.khem@gmail.com>
24826
24827 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
24828 instead of __fxprintf when _LIBC is undefined.
24829
24830 2016-01-07 Marko Myllynen <myllynen@redhat.com>
24831
24832 * catgets/test-gencat.sh: Remove space after shebang.
24833 * conform/GlibcConform.pm: Likewise.
24834 * conform/check-header-lists.sh: Likewise.
24835 * conform/conformtest.pl: Likewise.
24836 * conform/linknamespace.pl: Likewise.
24837 * conform/list-header-symbols.pl: Likewise.
24838 * debug/catchsegv.sh: Likewise.
24839 * elf/genrtldtbl.awk: Likewise.
24840 * elf/tst-pathopt.sh: Likewise.
24841 * elf/tst-rtld-load-self.sh: Likewise.
24842 * grp/tst_fgetgrent.sh: Likewise.
24843 * iconvdata/gen-8bit-gap-1.sh: Likewise.
24844 * iconvdata/gen-8bit-gap.sh: Likewise.
24845 * iconvdata/gen-8bit.sh: Likewise.
24846 * iconvdata/run-iconv-test.sh: Likewise.
24847 * intl/tst-gettext.sh: Likewise.
24848 * intl/tst-gettext2.sh: Likewise.
24849 * intl/tst-gettext4.sh: Likewise.
24850 * intl/tst-gettext6.sh: Likewise.
24851 * intl/tst-translit.sh: Likewise.
24852 * io/ftwtest-sh: Likewise.
24853 * libio/test-freopen.sh: Likewise.
24854 * locale/gen-translit.pl: Likewise.
24855 * malloc/tst-mtrace.sh: Likewise.
24856 * manual/check-safety.sh: Likewise.
24857 * manual/libc-texinfo.sh: Likewise.
24858 * manual/tsort.awk: Likewise.
24859 * manual/xtract-typefun.awk: Likewise.
24860 * nptl/tst-cancel-wrappers.sh: Likewise.
24861 * nptl/tst-tls6.sh: Likewise.
24862 * posix/globtest.sh: Likewise.
24863 * posix/tst-getconf.sh: Likewise.
24864 * posix/wordexp-tst.sh: Likewise.
24865 * scripts/check-c++-types.sh: Likewise.
24866 * scripts/check-local-headers.sh: Likewise.
24867 * scripts/config.guess: Likewise.
24868 * scripts/config.sub: Likewise.
24869 * scripts/cpp: Likewise.
24870 * scripts/cross-test-ssh.sh: Likewise.
24871 * scripts/documented.sh: Likewise.
24872 * scripts/evaluate-test.sh: Likewise.
24873 * scripts/gen-libc-abis: Likewise.
24874 * scripts/gen-sorted.awk: Likewise.
24875 * scripts/list-fixed-bugs.py: Likewise.
24876 * scripts/merge-test-results.sh: Likewise.
24877 * scripts/mkinstalldirs: Likewise.
24878 * scripts/rellns-sh: Likewise.
24879 * scripts/test-installation.pl: Likewise.
24880 * scripts/update-copyrights: Likewise.
24881 * stdio-common/tst-printf.sh: Likewise.
24882 * stdio-common/tst-unbputc.sh: Likewise.
24883 * stdlib/tst-fmtmsg.sh: Likewise.
24884 * stdlib/tst-setcontext3.sh: Likewise.
24885 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
24886 * sysdeps/unix/make-syscalls.sh: Likewise.
24887
24888 2016-01-06 John David Anglin <dave.anglin@bell.net>
24889
24890 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
24891 asm stw with atomic_exchange_rel. Add explanatory comment.
24892 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
24893 Likewise.
24894
24895 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
24896
24897 [BZ #19122]
24898 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
24899 * sysdeps/generic/dl-unistd.h: New file.
24900 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
24901
24902 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
24903
24904 [BZ #19122]
24905 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
24906 * sysdeps/generic/dl-mman.h: New file.
24907 * sysdeps/mach/hurd/dl-mman.h: Likewise.
24908
24909 2016-01-05 Joseph Myers <joseph@codesourcery.com>
24910
24911 * manual/texinfo.tex: Update to version 2016-01-04.21 with
24912 trailing whitespace removed.
24913 * scripts/config.guess: Update to version 2016-01-01.
24914 * scripts/config.sub: Update to version 2016-01-01.
24915 * scripts/move-if-change: Update from gnulib.
24916
24917 2016-01-04 Anton Blanchard <anton@samba.org>
24918
24919 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
24920 for array indices.
24921 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
24922
24923 2016-01-04 Joseph Myers <joseph@codesourcery.com>
24924
24925 * NEWS: Update copyright dates.
24926 * catgets/gencat.c (print_version): Likewise.
24927 * csu/version.c (banner): Likewise.
24928 * debug/catchsegv.sh: Likewise.
24929 * debug/pcprofiledump.c (print_version): Likewise.
24930 * debug/xtrace.sh (do_version): Likewise.
24931 * elf/ldconfig.c (print_version): Likewise.
24932 * elf/ldd.bash.in: Likewise.
24933 * elf/pldd.c (print_version): Likewise.
24934 * elf/sotruss.sh: Likewise.
24935 * elf/sprof.c (print_version): Likewise.
24936 * iconv/iconv_prog.c (print_version): Likewise.
24937 * iconv/iconvconfig.c (print_version): Likewise.
24938 * locale/programs/locale.c (print_version): Likewise.
24939 * locale/programs/localedef.c (print_version): Likewise.
24940 * login/programs/pt_chown.c (print_version): Likewise.
24941 * malloc/memusage.sh (do_version): Likewise.
24942 * malloc/memusagestat.c (print_version): Likewise.
24943 * malloc/mtrace.pl: Likewise.
24944 * manual/libc.texinfo: Likewise.
24945 * nptl/version.c (banner): Likewise.
24946 * nscd/nscd.c (print_version): Likewise.
24947 * nss/getent.c (print_version): Likewise.
24948 * nss/makedb.c (print_version): Likewise.
24949 * posix/getconf.c (main): Likewise.
24950 * scripts/test-installation.pl: Likewise.
24951 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
24952
24953 * All files with FSF copyright notices: Update copyright dates
24954 using scripts/update-copyrights.
24955 * intl/plural.c: Regenerated.
24956 * locale/programs/charmap-kw.h: Likewise.
24957 * locale/programs/locfile-kw.h: Likewise.
24958
24959 2016-01-02 Helge Deller <deller@gmx.de>
24960
24961 [BZ #19285]
24962 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
24963 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
24964 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
24965 (MADV_xxK_PAGES): Remove.
24966
24967 2016-01-01 Mike Frysinger <vapier@gentoo.org>
24968
24969 [BZ #15421]
24970 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
24971 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
24972 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
24973 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
24974
24975 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
24976
24977 [BZ #19408]
24978 * sysdeps/unix/sysv/linux/personality.c: New file.
24979 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
24980 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
24981 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
24982 (sysdep_routines): Add personality.
24983 (tests): Add tst-personality.
24984 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
24985 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
24986 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
24987 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
24988 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
24989 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
24990 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
24991 Likewise.
24992 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
24993 Likewise.
24994 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
24995 Likewise.
24996 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
24997 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
24998 Likewise.
24999
25000 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
25001
25002 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
25003 (PATH_ARM_SYSTYPE): Remove.
25004 (PATH_CPUINFO): Likewise.
25005 (IO_BASE_FOOTBRIDGE): Likewise.
25006 (IO_SHIFT_FOOTBRIDGE): Likewise.
25007 (struct platform): Likewise.
25008 (init_iosys): Remove compatibility code for 2.4 kernels.
25009 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
25010
25011 2015-12-29 Florian Weimer <fweimer@redhat.com>
25012
25013 * malloc/tst-malloc-thread-fail.c: New file.
25014 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
25015 (tst-malloc-thread-fail): Link against libpthread.
25016
25017 2015-12-29 Mike Frysinger <vapier@gentoo.org>
25018
25019 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
25020 (get_parser): New function.
25021 (main): New function.
25022
25023 2015-12-29 Rob Wu <rob@robwu.nl>
25024
25025 [BZ #19369]
25026 * resolv/res_init.c (__res_vinit): Reset defdname before use.
25027
25028 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
25029
25030 [BZ #19270]
25031 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
25032
25033 2015-12-28 Mike Frysinger <vapier@gentoo.org>
25034
25035 [BZ #15421]
25036 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
25037
25038 2015-12-23 Torvald Riegel <triegel@redhat.com>
25039
25040 [BZ #13690]
25041 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
25042 after releasing it.
25043 (__lll_robust_unlock): Likewise.
25044 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
25045 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
25046 (lll_robust_unlock): Likewise.
25047 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
25048 Prevent warnings in callers.
25049
25050 2015-12-23 Florian Weimer <fweimer@redhat.com>
25051
25052 * malloc/arena.c (list_lock): Update comment.
25053
25054 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25055
25056 * sysdeps/powerpc/hwcapinfo.c: Export symbol
25057 __parse_hwcap_and_convert_at_platform to libc.a.
25058
25059 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25060
25061 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
25062 platform and feature support for POWER9.
25063 * sysdeps/powerpc/dl-procinfo.h: Likewise.
25064 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
25065 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
25066 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
25067 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
25068 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
25069 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
25070 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
25071
25072 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25073
25074 Harmonize generic stdio-lock support with nptl
25075
25076 This fixes build when _IO_funlockfile is a macro, fixes build where
25077 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
25078 stack unwind.
25079
25080 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
25081 _IO_release_lock ): Use cleanup attribute on new
25082 _IO_acquire_lock_file variable instead of assuming that
25083 _IO_release_lock will be called.
25084 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
25085 _IO_acquire_lock_needs_exceptions_enabled.
25086 (_IO_acquire_lock_clear_flags2): New macro.
25087
25088 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25089
25090 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
25091
25092 2015-12-21 Florian Weimer <fweimer@redhat.com>
25093
25094 [BZ #19182]
25095 * malloc/arena.c (list_lock): Document lock ordering requirements.
25096 (free_list_lock): New lock.
25097 (ptmalloc_lock_all): Comment on free_list_lock.
25098 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
25099 (detach_arena): Update comment. free_list_lock is now needed.
25100 (_int_new_arena): Use free_list_lock around detach_arena call.
25101 Acquire arena lock after list_lock. Add comment, including FIXME
25102 about incorrect synchronization.
25103 (get_free_list): Switch to free_list_lock.
25104 (reused_arena): Acquire free_list_lock around detach_arena call
25105 and attached threads counter update. Add two FIXMEs about
25106 incorrect synchronization.
25107 (arena_thread_freeres): Switch to free_list_lock.
25108 * malloc/malloc.c (struct malloc_state): Update comments to
25109 mention free_list_lock.
25110
25111 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
25112
25113 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
25114 Remove functions.
25115 (sloww, sloww1): Accept argument to offset quadrant.
25116 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
25117 quadrant.
25118 (__sin, __cos): Consolidate common code into new functions.
25119 (reduce_sincos_1, do_sincos_1): New functions.
25120 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25121
25122 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
25123 code to new functions.
25124 (reduce_sincos_2, do_sincos_2): New functions.
25125 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25126
25127 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
25128 common code for sincos.
25129 (__cos) [!IN_SINCOS]: Likewise.
25130 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
25131 New function.
25132 (__sincos): Use it.
25133
25134 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
25135
25136 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
25137 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
25138 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25139
25140 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
25141
25142 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
25143 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
25144 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
25145 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
25146 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25147 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
25148 index_Prefer_No_VZEROUPPER): New feature.
25149 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
25150 Prefer_No_VZEROUPPER for Knights Landing.
25151
25152 015-12-18 Torvald Riegel <triegel@redhat.com>
25153
25154 * math/atest-exp2.c (mp_exp_m1): Remove.
25155
25156 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25157
25158 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
25159 syscalls.
25160 (__SYSCALL0): New macro.
25161 (__SYSCALL1): Likewise.
25162 (__SYSCALL2): Likewise.
25163 (__SYSCALL3): Likewise.
25164 (__SYSCALL4): Likewise.
25165 (__SYSCALL5): Likewise.
25166 (__SYSCALL6): Likewise.
25167 (__SYSCALL_CONCAT_X): Likewise.
25168 (__SYSCALL_CONCAT): Likewise.
25169 (__SYSCALL_DIST): Likewise.
25170 (__SYSCALL_CALL): Likewise.
25171
25172 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
25173
25174 [BZ #19363]
25175 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
25176
25177 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25178
25179 [BZ #19375]
25180 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
25181 negative subnormals.
25182
25183 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
25184
25185 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
25186 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
25187 (INTERNAL_SYSCALL_NCS): Use it.
25188 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25189
25190 2015-12-16 Florian Weimer <fweimer@redhat.com>
25191
25192 [BZ #19243]
25193 * malloc/arena.c (get_free_list): Remove assert and adjust
25194 reference count handling. Add comment about reused_arena
25195 interaction.
25196 (reused_arena): Add comments abount get_free_list interaction.
25197 * malloc/tst-malloc-thread-exit.c: New file.
25198 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
25199 (tst-malloc-thread-exit): Link against libpthread.
25200
25201 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
25202
25203 [BZ #19367]
25204 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
25205 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
25206 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
25207 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
25208 (index_Prefer_MAP_32BIT_EXEC): Likewise.
25209
25210 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
25211
25212 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
25213 Silvermont optimizations for Knights Landing.
25214
25215 2015-12-15 Andreas Schwab <schwab@suse.de>
25216
25217 [BZ #17197]
25218 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
25219 immediately after emitting SI.
25220 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
25221 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
25222 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
25223 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
25224 * iconvdata/bug-iconv10.c: New file.
25225 * iconvdata/Makefile (tests): Add bug-iconv10.
25226 ($(objpfx)bug-iconv10.out): New rule.
25227
25228 2015-12-15 Florian Weimer <fweimer@redhat.com>
25229
25230 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
25231 aliasing violation.
25232
25233 2015-12-14 Joseph Myers <joseph@codesourcery.com>
25234
25235 [BZ #18472]
25236 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
25237 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
25238 conditionals for them.
25239 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
25240 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
25241 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
25242 sys/kdaemon.h.
25243 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
25244 compat-only syscall, obsoleted in glibc 2.23.
25245 (create_module): Likewise.
25246 (get_kernel_syms): Likewise.
25247 (query_module): Likewise.
25248 (uselib): Likewise.
25249 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
25250
25251 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
25252
25253 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
25254 <linux/version.h>.
25255 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
25256 conditional code.
25257 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
25258 and ioshift_name initialization.
25259
25260 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
25261
25262 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
25263 Fix indentation.
25264
25265 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
25266
25267 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
25268
25269 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
25270
25271 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
25272
25273 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
25274 Jakub Wilk <jwilk@debian.org>
25275
25276 [BZ #19347]
25277 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
25278 to change the group of the device to the tty group.
25279
25280 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
25281
25282 Split large string section; add truncation advice
25283 * manual/examples/strncat.c: Remove.
25284 This example was misleading, as the code would have undefined
25285 behavior if "hello" was longer than SIZE. Anyway, the manual
25286 shouldn't encourage strncpy+strncat for this sort of thing.
25287 * manual/string.texi (Copying Strings and Arrays): Split into
25288 three sections Copying Strings and Arrays, Concatenating Strings,
25289 and Truncating Strings, as this section was way too long. All
25290 cross-referenced changed. Add advice about string-truncation
25291 functions. Remove misleading strncat example.
25292
25293 2015-12-10 Carlos O'Donell <carlos@redhat.com>
25294
25295 * manual/nss.texi (NSS Modules Interface): Document
25296 NSS_STATUS_NOTFOUND and SUCCESS.
25297
25298 2015-12-09 Mike FABIAN <mfabian@redhat.com>
25299
25300 [BZ 18568]
25301 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
25302 201505L, for Unicode 8.
25303
25304 2015-12-09 Carlos O'Donell <carlos@redhat.com>
25305
25306 * locale/C-translit.h: Regenerate.
25307
25308 2015-12-09 Mike FABIAN <mfabian@redhat.com>
25309
25310 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
25311 and U+0153.
25312
25313 2015-12-09 Joseph Myers <joseph@codesourcery.com>
25314
25315 [BZ #19351]
25316 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
25317 expanding log(1+z), compare z rather than its square with epsilon
25318 to determine when to avoid evaluating the expansion.
25319
25320 [BZ #19350]
25321 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
25322 Increase overflow threshold.
25323
25324 [BZ #19349]
25325 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
25326 when small.
25327
25328 * sysdeps/unix/sysv/linux/i386/kernel-features.h
25329 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25330 New macro.
25331 [__LINUX_KERNEL_VERSION >= 0x040300]
25332 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25333 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25334 Likewise.
25335 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25336 Likewise.
25337 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25338 Likewise.
25339 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25340 Likewise.
25341 [__LINUX_KERNEL_VERSION >= 0x040300]
25342 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25343 [__LINUX_KERNEL_VERSION >= 0x040300]
25344 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25345 [__LINUX_KERNEL_VERSION >= 0x040300]
25346 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25347 [__LINUX_KERNEL_VERSION >= 0x040300]
25348 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25349 [__LINUX_KERNEL_VERSION >= 0x040300]
25350 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25351 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25352 Likewise.
25353 [__LINUX_KERNEL_VERSION >= 0x040300]
25354 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25355 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25356 Likewise.
25357 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25358 Likewise.
25359 [__LINUX_KERNEL_VERSION >= 0x040300]
25360 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25361 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25362 Likewise.
25363 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25364 Likewise.
25365 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25366 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
25367 Likewise.
25368 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
25369 Likewise.
25370 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25371 Likewise.
25372 [__LINUX_KERNEL_VERSION >= 0x040300]
25373 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25374 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25375 Likewise.
25376 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25377 Likewise.
25378 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25379 Likewise.
25380 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25381 Likewise.
25382 [__LINUX_KERNEL_VERSION >= 0x040300]
25383 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25384 [__LINUX_KERNEL_VERSION >= 0x040300]
25385 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25386 [__LINUX_KERNEL_VERSION >= 0x040300]
25387 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25388 [__LINUX_KERNEL_VERSION >= 0x040300]
25389 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25390 [__LINUX_KERNEL_VERSION >= 0x040300]
25391 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25392 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25393 Likewise.
25394 [__LINUX_KERNEL_VERSION >= 0x040300]
25395 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25396 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25397 Likewise.
25398 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25399 Likewise.
25400 [__LINUX_KERNEL_VERSION >= 0x040300]
25401 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25402 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25403 Likewise.
25404 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25405 Likewise.
25406 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25407 (__ASSUME_SOCKET_SYSCALL): Likewise.
25408 (__ASSUME_BIND_SYSCALL): Likewise.
25409 (__ASSUME_CONNECT_SYSCALL): Likewise.
25410 (__ASSUME_LISTEN_SYSCALL): Likewise.
25411 (__ASSUME_ACCEPT_SYSCALL): Likewise.
25412 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25413 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25414 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25415 (__ASSUME_SEND_SYSCALL): Likewise.
25416 (__ASSUME_SENDTO_SYSCALL): Likewise.
25417 (__ASSUME_RECV_SYSCALL): Likewise.
25418 (__ASSUME_RECVFROM_SYSCALL): Likewise.
25419 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
25420 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25421 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25422 (__ASSUME_SENDMSG_SYSCALL): Likewise.
25423 (__ASSUME_RECVMSG_SYSCALL): Likewise.
25424 * sysdeps/unix/sysv/linux/sh/kernel-features.h
25425 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
25426 Likewise.
25427 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
25428 Likewise.
25429 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
25430 Likewise.
25431 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
25432 Likewise.
25433 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
25434 Likewise.
25435 [__LINUX_KERNEL_VERSION >= 0x020625]
25436 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25437 [__LINUX_KERNEL_VERSION >= 0x020625]
25438 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25439 [__LINUX_KERNEL_VERSION >= 0x020625]
25440 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25441 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
25442 Likewise.
25443 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
25444 Likewise.
25445 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
25446 Likewise.
25447 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
25448 Likewise.
25449 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
25450 Likewise.
25451 [__LINUX_KERNEL_VERSION >= 0x020625]
25452 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25453 [__LINUX_KERNEL_VERSION >= 0x020625]
25454 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25455 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
25456 Likewise.
25457 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
25458 Likewise.
25459
25460 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
25461
25462 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
25463 record the current if the current ABI and CPU support the FP64
25464 extension.
25465 (has-modd-spreg): Define to record the current if the current ABI and
25466 CPU support 32-bit floating point values in odd FPU registers.
25467 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25468 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
25469 $(has-modd-spreg) equals yes.
25470 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
25471 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
25472 $(has-modd-spreg) equal yes.
25473
25474 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
25475
25476 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
25477 basename.
25478
25479 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
25480
25481 * benchtests/Makefile (bench-math): Move ffs and ffsll...
25482 (bench-string): ... here.
25483 (bench): Add bench-string.
25484 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
25485 to *-benchset to reflect what they are.
25486 (benchset): Adjust.
25487
25488 * benchtests/sincos-inputs: Add inputs from sin-inputs and
25489 cos-inputs.
25490
25491 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
25492
25493 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
25494 __attribute__ ((__simd__)) for vector math function declarations.
25495
25496 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
25497
25498 Fix typo in strncat, wcsncat manual entries
25499 * manual/string.texi (Copying and Concatenation): Fix typos in
25500 sample implementations of strncat and wcsncat, by having them use
25501 the old value of the destination length, not the new one.
25502
25503 2015-12-04 Joseph Myers <joseph@codesourcery.com>
25504
25505 [BZ #16961]
25506 [BZ #16962]
25507 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
25508 string on the stack for strtod.
25509 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
25510 a string on the stack for strtof.
25511 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
25512 constructing a string on the stack for strtold.
25513 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
25514 __strtold_nan to GLIBC_PRIVATE.
25515 * math/test-nan-overflow.c: New file.
25516 * math/test-nan-payload.c: Likewise.
25517 * math/Makefile (tests): Add test-nan-overflow and
25518 test-nan-payload.
25519
25520 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
25521
25522 Consistency about byte vs character in string.texi
25523 * manual/string.texi (String and Array Utilities):
25524 Distinguish more carefully among bytes, multibyte characters,
25525 and wide characters. Use "byte" when talking about C 'char',
25526 to distinguish it more clearly from multibyte characters.
25527 Say "wide character" or "multibyte character" instead of
25528 "character", when a wide or multibyte character is intended.
25529 Similarly for "multibyte string" versus "string".
25530 Define these terms more carefully.
25531
25532 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
25533
25534 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
25535 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
25536 Likewise.
25537 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25538 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25539 * sysdeps/sh/math_private.h: New file.
25540 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
25541 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
25542 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
25543 long double function name.
25544 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25545 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25546 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25547 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25548 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25550 Remove __finitel, __isinfl, and __isnanl.
25551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25552 Likewise.
25553 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25555 Remove __finitel.
25556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25557 Likewise.
25558 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25559
25560 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
25561
25562 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
25563 installed libmvec_nonshared.a.
25564
25565 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25566
25567 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
25568 (sysdep_routines): Likewise.
25569 (sysdep-rtld-routines): Likewise.
25570 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
25571 [$(subdir) = nptl](tests-static): test-get_hwcap-static
25572 * sysdeps/powerpc/Versions: Added new
25573 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
25574 * sysdeps/powerpc/hwcapinfo.c: New file.
25575 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
25576 and parse hwcap, hwcap2 and platform number information.
25577 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
25578 to store HWCAP+HWCAP2 and platform number.
25579 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
25580 for HWCAP+HWCAP2 and platform number in the TCB.
25581 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
25582 the HWCAP, HWCAP2 and platform number in the TCB.
25583 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
25584 (TLS_INIT_TP): Included calls to add the hwcap and
25585 at_platform values in the TCB in TP initialization.
25586 (TLS_DEFINE_INIT_TP): Likewise.
25587 (THREAD_GET_HWCAP): New macro.
25588 (THREAD_SET_HWCAP): Likewise.
25589 (THREAD_GET_AT_PLATFORM): Likewise.
25590 (THREAD_SET_AT_PLATFORM): Likewise.
25591 * sysdeps/powerpc/powerpc32/dl-machine.h:
25592 (dl_platform_init): New function that calls
25593 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
25594 powerpc32.
25595 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
25596 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
25597 this functionality, static linking case.
25598 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
25599 linking case.
25600 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
25601 __parse_hwcap_and_convert_at_platform for the static linking case.
25602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
25603 Included the new __parse_hwcap_and_convert_at_platform symbol in the
25604 ABI list for GLIBC 2.23.
25605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
25606 Likewise.
25607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
25608 Likewise.
25609
25610 2015-12-02 Ludovic Courtès <ludo@gnu.org>
25611
25612 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
25613 * configure: Regenerate.
25614 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
25615 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
25616
25617 2015-12-02 Carlos O'Donell <carlos@redhat.com>
25618
25619 * iconvdata/ibm930.c: Add comment explaining encoding uses.
25620 * iconvdata/ibm933.c: Likewise.
25621 * iconvdata/ibm935.c: Likewise.
25622 * iconvdata/ibm937.c: Likewise.
25623 * iconvdata/ibm939.c: Likewise.
25624
25625 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25626
25627 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
25628 pthread_join.
25629 * nptl/tst-cancel21.c (tf): Likewise.
25630
25631 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
25632
25633 [BZ #19313]
25634 * bits/typesizes.h (__CPU_MASK_TYPE): New.
25635 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25636 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25637 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
25638 Likewise.
25639 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
25640 Likewise.
25641 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
25642 Likewise.
25643 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
25644 Likewise.
25645 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
25646 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
25647 unsigned long int with __CPU_MASK_TYPE.
25648
25649 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
25650
25651 * sysdeps/aarch64/libm-test-ulps: Regenerated.
25652
25653 2015-12-01 Joseph Myers <joseph@codesourcery.com>
25654
25655 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
25656 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
25657 t512.x.
25658 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
25659
25660 2015-11-30 Amit Pawar <amit.pawar@amd.com>
25661
25662 [BZ #19214]
25663 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
25664 argument to return extended model. Update family and model
25665 with extended family and model when family == 0x0f.
25666 (init_cpu_features): Updated.
25667
25668 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25669
25670 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
25671 signed off_t, so 32bit bigger than 2GiB values are fine actually.
25672
25673 * sysdeps/mach/hurd/mmap64.c: New file.
25674
25675 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
25676
25677 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
25678 rights for its main user thread in NEWTASK.
25679
25680 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
25681
25682 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
25683 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
25684
25685 2015-11-27 Carlos O'Donell <carlos@redhat.com>
25686
25687 [BZ #14259]
25688 * Makeconfig: Rename localedir to complocaledir.
25689 Rename inst_localedir to inst_complocaledir.
25690 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
25691 * config.make.in: Use complocaledir and libc_cv_complocaledir.
25692 * configure.ac: Use libc_cv_complocaledir.
25693 * configure: Regenerate.
25694 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
25695 -DCOMPLOCALEDIR.
25696 * locale/findlocale.c: Use COMPLOCALEDIR.
25697 * locale/loadarchive.c: Likewise.
25698 * locale/programs/locale.c: Likewise.
25699 * locale/programs/localedef.c: Likewise.
25700 * locale/programs/locarchive.c: Likewise.
25701 * localedata/Makefile: Use inst_complocaledir.
25702 * sysdeps/gnu/configure: Regenerate.
25703 * sysdeps/hppa/configure: Regenerate.
25704 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
25705 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
25707 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
25708 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
25709 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
25710 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
25711
25712 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
25713
25714 [BZ #19058]
25715 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
25716 AS_NEEDED.
25717 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
25718 workaround.
25719 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
25720 libmvec-static-only-routines): Added new file.
25721 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
25722
25723 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
25724
25725 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
25726 of interrupted RPC instead of restoring it.
25727
25728 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
25729 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
25730 libc_hidden_def.
25731 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
25732 into initialized data instead of common. Define rtld_hidden_data_def.
25733 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
25734 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
25735 libc_hidden_def.
25736 (if_freenameindex): Add libc_hidden_weak.
25737 (if_nameindex): Add libc_hidden_weak.
25738 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
25739 __open64.
25740 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
25741 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
25742 * sysdeps/mach/nanosleep.c: Include <time.h>
25743 (__nanosleep): Rename to __libc_nanosleep.
25744 (__nanosleep): Add weak_alias.
25745 (nanosleep): Update alias.
25746
25747 2015-11-24 Joseph Myers <joseph@codesourcery.com>
25748
25749 * stdlib/strtod_nan.c: New file.
25750 * stdlib/strtod_nan_double.h: Likewise.
25751 * stdlib/strtod_nan_float.h: Likewise.
25752 * stdlib/strtod_nan_main.c: Likewise.
25753 * stdlib/strtod_nan_narrow.h: Likewise.
25754 * stdlib/strtod_nan_wide.h: Likewise.
25755 * stdlib/strtof_nan.c: Likewise.
25756 * stdlib/strtold_nan.c: Likewise.
25757 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
25758 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
25759 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
25760 * wcsmbs/wcstod_nan.c: Likewise.
25761 * wcsmbs/wcstof_nan.c: Likewise.
25762 * wcsmbs/wcstold_nan.c: Likewise.
25763 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
25764 strtold_nan.
25765 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
25766 wcstof_nan.
25767 * include/stdlib.h (__strtof_nan): Declare and use
25768 libc_hidden_proto.
25769 (__strtod_nan): Likewise.
25770 (__strtold_nan): Likewise.
25771 (__wcstof_nan): Likewise.
25772 (__wcstod_nan): Likewise.
25773 (__wcstold_nan): Likewise.
25774 * include/wchar.h (____wcstoull_l_internal): Declare.
25775 * stdlib/strtod_l.c: Do not include <ieee754.h>.
25776 (____strtoull_l_internal): Remove declaration.
25777 (STRTOF_NAN): Define macro.
25778 (SET_MANTISSA): Remove macro.
25779 (STRTOULL): Likewise.
25780 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
25781 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
25782 (STRTOF_NAN): Define macro.
25783 (SET_MANTISSA): Remove macro.
25784 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
25785 (SET_MANTISSA): Remove macro.
25786 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
25787 macro.
25788 (SET_MANTISSA): Remove macro.
25789 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
25790 macro.
25791 (SET_MANTISSA): Remove macro.
25792 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
25793 (SET_MANTISSA): Remove macro.
25794 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
25795 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
25796 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
25797
25798 [BZ #19266]
25799 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
25800 upper case and lower case letters inside NAN(), not using TOLOWER.
25801 * stdlib/tst-strtod-nan-locale-main.c: New file.
25802 * stdlib/tst-strtod-nan-locale.c: Likewise.
25803 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
25804 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
25805 Depend on $(gen-locales).
25806 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
25807 * wcsmbs/tst-wcstod-nan-locale.c: New file.
25808 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
25809 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
25810 Depend on $(gen-locales).
25811 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
25812
25813 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
25814
25815 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
25816
25817 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
25818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
25819 __finitel, __isinfl, and __isnanl.
25820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25821 Likewise.
25822 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25823 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
25824 __finitel.
25825 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25826 Likewise.
25827 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25828
25829 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
25830
25831 * malloc/memusage.c (me): Remove redundant getenv call.
25832
25833 2015-10-24 Florian Weimer <fweimer@redhat.com>
25834
25835 [BZ #19143]
25836 [BZ #19164]
25837 * nptl/check-cpuset.h: Remove.
25838 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25839 Remove CPU set size check.
25840 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25841 Likewise.
25842 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
25843 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
25844 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
25845 (__pthread_setaffinity_new): Remove CPU set size check.
25846 * sysdeps/unix/sysv/linux/sched_setaffinity.c
25847 (__kernel_cpumask_size): Remove.
25848 (__sched_setaffinity_new): Remove CPU set size check.
25849 * manual/threads.texi (Default Thread Attributes): Remove stale
25850 reference to check_cpuset_attr, determine_cpumask_size in comment.
25851 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
25852 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
25853 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
25854 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
25855 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
25856 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
25857 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
25858 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
25859 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
25860 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
25861 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
25862 skeleton test file.
25863 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
25864 tst-affinity-pid.
25865
25866 2015-11-24 Florian Weimer <fweimer@redhat.com>
25867
25868 * scripts/update-abilist.sh: New file.
25869 * Makefile (+subdir_targets): Add subdir_update-all-abi.
25870 * Makerules (update-all-abi-%, update-all-abi)
25871 (subdir_update-all-abi): New targets.
25872 * elf/Makefile (update-all-abi): New target.
25873
25874 2015-11-24 Florian Weimer <fweimer@redhat.com>
25875
25876 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
25877 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
25878 (__libc_lock_define_initialized): Use it.
25879 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
25880 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
25881 * malloc/malloc.c (main_arena): Likewise.
25882 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
25883 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
25884
25885 2015-11-23 Joseph Myers <joseph@codesourcery.com>
25886
25887 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
25888 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
25889 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
25890 (PTRACE_O_MASK): Update value.
25891 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
25892 New value in enum __ptrace_setoptions.
25893 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
25894 (PTRACE_O_MASK): Update value.
25895 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
25896 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
25897 (PTRACE_O_MASK): Update value.
25898 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
25899 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
25900 (PTRACE_O_MASK): Update value.
25901 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
25902 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
25903 (PTRACE_O_MASK): Update value.
25904 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
25905 New value in enum __ptrace_setoptions.
25906 (PTRACE_O_MASK): Update value.
25907 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
25908 New value in enum __ptrace_setoptions.
25909 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
25910 (PTRACE_O_MASK): Update value.
25911
25912 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
25913 New macro.
25914 (PACKET_AUXDATA): Likewise.
25915 (PACKET_ORIGDEV): Likewise.
25916 (PACKET_VERSION): Likewise.
25917 (PACKET_HDRLEN): Likewise.
25918 (PACKET_RESERVE): Likewise.
25919 (PACKET_TX_RING): Likewise.
25920 (PACKET_LOSS): Likewise.
25921 (PACKET_VNET_HDR): Likewise.
25922 (PACKET_TX_TIMESTAMP): Likewise.
25923 (PACKET_TIMESTAMP): Likewise.
25924 (PACKET_FANOUT): Likewise.
25925 (PACKET_TX_HAS_OFF): Likewise.
25926 (PACKET_QDISC_BYPASS): Likewise.
25927 (PACKET_ROLLOVER_STATS): Likewise.
25928 (PACKET_FANOUT_DATA): Likewise.
25929 (PACKET_MR_UNICAST): Likewise.
25930
25931 [BZ #19242]
25932 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
25933 (TOUPPER): Likewise.
25934 * stdlib/tst-strtol-locale-main.c: New file.
25935 * stdlib/tst-strtol-locale.c: Likewise.
25936 * stdlib/Makefile (tests): Add tst-strtol-locale.
25937 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
25938 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
25939 Depend on $(gen-locales).
25940 * wcsmbs/tst-wcstol-locale.c: New file.
25941 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
25942 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
25943 tr_TR.ISO-8859-9.
25944 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
25945 Depend on $(gen-locales).
25946
25947 2015-11-20 Roland McGrath <roland@hack.frob.com>
25948
25949 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
25950 __glibc_likely instead of __builtin_expect. After falling back to
25951 dyncode_create in a non-ET_DYN case, use the allocate_code_data
25952 system interface to register the code pages as occupied.
25953
25954 2015-11-20 Joseph Myers <joseph@codesourcery.com>
25955
25956 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25957 [!ARM_MATH_PRIVATE_H].
25958 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
25959 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25960 [!HPPA_MATH_PRIVATE_H].
25961 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
25962 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
25963 to [!I386_MATH_PRIVATE_H].
25964 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
25965 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
25966 Change guard to [!M68K_MATH_PRIVATE_H].
25967 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
25968 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
25969 guard to [!MICROBLAZE_MATH_PRIVATE_H].
25970 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
25971 macro.
25972 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25973 [!MIPS_MATH_PRIVATE_H].
25974 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
25975 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25976 [!NIO2_MATH_PRIVATE_H].
25977 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
25978 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25979 [!TILE_MATH_PRIVATE_H].
25980 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
25981
25982 [BZ #15421]
25983 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
25984 initialize with 0 and define as weak alias of __signgam.
25985 * include/math.h [!_ISOMAC] (__signgam): Declare.
25986 * math/Makefile (libm-calls): Add w_lgamma_compat.
25987 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
25988 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
25989 test-signgam-ullong-init.
25990 (tests-static): Add test-signgam-uchar-static,
25991 test-signgam-uchar-init-static, test-signgam-uint-static,
25992 test-signgam-uint-init-static, test-signgam-ullong-static and
25993 test-signgam-ullong-init-static.
25994 (CFLAGS-test-signgam-uchar.c): New variable.
25995 (CFLAGS-test-signgam-uchar-init.c): Likewise.
25996 (CFLAGS-test-signgam-uchar-static.c): Likewise.
25997 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
25998 (CFLAGS-test-signgam-uint.c): Likewise.
25999 (CFLAGS-test-signgam-uint-init.c): Likewise.
26000 (CFLAGS-test-signgam-uint-static.c): Likewise.
26001 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
26002 (CFLAGS-test-signgam-ullong.c): Likewise.
26003 (CFLAGS-test-signgam-ullong-init.c): Likewise.
26004 (CFLAGS-test-signgam-ullong-static.c): Likewise.
26005 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
26006 * math/Versions (libm): Add GLIBC_2.23.
26007 * math/lgamma-compat.h: New file.
26008 * math/test-signgam-main.c: Likewise.
26009 * math/test-signgam-uchar-init-static.c: Likewise.
26010 * math/test-signgam-uchar-init.c: Likewise.
26011 * math/test-signgam-uchar-static.c: Likewise.
26012 * math/test-signgam-uchar.c: Likewise.
26013 * math/test-signgam-uint-init-static.c: Likewise.
26014 * math/test-signgam-uint-init.c: Likewise.
26015 * math/test-signgam-uint-static.c: Likewise.
26016 * math/test-signgam-uint.c: Likewise.
26017 * math/test-signgam-ullong-init-static.c: Likewise.
26018 * math/test-signgam-ullong-init.c: Likewise.
26019 * math/test-signgam-ullong-static.c: Likewise.
26020 * math/test-signgam-ullong.c: Likewise.
26021 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
26022 wrapper of w_lgamma_main.c.
26023 * math/w_lgamma_compat.c: New file.
26024 * math/w_lgamma_compatf.c: Likewise.
26025 * math/w_lgamma_compatl.c: Likewise.
26026 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
26027 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
26028 defining compatibility symbols.
26029 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
26030 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
26031 wrapper of w_lgammaf_main.c.
26032 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
26033 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
26034 defining compatibility symbols.
26035 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
26036 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
26037 wrapper of w_lgammal_main.c.
26038 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
26039 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
26040 defining compatibility symbols.
26041 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
26042 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
26043 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
26044 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
26045 <lgamma-compat.h>.
26046 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
26047 (__ieee754_gamma): Define as alias.
26048 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
26049 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
26050 <lgamma-compat.h>.
26051 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
26052 (__ieee754_gammaf): Define as alias.
26053 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
26054 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
26055 <lgamma-compat.h>.
26056 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
26057 (__ieee754_gammal): Define as alias.
26058 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
26059 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
26060 <math/w_lgamma_compat.c>.
26061 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
26062 Define as alias of __lgamma_compat and use in defining lgammal.
26063 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
26064 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
26065 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
26066 (USE_AS_COMPAT): New macro.
26067 (LGAMMA_OLD_VER): Undefine and redefine.
26068 (lgammal): Do not define here.
26069 (gammal): Only define here if [GAMMA_ALIAS].
26070 * conform/linknamespace.pl (@whitelist): Remove signgam.
26071 * sysdeps/nacl/libm.abilist: Update.
26072 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26073 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26074 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26075 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26076 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26077 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26078 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26079 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26080 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26081 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26082 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26083 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26085 Likewise.
26086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26087 Likewise.
26088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26089 Likewise.
26090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26091 Likewise.
26092 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26093 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26094 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26095 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26096 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26097 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26098 Likewise.
26099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26100 Likewise.
26101 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26102 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26103 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26104
26105 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26106
26107 [BZ #16364]
26108 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
26109 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
26110
26111 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
26112
26113 * sysdeps/s390/fpu/bits/mathinline.h:
26114 Use __asm__ [__volatile__] instead of asm [volatile].
26115 * sysdeps/s390/abort-instr.h: Likewise.
26116 * sysdeps/s390/atomic-machine.h: Likewise.
26117 * sysdeps/s390/bits/string.h: Likewise.
26118 * sysdeps/s390/dl-tls.h: Likewise.
26119 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26120 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26121 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26122 * sysdeps/s390/fpu/fesetround.c: Likewise.
26123 * sysdeps/s390/fpu/fpu_control.h: Likewise.
26124 * sysdeps/s390/fpu/s_fma.c: Likewise.
26125 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
26126 * sysdeps/s390/memusage.h: Likewise.
26127 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
26128 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
26129 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
26130 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
26131 * sysdeps/s390/nptl/tls.h: Likewise.
26132 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
26133 * sysdeps/s390/s390-32/backtrace.c: Likewise.
26134 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26135 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
26136 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26137 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26138 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
26139 * sysdeps/s390/s390-64/backtrace.c: Likewise.
26140 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26141 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
26142 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
26143 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26144 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26145 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
26146 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26147 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26148 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
26149 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
26150 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
26151 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26152 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
26153 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26154 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
26155
26156 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26157 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26158
26159 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
26160 Add lwarx hint, and use macro for acquire instruction.
26161 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26162 Likewise.
26163 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
26164 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
26165 update to use new atomic macros.
26166
26167 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26168
26169 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
26170 (__lll_trylock_elision): Fix setting of adapt_count.
26171 * sysdeps/unix/sysv/linux/powerpc/htm.h
26172 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
26173 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
26174 (_ABORT_SYSCALL): Renumber, and clarify definition.
26175 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
26176
26177 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26178
26179 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
26180 after system headers to prevent MIN/MAX redefinition. Define
26181 HAVE_ALLOCA to preserve builtin alloca usage.
26182
26183 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
26184
26185 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
26186 static and don't set or restore rounding.
26187 (__cos)[IN_SINCOS]: Likewise.
26188 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
26189 (__sincos): Set and restore rounding mode. Remove check for infinite
26190 or NaN input.
26191
26192 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
26193
26194 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
26195 as used.
26196
26197 2015-11-16 Florian Weimer <fweimer@redhat.com>
26198
26199 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
26200
26201 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
26202
26203 * config.make.in (have-glob-dat-reloc): New.
26204 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
26205 target supports GLOB_DAT relocaton. AC_SUBST.
26206 * configure: Regenerated.
26207 * elf/Makefile (tests): Add tst-prelink.
26208 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26209 (tst-prelink-ENV): New.
26210 ($(objpfx)tst-prelink-conflict.out): Likewise.
26211 ($(objpfx)tst-prelink-cmp.out): Likewise.
26212 * sysdeps/x86/tst-prelink.c: Moved to ...
26213 * elf/tst-prelink.c: Here.
26214 * sysdeps/x86/tst-prelink.exp: Moved to ...
26215 * elf/tst-prelink.exp: Here.
26216 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
26217 (tst-prelink-ENV): Removed.
26218 ($(objpfx)tst-prelink-conflict.out): Likewise.
26219 ($(objpfx)tst-prelink-cmp.out): Likewise.
26220 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
26221
26222 2015-11-13 Joseph Myers <joseph@codesourcery.com>
26223
26224 [BZ #14551]
26225 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
26226 (__mpn_construct_long_double): If high part overflows to infinity,
26227 set errno and recompute overflowed result of the correct sign.
26228 * sysdeps/ieee754/ldbl-128ibm/Makefile
26229 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
26230 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
26231 $(libm).
26232 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
26233
26234 2015-11-12 Joseph Myers <joseph@codesourcery.com>
26235
26236 [BZ #15479]
26237 [BZ #19238]
26238 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
26239 floating-point state after first operation on input. Restore full
26240 state rather than just rounding mode.
26241 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
26242 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
26243 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
26244
26245 [BZ #19235]
26246 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
26247 add 0.5 to integer arguments.
26248 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
26249 Likewise.
26250 (.LC2): New object.
26251
26252 2015-11-11 Mike Frysinger <vapier@gentoo.org>
26253
26254 * scripts/pylintrc (reports): Set to no.
26255
26256 2015-11-10 Roland McGrath <roland@hack.frob.com>
26257
26258 * elf/dl-load.c (open_verify): Take new argument FD.
26259 Skip __open call if passed FD is not -1.
26260 (_dl_map_object, open_path): Update callers.
26261 * elf/dl-sysdep-open.h: New file.
26262 * elf/dl-load.c: Include it.
26263 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
26264 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
26265 * sysdeps/nacl/dl-sysdep-open.h: New file.
26266 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
26267 from libc to rtld.
26268
26269 2015-11-10 Joseph Myers <joseph@codesourcery.com>
26270
26271 [BZ #19228]
26272 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
26273 and restore full floating-point state.
26274 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
26275 Likewise.
26276 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
26277 Likewise.
26278 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
26279 Likewise.
26280 * math/test-nearbyint-except-2.c: New file.
26281 * math/Makefile (tests): Add test-nearbyint-except-2.
26282
26283 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
26284
26285 [BZ #19178]
26286 * sysdeps/x86/Makefile (tests): Add tst-prelink.
26287 (tst-prelink-ENV): New.
26288 ($(objpfx)tst-prelink-conflict.out): Likewise.
26289 ($(objpfx)tst-prelink-cmp.out): Likewise.
26290 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26291 * sysdeps/x86/tst-prelink.c: New file.
26292 * sysdeps/x86/tst-prelink.exp: Likewise.
26293
26294 2015-11-10 Joseph Myers <joseph@codesourcery.com>
26295
26296 * math/auto-libm-test-in: Add another test of pow.
26297 * math/auto-libm-test-out: Regenerated.
26298 * math/libm-test.inc (pow_test_data): Add another test.
26299
26300 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26301
26302 [BZ #19219]
26303 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
26304 weak_alias to nearbyintl.
26305
26306 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
26307
26308 * sysdeps/aarch64/bits/string.h: New file.
26309 (_STRING_ARCH_unaligned): Define.
26310
26311 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
26312
26313 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
26314 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26315 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26316 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
26317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
26318
26319 2015-11-09 Ulrich Drepper <drepper@gmail.com>
26320
26321 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
26322 for original name of the DSO. Add it to the name list of the DSO
26323 if it is actually given.
26324 (_dl_map_object): Keep track of whether an audit module rewrote
26325 the file name. If yes, pass the original name to
26326 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
26327 debugging is enabled, log the change of the file name.
26328 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
26329 _dl_map_object_from_fd.
26330 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
26331 * elf/tst-audit11.c: New file
26332 * elf/tst-auditmod11.c: New file.
26333 * elf/tst-audit11mod1.c: New file.
26334 * elf/tst-audit11mod2.c: New file.
26335 * elf/tst-audit11mod2.map: New file.
26336 * elf/tst-audit12.c: New file
26337 * elf/tst-auditmod12.c: New file.
26338 * elf/tst-audit12mod1.c: New file.
26339 * elf/tst-audit12mod2.c: New file.
26340 * elf/tst-audit12mod2.map: New file.
26341 * elf/tst-audit12mod3.c: New file.
26342
26343 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
26344
26345 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
26346 Don't create weak aliases,
26347 because versioned symbols are created later.
26348 * sysdeps/s390/s390-32/setjmp.S
26349 (setjmp, _setjmp): Remove weak and rename to an unique name
26350 in SHARED case due to existing versioned symbols.
26351 * sysdeps/s390/s390-64/setjmp.S: Likewise.
26352 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
26353 (getcontext): Create weak alias only in non SHARED case.
26354 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26355
26356 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
26357
26358 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
26359 (__ASSUME_*_SYSCALL) Define new macros.
26360 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
26361 Remove socketcall syscalls.
26362 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
26363 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
26364 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
26365 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
26366 * sysdeps/unix/sysv/linux/send.c (__libc_send):
26367 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
26368
26369 2015-11-09 Florian Weimer <fweimer@redhat.com>
26370
26371 [BZ #12926]
26372 Terminate process on invalid netlink response.
26373 * sysdeps/unix/sysv/linux/netlinkaccess.h
26374 (__netlink_assert_response): Declare.
26375 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
26376 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
26377 (sysdep_routines): Add netlink_assert_response.
26378 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
26379 __netlink_assert_response.
26380 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
26381 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
26382 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
26383 __netlink_assert_response.
26384
26385 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
26386
26387 [BZ #19178]
26388 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
26389 (RTYPE_CLASS_PLT): Likewise.
26390 (RTYPE_CLASS_COPY): Likewise.
26391 (RTYPE_CLASS_TLS): Likewise.
26392 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
26393 to set relocation type class for DL_DEBUG_PRELINK. Keep only
26394 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
26395 DL_DEBUG_PRELINK.
26396
26397 2015-11-06 Joseph Myers <joseph@codesourcery.com>
26398
26399 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
26400 calls with argument -0.5.
26401 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
26402
26403 * configure.ac (libc_cv_z_nodelete): Remove configure test.
26404 (libc_cv_z_nodlopen): Likewise.
26405 (libc_cv_z_initfirst): Likewise.
26406 * configure: Regenerated.
26407
26408 2015-11-06 Florian Weimer <fweimer@redhat.com>
26409
26410 Simplify abilist format to be line-based.
26411 * scripts/abilist.awk: Collect descriptors in the descs variable.
26412 (emit): Write descs variable and sort it
26413 externally, with sort.
26414 * sysdeps/**/*.abilist: Convert to new format.
26415
26416 2015-11-06 Mark Wielaard <mjw@redhat.com>
26417
26418 [BZ #11460]
26419 * io/Makefile (routines): Add fts64.
26420 (tests): Add tst-fts and tst-fts-lfs.
26421 (CFLAGS-fts64.c): New.
26422 * io/Versions (GLIBC_2.23): New.
26423 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
26424 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
26425 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
26426 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
26427 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
26428 (FTSENT64): Likewise.
26429 (fts64_children): Likewise.
26430 (fts64_close): Likewise.
26431 (fts64_open): Likewise.
26432 (fts64_read): Likewise.
26433 (fts64_set): Likewise.
26434 * io/fts64.c: New file.
26435 * io/tst-fts.c: New test.
26436 * io/tst-fts-lfs.c: Likewise.
26437 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
26438 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
26439 fts64_set.
26440 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26441 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26442 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26443 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26444 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26445 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26446 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26447 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26448 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26449 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26450 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26451 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26452 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26454 Likewise.
26455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26456 Likewise.
26457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
26459 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26460 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26461 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26462 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26463 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26465 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26466 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26467 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26468 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26469 * sysdeps/wordsize-64/fts.c: New file.
26470 * sysdeps/wordsize-64/fts64.c: Likewise.
26471 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
26472 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
26473 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
26474 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
26475
26476 2015-11-05 Joseph Myers <joseph@codesourcery.com>
26477
26478 * math/libm-test.inc (NON_FINITE): New macro.
26479 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
26480 * math/gen-libm-test.pl (show_exceptions): Add argument
26481 $non_finite.
26482 (parse_args): Update call to show_exceptions.
26483 * math/test-math-finite.h: New file.
26484 * math/test-math-no-finite.h: Likewise.
26485 * math/test-double-finite.c: Likewise.
26486 * math/test-float-finite.c: Likewise.
26487 * math/test-ldouble-finite.c: Likewise.
26488 * math/test-double.c: Include "test-math-no-finite.h".
26489 * math/test-float.c: Include "test-math-no-finite.h".
26490 * math/test-ldouble.c: Include "test-math-no-finite.h".
26491 * math/test-math-inline.h (TEST_FINITE): New macro.
26492 * math/test-math-vector.h (TEST_FINITE): Likewise.
26493 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
26494 (libm-tests): Add test-float-finite and test-double-finite.
26495 ($(objpfx)test-float-finite.o): New dependency on
26496 $(objpfx)libm-test.stmp.
26497 ($(objpfx)test-double-finite.o): Likewise.
26498 ($(objpfx)test-ldouble-finite.o): Likewise.
26499 (libm-test-no-inline-cflags): New variable.
26500 (libm-test-finite-cflags): Likewise.
26501 (CFLAGS-test-float-finite.c): Likewise.
26502 (CFLAGS-test-double-finite.c): Likewise.
26503 (CFLAGS-test-ldouble-finite.c): Likewise.
26504 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
26505 (CFLAGS-test-double.c): Likewise.
26506 (CFLAGS-test-ldouble.c): Likewise.
26507
26508 2015-11-05 Roland McGrath <roland@hack.frob.com>
26509
26510 * io/fcntl.c (__fcntl): Add ... to prototype.
26511 * misc/ioctl.c (__ioctl): Likewise.
26512 * misc/syscall.c (syscall): Likewise.
26513
26514 2015-11-05 Joseph Myers <joseph@codesourcery.com>
26515
26516 * scripts/list-fixed-bugs.py: New file.
26517
26518 [BZ #19213]
26519 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
26520 returned for argument 1.
26521 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
26522 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
26523 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
26524 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
26525 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
26526 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
26527
26528 [BZ #19211]
26529 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
26530 __USE_XOPEN], not if [!__USE_ISOC99].
26531 (lgammaf): Likewise.
26532 (lgammal): Likewise.
26533 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
26534 (gammaf): Likewise.
26535 (gammal): Likewise.
26536 * math/test-signgam-finite-c11.c: New file.
26537 * math/test-signgam-finite-c99.c: Likewise.
26538 * math/test-signgam-finite.c: Likewise.
26539 * math/Makefile (tests): Add test-signgam-finite,
26540 test-signgam-finite-c99 and test-signgam-finite-c11.
26541 (CFLAGS-test-signgam-finite.c): New variable.
26542 (CFLAGS-test-signgam-finite-c99.c): Likewise.
26543 (CFLAGS-test-signgam-finite-c11.c): Likewise.
26544
26545 [BZ #19212]
26546 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
26547 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
26548 500].
26549 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
26550 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
26551 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
26552 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
26553 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
26554 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
26555 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
26556 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
26557 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
26558 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
26559
26560 [BZ #19209]
26561 * math/bits/math-finite.h (ldexp): Remove declaration.
26562 (ldexpf): Likewise.
26563 (ldexpl): Likewise.
26564
26565 [BZ #19205]
26566 * math/bits/math-finite.h (acosf): Condition declaration on
26567 [__USE_ISOC99].
26568 (acosl): Likewise.
26569 (acoshf): Likewise.
26570 (acoshl): Likewise.
26571 (asinf): Likewise.
26572 (asinl): Likewise.
26573 (atan2f): Likewise.
26574 (atan2l): Likewise.
26575 (atanhf): Likewise.
26576 (atanhl): Likewise.
26577 (coshf): Likewise.
26578 (coshl): Likewise.
26579 (expf): Likewise.
26580 (expl): Likewise.
26581 (fmodf): Likewise.
26582 (fmodl): Likewise.
26583 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
26584 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
26585 (j0l): Likewise.
26586 (y0f): Likewise.
26587 (y0l): Likewise.
26588 (j1f): Likewise.
26589 (j1l): Likewise.
26590 (y1f): Likewise.
26591 (y1l): Likewise.
26592 (jnf): Likewise.
26593 (jnl): Likewise.
26594 (ynf): Likewise.
26595 (ynl): Likewise.
26596 (lgammaf_r): Condition declaration on [__USE_ISOC99].
26597 (lgammal_r): Likewise.
26598 (__lgamma_r_finite): New declaration.
26599 (__lgammaf_r_finite): Likewise.
26600 (__lgammal_r_finite): Likewise.
26601 (lgamma): Use __lgamma_r_finite.
26602 (lgammaf): Condition definition on [__USE_ISOC99]. Use
26603 __lgammaf_r_finite.
26604 (lgammal): Condition definition on [__USE_ISOC99]. Use
26605 __lgammal_r_finite.
26606 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
26607 __lgamma_r_finite.
26608 (gammaf): Condition definition on [__USE_ISOC99]. Use
26609 __lgammaf_r_finite.
26610 (gammal): Condition definition on [__USE_ISOC99]. Use
26611 __lgammal_r_finite.
26612 (logf): Condition declaration on [__USE_ISOC99].
26613 (logl): Likewise.
26614 (log10f): Likewise.
26615 (log10l): Likewise.
26616 (ldexpf): Likewise.
26617 (ldexpl): Likewise.
26618 (powf): Likewise.
26619 (powl): Likewise.
26620 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
26621 __USE_ISOC99].
26622 (remainderf): Condition declaration on [__USE_ISOC99].
26623 (remainderl): Likewise.
26624 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
26625 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
26626 (scalbl): Likewise.
26627 (sinhf): Condition declaration on [__USE_ISOC99].
26628 (sinhl): Likewise.
26629 (sqrtf): Likewise.
26630 (sqrtl): Likewise.
26631
26632 2015-11-04 Joseph Myers <joseph@codesourcery.com>
26633
26634 * sysdeps/arm/atomic-machine.h
26635 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26636 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26637 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
26638 Remove conditional code.
26639 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26640 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26641 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
26642 Change conditional to [__ASSEMBLER__].
26643 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
26644 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
26645 [!__ASSEMBLER__].
26646 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
26647 code.
26648 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
26649 conditional macro definitions.
26650 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
26651 (__arch_compare_and_exchange_val_16_acq): Likewise.
26652 (__arch_compare_and_exchange_val_32_acq): Likewise.
26653 (atomic_exchange_and_add): Likewise.
26654 (atomic_add): Likewise.
26655 (atomic_add_negative): Likewise.
26656 (atomic_add_zero): Likewise.
26657 (atomic_bit_set): Likewise.
26658 (atomic_bit_test_set): Likewise.
26659 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
26660 code unconditional.
26661 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26662
26663 * math/test-math-errno.h: New file.
26664 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
26665 empty.
26666 (TEST_ERRNO): New macro.
26667 (TEST_EXCEPTIONS): Likewise.
26668 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
26669 (TEST_EXCEPTIONS): Likewise.
26670 * math/test-math-vector.h (TEST_ERRNO): Likewise.
26671 * math/test-double.c: Include "test-math-errno.h".
26672 * math/test-float.c: Likewise.
26673 * math/test-ldouble.c: Likewise.
26674 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
26675 code unconditional.
26676 (test_exceptions): Only run code if TEST_EXCEPTIONS.
26677 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
26678 unconditional.
26679 (test_errno): Only run code if TEST_ERRNO.
26680 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
26681
26682 2015-11-04 Florian Weimer <fweimer@redhat.com>
26683
26684 * nptl/tst-once5.cc: Remove attribution.
26685
26686 2015-11-04 Joseph Myers <joseph@codesourcery.com>
26687
26688 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
26689 sqrt, tan, tanh, y0, y1 and yn.
26690 * math/auto-libm-test-out: Regenerated.
26691 * math/libm-test.inc (scalb_test_data): Add more tests.
26692 (scalbn_test_data): Likewise.
26693 (scalbln_test_data): Likewise.
26694 (signbit_test_data): Likewise.
26695 (sin_test_data): Likewise.
26696 (sincos_test_data): Likewise.
26697 (sinh_test_data): Likewise.
26698 (sqrt_test_data): Likewise.
26699 (tan_test_data): Likewise.
26700 (tanh_test_data): Likewise.
26701 (tgamma_test_data): Likewise.
26702 (y0_test_data): Likewise.
26703 (y1_test_data): Likewise.
26704 (yn_test_data): Likewise.
26705 (significand_test_data): Likewise.
26706 * sysdeps/i386/fpu/libm-test-ulps: Update.
26707
26708 2015-11-03 David Kastrup <dak@gnu.org>
26709
26710 [BZ #18604]
26711 * assert/assert.h (assert): Don't macro-expand failed assertion
26712 expression in error message.
26713 * malloc/malloc.c (assert): Likewise.
26714
26715 2015-11-03 Joseph Myers <joseph@codesourcery.com>
26716
26717 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
26718 test.
26719 * configure: Regenerated.
26720
26721 2015-11-02 Joseph Myers <joseph@codesourcery.com>
26722
26723 * math/libm-test.inc (modf_test_data): Add more tests.
26724 (nearbyint_test_data): Likewise.
26725 (nextafter_test_data): Likewise.
26726 (nexttoward_test_data): Likewise.
26727 (pow_test_data): Likewise.
26728 (remainder_test_data): Likewise.
26729 (remquo_test_data): Likewise.
26730 (rint_test_data): Likewise.
26731
26732 [BZ #19201]
26733 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26734 Check for zero remainder in case of large exponents and ensure
26735 correct sign of result in that case.
26736 * math/libm-test.inc (remainder_test_data): Add more tests.
26737
26738 [BZ #6799]
26739 * math/s_nextafter.c: Include <errno.h>.
26740 (__nextafter): Set errno on overflow and underflow.
26741 * math/s_nexttowardf.c: Include <errno.h>.
26742 (__nexttowardf): Set errno on overflow and underflow.
26743 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
26744 (__nextafterl): Set errno on overflow and underflow.
26745 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
26746 (__nexttoward): Set errno on overflow and underflow.
26747 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
26748 (__nexttowardf): Set errno on overflow and underflow.
26749 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
26750 (__nextafterf): Set errno on overflow and underflow.
26751 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
26752 (__nextafterl): Set errno on overflow and underflow.
26753 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
26754 (__nexttoward): Set errno on overflow and underflow.
26755 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
26756 (__nexttowardf): Set errno on overflow and underflow.
26757 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
26758 (__nextafterl): Set errno on overflow and underflow.
26759 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
26760 (__nexttoward): Set errno on overflow and underflow.
26761 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
26762 (__nexttowardf): Set errno on overflow and underflow.
26763 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
26764 (__nexttoward): Set errno on overflow and underflow.
26765 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
26766 (__nexttowardf): Set errno on overflow and underflow.
26767 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
26768 (__nldbl_nexttowardf): Set errno on overflow and underflow.
26769 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
26770 (__nextafterl): Set errno on overflow and underflow.
26771 * math/libm-test.inc (nextafter_test_data): Do not allow errno
26772 setting to be missing on overflow. Add more tests.
26773 (nexttoward_test_data): Likewise.
26774
26775 * configure.ac (libc_cv_initfini_array): Remove configure test.
26776 * configure: Regenerated.
26777
26778 2015-10-29 Joseph Myers <joseph@codesourcery.com>
26779
26780 [BZ #19189]
26781 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
26782 non-finite argument handle arguments with negative sign.
26783
26784 * math/libm-test.inc (j0_test_data): Do not test sign of zero
26785 result from infinite argument.
26786 (j1_test_data): Likewise.
26787 (jn_test_data): Likewise.
26788 (y0_test_data): Likewise.
26789 (y1_test_data): Likewise.
26790 (yn_test_data): Likewise.
26791
26792 [BZ #16171]
26793 * math/w_remainder.c (drem): Define as weak alias of __remainder.
26794 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
26795 * math/w_remainderf.c (dremf): Define as weak alias of
26796 __remainderf.
26797 * math/w_remainderl.c (dreml): Define as weak alias of
26798 __remainderl.
26799 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
26800 __remainder.
26801 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
26802 __remainderf.
26803 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
26804 __remainderl.
26805 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
26806 weak alias of remainderl.
26807 * sysdeps/ieee754/ldbl-opt/w_remainder.c
26808 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
26809 alias of __remainder.
26810 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
26811 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
26812 strong alias of __remainderl.
26813 (dreml): Use long_double_symbol.
26814 * math/Makefile (libm-calls): Remove w_drem.
26815 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
26816 (CFLAGS-nldbl-drem.c): Remove variable.
26817 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
26818 * math/w_drem.c: Remove file.
26819 * math/w_dremf.c: Likewise.
26820 * math/w_dreml.c: Likewise.
26821 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
26822 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
26823 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
26824
26825 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
26826 * sysdeps/i386/configure: Regenerated.
26827 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
26828 * sysdeps/x86_64/configure: Regenerated.
26829
26830 * configure.ac (libc_cv_asm_protected_directive): Remove configure
26831 test.
26832 (libc_cv_visibility_attribute): Likewise.
26833 (libc_cv_protected_data): Test unconditionally.
26834 (libc_cv_broken_visibility_attribute): Remove configure test.
26835 (libc_cv_have_sdata_section): Test unconditionally.
26836 * configure: Regenerated.
26837
26838 * include/libc-internal.h (libc_max_align_t): Remove typedef.
26839 * include/scratch_buffer.h: Include <stddef.h> instead of
26840 <libc-internal.h>.
26841 (struct scratch_buffer): Use max_align_t instead of
26842 libc_max_align_t.
26843
26844 2015-10-29 Florian Weimer <fweimer@redhat.com>
26845
26846 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
26847 instead of extend_alloca. Change control flow to avoid a goto.
26848 Remove assert which is trivially always true.
26849
26850 2015-10-28 Joseph Myers <joseph@codesourcery.com>
26851
26852 [BZ #16068]
26853 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
26854 (FE_ALL_EXCEPT_X86): New macro.
26855 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
26856 FE_ALL_EXCEPT. Ensure precision control is included in
26857 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
26858 handle "denormal operand exception" and clear FZ and DAZ bits.
26859 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
26860 (FE_ALL_EXCEPT_X86): New macro.
26861 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
26862 FE_ALL_EXCEPT. Ensure precision control is included in
26863 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
26864 handle "denormal operand exception" and clear FZ and DAZ bits.
26865 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
26866 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
26867 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
26868 test-fenv-x87 and test-fenv-sse-2.
26869 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
26870
26871 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
26872 * math/test-double.h (BUILD_COMPLEX): New macro.
26873 * math/test-float.h (BUILD_COMPLEX): Likewise.
26874 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
26875
26876 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
26877 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
26878 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
26879 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
26880 instead of DBL_DENORM_MIN in comment.
26881 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
26882 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
26883 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
26884 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
26885 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
26886 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
26887
26888 2015-10-28 Florian Weimer <fweimer@redhat.com>
26889
26890 [BZ #19048]
26891 * malloc/malloc.c (struct malloc_state): Update comment. Add
26892 attached_threads member.
26893 (main_arena): Initialize attached_threads.
26894 * malloc/arena.c (list_lock): Update comment.
26895 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
26896 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
26897 (deattach_arena): New function.
26898 (_int_new_arena): Initialize arena reference count and deattach
26899 replaced arena.
26900 (get_free_list, reused_arena): Update reference count and deattach
26901 replaced arena.
26902 (arena_thread_freeres): Update arena reference count and only put
26903 unreferenced arenas on the free list.
26904
26905 2015-10-28 Joseph Myers <joseph@codesourcery.com>
26906
26907 [BZ #19181]
26908 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
26909 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
26910 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
26911 * math/test-fenv-clear-main.c: New file.
26912 * math/test-fenv-clear.c: Likewise.
26913 * math/Makefile (tests): Add test-fenv-clear.
26914 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
26915 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
26916 test-fenv-clear-sse.
26917 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
26918
26919 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
26920 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
26921 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
26922
26923 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
26924
26925 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
26926 static libc.
26927
26928 2015-10-28 Joseph Myers <joseph@codesourcery.com>
26929
26930 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
26931 test.
26932 * sysdeps/i386/configure: Regenerated.
26933 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
26934 test.
26935 * sysdeps/x86_64/configure: Regenerated.
26936 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
26937 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26938 memset-avx2 unconditionally instead of conditionally on
26939 [$(config-cflags-avx2) = yes].
26940 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
26941 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
26942 unconditional.
26943 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
26944 * sysdeps/x86_64/multiarch/memset_chk.S
26945 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
26946 to [IS_IN (libc) && SHARED].
26947
26948 2015-10-27 Joseph Myers <joseph@codesourcery.com>
26949
26950 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
26951 configure test.
26952 * sysdeps/arm/configure: Regenerated.
26953 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
26954 Define variable if not already defined.
26955
26956 [BZ #17404]
26957 * sysdeps/mips/atomic-machine.h
26958 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
26959 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
26960 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
26961
26962 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
26963 unconditional.
26964 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
26965 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26966 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
26967 unconditional.
26968 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26969 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
26970 unconditional.
26971 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26972 * stdlib/setenv.c
26973 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
26974 code unconditional.
26975 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
26976 Remove conditional code.
26977 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
26978 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
26979 unconditional.
26980 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
26981 code.
26982 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
26983 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
26984 unconditional.
26985 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
26986 code.
26987 * sysdeps/ieee754/ldbl-128/k_tanl.c
26988 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
26989 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26990 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
26991 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
26992 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26993 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
26994 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
26995 unconditional.
26996 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
26997 code.
26998 * sysdeps/ieee754/ldbl-96/k_tanl.c
26999 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27000 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27001
27002 * nptl/tst-initializers1-c11.c: New file.
27003 * nptl/tst-initializers1-gnu11.c: Likewise.
27004 * nptl/Makefile (tests): Add these new tests.
27005 (CFLAGS-tst-initializers1-c11.c): New variable.
27006 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
27007
27008 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
27009 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
27010 instead of -std=gnu99.
27011 * configure.ac (systemtap): Test with -std=gnu11 instead of
27012 -std=gnu99.
27013 * configure: Regenerated.
27014 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
27015 in compilation command in comment.
27016
27017 * sysdeps/nptl/configure.ac: Remove file.
27018 * sysdeps/nptl/configure: Remove generated file.
27019 * configure.ac (libc_cv_forced_unwind): Do not substitute.
27020 * configure: Regenerated.
27021 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
27022 * config.make.in (have-forced-unwind): Remove variable.
27023 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27024 unconditional.
27025 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
27026 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
27027 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
27028 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
27029 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27030 unconditional.
27031
27032 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
27033
27034 [BZ #19174]
27035 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
27036 .skip_lock_out_of_tbegin_retries.
27037 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27038 (__lll_lock_elision): Likewise, and respect a value of
27039 try_tbegin <= 0.
27040
27041 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
27042
27043 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
27044 statement.
27045
27046 2015-10-27 Joseph Myers <joseph@codesourcery.com>
27047
27048 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
27049 variable.
27050 (test-xfail-ISO11/stdalign.h/conform): Likewise.
27051 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
27052
27053 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
27054 of -std=c1x -D_ISOC11_SOURCE.
27055
27056 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
27057 * configure: Regenerated.
27058 * manual/install.texi (Tools for Compilation): Document
27059 requirement for GCC 4.7 or later.
27060 * INSTALL: Regenerated.
27061
27062 2015-10-27 Ludovic Courtès <ludo@gnu.org>
27063
27064 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
27065 on CNT to a conditional jump to 'puntdata'.
27066
27067 2015-10-27 Joseph Myers <joseph@codesourcery.com>
27068
27069 * configure.ac (libc_cv_gcc___thread): Remove configure test.
27070 (libc_cv_gcc_tls_model_attr): Likewise.
27071 * configure: Regenerated.
27072
27073 * configure.ac (libc_cv_need_minus_P): Remove configure test.
27074 * configure: Regenerated.
27075 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
27076
27077 2015-10-26 Joseph Myers <joseph@codesourcery.com>
27078
27079 * configure.ac (old_glibc_headers): Remove configure test.
27080 * configure: Regenerated.
27081 * config.make.in (old-glibc-headers): Remove variable.
27082 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
27083 (install): Remove dependency on remove-old-headers.
27084 (headers2_0): Remove variable.
27085 (remove-old-headers): Remove rule.
27086
27087 * configure.ac (libc_cv_dot_text): Remove configure test.
27088 (libc_cv_asm_set_directive): Use .text instead of
27089 ${libc_cv_dot_text} in configure test.
27090 * configure: Regenerated.
27091
27092 2015-10-26 Florian Weimer <fweimer@redhat.com>
27093
27094 [BZ #19168]
27095 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27096
27097 2015-10-26 Florian Weimer <fweimer@redhat.com>
27098
27099 * configure.ac (CXX): Clear the variable if the C++ toolchain does
27100 not support static linking.
27101 * configure: Regenerate.
27102
27103 2015-10-23 Joseph Myers <joseph@codesourcery.com>
27104
27105 * math/libm-test.inc (check_float_internal): Do not special-case
27106 errors up to 0.5 ulp.
27107
27108 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27109 log2.
27110 * math/auto-libm-test-out: Regenerated.
27111 * math/libm-test.inc (MAX_EXP): New macro.
27112 (ilogb_test_data): Add more tests.
27113 (isfinite_test_data): Likewise.
27114 (isgreater_test_data): Likewise.
27115 (isgreaterequal_test_data): Likewise.
27116 (isinf_test_data): Likewise.
27117 (isless_test_data): Likewise.
27118 (islessequal_test_data): Likewise.
27119 (islessgreater_test_data): Likewise.
27120 (isnan_test_data): Likewise.
27121 (isnormal_test_data): Likewise.
27122 (issignaling_test_data): Likewise.
27123 (isunordered_test_data): Likewise.
27124 (j0_test_data): Likewise.
27125 (j1_test_data): Likewise.
27126 (jn_test_data): Likewise.
27127 (lgamma_test_data): Likewise.
27128 (log_test_data): Likewise.
27129 (log10_test_data): Likewise.
27130 (log1p_test_data): Likewise.
27131 (log2_test_data): Likewise.
27132 (logb_test_data): Likewise.
27133 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27134
27135 [BZ #18611]
27136 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
27137 avoid excess range and precision on underflow.
27138 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27139 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
27140 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27141 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
27142 underflow.
27143 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27144 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27145 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27146 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27147 * math/auto-libm-test-in: Do not allow missing errno setting for
27148 tests of j1 and jn.
27149 * math/auto-libm-test-out: Regenerated.
27150
27151 2015-10-22 Joseph Myers <joseph@codesourcery.com>
27152
27153 [BZ #15491]
27154 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
27155 floating-point environment instead of clearing all exceptions.
27156 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
27157 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
27158 merging in "invalid" exceptions from frndint.
27159 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
27160 * math/test-nearbyint-except.c: New file.
27161 * math/Makefile (tests): Add test-nearbyint-except.
27162
27163 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
27164
27165 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
27166
27167 * sysdeps/tile/libm-test-ulps: Regenerated.
27168
27169 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27170
27171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
27172 (__NR_sync_file_range2): Assume it is always defined.
27173 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
27174 (__NR_sync_file_range): Assume it is always defined.
27175
27176 2015-10-22 Andreas Schwab <schwab@suse.de>
27177
27178 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
27179 INTERNAL_SYSCALL_ERRNO.
27180 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27181 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
27182 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27183 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
27184 Likewise.
27185 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27186
27187 2015-10-21 Joseph Myers <joseph@codesourcery.com>
27188
27189 * io/tst-fcntl.c (fd): New static variable.
27190 (do_prepare): Open temporary file here....
27191 (do_test): ...not here.
27192
27193 * io/ftwtest-sh: Also trap on exit to remove temporary files.
27194
27195 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
27196
27197 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
27198 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27199 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27200 Moved before "#ifdef __ASSEMBLER__".
27201
27202 2015-10-21 Joseph Myers <joseph@codesourcery.com>
27203
27204 [BZ #19156]
27205 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
27206 arguments very close to 0.
27207
27208 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
27209
27210 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
27211 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
27212
27213 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
27214
27215 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27216 New. Defined for GCC 5 and above when not compiling for
27217 profiling.
27218 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27219
27220 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
27221 Renamed to ...
27222 (CFLAGS-epoll_pwait.o): This.
27223 (CFLAGS-mmap.c): Renamed to ...
27224 (CFLAGS-mmap.o): This.
27225 (CFLAGS-mmap64.c): Renamed to ...
27226 (CFLAGS-mmap64.o): This.
27227 (CFLAGS-epoll_pwait.os): New.
27228 (CFLAGS-mmap.os): Likewise.
27229 (CFLAGS-mmap64.os): Likewise.
27230 (CFLAGS-semtimedop.os): Likewise.
27231 (CFLAGS-semtimedop.c): Renamed to ...
27232 (CFLAGS-semtimedop.o): This.
27233
27234 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27235
27236 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
27237 warning message.
27238
27239 2015-10-21 Joseph Myers <joseph@codesourcery.com>
27240
27241 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
27242 * Makefile ($(objpfx)c++-types-check.out): Filter out
27243 $(+gccwarn-c) instead of -Wstrict-prototypes.
27244
27245 * io/fts.c (fts_open): Convert to prototype-style function
27246 definition.
27247 * malloc/mcheck.c (mcheck): Likewise.
27248 (mcheck_pedantic): Likewise.
27249 * posix/regexec.c (re_search_2_stub): Likewise. Use
27250 internal_function.
27251 (re_search_internal): Likewise.
27252 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
27253 prototype-style function definition.
27254 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27255 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
27256 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
27257 (xdr_utmpptr): Likewise.
27258 (xdr_utmparr): Likewise.
27259 (xdr_utmpidle): Likewise.
27260 (xdr_utmpidleptr): Likewise.
27261 (xdr_utmpidlearr): Likewise.
27262
27263 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
27264 log, log10 and log2.
27265 * math/auto-libm-test-out: Regenerated.
27266 * math/libm-test.inc (fmod_test_data): Add more tests.
27267 (fpclassify_test_data): Likewise.
27268 (frexp_test_data): Likewise.
27269 (hypot_test_data): Likewise.
27270 (ilogb_test_data): Likewise.
27271
27272 2015-10-20 Joseph Myers <joseph@codesourcery.com>
27273
27274 * debug/fortify_fail.c (__fortify_fail): Convert to
27275 prototype-style function definition. Use internal_function.
27276 * libio/genops.c (save_for_backup): Convert to prototype-style
27277 function definition.
27278 * libio/wgenops.c (save_for_wbackup): Likewise.
27279 * login/grantpt.c (grantpt): Likewise.
27280 * login/ptsname.c (ptsname): Likewise.
27281 (__ptsname_r): Likewise.
27282 * login/unlockpt.c (unlockpt): Likewise.
27283 * mach/msgserver.c (__mach_msg_server): Likewise.
27284 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
27285 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
27286 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
27287 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
27288 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
27289 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
27290 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
27291 Likewise.
27292 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
27293 internal_function.
27294 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
27295 prototype-style function definition.
27296 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
27297 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
27298 (__pthread_create_2_0): Likewise.
27299 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
27300 * nptl/register-atfork.c (__register_atfork): Likewise.
27301 * posix/glob.c (glob): Likewise.
27302 * posix/regcomp.c (re_comp): Likewise.
27303 * posix/regexec.c (re_exec): Likewise.
27304 * stdlib/add_n.c [__STDC__]: Make code unconditional.
27305 [!__STDC__]: Remove conditional code.
27306 * stdlib/cmp.c [__STDC__]: Make code unconditional.
27307 [!__STDC__]: Remove conditional code.
27308 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
27309 [!__STDC__]: Remove conditional code.
27310 * stdlib/divrem.c [__STDC__]: Make code unconditional.
27311 [!__STDC__]: Remove conditional code.
27312 * stdlib/lshift.c [__STDC__]: Make code unconditional.
27313 [!__STDC__]: Remove conditional code.
27314 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
27315 [!__STDC__]: Remove conditional code.
27316 * stdlib/mul.c [__STDC__]: Make code unconditional.
27317 [!__STDC__]: Remove conditional code.
27318 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
27319 [!__STDC__]: Remove conditional code.
27320 * stdlib/rshift.c [__STDC__]: Make code unconditional.
27321 [!__STDC__]: Remove conditional code.
27322 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
27323 function definition.
27324 (STRTOF): Likewise.
27325 * stdlib/strtod_l.c (__STRTOF): Likewise.
27326 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
27327 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
27328 (__strtol_l): Likewise.
27329 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
27330 [!__STDC__]: Remove conditional code.
27331 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
27332 definition.
27333 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27334 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27335 type.
27336 (__strcasecmp): Convert to prototype-style function definition.
27337 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
27338 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27339 type.
27340 (__strncasecmp): Convert to prototype-style function definition.
27341 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
27342 * sunrpc/xdr.c (xdr_union): Likewise.
27343 * sunrpc/xdr_array.c (xdr_array): Likewise.
27344 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
27345 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
27346 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
27347 Likewise.
27348 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
27349 Likewise.
27350 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
27351 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27352 Likewise.
27353 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
27354 (LOCALE_PARAM_PROTO): Likewise.
27355 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
27356 argument type.
27357 (ut_argument_spec): Remove macro.
27358 (ut_argument_spec_iso): Rename to ut_argument_spec.
27359 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
27360 prototype-style function definition.
27361 (memcpy_uppcase): Likewise.
27362 (__strftime_internal): Likewise.
27363 (my_strftime): Likewise.
27364 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
27365 (LOCALE_PARAM_DECL): Likewise.
27366 [_LIBC] (LOCALE_PARAM): Include argument type.
27367 (__strptime_internal): Convert to prototype-style function
27368 definition.
27369 (strptime): Likewise.
27370 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27371 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27372 type.
27373 (__wcscasecmp): Convert to prototype-style function definition.
27374 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
27375 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27376 type.
27377 (__wcsncasecmp): Convert to prototype-style function definition.
27378
27379 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
27380 function definition.
27381 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27382 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27383 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
27384 * elf/dl-minimal.c (_itoa): Likewise.
27385 * hurd/hurdmalloc.c (malloc): Likewise.
27386 (free): Likewise.
27387 (realloc): Likewise.
27388 * inet/inet6_option.c (inet6_option_space): Likewise.
27389 (inet6_option_init): Likewise.
27390 (inet6_option_append): Likewise.
27391 (inet6_option_alloc): Likewise.
27392 (inet6_option_next): Likewise.
27393 (inet6_option_find): Likewise.
27394 * io/ftw.c (FTW_NAME): Likewise.
27395 (NFTW_NAME): Likewise.
27396 (NFTW_NEW_NAME): Likewise.
27397 (NFTW_OLD_NAME): Likewise.
27398 * libio/iofwide.c (_IO_fwide): Likewise.
27399 * libio/strops.c (_IO_str_init_static_internal): Likewise.
27400 (_IO_str_init_static): Likewise.
27401 (_IO_str_init_readonly): Likewise.
27402 (_IO_str_overflow): Likewise.
27403 (_IO_str_underflow): Likewise.
27404 (_IO_str_count): Likewise.
27405 (_IO_str_seekoff): Likewise.
27406 (_IO_str_pbackfail): Likewise.
27407 (_IO_str_finish): Likewise.
27408 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
27409 (_IO_wstr_overflow): Likewise.
27410 (_IO_wstr_underflow): Likewise.
27411 (_IO_wstr_count): Likewise.
27412 (_IO_wstr_seekoff): Likewise.
27413 (_IO_wstr_pbackfail): Likewise.
27414 (_IO_wstr_finish): Likewise.
27415 * locale/programs/localedef.c (normalize_codeset): Likewise.
27416 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27417 (add_locales_to_archive): Likewise.
27418 (delete_locales_from_archive): Likewise.
27419 * malloc/malloc.c (__libc_mallinfo): Likewise.
27420 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
27421 * misc/tsearch.c (__tfind): Likewise.
27422 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
27423 * nptl/pthread_attr_getdetachstate.c
27424 (__pthread_attr_getdetachstate): Likewise.
27425 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
27426 Likewise.
27427 * nptl/pthread_attr_getinheritsched.c
27428 (__pthread_attr_getinheritsched): Likewise.
27429 * nptl/pthread_attr_getschedparam.c
27430 (__pthread_attr_getschedparam): Likewise.
27431 * nptl/pthread_attr_getschedpolicy.c
27432 (__pthread_attr_getschedpolicy): Likewise.
27433 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
27434 Likewise.
27435 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
27436 Likewise.
27437 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
27438 Likewise.
27439 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
27440 Likewise.
27441 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
27442 (__pthread_attr_init_2_0): Likewise.
27443 * nptl/pthread_attr_setdetachstate.c
27444 (__pthread_attr_setdetachstate): Likewise.
27445 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
27446 Likewise.
27447 * nptl/pthread_attr_setinheritsched.c
27448 (__pthread_attr_setinheritsched): Likewise.
27449 * nptl/pthread_attr_setschedparam.c
27450 (__pthread_attr_setschedparam): Likewise.
27451 * nptl/pthread_attr_setschedpolicy.c
27452 (__pthread_attr_setschedpolicy): Likewise.
27453 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
27454 Likewise.
27455 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
27456 Likewise.
27457 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
27458 Likewise.
27459 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
27460 Likewise.
27461 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
27462 Likewise.
27463 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
27464 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
27465 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
27466 use internal_function.
27467 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
27468 prototype-style function definition.
27469 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
27470 (__pthread_mutex_cond_lock_adjust): Likewise. Use
27471 internal_function.
27472 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
27473 Convert to prototype-style function definition.
27474 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27475 Likewise.
27476 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
27477 Likewise.
27478 (__pthread_mutex_unlock): Likewise.
27479 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
27480 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
27481 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
27482 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
27483 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
27484 * nss/makedb.c (process_input): Likewise.
27485 * posix/fnmatch.c (__strchrnul): Likewise.
27486 (__wcschrnul): Likewise.
27487 (fnmatch): Likewise.
27488 * posix/fnmatch_loop.c (FCT): Likewise.
27489 * posix/glob.c (globfree): Likewise.
27490 (__glob_pattern_type): Likewise.
27491 (__glob_pattern_p): Likewise.
27492 * posix/regcomp.c (re_compile_pattern): Likewise.
27493 (re_set_syntax): Likewise.
27494 (re_compile_fastmap): Likewise.
27495 (regcomp): Likewise.
27496 (regerror): Likewise.
27497 (regfree): Likewise.
27498 * posix/regexec.c (regexec): Likewise.
27499 (re_match): Likewise.
27500 (re_search): Likewise.
27501 (re_match_2): Likewise.
27502 (re_search_2): Likewise.
27503 (re_search_stub): Likewise. Use internal_function
27504 (re_copy_regs): Likewise.
27505 (re_set_registers): Convert to prototype-style function
27506 definition.
27507 (prune_impossible_nodes): Likewise. Use internal_function.
27508 * resolv/inet_net_pton.c (inet_net_pton): Convert to
27509 prototype-style function definition.
27510 (inet_net_pton_ipv4): Likewise.
27511 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27512 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
27513 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
27514 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
27515 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
27516 Make variadic.
27517 * time/strptime_l.c (localtime_r): Convert to prototype-style
27518 function definition.
27519 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27520 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27521 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27522 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27523
27524 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
27525 definition.
27526 (_ufc_doit_r): Likewise.
27527 * crypt/crypt_util.c (_ufc_copymem): Likewise.
27528 (_ufc_output_conversion_r): Likewise.
27529 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
27530 * inet/rcmd.c (rcmd_af): Likewise.
27531 (rcmd): Likewise.
27532 (ruserok_af): Likewise.
27533 (ruserok): Likewise.
27534 (ruserok2_sa): Likewise.
27535 (ruserok_sa): Likewise.
27536 (iruserok_af): Likewise.
27537 (iruserok): Likewise.
27538 (__ivaliduser): Likewise.
27539 (__validuser2_sa): Likewise.
27540 * inet/rexec.c (rexec_af): Likewise.
27541 (rexec): Likewise.
27542 * inet/ruserpass.c (ruserpass): Likewise.
27543 * locale/programs/xmalloc.c (xcalloc): Likewise.
27544 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
27545 * math/w_drem.c (__drem): Likewise.
27546 * math/w_dremf.c (__dremf): Likewise.
27547 * math/w_dreml.c (__dreml): Likewise.
27548 * misc/daemon.c (daemon): Likewise.
27549 * resolv/res_debug.c (p_fqnname): Likewise.
27550 * stdlib/div.c (div): Likewise.
27551 * string/memcmp.c (memcmp_bytes): Likewise.
27552 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
27553 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
27554
27555 * crypt/cert.c (main): Convert to prototype-style function
27556 definition.
27557 * io/pipe.c (__pipe): Likewise.
27558 * io/pipe2.c (__pipe2): Likewise.
27559 * misc/futimesat.c (futimesat): Likewise.
27560 * misc/utimes.c (__utimes): Likewise.
27561 * posix/execve.c (__execve): Likewise.
27562 * posix/execvp.c (execvp): Likewise.
27563 * posix/execvpe.c (__execvpe): Likewise.
27564 * posix/fexecve.c (fexecve): Likewise.
27565 * socket/socketpair.c (socketpair): Likewise.
27566 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27567 * stdlib/erand48.c (erand48): Likewise.
27568 * stdlib/erand48_r.c (__erand48_r): Likewise.
27569 * stdlib/jrand48.c (jrand48): Likewise.
27570 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
27571 * stdlib/lcong48.c (lcong48): Likewise.
27572 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
27573 * stdlib/nrand48.c (nrand48): Likewise.
27574 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
27575 * stdlib/seed48.c (seed48): Likewise.
27576 * stdlib/seed48_r.c (__seed48_r): Likewise.
27577 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
27578 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
27579 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
27580
27581 2015-10-19 Joseph Myers <joseph@codesourcery.com>
27582
27583 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
27584 * configure: Regenerated.
27585 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
27586 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
27587 unconditional.
27588 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27589 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27590 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27591 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
27592 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
27593 unconditional.
27594 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27595
27596 * posix/Makefile (CFLAGS-regex.c): Remove variable.
27597 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
27598
27599 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
27600 function definition.
27601 * crypt/crypt_util.c (__encrypt_r): Likewise.
27602 * libio/genops.c (_IO_no_init): Likewise.
27603 * libio/iofopncook.c (_IO_fopencookie): Likewise.
27604 (_IO_old_fopencookie): Likewise.
27605 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27606 * libio/iogetline.c (_IO_getline): Likewise.
27607 (_IO_getline_info): Likewise.
27608 * libio/iogetwline.c (_IO_getwline): Likewise.
27609 (_IO_getwline_info): Likewise.
27610 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
27611 * libio/vswprintf.c (_IO_vswprintf): Likewise.
27612 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
27613 (find_entry): Likewise.
27614 (iterate_table): Likewise.
27615 (lookup): Likewise.
27616 * login/forkpty.c (forkpty): Likewise.
27617 * misc/hsearch_r.c (__hsearch_r): Likewise.
27618 * misc/select.c (__select): Likewise.
27619 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
27620 Likewise.
27621 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
27622 Likewise.
27623 * nptl/old_pthread_cond_timedwait.c
27624 (__pthread_cond_timedwait_2_0): Likewise.
27625 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
27626 * nptl/pthread_barrierattr_getpshared.c
27627 (pthread_barrierattr_getpshared): Likewise.
27628 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
27629 Likewise.
27630 * nptl/pthread_mutex_setprioceiling.c
27631 (pthread_mutex_setprioceiling): Likewise.
27632 * nptl/pthread_mutexattr_getprioceiling.c
27633 (pthread_mutexattr_getprioceiling): Likewise.
27634 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
27635 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27636 Likewise.
27637 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27638 Likewise.
27639 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
27640 Likewise.
27641 * socket/recvfrom.c (__recvfrom): Likewise.
27642 * socket/sendto.c (__sendto): Likewise.
27643 * socket/setsockopt.c (__setsockopt): Likewise.
27644 * stdio-common/_itoa.c (_itoa): Likewise.
27645 * stdio-common/_itowa.c (_itowa): Likewise.
27646 * stdio-common/reg-printf.c (__register_printf_specifier):
27647 Likewise.
27648 (__register_printf_function): Likewise.
27649 * stdio-common/tempname.c (__path_search): Likewise.
27650 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
27651 * stdlib/mul_1.c (mpn_mul_1): Likewise.
27652 * stdlib/random_r.c (__initstate_r): Likewise.
27653 * stdlib/setenv.c (__add_to_environ): Likewise.
27654 * stdlib/submul_1.c (mpn_submul_1): Likewise.
27655 * streams/getpmsg.c (getpmsg): Likewise.
27656 * streams/putmsg.c (putmsg): Likewise.
27657 * streams/putpmsg.c (putpmsg): Likewise.
27658 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
27659 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
27660 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
27661 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
27662 * sunrpc/pm_getport.c (pmap_getport): Likewise.
27663 * sunrpc/svc_udp.c (cache_get): Likewise.
27664 * sunrpc/xdr_array.c (xdr_vector): Likewise.
27665 * sysdeps/mach/hurd/getcwd.c
27666 (__canonicalize_directory_name_internal): Likewise.
27667 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
27668 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
27669 * sysdeps/mach/hurd/select.c (__select): Likewise.
27670 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
27671 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
27672 * sysdeps/sparc/nptl/pthread_barrier_init.c
27673 (__pthread_barrier_init): Likewise.
27674 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
27675 (__pthread_cond_timedwait): Likewise.
27676 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
27677 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
27678 Likewise.
27679 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
27680 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
27681 Likewise.
27682 * sysvipc/semtimedop.c (semtimedop): Likewise.
27683 * time/setitimer.c (__setitimer): Likewise.
27684 * time/strftime_l.c (emacs_strftime): Likewise.
27685
27686 2015-10-19 Mike Frysinger <vapier@gentoo.org>
27687
27688 * config.make.in (have-ssp): Delete.
27689 (stack-protector): New variable.
27690 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
27691 cache test for -fstack-protector-strong. Export stack_protector to
27692 the best ssp flag.
27693 * configure: Regenerated.
27694 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
27695 * nscd/Makefile (CFLAGS-nscd): Likewise.
27696 * resolv/Makefile (CFLAGS-libresolv): Likewise.
27697
27698 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
27699
27700 [BZ #19122]
27701 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
27702 attribute_hidden.
27703
27704 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27705
27706 [BZ #18743]
27707 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
27708 code to...
27709 (ELIDE_LOCK): ...here.
27710 (__get_new_count): New function with part of the code from
27711 __elide_lock that updates the value of adapt_count after a
27712 transaction abort.
27713 (__elided_trylock): Moved this code to...
27714 (ELIDE_TRYLOCK): ...here.
27715
27716 2015-10-19 Mike Frysinger <vapier@gentoo.org>
27717
27718 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
27719 * configure: Regenerate.
27720 * INSTALL: Regenerate.
27721 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
27722 and tweak grammar.
27723
27724 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
27725
27726 * login/programs/pt_chown.c: Include signal.h
27727 (main): Clear any signal mask from the parent process.
27728
27729 2015-10-19 Joseph Myers <joseph@codesourcery.com>
27730
27731 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
27732 * configure: Regenerated.
27733 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
27734 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
27735 $(gnu89-inline-CFLAGS).
27736
27737 * configure.ac (libc_cv_asm_weak_directive): Remove configure
27738 test.
27739 (libc_cv_asm_weakext_directive): Likewise.
27740 * configure: Regenerated.
27741 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
27742 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
27743 * include/libc-symbols.h
27744 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
27745 #error.
27746 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
27747 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
27748
27749 * sysdeps/arm/backtrace.c (__backtrace): Convert to
27750 prototype-style function definition.
27751 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
27752 * sysdeps/i386/ffs.c (__ffs): Likewise.
27753 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
27754 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
27755 Likewise.
27756 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
27757 Likewise.
27758 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27759 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
27760 Likewise.
27761 * sysdeps/m68k/ffs.c (__ffs): Likewise.
27762 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
27763 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
27764 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
27765 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
27766 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
27767 * sysdeps/mach/hurd/access.c (__access): Likewise.
27768 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
27769 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
27770 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
27771 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
27772 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
27773 (cthread_getspecific): Likewise.
27774 (cthread_setspecific): Likewise.
27775 (__libc_getspecific): Likewise.
27776 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
27777 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
27778 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
27779 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
27780 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
27781 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
27782 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
27783 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
27784 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
27785 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
27786 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
27787 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
27788 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
27789 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
27790 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
27791 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
27792 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
27793 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
27794 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
27795 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
27796 * sysdeps/mach/hurd/link.c (__link): Likewise.
27797 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
27798 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
27799 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
27800 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
27801 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
27802 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
27803 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
27804 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
27805 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
27806 * sysdeps/mach/hurd/rename.c (rename): Likewise.
27807 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
27808 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27809 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
27810 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
27811 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
27812 * sysdeps/mach/hurd/send.c (__send): Likewise.
27813 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
27814 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
27815 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
27816 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
27817 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
27818 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
27819 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
27820 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
27821 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
27822 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
27823 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
27824 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
27825 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
27826 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
27827 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
27828 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
27829 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
27830 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
27831 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
27832 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
27833 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
27834 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
27835 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
27836 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
27837 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
27838 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
27839 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
27840 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
27841 * sysdeps/posix/alarm.c (alarm): Likewise.
27842 * sysdeps/posix/cuserid.c (cuserid): Likewise.
27843 * sysdeps/posix/dirfd.c (dirfd): Likewise.
27844 * sysdeps/posix/dup.c (__dup): Likewise.
27845 * sysdeps/posix/dup2.c (__dup2): Likewise.
27846 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
27847 (main): Likewise.
27848 * sysdeps/posix/flock.c (__flock): Likewise.
27849 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
27850 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
27851 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
27852 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
27853 * sysdeps/posix/isatty.c (__isatty): Likewise.
27854 * sysdeps/posix/killpg.c (killpg): Likewise.
27855 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27856 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
27857 * sysdeps/posix/raise.c (raise): Likewise.
27858 * sysdeps/posix/remove.c (remove): Likewise.
27859 * sysdeps/posix/rename.c (rename): Likewise.
27860 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
27861 * sysdeps/posix/seekdir.c (seekdir): Likewise.
27862 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
27863 * sysdeps/posix/sigignore.c (sigignore): Likewise.
27864 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
27865 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
27866 * sysdeps/posix/sigset.c (sigset): Likewise.
27867 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
27868 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
27869 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
27870 * sysdeps/posix/time.c (time): Likewise.
27871 * sysdeps/posix/ttyname.c (getttyname): Likewise.
27872 (ttyname): Likewise.
27873 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
27874 * sysdeps/posix/utime.c (utime): Likewise.
27875 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
27876 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
27877 Likewise.
27878 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
27879 (pthread_spin_trylock): Likewise.
27880 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
27881 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
27882 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
27883 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
27884 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
27885 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
27886 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
27887 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
27888 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
27889 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
27890 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
27891 * sysdeps/s390/ffs.c (__ffs): Likewise.
27892 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
27893 Likewise.
27894 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
27895 Likewise.
27896 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
27897 Likewise.
27898 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
27899 (pthread_barrier_destroy): Likewise.
27900 * sysdeps/sparc/nptl/pthread_barrier_wait.c
27901 (__pthread_barrier_wait): Likewise.
27902 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
27903 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
27904 (__pthread_barrier_wait): Likewise.
27905 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
27906 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
27907 (memcmp_not_common_alignment): Likewise.
27908 (MEMCMP): Likewise.
27909 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
27910 (_wordcopy_fwd_dest_aligned): Likewise.
27911 (_wordcopy_bwd_aligned): Likewise.
27912 (_wordcopy_bwd_dest_aligned): Likewise.
27913 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
27914 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
27915 * sysdeps/unix/bsd/stty.c (stty): Likewise.
27916 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
27917 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
27918 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
27919 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
27920 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
27921 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
27922 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
27923 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
27924 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
27925 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
27926 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
27927 * sysdeps/unix/stime.c (stime): Likewise.
27928 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
27929 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
27930 Likewise. Use internal_function.
27931 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
27932 Convert to prototype-style function definition.
27933 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
27934 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
27935 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
27936 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27937 Likewise. Use internal_function.
27938 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
27939 prototype-style function definition
27940 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27941 Likewise.
27942 (__getlogin_r): Likewise.
27943 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
27944 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
27945 (__pthread_cond_broadcast): Likewise.
27946 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
27947 (__pthread_cond_destroy): Likewise.
27948 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
27949 (__pthread_cond_init): Likewise.
27950 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
27951 (__pthread_cond_signal): Likewise.
27952 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
27953 (__pthread_cond_wait): Likewise.
27954 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
27955 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
27956 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
27957 Likewise.
27958 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
27959 Likewise.
27960 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
27961 Likewise.
27962 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
27963 Likewise.
27964 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
27965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
27966 (__ftruncate64): Likewise.
27967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
27968 (truncate64): Likewise.
27969 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
27970 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
27971 (pthread_getcpuclockid): Likewise.
27972 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
27973 Likewise.
27974 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
27975 Likewise.
27976 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
27977 Likewise.
27978 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
27979 Likewise.
27980 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
27981 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
27982 (__libc_sigaction): Likewise.
27983 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
27984 Likewise.
27985 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
27986 (__sigprocmask): Likewise.
27987 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
27988 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
27989 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
27990 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
27991 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27992 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
27993 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27994 Likewise.
27995 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
27996 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
27997 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27998 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
27999 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
28000 Likewise.
28001 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28002 (__sigprocmask): Likewise.
28003 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
28004 (cfgetispeed): Likewise.
28005 (cfsetospeed): Likewise.
28006 (cfsetispeed): Likewise.
28007 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
28008 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
28009 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28010 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
28011 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
28012 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
28013 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
28014 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
28015 Likewise.
28016 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
28017 Likewise.
28018 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
28019 Likewise.
28020 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28021 Likewise.
28022 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
28023
28024 2015-10-17 Florian Weimer <fweimer@redhat.com>
28025
28026 sunrpc: Rewrite with explicit TLS access using __thread.
28027 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
28028 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
28029 directly.
28030 (__rpc_thread_variables): Access thread_rpc_vars directly.
28031 Eliminate redundant assignment of the tvp variable.
28032
28033 2015-10-17 Florian Weimer <fweimer@redhat.com>
28034
28035 malloc: Rewrite with explicit TLS access using __thread.
28036 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
28037 (tsd_setspecific, tsd_getspecific): Remove.
28038 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
28039 (tsd_setspecific, tsd_getspecific): Likewise.
28040 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
28041 (tsd_setspecific, tsd_getspecific): Likewise.
28042 * malloc/arena.c (thread_arena): New TLS variable.
28043 (arena_key): Remove variable.
28044 (arena_get): Use thread_arena.
28045 (arena_lookup): Remove macro.
28046 (malloc_atfork, free_atfork, ptmalloc_lock_all)
28047 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
28048 (_int_new_arena, get_free_list, reused_arena)
28049 (arena_thread_freeres): Use thread_arena.
28050 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
28051 tsd_getspecific, tsd_setspecific from safety annotations.
28052 (Allocating Cleared Space): Remove arena_lookup from safety
28053 annotations.
28054
28055 2015-10-17 Florian Weimer <fweimer@redhat.com>
28056
28057 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
28058 struct scratch_buffer instead of extend_alloca.
28059
28060 2015-10-17 Florian Weimer <fweimer@redhat.com>
28061
28062 * sysdeps/unix/sysv/linux/kernel-features.h
28063 (__ASSUME_SOCK_CLOEXEC): Remove.
28064 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
28065 (__have_paccept): Remove unused macro.
28066 * include/unistd.h (__have_sock_cloexec): Remove declaration.
28067 * misc/syslog.c (openlog_internal): Remove fallback code for
28068 !__ASSUME_SOCK_CLOEXEC.
28069 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
28070 missing SOCK_CLOEXEC.
28071 * nscd/connections.c (have_sock_cloexec): Remove definition.
28072 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28073 * nscd/nscd_helper.c (open_socket): Remove fallback code for
28074 !__ASSUME_SOCK_CLOEXEC.
28075 * resolv/res_send.c (__have_o_nonblock): Remove definition.
28076 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28077 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
28078 definition.
28079 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
28080 code for !__ASSUME_SOCK_CLOEXEC.
28081
28082 2015-10-17 Florian Weimer <fweimer@redhat.com>
28083
28084 [BZ #18982]
28085 * manual/stdio.texi (Variable Arguments Output): Add portability
28086 note, explaining that vfprintf clobbers the va_list pointer.
28087
28088 2015-10-16 Joseph Myers <joseph@codesourcery.com>
28089
28090 * math/libm-test.inc (fabs_test_data): Add more tests.
28091 (fdim_test_data): Likewise.
28092 (fma_test_data): Likewise.
28093 (fmax_test_data): Likewise.
28094 (fmin_test_data): Likewise.
28095 (fmod_test_data): Likewise.
28096
28097 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
28098
28099 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
28100 data.
28101
28102 2015-10-16 Joseph Myers <joseph@codesourcery.com>
28103
28104 * math/libm-test.inc (ceil_test_data): Add more tests and more
28105 expectations for "inexact".
28106 (floor_test_data): Add more tests.
28107 (round_test_data): Likewise.
28108 (trunc_test_data): Likewise.
28109
28110 * crypt/cert.c (good_bye): Convert to prototype-style function
28111 definition.
28112 (get8): Likewise.
28113 (put8): Likewise.
28114 * crypt/crypt-entry.c (crypt): Likewise.
28115 (__fcrypt): Likewise.
28116 * crypt/crypt_util.c (_ufc_prbits): Likewise.
28117 (_ufc_set_bits): Likewise.
28118 (_ufc_clearmem): Likewise.
28119 (__init_des_r): Likewise.
28120 (shuffle_sb): Likewise.
28121 (shuffle_sb): Likewise.
28122 (_ufc_setup_salt_r): Likewise.
28123 (_ufc_mk_keytab_r): Likewise.
28124 (_ufc_dofinalperm_r): Likewise.
28125 (encrypt): Likewise.
28126 (__setkey_r): Likewise.
28127 (setkey): Likewise.
28128 * crypt/md5.c (md5_init_ctx): Likewise.
28129 (md5_read_ctx): Likewise.
28130 (md5_finish_ctx): Likewise.
28131 (md5_stream): Likewise.
28132 (md5_buffer): Likewise.
28133 (md5_process_bytes): Likewise.
28134 * crypt/sha256.c (__sha256_init_ctx): Likewise.
28135 (__sha256_finish_ctx): Likewise.
28136 (__sha256_process_bytes): Likewise.
28137 * crypt/sha512.c (__sha512_init_ctx): Likewise.
28138 (__sha512_finish_ctx): Likewise.
28139 (__sha512_process_bytes): Likewise.
28140 * ctype/isctype.c (__isctype): Likewise.
28141 * debug/backtrace.c (__backtrace): Likewise.
28142 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
28143 * debug/fgets_chk.c (__fgets_chk): Likewise.
28144 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
28145 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
28146 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28147 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28148 * debug/memset_chk.c (__memset_chk): Likewise.
28149 * debug/strcat_chk.c (__strcat_chk): Likewise.
28150 * debug/strncat_chk.c (__strncat_chk): Likewise.
28151 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
28152 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
28153 * dirent/dirfd.c (dirfd): Likewise.
28154 * dirent/getdents.c (__getdirentries): Likewise.
28155 * dirent/getdents64.c (getdirentries64): Likewise.
28156 * dirent/rewinddir.c (__rewinddir): Likewise.
28157 * dirent/seekdir.c (seekdir): Likewise.
28158 * dirent/telldir.c (telldir): Likewise.
28159 * elf/sln.c (makesymlinks): Likewise.
28160 (makesymlink): Likewise.
28161 * gmon/gmon.c (__moncontrol): Likewise.
28162 (__monstartup): Likewise.
28163 (write_hist): Likewise.
28164 (write_call_graph): Likewise.
28165 (write_bb_counts): Likewise.
28166 * grp/setgroups.c (setgroups): Likewise.
28167 * inet/inet_lnaof.c (inet_lnaof): Likewise.
28168 * inet/inet_net.c (inet_network): Likewise.
28169 * inet/inet_netof.c (inet_netof): Likewise.
28170 * inet/rcmd.c (rresvport_af): Likewise.
28171 (rresvport): Likewise.
28172 * io/access.c (__access): Likewise.
28173 * io/chdir.c (__chdir): Likewise.
28174 * io/chmod.c (__chmod): Likewise.
28175 * io/chown.c (__chown): Likewise.
28176 * io/close.c (__close): Likewise.
28177 * io/creat.c (creat): Likewise.
28178 * io/creat64.c (creat64): Likewise.
28179 * io/dup.c (__dup): Likewise.
28180 * io/dup2.c (__dup2): Likewise.
28181 * io/dup3.c (__dup3): Likewise.
28182 * io/euidaccess.c (__euidaccess): Likewise.
28183 * io/faccessat.c (faccessat): Likewise.
28184 * io/fchmod.c (__fchmod): Likewise.
28185 * io/fchmodat.c (fchmodat): Likewise.
28186 * io/fchown.c (__fchown): Likewise.
28187 * io/fchownat.c (fchownat): Likewise.
28188 * io/fcntl.c (__fcntl): Likewise.
28189 * io/flock.c (__flock): Likewise.
28190 * io/fts.c (fts_load): Likewise.
28191 (fts_close): Likewise.
28192 (fts_read): Likewise.
28193 (fts_set): Likewise.
28194 (fts_children): Likewise.
28195 (fts_build): Likewise.
28196 (fts_stat): Likewise.
28197 (fts_sort): Likewise.
28198 (fts_alloc): Likewise.
28199 (fts_lfree): Likewise.
28200 (fts_palloc): Likewise.
28201 (fts_padjust): Likewise.
28202 (fts_maxarglen): Likewise.
28203 (fts_safe_changedir): Likewise.
28204 * io/getwd.c (getwd): Likewise.
28205 * io/isatty.c (__isatty): Likewise.
28206 * io/lchown.c (__lchown): Likewise.
28207 * io/link.c (__link): Likewise.
28208 * io/linkat.c (linkat): Likewise.
28209 * io/lseek.c (__libc_lseek): Likewise.
28210 * io/mkdir.c (__mkdir): Likewise.
28211 * io/mkdirat.c (mkdirat): Likewise.
28212 * io/mkfifo.c (mkfifo): Likewise.
28213 * io/mkfifoat.c (mkfifoat): Likewise.
28214 * io/open.c (__libc_open): Likewise.
28215 * io/open64.c (__libc_open64): Likewise.
28216 * io/readlink.c (__readlink): Likewise.
28217 * io/readlinkat.c (readlinkat): Likewise.
28218 * io/rmdir.c (__rmdir): Likewise.
28219 * io/symlink.c (__symlink): Likewise.
28220 * io/symlinkat.c (symlinkat): Likewise.
28221 * io/ttyname.c (ttyname): Likewise.
28222 * io/ttyname_r.c (__ttyname_r): Likewise.
28223 * io/umask.c (__umask): Likewise.
28224 * io/unlink.c (__unlink): Likewise.
28225 * io/unlinkat.c (unlinkat): Likewise.
28226 * io/utime.c (utime): Likewise.
28227 * libio/clearerr.c (clearerr): Likewise.
28228 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
28229 * libio/feof.c (_IO_feof): Likewise.
28230 * libio/feof_u.c (feof_unlocked): Likewise.
28231 * libio/ferror.c (_IO_ferror): Likewise.
28232 * libio/ferror_u.c (ferror_unlocked): Likewise.
28233 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
28234 * libio/fileno.c (__fileno): Likewise.
28235 * libio/fputc.c (fputc): Likewise.
28236 * libio/fputc_u.c (fputc_unlocked): Likewise.
28237 * libio/fputwc.c (fputwc): Likewise.
28238 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
28239 * libio/freopen.c (freopen): Likewise.
28240 * libio/freopen64.c (freopen64): Likewise.
28241 * libio/fseek.c (fseek): Likewise.
28242 * libio/fseeko.c (fseeko): Likewise.
28243 * libio/fseeko64.c (fseeko64): Likewise.
28244 * libio/ftello.c (__ftello): Likewise.
28245 * libio/ftello64.c (ftello64): Likewise.
28246 * libio/fwide.c (fwide): Likewise.
28247 * libio/genops.c (_IO_un_link): Likewise.
28248 (_IO_link_in): Likewise.
28249 (_IO_least_marker): Likewise.
28250 (_IO_switch_to_main_get_area): Likewise.
28251 (_IO_switch_to_backup_area): Likewise.
28252 (_IO_switch_to_get_mode): Likewise.
28253 (_IO_free_backup_area): Likewise.
28254 (_IO_switch_to_put_mode): Likewise.
28255 (__overflow): Likewise.
28256 (__underflow): Likewise.
28257 (__uflow): Likewise.
28258 (_IO_setb): Likewise.
28259 (_IO_doallocbuf): Likewise.
28260 (_IO_default_underflow): Likewise.
28261 (_IO_default_uflow): Likewise.
28262 (_IO_default_xsputn): Likewise.
28263 (_IO_sgetn): Likewise.
28264 (_IO_default_xsgetn): Likewise.
28265 (_IO_sync): Likewise.
28266 (_IO_default_setbuf): Likewise.
28267 (_IO_default_seekpos): Likewise.
28268 (_IO_default_doallocate): Likewise.
28269 (_IO_init): Likewise.
28270 (_IO_old_init): Likewise.
28271 (_IO_default_sync): Likewise.
28272 (_IO_default_finish): Likewise.
28273 (_IO_default_seekoff): Likewise.
28274 (_IO_sputbackc): Likewise.
28275 (_IO_sungetc): Likewise.
28276 (_IO_set_column): Likewise.
28277 (_IO_set_column): Likewise.
28278 (_IO_adjust_column): Likewise.
28279 (_IO_get_column): Likewise.
28280 (_IO_init_marker): Likewise.
28281 (_IO_remove_marker): Likewise.
28282 (_IO_marker_difference): Likewise.
28283 (_IO_marker_delta): Likewise.
28284 (_IO_seekmark): Likewise.
28285 (_IO_unsave_markers): Likewise.
28286 (_IO_nobackup_pbackfail): Likewise.
28287 (_IO_default_pbackfail): Likewise.
28288 (_IO_default_seek): Likewise.
28289 (_IO_default_stat): Likewise.
28290 (_IO_default_read): Likewise.
28291 (_IO_default_write): Likewise.
28292 (_IO_default_showmanyc): Likewise.
28293 (_IO_default_imbue): Likewise.
28294 (_IO_iter_next): Likewise.
28295 (_IO_iter_file): Likewise.
28296 * libio/getc.c (_IO_getc): Likewise.
28297 * libio/getwc.c (_IO_getwc): Likewise.
28298 * libio/iofclose.c (_IO_new_fclose): Likewise.
28299 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28300 * libio/iofflush.c (_IO_fflush): Likewise.
28301 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
28302 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
28303 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
28304 * libio/iofgets.c (_IO_fgets): Likewise.
28305 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
28306 * libio/iofgetws.c (fgetws): Likewise.
28307 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
28308 * libio/iofopen64.c (_IO_fopen64): Likewise.
28309 * libio/iofopncook.c (_IO_cookie_read): Likewise.
28310 (_IO_cookie_write): Likewise.
28311 (_IO_cookie_seek): Likewise.
28312 (_IO_cookie_close): Likewise.
28313 (_IO_cookie_seekoff): Likewise.
28314 (_IO_old_cookie_seek): Likewise.
28315 * libio/iofputs.c (_IO_fputs): Likewise.
28316 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
28317 * libio/iofputws.c (fputws): Likewise.
28318 * libio/iofputws_u.c (fputws_unlocked): Likewise.
28319 * libio/iofread.c (_IO_fread): Likewise.
28320 * libio/iofread_u.c (__fread_unlocked): Likewise.
28321 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
28322 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28323 * libio/ioftell.c (_IO_ftell): Likewise.
28324 * libio/iofwrite.c (_IO_fwrite): Likewise.
28325 * libio/iogetdelim.c (_IO_getdelim): Likewise.
28326 * libio/iogets.c (_IO_gets): Likewise.
28327 * libio/iopadn.c (_IO_padn): Likewise.
28328 * libio/iopopen.c (_IO_new_proc_open): Likewise.
28329 (_IO_new_popen): Likewise.
28330 (_IO_new_proc_close): Likewise.
28331 * libio/ioputs.c (_IO_puts): Likewise.
28332 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
28333 (_IO_seekoff): Likewise.
28334 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
28335 (_IO_seekpos): Likewise.
28336 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
28337 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
28338 * libio/ioungetc.c (_IO_ungetc): Likewise.
28339 * libio/ioungetwc.c (ungetwc): Likewise.
28340 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28341 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
28342 * libio/iowpadn.c (_IO_wpadn): Likewise.
28343 * libio/libc_fatal.c (__libc_fatal): Likewise.
28344 * libio/memstream.c (__open_memstream): Likewise.
28345 (_IO_mem_sync): Likewise.
28346 (_IO_mem_finish): Likewise.
28347 * libio/oldfileops.c (_IO_old_file_init): Likewise.
28348 (_IO_old_file_close_it): Likewise.
28349 (_IO_old_file_finish): Likewise.
28350 (_IO_old_file_fopen): Likewise.
28351 (_IO_old_file_attach): Likewise.
28352 (_IO_old_file_setbuf): Likewise.
28353 (_IO_old_do_write): Likewise.
28354 (old_do_write): Likewise.
28355 (_IO_old_file_underflow): Likewise.
28356 (_IO_old_file_overflow): Likewise.
28357 (_IO_old_file_sync): Likewise.
28358 (_IO_old_file_seekoff): Likewise.
28359 (_IO_old_file_write): Likewise.
28360 (_IO_old_file_xsputn): Likewise.
28361 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
28362 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28363 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
28364 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
28365 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
28366 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
28367 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
28368 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
28369 (_IO_old_popen): Likewise.
28370 (_IO_old_proc_close): Likewise.
28371 * libio/oldpclose.c (__old_pclose): Likewise.
28372 * libio/pclose.c (__new_pclose): Likewise.
28373 * libio/peekc.c (_IO_peekc_locked): Likewise.
28374 * libio/putc.c (_IO_putc): Likewise.
28375 * libio/putc_u.c (putc_unlocked): Likewise.
28376 * libio/putchar.c (putchar): Likewise.
28377 * libio/putchar_u.c (putchar_unlocked): Likewise.
28378 * libio/putwc.c (putwc): Likewise.
28379 * libio/putwc_u.c (putwc_unlocked): Likewise.
28380 * libio/putwchar.c (putwchar): Likewise.
28381 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
28382 * libio/rewind.c (rewind): Likewise.
28383 * libio/setbuf.c (setbuf): Likewise.
28384 * libio/setlinebuf.c (setlinebuf): Likewise.
28385 * libio/vasprintf.c (_IO_vasprintf): Likewise.
28386 * libio/vscanf.c (_IO_vscanf): Likewise.
28387 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
28388 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
28389 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
28390 * libio/wgenops.c (_IO_least_wmarker): Likewise.
28391 (_IO_switch_to_main_wget_area): Likewise.
28392 (_IO_switch_to_wbackup_area): Likewise.
28393 (_IO_wsetb): Likewise.
28394 (_IO_wdefault_pbackfail): Likewise.
28395 (_IO_wdefault_finish): Likewise.
28396 (_IO_wdefault_uflow): Likewise.
28397 (__woverflow): Likewise.
28398 (__wuflow): Likewise.
28399 (__wunderflow): Likewise.
28400 (_IO_wdefault_xsputn): Likewise.
28401 (_IO_wdefault_xsgetn): Likewise.
28402 (_IO_wdoallocbuf): Likewise.
28403 (_IO_wdefault_doallocate): Likewise.
28404 (_IO_switch_to_wget_mode): Likewise.
28405 (_IO_free_wbackup_area): Likewise.
28406 (_IO_switch_to_wput_mode): Likewise.
28407 (_IO_sputbackwc): Likewise.
28408 (_IO_sungetwc): Likewise.
28409 (_IO_adjust_wcolumn): Likewise.
28410 (_IO_init_wmarker): Likewise.
28411 (_IO_wmarker_delta): Likewise.
28412 (_IO_seekwmark): Likewise.
28413 (_IO_unsave_wmarkers): Likewise.
28414 * libio/wmemstream.c (open_wmemstream): Likewise.
28415 (_IO_wmem_sync): Likewise.
28416 (_IO_wmem_finish): Likewise.
28417 * locale/nl_langinfo.c (nl_langinfo): Likewise.
28418 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
28419 * locale/programs/simple-hash.c (init_hash): Likewise.
28420 (delete_hash): Likewise.
28421 (insert_entry): Likewise.
28422 (set_entry): Likewise.
28423 (next_prime): Likewise.
28424 (is_prime): Likewise.
28425 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
28426 (xmalloc): Likewise.
28427 (xrealloc): Likewise.
28428 * locale/programs/xstrdup.c (xstrdup): Likewise.
28429 * localedata/collate-test.c (xstrcoll): Likewise.
28430 * localedata/xfrm-test.c (xstrcmp): Likewise.
28431 * login/getlogin_r.c (__getlogin_r): Likewise.
28432 * login/getpt.c (__posix_openpt): Likewise.
28433 * login/login_tty.c (login_tty): Likewise.
28434 * login/setlogin.c (setlogin): Likewise.
28435 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
28436 (mach_msg_destroy_port): Likewise.
28437 (mach_msg_destroy_memory): Likewise.
28438 * malloc/mcheck.c (flood): Likewise.
28439 * misc/acct.c (acct): Likewise.
28440 * misc/brk.c (__brk): Likewise.
28441 * misc/chflags.c (chflags): Likewise.
28442 * misc/chroot.c (chroot): Likewise.
28443 * misc/fchflags.c (fchflags): Likewise.
28444 * misc/fstab.c (getfsspec): Likewise.
28445 (getfsfile): Likewise.
28446 * misc/fsync.c (fsync): Likewise.
28447 * misc/ftruncate.c (__ftruncate): Likewise.
28448 * misc/ftruncate64.c (__ftruncate64): Likewise.
28449 * misc/getdomain.c (getdomainname): Likewise.
28450 (getdomainname): Likewise.
28451 * misc/gethostname.c (__gethostname): Likewise.
28452 * misc/getpass.c (getpass): Likewise.
28453 * misc/getttyent.c (skip): Likewise.
28454 (value): Likewise.
28455 * misc/gtty.c (gtty): Likewise.
28456 * misc/hsearch.c (hsearch): Likewise.
28457 (hcreate): Likewise.
28458 * misc/hsearch_r.c (__hcreate_r): Likewise.
28459 (__hdestroy_r): Likewise.
28460 * misc/ioctl.c (__ioctl): Likewise.
28461 * misc/mkdtemp.c (mkdtemp): Likewise.
28462 * misc/mkostemp.c (mkostemp): Likewise.
28463 * misc/mkostemp64.c (mkostemp64): Likewise.
28464 * misc/mkostemps.c (mkostemps): Likewise.
28465 * misc/mkostemps64.c (mkostemps64): Likewise.
28466 * misc/mkstemp.c (mkstemp): Likewise.
28467 * misc/mkstemp64.c (mkstemp64): Likewise.
28468 * misc/mkstemps.c (mkstemps): Likewise.
28469 * misc/mkstemps64.c (mkstemps64): Likewise.
28470 * misc/mktemp.c (__mktemp): Likewise.
28471 * misc/preadv.c (preadv): Likewise.
28472 * misc/preadv64.c (preadv64): Likewise.
28473 * misc/pwritev.c (pwritev): Likewise.
28474 * misc/pwritev64.c (pwritev64): Likewise.
28475 * misc/readv.c (__readv): Likewise.
28476 * misc/revoke.c (revoke): Likewise.
28477 * misc/setdomain.c (setdomainname): Likewise.
28478 * misc/setegid.c (setegid): Likewise.
28479 * misc/seteuid.c (seteuid): Likewise.
28480 * misc/sethostid.c (sethostid): Likewise.
28481 * misc/sethostname.c (sethostname): Likewise.
28482 * misc/setregid.c (__setregid): Likewise.
28483 * misc/setreuid.c (__setreuid): Likewise.
28484 * misc/sstk.c (sstk): Likewise.
28485 * misc/stty.c (stty): Likewise.
28486 * misc/syscall.c (syscall): Likewise.
28487 * misc/syslog.c (setlogmask): Likewise.
28488 * misc/truncate.c (__truncate): Likewise.
28489 * misc/truncate64.c (truncate64): Likewise.
28490 * misc/ualarm.c (ualarm): Likewise.
28491 * misc/usleep.c (usleep): Likewise.
28492 * misc/ustat.c (ustat): Likewise.
28493 * misc/writev.c (__writev): Likewise.
28494 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
28495 * nptl/old_pthread_cond_broadcast.c
28496 (__pthread_cond_broadcast_2_0): Likewise.
28497 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
28498 Likewise.
28499 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
28500 Likewise.
28501 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
28502 Likewise.
28503 * nptl/pt-raise.c (raise): Likewise.
28504 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
28505 Likewise.
28506 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
28507 * nptl/pthread_barrierattr_destroy.c
28508 (pthread_barrierattr_destroy): Likewise.
28509 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28510 Likewise.
28511 * nptl/pthread_barrierattr_setpshared.c
28512 (pthread_barrierattr_setpshared): Likewise.
28513 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
28514 Likewise.
28515 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
28516 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28517 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
28518 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
28519 Likewise.
28520 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
28521 Likewise.
28522 * nptl/pthread_condattr_getpshared.c
28523 (pthread_condattr_getpshared): Likewise.
28524 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
28525 Likewise.
28526 * nptl/pthread_condattr_setpshared.c
28527 (pthread_condattr_setpshared): Likewise.
28528 * nptl/pthread_detach.c (pthread_detach): Likewise.
28529 * nptl/pthread_equal.c (__pthread_equal): Likewise.
28530 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
28531 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
28532 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
28533 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
28534 Likewise.
28535 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
28536 Likewise.
28537 * nptl/pthread_mutex_getprioceiling.c
28538 (pthread_mutex_getprioceiling): Likewise.
28539 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
28540 Likewise.
28541 * nptl/pthread_mutexattr_getprotocol.c
28542 (pthread_mutexattr_getprotocol): Likewise.
28543 * nptl/pthread_mutexattr_getpshared.c
28544 (pthread_mutexattr_getpshared): Likewise.
28545 * nptl/pthread_mutexattr_getrobust.c
28546 (pthread_mutexattr_getrobust): Likewise.
28547 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
28548 Likewise.
28549 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
28550 Likewise.
28551 * nptl/pthread_mutexattr_setprioceiling.c
28552 (pthread_mutexattr_setprioceiling): Likewise.
28553 * nptl/pthread_mutexattr_setprotocol.c
28554 (pthread_mutexattr_setprotocol): Likewise.
28555 * nptl/pthread_mutexattr_setpshared.c
28556 (pthread_mutexattr_setpshared): Likewise.
28557 * nptl/pthread_mutexattr_setrobust.c
28558 (pthread_mutexattr_setrobust): Likewise.
28559 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
28560 Likewise.
28561 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
28562 Likewise.
28563 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
28564 Likewise.
28565 * nptl/pthread_rwlockattr_getkind_np.c
28566 (pthread_rwlockattr_getkind_np): Likewise.
28567 * nptl/pthread_rwlockattr_getpshared.c
28568 (pthread_rwlockattr_getpshared): Likewise.
28569 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
28570 Likewise.
28571 * nptl/pthread_rwlockattr_setkind_np.c
28572 (pthread_rwlockattr_setkind_np): Likewise.
28573 * nptl/pthread_rwlockattr_setpshared.c
28574 (pthread_rwlockattr_setpshared): Likewise.
28575 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
28576 Likewise.
28577 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
28578 Likewise.
28579 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
28580 Likewise.
28581 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
28582 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
28583 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
28584 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
28585 * nptl/sem_close.c (sem_close): Likewise.
28586 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
28587 * nptl/sem_init.c (__old_sem_init): Likewise.
28588 * nptl/sigaction.c (__sigaction): Likewise.
28589 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
28590 * posix/_exit.c (_exit): Likewise.
28591 * posix/alarm.c (alarm): Likewise.
28592 * posix/confstr.c (confstr): Likewise.
28593 * posix/fpathconf.c (__fpathconf): Likewise.
28594 * posix/getgroups.c (__getgroups): Likewise.
28595 * posix/getpgid.c (__getpgid): Likewise.
28596 * posix/group_member.c (__group_member): Likewise.
28597 * posix/pathconf.c (__pathconf): Likewise.
28598 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
28599 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
28600 * posix/setgid.c (__setgid): Likewise.
28601 * posix/setpgid.c (__setpgid): Likewise.
28602 * posix/setuid.c (__setuid): Likewise.
28603 * posix/sleep.c (__sleep): Likewise.
28604 * posix/sysconf.c (__sysconf): Likewise.
28605 * posix/times.c (__times): Likewise.
28606 * posix/uname.c (__uname): Likewise.
28607 * posix/waitid.c (__waitid): Likewise.
28608 * pwd/getpw.c (__getpw): Likewise.
28609 * resolv/base64.c (b64_pton): Likewise.
28610 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28611 * resolv/gethnamaddr.c (Dprintf): Likewise.
28612 (gethostbyname): Likewise.
28613 (gethostbyname2): Likewise.
28614 (gethostbyaddr): Likewise.
28615 (_sethtent): Likewise.
28616 (_gethtbyname): Likewise.
28617 (_gethtbyname2): Likewise.
28618 (_gethtbyaddr): Likewise.
28619 (map_v4v6_address): Likewise.
28620 (map_v4v6_hostent): Likewise.
28621 (addrsort): Likewise.
28622 (ht_sethostent): Likewise.
28623 (ht_gethostbyname): Likewise.
28624 (ht_gethostbyaddr): Likewise.
28625 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
28626 (inet_net_ntop_ipv4): Likewise.
28627 * resolv/inet_neta.c (inet_neta): Likewise.
28628 * resolv/inet_ntop.c (inet_ntop): Likewise.
28629 (inet_ntop4): Likewise.
28630 (inet_ntop6): Likewise.
28631 * resolv/inet_pton.c (__inet_pton): Likewise.
28632 (inet_pton4): Likewise.
28633 (inet_pton6): Likewise.
28634 * resolv/res_debug.c (loc_aton): Likewise.
28635 (loc_ntoa): Likewise.
28636 * resource/getpriority.c (__getpriority): Likewise.
28637 * resource/getrusage.c (__getrusage): Likewise.
28638 * resource/nice.c (nice): Likewise.
28639 * resource/setpriority.c (__setpriority): Likewise.
28640 * resource/setrlimit64.c (setrlimit64): Likewise.
28641 * resource/vlimit.c (vlimit): Likewise.
28642 * resource/vtimes.c (vtimes): Likewise.
28643 * rt/aio_error.c (aio_error): Likewise.
28644 * rt/aio_return.c (aio_return): Likewise.
28645 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
28646 * signal/kill.c (__kill): Likewise.
28647 * signal/killpg.c (killpg): Likewise.
28648 * signal/raise.c (raise): Likewise.
28649 * signal/sigaction.c (__sigaction): Likewise.
28650 * signal/sigaddset.c (sigaddset): Likewise.
28651 * signal/sigaltstack.c (sigaltstack): Likewise.
28652 * signal/sigandset.c (sigandset): Likewise.
28653 * signal/sigblock.c (__sigblock): Likewise.
28654 * signal/sigdelset.c (sigdelset): Likewise.
28655 * signal/sigempty.c (sigemptyset): Likewise.
28656 * signal/sigfillset.c (sigfillset): Likewise.
28657 * signal/sighold.c (sighold): Likewise.
28658 * signal/sigignore.c (sigignore): Likewise.
28659 * signal/sigintr.c (siginterrupt): Likewise.
28660 * signal/sigisempty.c (sigisemptyset): Likewise.
28661 * signal/sigismem.c (sigismember): Likewise.
28662 * signal/signal.c (signal): Likewise.
28663 * signal/sigorset.c (sigorset): Likewise.
28664 * signal/sigpause.c (__sigpause): Likewise.
28665 * signal/sigpending.c (sigpending): Likewise.
28666 * signal/sigprocmask.c (__sigprocmask): Likewise.
28667 * signal/sigrelse.c (sigrelse): Likewise.
28668 * signal/sigreturn.c (__sigreturn): Likewise.
28669 * signal/sigset.c (sigset): Likewise.
28670 * signal/sigsetmask.c (__sigsetmask): Likewise.
28671 * signal/sigstack.c (sigstack): Likewise.
28672 * signal/sigsuspend.c (__sigsuspend): Likewise.
28673 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
28674 * signal/sysv_signal.c (__sysv_signal): Likewise.
28675 * socket/accept.c (accept): Likewise.
28676 * socket/accept4.c (__libc_accept4): Likewise.
28677 * socket/bind.c (__bind): Likewise.
28678 * socket/connect.c (__connect): Likewise.
28679 * socket/getpeername.c (getpeername): Likewise.
28680 * socket/getsockname.c (__getsockname): Likewise.
28681 * socket/getsockopt.c (getsockopt): Likewise.
28682 * socket/listen.c (__listen): Likewise.
28683 * socket/recv.c (__recv): Likewise.
28684 * socket/recvmsg.c (__recvmsg): Likewise.
28685 * socket/send.c (__send): Likewise.
28686 * socket/sendmsg.c (__sendmsg): Likewise.
28687 * socket/shutdown.c (shutdown): Likewise.
28688 * socket/sockatmark.c (sockatmark): Likewise.
28689 * socket/socket.c (__socket): Likewise.
28690 * stdio-common/ctermid.c (ctermid): Likewise.
28691 * stdio-common/cuserid.c (cuserid): Likewise.
28692 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
28693 * stdio-common/remove.c (remove): Likewise.
28694 * stdio-common/rename.c (rename): Likewise.
28695 * stdio-common/renameat.c (renameat): Likewise.
28696 * stdio-common/tempname.c (__gen_tempname): Likewise.
28697 * stdio-common/xbug.c (InitBuffer): Likewise.
28698 (AppendToBuffer): Likewise.
28699 (ReadFile): Likewise.
28700 * stdlib/a64l.c (a64l): Likewise.
28701 * stdlib/drand48_r.c (drand48_r): Likewise.
28702 * stdlib/getcontext.c (getcontext): Likewise.
28703 * stdlib/getenv.c (getenv): Likewise.
28704 * stdlib/l64a.c (l64a): Likewise.
28705 * stdlib/llabs.c (llabs): Likewise.
28706 * stdlib/lldiv.c (lldiv): Likewise.
28707 * stdlib/lrand48_r.c (lrand48_r): Likewise.
28708 * stdlib/mrand48_r.c (mrand48_r): Likewise.
28709 * stdlib/putenv.c (putenv): Likewise.
28710 * stdlib/random.c (__srandom): Likewise.
28711 (__initstate): Likewise.
28712 (__setstate): Likewise.
28713 * stdlib/random_r.c (__srandom_r): Likewise.
28714 (__setstate_r): Likewise.
28715 (__random_r): Likewise.
28716 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
28717 * stdlib/setcontext.c (setcontext): Likewise.
28718 * stdlib/setenv.c (setenv): Likewise.
28719 (unsetenv): Likewise.
28720 * stdlib/srand48.c (srand48): Likewise.
28721 * stdlib/srand48_r.c (__srand48_r): Likewise.
28722 * stdlib/swapcontext.c (swapcontext): Likewise.
28723 * stdlib/system.c (__libc_system): Likewise.
28724 * stdlib/tst-strtod.c (expand): Likewise.
28725 * stdlib/tst-strtol.c (expand): Likewise.
28726 * stdlib/tst-strtoll.c (expand): Likewise.
28727 * streams/fattach.c (fattach): Likewise.
28728 * streams/fdetach.c (fdetach): Likewise.
28729 * streams/getmsg.c (getmsg): Likewise.
28730 * streams/isastream.c (isastream): Likewise.
28731 * string/ffs.c (__ffs): Likewise.
28732 * string/ffsll.c (ffsll): Likewise.
28733 * string/memcmp.c (memcmp_common_alignment): Likewise.
28734 (memcmp_not_common_alignment): Likewise.
28735 (MEMCMP): Likewise.
28736 * string/memcpy.c (memcpy): Likewise.
28737 * string/memmove.c (MEMMOVE): Likewise.
28738 * string/memset.c (memset): Likewise.
28739 * string/rawmemchr.c (RAWMEMCHR): Likewise.
28740 * string/strchrnul.c (STRCHRNUL): Likewise.
28741 * string/strerror.c (strerror): Likewise.
28742 * string/strndup.c (__strndup): Likewise.
28743 * string/strverscmp.c (__strverscmp): Likewise.
28744 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
28745 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
28746 (clnttcp_freeres): Likewise.
28747 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
28748 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
28749 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
28750 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
28751 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
28752 (xdr_callhdr): Likewise.
28753 * sunrpc/rpcinfo.c (udpping): Likewise.
28754 (tcpping): Likewise.
28755 (pstatus): Likewise.
28756 (pmapdump): Likewise.
28757 (brdcst): Likewise.
28758 (deletereg): Likewise.
28759 (getprognum): Likewise.
28760 (getvers): Likewise.
28761 (get_inet_address): Likewise.
28762 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
28763 * sunrpc/svc_udp.c (svcudp_create): Likewise.
28764 (svcudp_stat): Likewise.
28765 (svcudp_recv): Likewise.
28766 (svcudp_reply): Likewise.
28767 (svcudp_getargs): Likewise.
28768 (svcudp_freeargs): Likewise.
28769 (svcudp_destroy): Likewise.
28770 * sunrpc/xdr.c (xdr_bytes): Likewise.
28771 (xdr_netobj): Likewise.
28772 (xdr_string): Likewise.
28773 (xdr_wrapstring): Likewise.
28774 * sunrpc/xdr_float.c (xdr_float): Likewise.
28775 (xdr_double): Likewise.
28776 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
28777 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
28778 * sysvipc/ftok.c (ftok): Likewise.
28779 * sysvipc/msgctl.c (msgctl): Likewise.
28780 * sysvipc/msgget.c (msgget): Likewise.
28781 * sysvipc/msgrcv.c (msgrcv): Likewise.
28782 * sysvipc/msgsnd.c (msgsnd): Likewise.
28783 * sysvipc/semget.c (semget): Likewise.
28784 * sysvipc/semop.c (semop): Likewise.
28785 * sysvipc/shmat.c (shmat): Likewise.
28786 * sysvipc/shmctl.c (shmctl): Likewise.
28787 * sysvipc/shmdt.c (shmdt): Likewise.
28788 * sysvipc/shmget.c (shmget): Likewise.
28789 * termios/cfmakeraw.c (cfmakeraw): Likewise.
28790 * termios/speed.c (cfgetospeed): Likewise.
28791 (cfgetispeed): Likewise.
28792 (cfsetospeed): Likewise.
28793 (cfsetispeed): Likewise.
28794 * termios/tcflow.c (tcflow): Likewise.
28795 * termios/tcflush.c (tcflush): Likewise.
28796 * termios/tcgetattr.c (__tcgetattr): Likewise.
28797 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
28798 * termios/tcgetsid.c (tcgetsid): Likewise.
28799 * termios/tcsendbrk.c (tcsendbreak): Likewise.
28800 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
28801 * time/adjtime.c (__adjtime): Likewise.
28802 * time/dysize.c (dysize): Likewise.
28803 * time/ftime.c (ftime): Likewise.
28804 * time/getitimer.c (__getitimer): Likewise.
28805 * time/gettimeofday.c (__gettimeofday): Likewise.
28806 * time/gmtime.c (__gmtime_r): Likewise.
28807 (gmtime): Likewise.
28808 * time/localtime.c (__localtime_r): Likewise.
28809 (localtime): Likewise.
28810 * time/offtime.c (__offtime): Likewise.
28811 * time/settimeofday.c (__settimeofday): Likewise.
28812 * time/stime.c (stime): Likewise.
28813 * time/strftime_l.c (tm_diff): Likewise.
28814 (iso_week_days): Likewise.
28815 * time/strptime.c (strptime): Likewise.
28816 * time/time.c (time): Likewise.
28817 * time/timespec_get.c (timespec_get): Likewise.
28818 * time/tzset.c (tzset_internal): Likewise.
28819 (compute_change): Likewise.
28820 (__tz_compute): Likewise.
28821 * wcsmbs/btowc.c (__btowc): Likewise.
28822 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
28823 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
28824 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
28825 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
28826 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
28827 * wcsmbs/wcscat.c (__wcscat): Likewise.
28828 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
28829 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
28830 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
28831 * wcsmbs/wcscspn.c (wcscspn): Likewise.
28832 * wcsmbs/wcsdup.c (wcsdup): Likewise.
28833 * wcsmbs/wcslen.c (__wcslen): Likewise.
28834 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
28835 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
28836 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
28837 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
28838 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
28839 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
28840 * wcsmbs/wcsspn.c (wcsspn): Likewise.
28841 * wcsmbs/wcsstr.c (wcsstr): Likewise.
28842 * wcsmbs/wcstok.c (wcstok): Likewise.
28843 * wcsmbs/wctob.c (wctob): Likewise.
28844 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
28845 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28846 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
28847 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
28848 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
28849 * wcsmbs/wmemset.c (__wmemset): Likewise.
28850 * wctype/wcfuncs.c (__towlower): Likewise.
28851 (__towupper): Likewise.
28852
28853 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
28854 (lll_unlock_elision): Add adapt_count parameter.
28855
28856 2015-10-15 Joseph Myers <joseph@codesourcery.com>
28857
28858 * sysdeps/nptl/configure.ac: Do not give errors based on the
28859 results of top-level configure tests.
28860 * sysdeps/nptl/configure: Regenerated.
28861
28862 * configure.ac (libc_cv_Bgroup): Remove configure test.
28863 * configure: Regenerated.
28864 * config.make.in (have-Bgroup): Remove variable.
28865
28866 * configure.ac (sizeof_long_double): Remove configure test.
28867 * configure: Regenerated.
28868 * config.make.in (sizeof-long-double): Remove variable.
28869
28870 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
28871 * configure: Regenerated.
28872 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
28873 variable.
28874 (exceptions): Likewise.
28875 * sysdeps/arm/configure: Regenerated.
28876 * config.make.in (exceptions): Remove variable.
28877 * Makeconfig (uses-callbacks): Use -fexceptions instead of
28878 $(exceptions).
28879 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
28880 (CFLAGS-vdprintf_chk.c): Likewise.
28881 (CFLAGS-printf_chk.c): Likewise.
28882 (CFLAGS-fprintf_chk.c): Likewise.
28883 (CFLAGS-vprintf_chk.c): Likewise.
28884 (CFLAGS-vfprintf_chk.c): Likewise.
28885 (CFLAGS-gets_chk.c): Likewise.
28886 (CFLAGS-fgets_chk.c): Likewise.
28887 (CFLAGS-fgets_u_chk.c): Likewise.
28888 (CFLAGS-fread_chk.c): Likewise.
28889 (CFLAGS-fread_u_chk.c): Likewise.
28890 (CFLAGS-wprintf_chk.c): Likewise.
28891 (CFLAGS-fwprintf_chk.c): Likewise.
28892 (CFLAGS-vwprintf_chk.c): Likewise.
28893 (CFLAGS-vfwprintf_chk.c): Likewise.
28894 (CFLAGS-fgetws_chk.c): Likewise.
28895 (CFLAGS-fgetws_u_chk.c): Likewise.
28896 * libio/Makefile (CFLAGS-fileops.c): Likewise.
28897 (CFLAGS-fputc.c): Likewise.
28898 (CFLAGS-fputwc.c): Likewise.
28899 (CFLAGS-freopen64.c): Likewise.
28900 (CFLAGS-freopen.c): Likewise.
28901 (CFLAGS-fseek.c): Likewise.
28902 (CFLAGS-fseeko64.c): Likewise.
28903 (CFLAGS-fseeko.c): Likewise.
28904 (CFLAGS-ftello64.c): Likewise.
28905 (CFLAGS-ftello.c): Likewise.
28906 (CFLAGS-fwide.c): Likewise.
28907 (CFLAGS-genops.c): Likewise.
28908 (CFLAGS-getc.c): Likewise.
28909 (CFLAGS-getchar.c): Likewise.
28910 (CFLAGS-getwc.c): Likewise.
28911 (CFLAGS-getwchar.c): Likewise.
28912 (CFLAGS-iofclose.c): Likewise.
28913 (CFLAGS-iofflush.c): Likewise.
28914 (CFLAGS-iofgetpos64.c): Likewise.
28915 (CFLAGS-iofgetpos.c): Likewise.
28916 (CFLAGS-iofgets.c): Likewise.
28917 (CFLAGS-iofgetws.c): Likewise.
28918 (CFLAGS-iofputs.c): Likewise.
28919 (CFLAGS-iofputws.c): Likewise.
28920 (CFLAGS-iofread.c): Likewise.
28921 (CFLAGS-iofsetpos64.c): Likewise.
28922 (CFLAGS-iofsetpos.c): Likewise.
28923 (CFLAGS-ioftell.c): Likewise.
28924 (CFLAGS-iofwrite.c): Likewise.
28925 (CFLAGS-iogetdelim.c): Likewise.
28926 (CFLAGS-iogetline.c): Likewise.
28927 (CFLAGS-iogets.c): Likewise.
28928 (CFLAGS-iogetwline.c): Likewise.
28929 (CFLAGS-ioputs.c): Likewise.
28930 (CFLAGS-ioseekoff.c): Likewise.
28931 (CFLAGS-ioseekpos.c): Likewise.
28932 (CFLAGS-iosetbuffer.c): Likewise.
28933 (CFLAGS-iosetvbuf.c): Likewise.
28934 (CFLAGS-ioungetc.c): Likewise.
28935 (CFLAGS-ioungetwc.c): Likewise.
28936 (CFLAGS-oldfileops.c): Likewise.
28937 (CFLAGS-oldiofclose.c): Likewise.
28938 (CFLAGS-oldiofgetpos64.c): Likewise.
28939 (CFLAGS-oldiofgetpos.c): Likewise.
28940 (CFLAGS-oldiofsetpos64.c): Likewise.
28941 (CFLAGS-oldiofsetpos.c): Likewise.
28942 (CFLAGS-peekc.c): Likewise.
28943 (CFLAGS-putc.c): Likewise.
28944 (CFLAGS-putchar.c): Likewise.
28945 (CFLAGS-putwc.c): Likewise.
28946 (CFLAGS-putwchar.c): Likewise.
28947 (CFLAGS-rewind.c): Likewise.
28948 (CFLAGS-wfileops.c): Likewise.
28949 (CFLAGS-wgenops.c): Likewise.
28950 (CFLAGS-oldiofopen.c): Likewise.
28951 (CFLAGS-iofopen.c): Likewise.
28952 (CFLAGS-iofopen64.c): Likewise.
28953 (CFLAGS-oldtmpfile.c): Likewise.
28954 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
28955 (CFLAGS-fprintf.c): Likewise.
28956 (CFLAGS-printf.c): Likewise.
28957 (CFLAGS-vfwprintf.c): Likewise.
28958 (CFLAGS-vfscanf.c): Likewise.
28959 (CFLAGS-vfwscanf.c): Likewise.
28960 (CFLAGS-fscanf.c): Likewise.
28961 (CFLAGS-scanf.c): Likewise.
28962 (CFLAGS-isoc99_vfscanf.c): Likewise.
28963 (CFLAGS-isoc99_vscanf.c): Likewise.
28964 (CFLAGS-isoc99_fscanf.c): Likewise.
28965 (CFLAGS-isoc99_scanf.c): Likewise.
28966 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
28967 (CFLAGS-isoc99_fwscanf.c): Likewise.
28968 (CFLAGS-isoc99_vwscanf.c): Likewise.
28969 (CFLAGS-isoc99_vfwscanf.c): Likewise.
28970
28971 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
28972 after mkstemp64.
28973 * login/tst-utmp.c (do_prepare): Likewise.
28974 * rt/tst-aio.c (do_prepare): Likewise.
28975 * rt/tst-aio64.c (do_prepare): Likewise.
28976
28977 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
28978
28979 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
28980 (__lll_lock_elision): Remove adapt_count decrement...
28981 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
28982 (__lll_trylock_elision): Likewise.
28983 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
28984 (__lll_unlock_elision): ... to here. And utilize
28985 new adapt_count parameter.
28986 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
28987 (__lll_unlock_elision): Update to include adapt_count
28988 parameter.
28989 (lll_unlock_elision): Pass pointer to adapt_count
28990 variable.
28991
28992 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
28993
28994 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
28995 Add elision adapt_count parameter to list of arguments.
28996 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
28997 (lll_unlock_elision): Update with new parameter list
28998 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
28999 (lll_unlock_elision): Likewise.
29000 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
29001 (lll_unlock_elision): Likewise.
29002
29003 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29004
29005 [BZ #19122]
29006 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
29007 attribute_hidden.
29008
29009 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
29010 attribute_hidden.
29011 [IS_IN (rtld)] (__strdup): Likewise.
29012 [IS_IN (rtld)] (__strerror_r): Likewise.
29013 [IS_IN (rtld)] (__strsep_g): Likewise.
29014 [IS_IN (rtld)] (memchr): Likewise.
29015 [IS_IN (rtld)] (memcmp): Likewise.
29016 [IS_IN (rtld)] (memcpy): Likewise.
29017 [IS_IN (rtld)] (memmove): Likewise.
29018 [IS_IN (rtld)] (memset): Likewise.
29019 [IS_IN (rtld)] (rawmemchr): Likewise.
29020 [IS_IN (rtld)] (stpcpy): Likewise.
29021 [IS_IN (rtld)] (strchr): Likewise.
29022 [IS_IN (rtld)] (strcmp): Likewise.
29023 [IS_IN (rtld)] (strlen): Likewise.
29024 [IS_IN (rtld)] (strnlen): Likewise.
29025 [IS_IN (rtld)] (strsep): Likewise.
29026
29027 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
29028 attribute_hidden.
29029 [IS_IN (rtld)] (__strtoul_internal): Likewise.
29030
29031 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
29032 attribute_hidden.
29033 [IS_IN (rtld)] (__libc_sigaction): Likewise.
29034
29035 * include/setjmp.h (__longjmp): Add attribute_hidden.
29036 [IS_IN (rtld)] (__sigsetjmp): Likewise.
29037
29038 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
29039 Add attribute_hidden.
29040
29041 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
29042 [IS_IN (rtld)] (__open): Likewise.
29043 [IS_IN (rtld)] (__fcntl): Likewise.
29044
29045 * include/dirent.h (__opendirat): Add attribute_hidden.
29046 (__getdents): Likewise.
29047 (__getdents64): Likewise.
29048 (__alloc_dir): Likewise.
29049 [IS_IN (rtld)] (__closedir): Likewise.
29050 [IS_IN (rtld)] (__fdopendir): Likewise.
29051 [IS_IN (rtld)] (__readdir): Likewise.
29052 [IS_IN (rtld)] (__readdir64): Likewise.
29053 [IS_IN (rtld)] (__rewinddir): Likewise.
29054
29055 * include/dlfcn.h (_dl_catch_error): Moved to ...
29056 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
29057 attribute_hidden.
29058
29059 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
29060 (_itoa_word): Likewise.
29061
29062 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
29063 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29064 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29065 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
29066 (_dl_higher_prime_number): Likewise.
29067 (_dl_debug_printf_c): Likewise.
29068 (_dl_signal_cerror): Likewise.
29069 (_dl_receive_error): Likewise.
29070 (_dl_reloc_bad_type): Likewise.
29071 (_dl_resolve_conflicts): Likewise.
29072 (_dl_check_all_versions): Likewise.
29073 (_dl_check_map_versions): Likewise.
29074 (_dl_sort_fini): Likewise.
29075 (_dl_debug_initialize): Likewise.
29076 (_dl_init_paths): Likewise.
29077 (_dl_show_auxv): Likewise.
29078 (_dl_next_ld_env_entry): Likewise.
29079 (_dl_important_hwcaps): Likewise.
29080 (_dl_load_cache_lookup): Likewise.
29081 (_dl_update_slotinfo): Likewise.
29082 (_dl_show_scope): Likewise.
29083
29084 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
29085 attribute_hidden.
29086 (_wordcopy_fwd_dest_aligned): Likewise.
29087 (_wordcopy_bwd_aligned): Likewise.
29088 (_wordcopy_bwd_dest_aligned): Likewise.
29089
29090 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
29091 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29092 Likewise.
29093 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29094 Likewise.
29095 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29096
29097 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29098
29099 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
29100 GCC 5 requirement.
29101
29102 2015-10-15 Joseph Myers <joseph@codesourcery.com>
29103
29104 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
29105 test.
29106 * sysdeps/i386/configure: Regenerated.
29107 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
29108 code unconditional.
29109
29110 * configure.ac (libc_cv_asm_previous_directive): Remove configure
29111 test.
29112 (libc_cv_asm_popsection_directive): Likewise.
29113 * configure: Regenerated.
29114 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
29115 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
29116 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
29117 (__make_section_unallocated): Make definition unconditional.
29118 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
29119 Remove conditional definition.
29120 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
29121 (__make_section_unallocated): Likewise.
29122
29123 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
29124 * configure: Regenerated.
29125 * config.make.in (static-libgcc): Remove variable.
29126 * Makerules (build-shlib-helper): Use -static-libgcc instead of
29127 $(static-libgcc).
29128 (build-module-helper): Likewise.
29129
29130 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
29131 * configure: Regenerated.
29132
29133 2015-10-15 Florian Weimer <fweimer@redhat.com>
29134
29135 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
29136 (struct char_buffer): New type.
29137 (char_buffer_start, char_buffer_size, char_buffer_error)
29138 (char_buffer_rewind, char_buffer_add): New functions.
29139 (ADDW): Remove macro, replaced by the char_buffer_add function.
29140 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
29141 of extend_alloca. Make control flow more explicit.
29142
29143 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29144
29145 [BZ #19137]
29146 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
29147 Add -fomit-frame-pointer.
29148 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
29149
29150 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29151
29152 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
29153 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
29154 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
29155 only if !__GNUC_PREREQ (5,0).
29156 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
29157 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
29158 (INTERNAL_SYSCALL_NCS): Likewise.
29159 (LOADREGS_0): New macro for GCC 5.
29160 (ASMARGS_0): Likewise.
29161 (LOADREGS_1): Likewise.
29162 (ASMARGS_1): Likewise.
29163 (LOADREGS_2): Likewise.
29164 (ASMARGS_2): Likewise.
29165 (LOADREGS_3): Likewise.
29166 (ASMARGS_3): Likewise.
29167 (LOADREGS_4): Likewise.
29168 (ASMARGS_4): Likewise.
29169 (LOADREGS_5): Likewise.
29170 (ASMARGS_5): Likewise.
29171 (LOADREGS_6): Likewise.
29172 (ASMARGS_6): Likewise.
29173
29174 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29175
29176 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
29177 -fomit-frame-pointer.
29178 (CFLAGS-mmap64.c): Likewise.
29179 (CFLAGS-semtimedop.c): Likewise.
29180 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
29181 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
29182 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29183 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29184
29185 2015-10-15 Florian Weimer <fweimer@redhat.com>
29186
29187 [BZ #18928]
29188 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
29189 _dl_pointer_guard member.
29190 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
29191 initializer.
29192 (security_init): Always set up pointer guard.
29193 (process_envvars): Do not process LD_POINTER_GUARD.
29194
29195 2015-10-14 Joseph Myers <joseph@codesourcery.com>
29196
29197 [BZ #19134]
29198 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
29199 (.LC2): Likewise.
29200 (.LC3): Likewise.
29201 (__lround): Do not add 0.5 to integer or out-of-range arguments.
29202
29203 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
29204
29205 [BZ #19129]
29206 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
29207 r0 and r1.
29208
29209 2015-10-14 Namhyung Kim <namhyung@gmail.com>
29210
29211 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
29212
29213 2015-10-14 Carlos O'Donell <carlos@redhat.com>
29214
29215 * include/stap-probe.h: Fix macro definition formatting.
29216
29217 2015-10-14 Florian Weimer <fweimer@redhat.com>
29218
29219 [BZ #19074]
29220 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
29221 load and store num_ifs.
29222
29223 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29224
29225 [BZ #18822]
29226 * sysdeps/unix/sysv/linux/sched_getaffinity.c
29227 (__sched_getaffinity_new): Add libc_hidden_proto and
29228 libc_hidden_def.
29229
29230 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29231
29232 [BZ #19007]
29233 * scripts/localplt.awk: Also allow GOT references.
29234 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
29235 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
29236 with "+ REL R_386_GLOB_DAT".
29237 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
29238 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
29239
29240 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29241
29242 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
29243 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29244 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
29245 Likewise.
29246 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
29247 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
29248 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
29249 INTERNAL_SYSCALLINTERNAL_SYSCALL and
29250 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29251 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
29252 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29253 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
29254 Likewise.
29255 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29256
29257 2015-10-13 Joseph Myers <joseph@codesourcery.com>
29258
29259 [BZ #19125]
29260 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
29261 <math_private.h> and <stdint.h>.
29262 (__llround): Avoid conversions to and from long long int, and
29263 subtractions, where those might raise spurious exceptions.
29264 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
29265 <math_private.h> and <stdint.h>.
29266 (__llroundf): Avoid conversions to and from long long int, and
29267 subtractions, where those might raise spurious exceptions.
29268
29269 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29270
29271 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
29272 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29273 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
29274 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
29275 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
29276 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
29277 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
29278 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
29279 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
29280 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29281 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29282 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29283 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
29284 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29285 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29286 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
29287 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
29288 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
29289 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
29290 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
29291 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
29292 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
29293 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
29294 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
29295 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
29296 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
29297 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
29298 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
29299 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29300 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
29301 (__xstat64_conv): Likewise.
29302 (__xstat32_conv): Likewise.
29303
29304 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29305
29306 * sysdeps/unix/sysv/linux/sysdep.h: New file.
29307 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
29308 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
29309 <sysdeps/unix/sysv/linux/sysdep.h>.
29310 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
29311 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
29312 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
29313 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29314 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
29315 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
29316 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
29317 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
29318 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
29319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29321 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29322 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29323 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29324 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29325 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29326 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
29327 (sysdep-dl-routines): Add sysdep.
29328 [$(subdir) == nptl] (libpthread-routines): Likewise.
29329 [$(subdir) == rt] (librt-routines): Likewise.
29330 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
29331 PIC when branching to SYSCALL_ERROR_LABEL.
29332 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
29333 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
29334 <sysdeps/unix/sysv/linux/sysdep.h>.
29335 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
29336 (SYSCALL_ERROR_ERRNO): Removed.
29337 (SYSCALL_ERROR_HANDLER): Changed to empty.
29338 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
29339 (__syscall_error): New prototype.
29340 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
29341 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
29342
29343 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29344
29345 [BZ #19124]
29346 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
29347 (_dl_runtime_resolve_avx512): Make it a hidden alias of
29348 _dl_runtime_resolve_avx.
29349 (_dl_runtime_profile_avx512): Make it a hidden alias of
29350 _dl_runtime_profile_avx.
29351
29352 2015-10-13 Joseph Myers <joseph@codesourcery.com>
29353
29354 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
29355 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
29356 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
29357 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
29358
29359 [BZ #16422]
29360 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
29361 New configure test.
29362 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
29363 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
29364 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
29365 <math_private.h> and <stdint.h>.
29366 (__llrint): Avoid conversions to long long int where those might
29367 raise spurious exceptions.
29368 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
29369 <math_private.h> and <stdint.h>.
29370 (__llrintf): Avoid conversions to long long int where those might
29371 raise spurious exceptions.
29372
29373 2015-10-12 Andreas Schwab <schwab@suse.de>
29374
29375 [BZ #18969]
29376 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
29377 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
29378 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
29379 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
29380 $(gen-locales).
29381 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
29382 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
29383 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
29384 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
29385 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
29386 $(gen-locales).
29387 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
29388 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
29389 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
29390 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
29391 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
29392 ($(objpfx)tst-ftell-active-handler.out)
29393 ($(objpfx)tst-ftell-append.out)
29394 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
29395 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
29396 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
29397 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
29398 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
29399 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
29400 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
29401 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
29402 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
29403 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
29404 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
29405 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
29406 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
29407 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
29408 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
29409 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
29410 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
29411 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
29412 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
29413 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
29414 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
29415 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
29416 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
29417 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
29418 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
29419 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
29420 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
29421 $(gen-locales).
29422 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
29423 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
29424 $(gen-locales).
29425 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
29426 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
29427 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
29428 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
29429 $(gen-locales).
29430 * libio/tst_wprintf2.c (main): Use explicit locale.
29431 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
29432
29433 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29434
29435 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
29436 __msg_sig_post.
29437 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
29438
29439 2015-10-09 Joseph Myers <joseph@codesourcery.com>
29440
29441 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29442 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29443
29444 * sysdeps/arm/libm-test-ulps: Regenerated.
29445
29446 [BZ #15470]
29447 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
29448
29449 [BZ #16399]
29450 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
29451 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
29452 and <fix-fp-int-convert-overflow.h>.
29453 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29454 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29455 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
29456 and <fix-fp-int-convert-overflow.h>.
29457 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
29458 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29459 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
29460 <fix-fp-int-convert-overflow.h>.
29461 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29462 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29463 * sysdeps/ieee754/dbl-64/s_lround.c: Include
29464 <fix-fp-int-convert-overflow.h>.
29465 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
29466 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29467 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
29468 and <fix-fp-int-convert-overflow.h>.
29469 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29470 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29471 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
29472 <limits.h> and <fix-fp-int-convert-overflow.h>.
29473 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29474 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29475 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
29476 and <fix-fp-int-convert-overflow.h>.
29477 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29478 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29479 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
29480 and <fix-fp-int-convert-overflow.h>.
29481 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29482 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29483 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
29484
29485 2015-10-09 Carlos O'Donell <carlos@redhat.com>
29486
29487 [BZ #18589]
29488 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
29489 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
29490 $(gen-locales).
29491
29492 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29493 Phil Blundell <pb@pbcl.net>
29494
29495 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
29496 * nptl/tst-cancel26.c: New file.
29497 * nptl/tst-cancel27.c: Likewise.
29498
29499 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
29500
29501 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
29502 __ILP32__ isn't defined.
29503 (lrint): Likewise.
29504 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
29505 (lrintf): Likewise.
29506 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
29507 (lrintl): Likewise.
29508 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
29509 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
29510 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
29511
29512 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29513
29514 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
29515 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
29516
29517 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
29518 file.
29519 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
29520 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
29521
29522 2015-10-09 Joseph Myers <joseph@codesourcery.com>
29523
29524 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
29525 configure test.
29526 * sysdeps/i386/configure: Regenerated.
29527 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
29528 configure test.
29529 * sysdeps/x86_64/configure: Regenerated.
29530 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
29531 Make code unconditional.
29532
29533 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
29534 test.
29535 * sysdeps/i386/configure: Regenerated.
29536 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
29537 test.
29538 * sysdeps/x86_64/configure: Regenerated.
29539 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
29540 Make code unconditional.
29541 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
29542 Likewise.
29543 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
29544 Likewise.
29545 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29546 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
29547 code unconditional.
29548 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29549 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
29550 code unconditional.
29551 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29552 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
29553 code unconditional.
29554 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
29555 code unconditional.
29556 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29557 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
29558 code unconditional.
29559 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29560 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
29561 code unconditional.
29562 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29563 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
29564 code unconditional.
29565 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29566 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
29567 code unconditional.
29568 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29569 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
29570
29571 [BZ #19095]
29572 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
29573 mantissa to long int before shifting left.
29574
29575 2015-10-08 Joseph Myers <joseph@codesourcery.com>
29576
29577 [BZ #19094]
29578 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
29579 <limits.h>.
29580 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29581 when result overflows but exception would not result from cast.
29582 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
29583 <limits.h>.
29584 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29585 when result overflows but exception would not result from cast.
29586 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
29587 <limits.h>.
29588 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29589 when result overflows but exception would not result from cast.
29590 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
29591 <limits.h>.
29592 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29593 when result overflows but exception would not result from cast.
29594 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
29595 <limits.h>.
29596 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29597 when result overflows but exception would not result from cast.
29598 * math/libm-test.inc (lrint_test_data): Add more tests.
29599 (llrint_test_data): Likewise.
29600
29601 2015-10-08 Roland McGrath <roland@hack.frob.com>
29602
29603 [BZ #18872]
29604 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
29605 Move out from under [$(run-built-tests) = yes] conditional.
29606 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
29607 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
29608
29609 2015-10-08 Carlos O'Donell <carlos@redhat.com>
29610
29611 [BZ #18589]
29612 * string/Makefile (tests): Add bug-strcoll2.
29613 (LOCALES): Add cs_CZ.UTF-8.
29614 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
29615
29616 [BZ #18589]
29617 * string/bug-strcoll2.c: New file.
29618 * locale/categories.def: Revert commit
29619 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
29620 * locale/langinfo.h: Likewise.
29621 * locale/localeinfo.h: Likewise.
29622 * locale/C-collate.c: Likewise.
29623 * locale/programs/ld-collate.c (collate_output): Likewise.
29624 * string/strcoll_l.c (STRDIFF): Likewise.
29625 (STRCOLL): Likewise.
29626 * wcsmbs/wcscoll_l.c: Likewise.
29627
29628 2015-10-08 Joseph Myers <joseph@codesourcery.com>
29629
29630 * math/libm-test.inc (lround_test_data): Do not expect the absence
29631 of "inexact" for some tests with non-integer arguments.
29632 (llround_test_data): Likewise.
29633
29634 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
29635 test.
29636 (libc_cv_cc_sse2avx): Likewise.
29637 * sysdeps/i386/configure: Regenerated.
29638 * sysdeps/i386/i686/multiarch/Makefile
29639 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
29640 [$(subdir) = math].
29641 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
29642 code unconditional.
29643 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29644 Likewise.
29645 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
29646 Likewise.
29647 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29648 Likewise.
29649 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
29650 test.
29651 (libc_cv_cc_sse2avx): Likewise.
29652 * sysdeps/x86_64/configure: Regenerated.
29653 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
29654 unconditional.
29655 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
29656 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
29657 unconditional.
29658 (_dl_runtime_profile)
29659 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
29660 conditional code.
29661 * sysdeps/x86_64/fpu/multiarch/Makefile
29662 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
29663 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
29664 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29665 * sysdeps/x86_64/fpu/multiarch/e_exp.c
29666 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29667 * sysdeps/x86_64/fpu/multiarch/e_log.c
29668 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29669 * sysdeps/x86_64/fpu/multiarch/s_atan.c
29670 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29671 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29672 Likewise.
29673 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29674 Likewise.
29675 * sysdeps/x86_64/fpu/multiarch/s_sin.c
29676 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29677 * sysdeps/x86_64/fpu/multiarch/s_tan.c
29678 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29679 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
29680 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
29681 (HAVE_SSE2AVX_SUPPORT): Likewise.
29682
29683 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
29684
29685 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
29686 instead of #pragma optimize.
29687
29688 2015-10-07 Carlos O'Donell <carlos@redhat.com>
29689
29690 [BZ #17195]
29691 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
29692 as is similarly done in systrim and _int_free already.
29693
29694 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
29695
29696 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
29697
29698 2015-10-07 Joseph Myers <joseph@codesourcery.com>
29699
29700 [BZ #19088]
29701 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
29702 <limits.h>.
29703 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
29704 overflows but exception would not result from cast.
29705 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
29706 and <limits.h>.
29707 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
29708 overflows but exception would not result from cast.
29709 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
29710 <limits.h>.
29711 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
29712 overflows but exception would not result from cast.
29713 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
29714 <limits.h>.
29715 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
29716 overflows but exception would not result from cast.
29717 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
29718 <limits.h>.
29719 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
29720 overflows but exception would not result from cast.
29721 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
29722 <limits.h>.
29723 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
29724 overflows but exception would not result from cast.
29725 * math/libm-test.inc (lround_test_data): Add more tests.
29726 (llround_test_data): Likewise.
29727
29728 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
29729
29730 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
29731 (CFLAGS-ialloc.c): Ditto.
29732 (CFLAGS-scheck.c): Ditto.
29733
29734 2015-10-07 Carlos O'Donell <carlos@redhat.com>
29735
29736 [BZ #19086]
29737 * manual/filesys.texi (Storage Allocation): Fix argument order for
29738 posix_fallocate64.
29739
29740 2015-10-07 Joseph Myers <joseph@codesourcery.com>
29741
29742 [BZ #19085]
29743 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
29744 exponent below 48 inside case for non-overflowing exponent.
29745 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
29746
29747 2015-10-07 Florian Weimer <fweimer@redhat.com>
29748
29749 * iconvdata/cp737.h (from_idx): Add const.
29750 * iconvdata/cp775.h (from_idx): Likewise.
29751
29752 2015-10-07 Joseph Myers <joseph@codesourcery.com>
29753
29754 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
29755 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
29756 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
29757
29758 [BZ #19079]
29759 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
29760 file, conditioned on [!_LP64].
29761 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
29762 [!_LP64] (__lround): Do not define as function or alias.
29763 [!_LP64] (lround): Likewise.
29764 [!_LP64] (__lroundl): Likewise.
29765 [!_LP64] (lroundl): Likewise.
29766 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
29767 macro.
29768 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
29769 Likewise.
29770
29771 2015-10-06 Joseph Myers <joseph@codesourcery.com>
29772
29773 * math/libm-test.inc (lrint_test_data): Add more tests.
29774 (llrint_test_data): Likewise.
29775 (lround_test_data): Likewise.
29776 (llround_test_data): Likewise.
29777
29778 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
29779 (llrint_test_data): Add tests used for lrint.
29780
29781 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
29782 test.
29783 * sysdeps/i386/configure: Regenerated.
29784 * sysdeps/i386/i686/multiarch/Makefile
29785 [$(config-cflags-sse4) = yes]: Make code unconditional.
29786 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
29787 Likewise.
29788 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
29789 Likewise.
29790 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
29791 test.
29792 * sysdeps/x86_64/configure: Regenerated.
29793 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
29794 Make code unconditional.
29795 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
29796 Likewise.
29797 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
29798 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
29799
29800 * scripts/rpm2dynsym.sh: Remove file.
29801
29802 2015-10-06 Florian Weimer <fweimer@redhat.com>
29803
29804 * configure.ac (libc_cv_cxx_thread_local): Define.
29805 * configure: Regenerate.
29806 * config.make.in (have-cxx-thread_local): Define.
29807 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
29808 (LDLIBS-tst-thread_local1): Define.
29809 (tests): Add tst-thread_local1.
29810 [have-cxx-thread_local != yes] (tests-unsupported): Add
29811 tst-thread_local1.
29812 * nptl/tst-thread_local1.cc: New file.
29813
29814 2015-10-06 Joseph Myers <joseph@codesourcery.com>
29815
29816 [BZ #19078]
29817 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
29818 (u_thres): Likewise.
29819 (__expl): Determine whether to call __kernel_standard_l based on
29820 value of result, not argument.
29821
29822 * math/libm-test.inc (scalb_test_data): Add more expectations for
29823 the "inexact" exception.
29824
29825 [BZ #19077]
29826 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
29827 0.0L for argument 1.0L.
29828
29829 [BZ #19076]
29830 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
29831 constant 0.0L when computing infinite result.
29832
29833 2015-10-06 Florian Weimer <fweimer@redhat.com>
29834
29835 [BZ #10432]
29836 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
29837 malloc_usable_size.
29838
29839 2015-10-06 Florian Weimer <fweimer@redhat.com>
29840
29841 [BZ #19018]
29842 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
29843 Mangle function pointer before storing it.
29844 (__call_tls_dtors): Demangle function pointer before calling it.
29845
29846 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29847
29848 [BZ #19012]
29849 * iconv/gconv_db.c (gen_steps): Check for additional errors.
29850 Clean up on failure.
29851
29852 2015-10-05 Joseph Myers <joseph@codesourcery.com>
29853
29854 [BZ #19071]
29855 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
29856 long int variable to store possibly incremented high part of
29857 mantissa.
29858 * math/libm-test.inc (lround_test_data): Add tests used for
29859 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
29860 for tests requiring 64-bit long. Do not condition tests on
29861 [TEST_FLOAT] unnecessarily.
29862 (llround_test_data): Add tests used for lround. Add another
29863 expectation for the "inexact" exception. Do not condition tests
29864 on [TEST_FLOAT] unnecessarily.
29865
29866 [BZ #887]
29867 [BZ #19049]
29868 [BZ #19050]
29869 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
29870 * sysdeps/ieee754/dbl-64/e_log10.c: Include
29871 <fix-int-fp-convert-zero.h>.
29872 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29873 * sysdeps/ieee754/dbl-64/e_log2.c: Include
29874 <fix-int-fp-convert-zero.h>.
29875 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29876 * sysdeps/ieee754/dbl-64/s_erf.c: Include
29877 <fix-int-fp-convert-zero.h>.
29878 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29879 * sysdeps/ieee754/dbl-64/s_logb.c: Include
29880 <fix-int-fp-convert-zero.h>.
29881 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29882 * sysdeps/ieee754/flt-32/e_log10f.c: Include
29883 <fix-int-fp-convert-zero.h>.
29884 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29885 * sysdeps/ieee754/flt-32/e_log2f.c: Include
29886 <fix-int-fp-convert-zero.h>.
29887 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29888 * sysdeps/ieee754/flt-32/s_erff.c: Include
29889 <fix-int-fp-convert-zero.h>.
29890 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29891 * sysdeps/ieee754/flt-32/s_logbf.c: Include
29892 <fix-int-fp-convert-zero.h>.
29893 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29894 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
29895 <fix-int-fp-convert-zero.h>.
29896 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29897 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
29898 <fix-int-fp-convert-zero.h>.
29899 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29900 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
29901 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
29902 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
29903 file.
29904 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
29905
29906 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
29907
29908 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29909
29910 2015-10-02 Joseph Myers <joseph@codesourcery.com>
29911
29912 [BZ #19059]
29913 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
29914 overflowing computation.
29915 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29916 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
29917 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
29918 Likewise.
29919 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
29920 Likewise.
29921 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
29922 Likewise.
29923 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29924 Likewise.
29925 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
29926 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29927 Likewise.
29928 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29929 Likewise.
29930 * math/libm-test.inc (nexttoward_test_data): Add more tests.
29931
29932 * nss/rewrite_field.c (__nss_rewrite_field): Use
29933 internal_function.
29934 * nss/valid_field.c (__nss_valid_field): Likewise.
29935 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
29936
29937 2015-10-02 Florian Weimer <fweimer@redhat.com>
29938
29939 [BZ #18724]
29940 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
29941 (__nss_invalid_field_characters, __nss_valid_field)
29942 (__nss_valid_list_field, __nss_rewrite_field): Declare.
29943 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
29944 tst-field.c: New file.
29945 * nss/Makefile (routines): Add valid_field, rewrite_field.
29946 (tests-static): Define unconditionally.
29947 (tests): Include tests-static.
29948 [build-static-nss] (tests-static): Use append.
29949 [build-static-nss] (tests): Remove modification.
29950 * nss/getent.c (print_group): Call putgrent. Report error.
29951 (print_gshadow): Call putsgent. Report error.
29952 (print_passwd): Call putpwent. Report error.
29953 (print_shadow): Call putspent. Report error.
29954 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
29955 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
29956 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
29957 name, password, directory, shell fields for valid syntax. Rewrite
29958 GECOS field to match syntax.
29959 * pwd/Makefile (tests): Add tst-putpwent.
29960 * pwd/tst-putpwent.c: New file.
29961 * grp/putgrent.c (putgrent): Convert to ISO function definition.
29962 Check grName, grpasswd, gr_mem fields for valid syntax.
29963 Change loop variable i to size_t.
29964 * grp/Makefile (tests): Add tst-putgrent.
29965 * grp/tst-putgrent.c: New file.
29966 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
29967 valid syntax.
29968 * shadow/Makefile (tests): Add tst-putspent.
29969 * shadow/tst-putspent.c: New file.
29970 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
29971 sg_mem fields for valid syntax.
29972 * gshadow/Makefile (tests): Add tst-putsgent.
29973 * gshadow/tst-putsgent.c: New file.
29974
29975 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29976
29977 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
29978 assembly instructions.
29979
29980 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29981
29982 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
29983 prefix from operands.
29984
29985 2015-10-01 Joseph Myers <joseph@codesourcery.com>
29986
29987 [BZ #16347]
29988 [BZ #19046]
29989 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
29990 <libc-internal.h>.
29991 (MAXLGM): Do not use diagnostic control macros.
29992 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
29993 threshold for ldbl-128ibm.
29994 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
29995 instead of multiplying by log then subtracting.
29996 * math/auto-libm-test-in: Add more tests of lgamma.
29997 * math/auto-libm-test-out: Regenerated.
29998
29999 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
30000 (TYPE_HEX_DIG): Likewise.
30001 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
30002 precisions when printing floating-point numbers.
30003 (check_float_internal): Likewise.
30004
30005 2015-09-30 Joseph Myers <joseph@codesourcery.com>
30006
30007 [BZ #16620]
30008 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
30009 of log (10) rounded downward to 48 bits.
30010 (log10_low): Use corresponding low part of log (10).
30011
30012 [BZ #19032]
30013 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
30014 compute result as (x - x) / (x - x) not as 0 / 0.
30015 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
30016 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
30017
30018 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30019 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
30020 and expm1.
30021 * math/auto-libm-test-out: Regenerated.
30022 * math/libm-test.inc (acos_test_data): Add more tests.
30023 (asin_test_data): Likewise.
30024 (asinh_test_data): Likewise.
30025 (atan_test_data): Likewise.
30026 (atanh_test_data): Likewise.
30027 (atan2_test_data): Likewise.
30028 (cbrt_test_data): Likewise.
30029 (ceil_test_data): Likewise.
30030 (copysign_test_data): Likewise.
30031 (cos_test_data): Likewise.
30032 (cosh_test_data): Likewise.
30033 (erf_test_data): Likewise.
30034 (erfc_test_data): Likewise.
30035 (exp_test_data): Likewise.
30036 (exp10_test_data): Likewise.
30037 (exp2_test_data): Likewise.
30038 (expm1_test_data): Likewise.
30039 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30040
30041 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
30042
30043 [BZ #19006]
30044 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
30045 to ...
30046 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
30047 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
30048 to ...
30049 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
30050 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
30051 to ...
30052 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
30053 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
30054 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
30055 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
30056 to ...
30057 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
30058 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
30059 Moved to ...
30060 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
30061 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
30062 Moved to ...
30063 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
30064 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
30065 to ...
30066 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
30067 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
30068 Moved to ...
30069 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
30070 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
30071 to ...
30072 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
30073 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
30074 Removed.
30075 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
30076 Likewise.
30077 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
30078 Likewise.
30079 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
30080 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
30081 Likewise.
30082 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
30083 Likewise.
30084 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
30085 Likewise.
30086 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
30087 Likewise.
30088 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
30089 Likewise.
30090 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
30091 Likewise.
30092 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
30093 Likewise.
30094 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
30095 Likewise.
30096 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
30097 Likewise.
30098 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
30099 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
30100 Likewise.
30101 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
30102 Likewise.
30103 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
30104 Likewise.
30105 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
30106 Likewise.
30107 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
30108 Likewise.
30109 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
30110 Replace ../i486/pthread_cond_timedwait.S with
30111 ../pthread_cond_timedwait.S.
30112
30113 2015-09-30 Joseph Myers <joseph@codesourcery.com>
30114
30115 * math/libm-test.inc (acos_test_data): Refine expectations for
30116 errno and "inexact" exceptions.
30117 (acosh_test_data): Likewise.
30118 (asin_test_data): Likewise.
30119 (asinh_test_data): Likewise.
30120 (atan_test_data): Likewise.
30121 (atanh_test_data): Likewise.
30122 (atan2_test_data): Likewise.
30123 (cbrt_test_data): Likewise.
30124 (ceil_test_data): Likewise.
30125 (copysign_test_data): Likewise.
30126 (cosh_test_data): Likewise.
30127 (erf_test_data): Likewise.
30128 (erfc_test_data): Likewise.
30129 (exp_test_data): Likewise.
30130 (exp10_test_data): Likewise.
30131 (exp2_test_data): Likewise.
30132 (expm1_test_data): Likewise.
30133 (fabs_test_data): Likewise.
30134 (floor_test_data): Likewise.
30135 (fma_test_data): Likewise.
30136 (fmax_test_data): Likewise.
30137 (fmin_test_data): Likewise.
30138 (fmod_test_data): Likewise.
30139 (fpclassify_test_data): Likewise.
30140 (frexp_test_data): Likewise.
30141 (hypot_test_data): Likewise.
30142 (ilogb_test_data): Likewise.
30143 (isgreater_test_data): Likewise.
30144 (isgreaterequal_test_data): Likewise.
30145 (isinf_test_data): Likewise.
30146 (isless_test_data): Likewise.
30147 (islessequal_test_data): Likewise.
30148 (islessgreater_test_data): Likewise.
30149 (isnan_test_data): Likewise.
30150 (isnormal_test_data): Likewise.
30151 (issignaling_test_data): Likewise.
30152 (isunordered_test_data): Likewise.
30153 (j0_test_data): Likewise.
30154 (j1_test_data): Likewise.
30155 (jn_test_data): Likewise.
30156 (lgamma_test_data): Likewise.
30157 (lrint_test_data): Likewise.
30158 (llrint_test_data): Likewise.
30159 (log_test_data): Likewise.
30160 (log10_test_data): Likewise.
30161 (log1p_test_data): Likewise.
30162 (log2_test_data): Likewise.
30163 (logb_test_data): Likewise.
30164 (lround_test_data): Likewise.
30165 (llround_test_data): Likewise.
30166 (modf_test_data): Likewise.
30167 (nearbyint_test_data): Likewise.
30168 (nextafter_test_data): Likewise.
30169 (nexttoward_test_data): Likewise.
30170 (pow_test_data): Likewise.
30171 (remainder_test_data): Likewise.
30172 (remquo_test_data): Likewise.
30173 (rint_test_data): Likewise.
30174 (round_test_data): Likewise.
30175 (signbit_test_data): Likewise.
30176 (sinh_test_data): Likewise.
30177 (sqrt_test_data): Likewise.
30178 (tanh_test_data): Likewise.
30179 (tgamma_test_data): Likewise.
30180 (trunc_test_data): Likewise.
30181 (y0_test_data): Likewise.
30182 (y1_test_data): Likewise.
30183 (yn_test_data): Likewise.
30184 (significand_test_data): Likewise.
30185
30186 2015-09-29 Carlos O'Donell <carlos@redhat.com>
30187
30188 * manual/filesys.texi (Storage Allocation): Document that
30189 posix_fallocate emulation fails when fd is open with O_WRONLY.
30190
30191 2015-09-28 Joseph Myers <joseph@codesourcery.com>
30192
30193 [BZ #19016]
30194 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
30195 allow more cases with X^2 + Y^2 >= 0.5.
30196 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
30197 normal element in sum instead of special-casing based on values of
30198 arguments.
30199 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
30200 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
30201 -1 as normal element in sum instead of special-casing based on
30202 values of arguments.
30203 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
30204 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
30205 (__x2y2m1): Update comment.
30206 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
30207 as normal element in sum instead of special-casing based on values
30208 of arguments.
30209 * math/s_clog.c (__clog): Handle more cases using log1p without
30210 hypot.
30211 * math/s_clog10.c (__clog10): Likewise.
30212 * math/s_clog10f.c (__clog10f): Likewise.
30213 * math/s_clog10l.c (__clog10l): Likewise.
30214 * math/s_clogf.c (__clogf): Likewise.
30215 * math/s_clogl.c (__clogl): Likewise.
30216 * math/auto-libm-test-in: Add more tests of clog and clog10.
30217 * math/auto-libm-test-out: Regenerated.
30218 * sysdeps/i386/fpu/libm-test-ulps: Update.
30219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30220
30221 2015-09-28 Martin Sebor <msebor@redhat.com>
30222
30223 [BZ #18969]
30224 * string/Makefile (LOCALES): Define.
30225 (gen-locales.mk): Include.
30226 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
30227 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
30228 * string/tst-strxfrm2.c (do_test): Print the name of the locale
30229 on setlocale failure.
30230
30231 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
30232
30233 [BZ #18985]
30234 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
30235 (__strftime_internal): Likewise.
30236 * time/tst-strftime.c (do_bz18985): New test.
30237 (do_test): Call it.
30238
30239 2015-09-26 Joseph Myers <joseph@codesourcery.com>
30240
30241 [BZ #18956]
30242 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
30243 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
30244 extracting high part.
30245 * math/auto-libm-test-in: Add another test of pow.
30246 * math/auto-libm-test-out: Regenerated.
30247 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30248
30249 2015-09-25 Joseph Myers <joseph@codesourcery.com>
30250
30251 [BZ #18825]
30252 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
30253 New macro.
30254 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
30255 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30256 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
30257 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
30258 DBL_NARROW_EVAL, reloading the PIC register as needed.
30259 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
30260 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
30261 FLT_NARROW_EVAL. Use separate return path for case when first
30262 argument is NaN.
30263 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
30264 DEFINE_LDBL_MIN.
30265 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
30266 PIC register.
30267 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
30268 math_check_force_underflow_nonneg.
30269 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
30270 underflow for subnormal result.
30271 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
30272 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
30273 math_check_force_underflow_nonneg.
30274 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
30275 math_check_force_underflow.
30276 * sysdeps/x86_64/fpu/x86_64-math-asm.h
30277 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
30278 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
30279 DEFINE_LDBL_MIN.
30280 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
30281 * math/auto-libm-test-in: Add more tests of pow.
30282 * math/auto-libm-test-out: Regenerated.
30283
30284 2015-09-25 Florian Weimer <fweimer@redhat.com>
30285
30286 * nss/bug17079.c (init_test_items): Add diagnostic for
30287 inconsistent entries.
30288 (test_buffer_size): Skip inconsistent entries.
30289
30290 2015-09-25 Joseph Myers <joseph@codesourcery.com>
30291
30292 [BZ #13304]
30293 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
30294 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
30295 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
30296
30297 [BZ #13304]
30298 * sysdeps/microblaze/s_fma.c: New file.
30299 * sysdeps/microblaze/s_fmaf.c: Likewise.
30300 * sysdeps/microblaze/sfp-machine.h: Likewise.
30301
30302 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
30303
30304 [BZ #17250]
30305 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
30306 member.
30307
30308 2015-09-24 Joseph Myers <joseph@codesourcery.com>
30309
30310 [BZ #18803]
30311 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
30312 (MO): New macro.
30313 (__ieee754_hypot) [PIC]: Load PIC register.
30314 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
30315 DBL_NARROW_EVAL.
30316 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
30317 math_check_force_underflow_nonneg in case where result might be
30318 tiny.
30319 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
30320 Likewise.
30321 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30322 Likewise.
30323 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
30324 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
30325 * math/auto-libm-test-in: Add more tests of hypot.
30326 * math/auto-libm-test-out: Regenerated.
30327
30328 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
30329
30330 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
30331
30332 2015-09-24 Joseph Myers <joseph@codesourcery.com>
30333
30334 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
30335 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
30336 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30337 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30338 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
30339 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30340 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30341
30342 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
30343 LOAD_PIC_REG.
30344
30345 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
30346 (FLT_CHECK_FORCE_UFLOW): Likewise.
30347 (DBL_CHECK_FORCE_UFLOW): Likewise.
30348 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
30349 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
30350 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
30351 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30352 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30353 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30354 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30355 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30356 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
30357 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30358 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
30359 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
30360 (flt_min): Replace with use of DEFINE_FLT_MIN.
30361 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
30362 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
30363 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30364 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
30365 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
30366 (flt_min): Replace with use of DEFINE_FLT_MIN.
30367 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
30368 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
30369 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30370 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
30371 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
30372 (flt_min): Replace with use of DEFINE_FLT_MIN.
30373 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
30374 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
30375 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30376 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30377 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
30378 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30379 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30380 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
30381 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30382 (__atan): Use DBL_CHECK_FORCE_UFLOW.
30383 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
30384 (flt_min): Replace with use of DEFINE_FLT_MIN.
30385 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
30386 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
30387 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30388 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
30389 main computation.
30390 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
30391 (flt_min): Replace with use of DEFINE_FLT_MIN.
30392 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
30393 main computation.
30394 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
30395 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30396 (MO): New macro.
30397 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
30398 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
30399 (flt_min): Replace with use of DEFINE_FLT_MIN.
30400 (MO): New macro.
30401 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
30402 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
30403 (__log1pl): Use MO.
30404
30405 [BZ #19003]
30406 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
30407 $(config-cflags-nofma).
30408
30409 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30410
30411 * sysdeps/aarch64/libm-test-ulps: Regenerated.
30412
30413 2015-09-23 Joseph Myers <joseph@codesourcery.com>
30414
30415 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
30416 (TWO127): Likewise.
30417
30418 * sysdeps/generic/math_private.h (fabs_tg): New macro.
30419 (min_of_type): Likewise.
30420 (math_check_force_underflow): Likewise.
30421 (math_check_force_underflow_nonneg): Likewise.
30422 (math_check_force_underflow_complex): Likewise.
30423 * math/e_exp2l.c (__ieee754_exp2l): Use
30424 math_check_force_underflow_nonneg.
30425 * math/k_casinh.c (__kernel_casinh): Likewise.
30426 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30427 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30428 * math/s_catan.c (__catan): Use
30429 math_check_force_underflow_complex.
30430 * math/s_catanf.c (__catanf): Likewise.
30431 * math/s_catanh.c (__catanh): Likewise.
30432 * math/s_catanhf.c (__catanhf): Likewise.
30433 * math/s_catanhl.c (__catanhl): Likewise.
30434 * math/s_catanl.c (__catanl): Likewise.
30435 * math/s_ccosh.c (__ccosh): Likewise.
30436 * math/s_ccoshf.c (__ccoshf): Likewise.
30437 * math/s_ccoshl.c (__ccoshl): Likewise.
30438 * math/s_cexp.c (__cexp): Likewise.
30439 * math/s_cexpf.c (__cexpf): Likewise.
30440 * math/s_cexpl.c (__cexpl): Likewise.
30441 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
30442 * math/s_clog10.c (__clog10): Likewise.
30443 * math/s_clog10f.c (__clog10f): Likewise.
30444 * math/s_clog10l.c (__clog10l): Likewise.
30445 * math/s_clogf.c (__clogf): Likewise.
30446 * math/s_clogl.c (__clogl): Likewise.
30447 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
30448 * math/s_csinf.c (__csinf): Likewise.
30449 * math/s_csinh.c (__csinh): Likewise.
30450 * math/s_csinhf.c (__csinhf): Likewise.
30451 * math/s_csinhl.c (__csinhl): Likewise.
30452 * math/s_csinl.c (__csinl): Likewise.
30453 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
30454 * math/s_csqrtf.c (__csqrtf): Likewise.
30455 * math/s_csqrtl.c (__csqrtl): Likewise.
30456 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
30457 * math/s_ctanf.c (__ctanf): Likewise.
30458 * math/s_ctanh.c (__ctanh): Likewise.
30459 * math/s_ctanhf.c (__ctanhf): Likewise.
30460 * math/s_ctanhl.c (__ctanhl): Likewise.
30461 * math/s_ctanl.c (__ctanl): Likewise.
30462 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
30463 instead of volatile.
30464 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
30465 math_check_force_underflow.
30466 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
30467 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
30468 volatile when forcing underflow.
30469 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30470 math_check_force_underflow_nonneg.
30471 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
30472 Likewise.
30473 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
30474 math_check_force_underflow.
30475 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30476 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30477 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
30478 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
30479 math_check_force_underflow_nonneg.
30480 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
30481 math_check_force_underflow.
30482 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
30483 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
30484 instead of volatile.
30485 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
30486 math_check_force_underflow.
30487 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30488 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30489 math_check_force_underflow_nonneg.
30490 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
30491 math_check_force_underflow.
30492 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
30493 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
30494 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
30495 math_check_force_underflow_nonneg.
30496 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30497 Likewise.
30498 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
30499 math_check_force_underflow.
30500 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30501 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30502 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
30503 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
30504 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
30505 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
30506 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
30507 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
30508 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
30509 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
30510 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
30511 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
30512 Likewise.
30513 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
30514 math_check_force_underflow_nonneg.
30515 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30516 Likewise.
30517 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
30518 math_check_force_underflow.
30519 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30520 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
30521 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
30522 Likewise.
30523 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
30524 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
30525 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
30526 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
30527 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
30528 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
30529 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
30530 instead of volatile.
30531 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
30532 math_check_force_underflow.
30533 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
30534 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
30535 math_check_force_underflow.
30536 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
30537 Likewise.
30538 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30539 Use math_check_force_underflow_nonneg.
30540 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
30541 math_check_force_underflow.
30542 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
30543 Likewise.
30544 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
30545 Likewise.
30546 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30547 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30548 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30549 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30550 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
30551 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30552 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
30553 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
30554 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
30555 math_check_force_underflow_nonneg.
30556 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
30557 math_check_force_underflow.
30558 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30559 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
30560 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
30561 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
30562 math_check_force_underflow_nonneg.
30563 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
30564 math_check_force_underflow.
30565 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
30566 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
30567 instead of volatile.
30568 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
30569 math_check_force_underflow.
30570
30571 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
30572 * stdlib/strtod_l.c: Include <math_private.h>.
30573 (overflow_value): Use math_narrow_eval.
30574 (underflow_value): Likewise.
30575 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30576 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30577 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
30578 (__ieee754_gamma_r): Likewise.
30579 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
30580 Likewise.
30581 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
30582 Likewise.
30583 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
30584 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
30585 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
30586 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
30587 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
30588 (__ieee754_gammaf_r): Likewise.
30589 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
30590 Likewise.
30591 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
30592 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
30593 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
30594 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
30595 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
30596 volatile.
30597 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
30598 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
30599 math_narrow_eval.
30600 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30601 Likewise.
30602 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30603 Likewise.
30604 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
30605 Likewise.
30606 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
30607 volatile.
30608 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
30609 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
30610 math_narrow_eval.
30611 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30612 Likewise.
30613 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30614 Likewise.
30615
30616 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
30617
30618 * nptl/Versions: Remove ignored symbols.
30619
30620 2015-09-22 Florian Weimer <fweimer@redhat.com>
30621
30622 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
30623 * nss/Makefile (tests): Update.
30624
30625 2015-09-22 Florian Weimer <fweimer@redhat.com>
30626
30627 * nss/bug18287.c: New file.
30628 * nss/Makefile (tests): Add bug18287.
30629
30630 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30631
30632 * mach/Versions (__mach_host_self_): Add symbol.
30633
30634 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
30635
30636 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
30637 vm_page_size.
30638
30639 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
30640
30641 Really fix sysdeps/i386/fpu/s_scalbn.S build
30642
30643 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
30644 (libc: GLIBC_2_22): Remove unused version set.
30645
30646 2015-09-18 Mike Frysinger <vapier@gentoo.org>
30647
30648 * config.make.in (enable-timezone-tools): New variable.
30649 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
30650 (enable_timezone_tools): Export to generated files.
30651 * configure: Regenerate.
30652 * INSTALL: Regenerate.
30653 * manual/install.texi (--disable-timezone-tools): Document new flag.
30654 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
30655 ifeq ($(enable-timezone-tools),yes) check.
30656
30657 2015-09-18 Joseph Myers <joseph@codesourcery.com>
30658
30659 * timezone/Makefile: Revert previous change.
30660
30661 [BZ #18980]
30662 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
30663 (DEFINE_DBL_MIN): Likewise.
30664 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30665 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30666 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30667 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30668 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
30669 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30670 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30671 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
30672 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
30673 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30674 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30675 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
30676 (flt_min): Replace with use of DEFINE_FLT_MIN.
30677 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30678 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
30679 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30680 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30681 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
30682 (flt_min): Replace with use of DEFINE_FLT_MIN.
30683 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30684 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
30685 (flt_min): Replace with use of DEFINE_FLT_MIN.
30686 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30687 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
30688 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
30689 (__ieee754_hypot): Use DBL_NARROW_EVAL.
30690 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
30691 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
30692 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
30693 (__ieee754_pow): Use DBL_NARROW_EVAL.
30694 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
30695 (__ieee754_powf): Use FLT_NARROW_EVAL.
30696 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
30697 (__ieee754_expf_sse2): Convert double-precision result to single
30698 precision.
30699 * sysdeps/i386/fpu/libm-test-ulps: Update.
30700
30701 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30702
30703 * timezone/Makefile: Ignore unused variable errors due to private.h
30704 (time_t_min) and (time_t_max).
30705 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
30706 Likewise.
30707
30708 2015-09-18 Joseph Myers <joseph@codesourcery.com>
30709
30710 [BZ #18981]
30711 * sysdeps/i386/fpu/i386-math-asm.h: New file.
30712 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
30713 (__ieee754_scalb): Use DBL_NARROW_EVAL.
30714 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
30715 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
30716 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
30717 (__scalbn): Use DBL_NARROW_EVAL.
30718 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
30719 (__scalbnf): Use FLT_NARROW_EVAL.
30720
30721 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30722
30723 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
30724 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
30725 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
30726 * stdio-common/printf_fp.c (___printf_fp):
30727 Use signbit to get the sign. Use isinf macro to allow inlining.
30728 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
30729 * stdio-common/printf_size.c (__printf_size): Likewise.
30730
30731 2015-09-18 Mike Frysinger <vapier@gentoo.org>
30732
30733 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
30734
30735 2015-09-18 Joseph Myers <joseph@codesourcery.com>
30736
30737 [BZ #18980]
30738 * sysdeps/generic/math_private.h: Include <float.h>.
30739 (math_narrow_eval): New macro.
30740 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
30741 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
30742 math_narrow_eval on overflowing return value.
30743 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
30744 Likewise.
30745 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30746 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
30747 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
30748 Likewise.
30749 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30750
30751 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30752
30753 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
30754 * math/Makefile: Remove isinf_ns.c.
30755 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
30756 * math/multc3.c (__multc3): Likewise.
30757 * math/s_casin.c (__casin): Likewise.
30758 * math/s_casinf.c (__casinf): Likewise.
30759 * math/s_casinl.c (__casinl): Likewise.
30760 * math/s_cproj.c (__cproj): Likewise.
30761 * math/s_cprojf.c (__cprojf): Likewise.
30762 * math/s_cprojl.c (__cprofl): Likewise.
30763 * math/s_ctan.c (__ctan): Likewise.
30764 * math/s_ctanf.c (__ctanf): Likewise.
30765 * math/s_ctanh.c (__ctanh): Likewise.
30766 * math/s_ctanhf.c (__ctanhf): Likewise.
30767 * math/s_ctanhl.c (__ctanhl): Likewise.
30768 * math/s_ctanl.c (__ctanl): Likewise.
30769 * math/w_fmod.c (__fmod): Likewise.
30770 * math/w_fmodf.c (__fmodf): Likewise.
30771 * math/w_fmodl.c (_fmodl): Likewise.
30772 * math/w_remainder.c (__remainder): Likewise.
30773 * math/w_remainderf.c (__remainderf): Likewise.
30774 * math/w_remainderl.c (__remainderl): Likewise.
30775 * math/w_scalb.c (__scalb): Likewise.
30776 * math/w_scalbf.c (__scalbf): Likewise.
30777 * math/w_scalbl.c (__scalbl): Likewise.
30778 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
30779 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
30780 with isinf.
30781 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
30782 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
30783 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
30784 __isinf_nsf with isinf.
30785 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
30786 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
30787 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
30788 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
30789 with isinf.
30790 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
30791 __isinf_nsl with isinf.
30792 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
30793 with isinf.
30794 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
30795 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
30796 __isinf_nsl with isinf.
30797 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
30798 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
30799 with isinf.
30800
30801 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30802
30803 * resolv/base64.c (rcsid): Remove unused static.
30804 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
30805 static. (tqpi1): Likewise.
30806 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
30807 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
30808 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
30809 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
30810 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
30811 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
30812 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
30813 * timezone/private.h (time_t_min): Likewise. (time_t_max):
30814 Likewise.
30815
30816 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
30817
30818 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
30819 <nptl/pthreadP.h>.
30820 (_longjmp_unwind): Use __libc_ptf_call.
30821 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
30822
30823 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
30824
30825 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
30826 * sysdeps/arm/__longjmp.S: Likewise.
30827
30828 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30829
30830 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
30831 Use __builtin_signbit.
30832 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
30833 Use __builtin_signbitf.
30834 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
30835 Use __builtin_signbitl.
30836 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30837 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
30838
30839 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30840
30841 [BZ #15367]
30842 [BZ #17441]
30843
30844 * math/Makefile: Build test-snan.c with -fsignaling-nans.
30845 * math/math.h (fpclassify): Use __builtin_fpclassify when
30846 available. (signbit): Use __builtin_signbit(f/l).
30847 (isfinite): Use__builtin_isfinite. (isnormal): Use
30848 __builtin_isnormal. (isnan): Use __builtin_isnan.
30849 (isinf): Use __builtin_isinf_sign.
30850
30851 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30852
30853 * benchtests/Makefile: Add bench-math-inlines, link with libm.
30854 * benchtests/bench-math-inlines.c: New benchmark.
30855 * benchtests/bench-util.h: New file.
30856 * benchtests/bench-util.c: New file.
30857 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
30858
30859 2015-09-18 Carlos O'Donell <carlos@redhat.com>
30860
30861 * elf/tst-dlmopen1.c: Define TEST_SO.
30862 (do_test): Use TEST_SO.
30863
30864 * elf/dl-load.c: Include libc-internal.h.
30865 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
30866
30867 2015-09-18 Vincent Bernat <vincent@bernat.im>
30868
30869 [BZ #17887]
30870 * time/strptime_l.c (__strptime_internal): Make %z accept
30871 [+-]HH:MM time zones.
30872
30873 2015-09-18 Vincent Bernat <vincent@bernat.im>
30874
30875 [BZ #17886]
30876 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
30877 valid time zone.
30878
30879 2015-09-17 Mike Frysinger <vapier@gentoo.org>
30880
30881 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
30882 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
30883 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30884 (__ASSUME_FDATASYNC): Delete.
30885
30886 2015-09-17 Joseph Myers <joseph@codesourcery.com>
30887
30888 * conform/linknamespace.pl: Require weak undefined symbols to be
30889 in the standard namespace.
30890 (%strong_syms): Rename to %seen_syms.
30891 (%strong_seen): Rename to %seen_where.
30892
30893 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
30894
30895 [BZ #18970]
30896 * misc/error.c (error): Replace pthread_setcancelstate with
30897 __pthread_setcancelstate.
30898 (error_at_line): Likewise.
30899 * posix/wordexp.c (parse_comm): Likewise.
30900 * stdlib/fmtmsg.c (fmtmsg): Likewise.
30901 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
30902 (__pthread_setcancelstate): This.
30903 (pthread_setcancelstate): Add an alias.
30904 * nptl/nptl-init.c (pthread_functions): Replace
30905 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
30906 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
30907 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
30908 hidden_proto.
30909 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
30910 it with hidden_def.
30911 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
30912 (pthread_setcancelstate): Renamed to ...
30913 (__pthread_setcancelstate): This.
30914 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
30915 __libc_ptf_call with __pthread_setcancelstate.
30916
30917 2015-09-17 Joseph Myers <joseph@codesourcery.com>
30918 Andreas Schwab <schwab@suse.de>
30919
30920 [BZ #17118]
30921 * math/s_ctan.c (__ctan): Determine sign of zero real part of
30922 result when imaginary part of argument is infinite using sine and
30923 cosine.
30924 * math/s_ctanf.c (__ctanf): Likewise.
30925 * math/s_ctanl.c (__ctanl): Likewise.
30926 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
30927 of result when real part of argument is infinite using sine and
30928 cosine.
30929 * math/s_ctanhf.c (__ctanhf): Likewise.
30930 * math/s_ctanhl.c (__ctanhl): Likewise.
30931 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
30932 (ctanh_test_data): Add more tests of ctanh.
30933
30934 2015-09-17 Joseph Myers <joseph@codesourcery.com>
30935
30936 [BZ #15384]
30937 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
30938 bit-mask as in subtraction.
30939 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
30940 Likewise.
30941 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
30942 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
30943 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
30944
30945 [BZ #18951]
30946 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
30947 underflow exception for small results.
30948 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30949 Likewise.
30950 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30951 Likewise.
30952 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30953 Likewise.
30954 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
30955 Likewise.
30956 * math/auto-libm-test-in: Add more tests of tgamma.
30957 * math/auto-libm-test-out: Regenerated.
30958
30959 2015-09-17 Andreas Schwab <schwab@suse.de>
30960
30961 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
30962
30963 2015-09-16 Joseph Myers <joseph@codesourcery.com>
30964
30965 [BZ #18977]
30966 * math/bits/mathcalls.h
30967 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
30968 not declare.
30969 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
30970 Likewise.
30971 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
30972 Likewise.
30973 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
30974 Likewise.
30975 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
30976 Likewise.
30977 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
30978 Likewise.
30979 * conform/data/math.h-data
30980 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
30981 function.
30982 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
30983 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
30984 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
30985 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
30986 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
30987 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
30988 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
30989 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
30990 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
30991 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
30992 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
30993
30994 [BZ #6803]
30995 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
30996 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
30997 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
30998 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
30999 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
31000 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
31001 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
31002 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
31003 [NO_LONG_DOUBLE] (scalbnl): Likewise.
31004 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
31005 Likewise.
31006 [NO_LONG_DOUBLE] (scalbnl): Likewise.
31007 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
31008 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
31009 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
31010 long_double_symbol calls.
31011 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
31012 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
31013 strong alias of __ldexpl.
31014 (scalbnl): Define using long_double_symbol.
31015 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
31016 Remove alias.
31017 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
31018 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
31019 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
31020 (scalbln_test_data): Add more errno expectations.
31021
31022 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
31023
31024 Cache the host port like we cache the task port. This way we do not
31025 need to call the kernel just to get the port. Furthermore, we no
31026 longer increase the reference count on every invocation of
31027 `mach_host_self'.
31028
31029 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
31030 Protect declarations against the macro expansion.
31031 * mach/mach_init.c (__mach_host_self_): New variable.
31032 (mach_init): Initialize `__mach_host_self_'.
31033 * mach/mach_init.h (__mach_host_self_): New declaration.
31034 (__mach_host_self, mach_host_self): New macros.
31035 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
31036 Release reference.
31037
31038 2015-09-16 Joseph Myers <joseph@codesourcery.com>
31039
31040 [BZ #4404]
31041 * po/de.po: Update from Translation Project.
31042
31043 [BZ #16415]
31044 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
31045 (__expm1l): Remove code to handle positive infinity and overflow.
31046 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
31047 variable.
31048 (__expm1l): Remove code to handle positive infinity and overflow.
31049
31050 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
31051 Paul Pluzhnikov <ppluzhnikov@google.com>
31052
31053 [BZ #18872]
31054 * stdio-common/Makefile (tst-printf-bz18872): New test.
31055 (tst-printf-bz18872-mem.out): Likewise.
31056 * stdio-common/tst-printf-bz18872.sh: Generate new test.
31057 * stdio-common/vfprintf.c: Fix memory leaks.
31058
31059 2015-09-16 Andreas Schwab <schwab@suse.de>
31060
31061 [BZ #17244]
31062 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
31063 Remove extra va_start/va_end calls.
31064
31065 [BZ #17243]
31066 * posix/execl.c (execl): Add missing va_end.
31067 * posix/execle.c (execle): Likewise.
31068 * posix/execlp.c (execlp): Likewise.
31069
31070 2015-09-15 Roland McGrath <roland@hack.frob.com>
31071
31072 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
31073 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
31074
31075 2015-09-15 Joseph Myers <joseph@codesourcery.com>
31076
31077 [BZ #18967]
31078 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
31079 undefine around includes of <bits/mathcalls.h>.
31080 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
31081 not declare function.
31082 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
31083 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
31084 (scalb): Likewise.
31085 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
31086 not define macro.
31087 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
31088 variable.
31089 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
31090 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31091 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31092
31093 [BZ #18857]
31094 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
31095 return non-finite argument without doing ordered comparisons on
31096 it.
31097
31098 [BZ #16296]
31099 * math/fenv.h (fegetround): Use __attribute_pure__.
31100 * include/fenv.h (__fegetround): Likewise.
31101
31102 [BZ #18595]
31103 * math/s_ctan.c (__ctan): Force underflow exception for results
31104 whose real or imaginary part has small absolute value.
31105 * math/s_ctanf.c (__ctanf): Likewise.
31106 * math/s_ctanh.c (__ctanh): Likewise.
31107 * math/s_ctanhf.c (__ctanhf): Likewise.
31108 * math/s_ctanhl.c (__ctanhl): Likewise.
31109 * math/s_ctanl.c (__ctanl): Likewise.
31110 * math/auto-libm-test-in: Do not allow missing underflow for ctan
31111 and ctanh. Add more tests of ctan and ctanh.
31112
31113 [BZ #15918]
31114 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
31115 handling of cases where one argument is an infinity.
31116
31117 [BZ #18875]
31118 [BZ #18966]
31119 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
31120 (MO): New macro.
31121 (__ieee754_exp10): For small results, force underflow exception
31122 and remove excess range and precision from return value.
31123 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
31124 (MO): New macro.
31125 (__ieee754_exp10f): For small results, force underflow exception
31126 and remove excess range and precision from return value.
31127 * math/auto-libm-test-in: Add more tests of exp10.
31128 * math/auto-libm-test-out: Regenerated.
31129
31130 2015-09-14 Joseph Myers <joseph@codesourcery.com>
31131
31132 [BZ #18875]
31133 [BZ #18961]
31134 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
31135 (MO): New macro.
31136 (__ieee754_exp): For small results, force underflow exception and
31137 remove excess range and precision from return value.
31138 (__exp_finite): Likewise.
31139 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
31140 (MO): New macro.
31141 (__ieee754_expf): For small results, force underflow exception and
31142 remove excess range and precision from return value.
31143 (__expf_finite): Likewise.
31144 * math/auto-libm-test-in: Add more tests of exp.
31145 * math/auto-libm-test-out: Regenerated.
31146
31147 [BZ #16521]
31148 [BZ #18875]
31149 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
31150 small results.
31151 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
31152 (MO): New macro.
31153 (__ieee754_exp2): For small results, force underflow exception and
31154 remove excess range and precision from return value.
31155 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
31156 (MO): New macro.
31157 (__ieee754_exp2f): For small results, force underflow exception
31158 and remove excess range and precision from return value.
31159 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
31160 (MO): New macro.
31161 (__ieee754_exp2l): Force underflow exception for small results.
31162 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31163 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31164 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
31165 (MO): New macro.
31166 (__ieee754_exp2l): Force underflow exception for small results.
31167 * math/auto-libm-test-in: Add more tests or exp2.
31168 * math/auto-libm-test-out: Regenerated.
31169
31170 2015-09-14 Carlos O'Donell <carlos@redhat.com>
31171
31172 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
31173
31174 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
31175 /dev/null.
31176
31177 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
31178
31179 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31180 io fs process)): Drop spurious backslash.
31181
31182 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
31183
31184 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
31185 Use sysinfo system call instead of parsing /proc/meminfo.
31186 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
31187 Likewise.
31188
31189 2015-09-11 Mike Frysinger <vapier@gentoo.org>
31190
31191 [BZ #16985]
31192 * programs/localedef.c (main): Display argv[remaining] when
31193 output_path is NULL.
31194
31195 2015-09-11 Joseph Myers <joseph@codesourcery.com>
31196
31197 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31198 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
31199 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
31200 tanh.
31201 * math/auto-libm-test-out: Regenerated.
31202 * sysdeps/i386/fpu/libm-test-ulps: Update.
31203 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31204 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31206
31207 2015-09-11 Roland McGrath <roland@hack.frob.com>
31208
31209 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
31210 Use 'override' keyword to freeze the value here, preventing
31211 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
31212
31213 2015-09-11 Joseph Myers <joseph@codesourcery.com>
31214
31215 [BZ #14912]
31216 * sysdeps/aarch64/bits/atomic.h: Move to ...
31217 * sysdeps/aarch64/atomic-machine.h: ...here.
31218 (_AARCH64_BITS_ATOMIC_H): Rename macro to
31219 _AARCH64_ATOMIC_MACHINE_H.
31220 * sysdeps/alpha/bits/atomic.h: Move to ...
31221 * sysdeps/alpha/atomic-machine.h: ...here.
31222 * sysdeps/arm/bits/atomic.h: Move to ...
31223 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
31224 * bits/atomic.h: Move to ...
31225 * sysdeps/generic/atomic-machine.h: ...here.
31226 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31227 * sysdeps/i386/bits/atomic.h: Move to ...
31228 * sysdeps/i386/atomic-machine.h: ...here.
31229 * sysdeps/ia64/bits/atomic.h: Move to ...
31230 * sysdeps/ia64/atomic-machine.h: ...here.
31231 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
31232 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
31233 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31234 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
31235 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
31236 * sysdeps/microblaze/bits/atomic.h: Move to ...
31237 * sysdeps/microblaze/atomic-machine.h: ...here.
31238 * sysdeps/mips/bits/atomic.h: Move to ...
31239 * sysdeps/mips/atomic-machine.h: ...here.
31240 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
31241 * sysdeps/powerpc/bits/atomic.h: Move to ...
31242 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
31243 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
31244 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
31245 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
31246 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
31247 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
31248 <atomic-machine.h> instead of <bits/atomic.h>.
31249 * sysdeps/s390/bits/atomic.h: Move to ...
31250 * sysdeps/s390/atomic-machine.h: ...here.
31251 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
31252 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
31253 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31254 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
31255 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
31256 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
31257 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
31258 * sysdeps/tile/bits/atomic.h: Move to ...
31259 * sysdeps/tile/atomic-machine.h: ...here.
31260 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
31261 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
31262 <sysdeps/tile/atomic-machine.h> instead of
31263 <sysdeps/tile/bits/atomic.h>.
31264 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31265 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
31266 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
31267 <sysdeps/tile/atomic-machine.h> instead of
31268 <sysdeps/tile/bits/atomic.h>.
31269 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31270 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
31271 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
31272 <sysdeps/arm/atomic-machine.h> instead of
31273 <sysdeps/arm/bits/atomic.h>.
31274 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
31275 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
31276 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31277 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
31278 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
31279 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31280 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
31281 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
31282 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
31283 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
31284 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
31285 * sysdeps/x86_64/bits/atomic.h: Move to ...
31286 * sysdeps/x86_64/atomic-machine.h: ...here.
31287 * include/atomic.h: Include <atomic-machine.h> instead of
31288 <bits/atomic.h>.
31289
31290 * sysdeps/mips/mips32/libm-test-ulps: Update.
31291 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31292
31293 [BZ #18952]
31294 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
31295 not convert non-integer negative arguments to int to determine the
31296 value of signgam.
31297 * math/auto-libm-test-in: Add more tests of lgamma.
31298 * math/auto-libm-test-out: Regenerated.
31299
31300 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
31301 cosh, csqrt, erfc, expm1 and lgamma.
31302 * math/auto-libm-test-out: Regenerated.
31303 * sysdeps/i386/fpu/libm-test-ulps: Update.
31304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31305
31306 2015-09-10 Joseph Myers <joseph@codesourcery.com>
31307
31308 [BZ #2542]
31309 [BZ #2543]
31310 [BZ #2558]
31311 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
31312 __lgamma_neg for arguments from -28.0 to -2.0.
31313 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
31314 __lgamma_negf for arguments from -15.0 to -2.0.
31315 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31316 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
31317 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
31318 Call __lgamma_negl for arguments from -33.0 to -2.0.
31319 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
31320 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
31321 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
31322 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
31323 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
31324 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
31325 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
31326 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
31327 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
31328 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
31329 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
31330 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
31331 (__lgamma_neg): Likewise.
31332 (__lgamma_negl): Likewise.
31333 (__lgamma_product): Likewise.
31334 (__lgamma_productl): Likewise.
31335 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
31336 * math/auto-libm-test-in: Add more tests of lgamma.
31337 * math/auto-libm-test-out: Regenerated.
31338 * sysdeps/i386/fpu/libm-test-ulps: Update.
31339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31340
31341 2015-09-09 Justin Maggard <jmaggard@netgear.com>
31342
31343 [BZ #18675]
31344 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
31345
31346 2015-09-08 Joseph Myers <joseph@codesourcery.com>
31347
31348 [BZ #14912]
31349 * bits/libc-lock.h: Move to ...
31350 * sysdeps/generic/libc-lock.h: ...here.
31351 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31352 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
31353 * sysdeps/mach/hurd/libc-lock.h: ...here.
31354 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31355 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
31356 * sysdeps/mach/bits/libc-lock.h: Move to ...
31357 * sysdeps/mach/libc-lock.h: ...here.
31358 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31359 * sysdeps/nptl/bits/libc-lock.h: Move to ...
31360 * sysdeps/nptl/libc-lock.h: ...here.
31361 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31362 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
31363 * sysdeps/nptl/libc-lockP.h: ...here.
31364 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
31365 * crypt/crypt_util.c: Include <libc-lock.h> instead of
31366 <bits/libc-lock.h>.
31367 * dirent/scandir-tail.c: Likewise.
31368 * dlfcn/dlerror.c: Likewise.
31369 * elf/dl-close.c: Likewise.
31370 * elf/dl-iteratephdr.c: Likewise.
31371 * elf/dl-lookup.c: Likewise.
31372 * elf/dl-open.c: Likewise.
31373 * elf/dl-support.c: Likewise.
31374 * elf/dl-writev.h: Likewise.
31375 * elf/rtld.c: Likewise.
31376 * grp/fgetgrent.c: Likewise.
31377 * gshadow/fgetsgent.c: Likewise.
31378 * gshadow/sgetsgent.c: Likewise.
31379 * iconv/gconv_conf.c: Likewise.
31380 * iconv/gconv_db.c: Likewise.
31381 * iconv/gconv_dl.c: Likewise.
31382 * iconv/gconv_int.h: Likewise.
31383 * iconv/gconv_trans.c: Likewise.
31384 * include/link.h: Likewise.
31385 * inet/getnameinfo.c: Likewise.
31386 * inet/getnetgrent.c: Likewise.
31387 * inet/getnetgrent_r.c: Likewise.
31388 * intl/bindtextdom.c: Likewise.
31389 * intl/dcigettext.c: Likewise.
31390 * intl/finddomain.c: Likewise.
31391 * intl/gettextP.h: Likewise.
31392 * intl/loadmsgcat.c: Likewise.
31393 * intl/localealias.c: Likewise.
31394 * intl/textdomain.c: Likewise.
31395 * libidn/idn-stub.c: Likewise.
31396 * libio/libioP.h: Likewise.
31397 * locale/duplocale.c: Likewise.
31398 * locale/freelocale.c: Likewise.
31399 * locale/newlocale.c: Likewise.
31400 * locale/setlocale.c: Likewise.
31401 * login/getutent_r.c: Likewise.
31402 * login/getutid_r.c: Likewise.
31403 * login/getutline_r.c: Likewise.
31404 * login/utmp-private.h: Likewise.
31405 * login/utmpname.c: Likewise.
31406 * malloc/mtrace.c: Likewise.
31407 * misc/efgcvt.c: Likewise.
31408 * misc/error.c: Likewise.
31409 * misc/fstab.c: Likewise.
31410 * misc/getpass.c: Likewise.
31411 * misc/mntent.c: Likewise.
31412 * misc/syslog.c: Likewise.
31413 * nis/nis_call.c: Likewise.
31414 * nis/nis_callback.c: Likewise.
31415 * nis/nss-default.c: Likewise.
31416 * nis/nss_compat/compat-grp.c: Likewise.
31417 * nis/nss_compat/compat-initgroups.c: Likewise.
31418 * nis/nss_compat/compat-pwd.c: Likewise.
31419 * nis/nss_compat/compat-spwd.c: Likewise.
31420 * nis/nss_nis/nis-alias.c: Likewise.
31421 * nis/nss_nis/nis-ethers.c: Likewise.
31422 * nis/nss_nis/nis-grp.c: Likewise.
31423 * nis/nss_nis/nis-hosts.c: Likewise.
31424 * nis/nss_nis/nis-network.c: Likewise.
31425 * nis/nss_nis/nis-proto.c: Likewise.
31426 * nis/nss_nis/nis-pwd.c: Likewise.
31427 * nis/nss_nis/nis-rpc.c: Likewise.
31428 * nis/nss_nis/nis-service.c: Likewise.
31429 * nis/nss_nis/nis-spwd.c: Likewise.
31430 * nis/nss_nisplus/nisplus-alias.c: Likewise.
31431 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
31432 * nis/nss_nisplus/nisplus-grp.c: Likewise.
31433 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
31434 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
31435 * nis/nss_nisplus/nisplus-network.c: Likewise.
31436 * nis/nss_nisplus/nisplus-proto.c: Likewise.
31437 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
31438 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
31439 * nis/nss_nisplus/nisplus-service.c: Likewise.
31440 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
31441 * nis/ypclnt.c: Likewise.
31442 * nptl/libc_pthread_init.c: Likewise.
31443 * nss/getXXbyYY.c: Likewise.
31444 * nss/getXXent.c: Likewise.
31445 * nss/getXXent_r.c: Likewise.
31446 * nss/nss_db/db-XXX.c: Likewise.
31447 * nss/nss_db/db-netgrp.c: Likewise.
31448 * nss/nss_db/nss_db.h: Likewise.
31449 * nss/nss_files/files-XXX.c: Likewise.
31450 * nss/nss_files/files-alias.c: Likewise.
31451 * nss/nsswitch.c: Likewise.
31452 * posix/regex_internal.h: Likewise.
31453 * posix/wordexp.c: Likewise.
31454 * pwd/fgetpwent.c: Likewise.
31455 * resolv/res_hconf.c: Likewise.
31456 * resolv/res_libc.c: Likewise.
31457 * shadow/fgetspent.c: Likewise.
31458 * shadow/lckpwdf.c: Likewise.
31459 * shadow/sgetspent.c: Likewise.
31460 * socket/opensock.c: Likewise.
31461 * stdio-common/reg-modifier.c: Likewise.
31462 * stdio-common/reg-printf.c: Likewise.
31463 * stdio-common/reg-type.c: Likewise.
31464 * stdio-common/vfprintf.c: Likewise.
31465 * stdio-common/vfscanf.c: Likewise.
31466 * stdlib/abort.c: Likewise.
31467 * stdlib/cxa_atexit.c: Likewise.
31468 * stdlib/fmtmsg.c: Likewise.
31469 * stdlib/random.c: Likewise.
31470 * stdlib/setenv.c: Likewise.
31471 * string/strsignal.c: Likewise.
31472 * sunrpc/auth_none.c: Likewise.
31473 * sunrpc/bindrsvprt.c: Likewise.
31474 * sunrpc/create_xid.c: Likewise.
31475 * sunrpc/key_call.c: Likewise.
31476 * sunrpc/rpc_thread.c: Likewise.
31477 * sysdeps/arm/backtrace.c: Likewise.
31478 * sysdeps/generic/ldsodefs.h: Likewise.
31479 * sysdeps/generic/stdio-lock.h: Likewise.
31480 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
31481 * sysdeps/i386/backtrace.c: Likewise.
31482 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31483 * sysdeps/m68k/backtrace.c: Likewise.
31484 * sysdeps/mach/hurd/cthreads.c: Likewise.
31485 * sysdeps/mach/hurd/dirstream.h: Likewise.
31486 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31487 * sysdeps/nptl/malloc-machine.h: Likewise.
31488 * sysdeps/nptl/stdio-lock.h: Likewise.
31489 * sysdeps/posix/dirstream.h: Likewise.
31490 * sysdeps/posix/getaddrinfo.c: Likewise.
31491 * sysdeps/posix/system.c: Likewise.
31492 * sysdeps/pthread/aio_suspend.c: Likewise.
31493 * sysdeps/s390/s390-32/backtrace.c: Likewise.
31494 * sysdeps/s390/s390-64/backtrace.c: Likewise.
31495 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31496 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31497 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
31498 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
31499 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
31500 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31501 * sysdeps/unix/sysv/linux/system.c: Likewise.
31502 * sysdeps/x86_64/backtrace.c: Likewise.
31503 * time/alt_digit.c: Likewise.
31504 * time/era.c: Likewise.
31505 * time/tzset.c: Likewise.
31506 * wcsmbs/wcsmbsload.c: Likewise.
31507 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
31508 instead of <bits/libc-lock.h> in comment.
31509
31510 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
31511
31512 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
31513 Only use .set mips2 if the current ISA is below mips2.
31514 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
31515 Likewise.
31516 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
31517 mips32r2 if the current ISA is below mips32r2.
31518 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
31519 (TLS_IE): Updated to use the TLD_RDHWR macro.
31520 (TLS_LE): Likewise.
31521 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
31522 __ASSEMBLER__ condition.
31523
31524 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
31525
31526 Fix parallel build of before-compile targets.
31527
31528 * sysdeps/mach/Makefile ($(patsubst
31529 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
31530 mach-before-compile target.
31531 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31532 io fs process)): Move rule to dedicated hurd-before-compile target.
31533
31534 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31535
31536 Fix rules generating headers in hurd/ and mach/ when initial make call
31537 has subdir= explicitly set.
31538
31539 * sysdeps/mach/Makefile ($(patsubst
31540 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
31541 calling $(MAKE).
31542 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31543 io fs process)): Force subdir to hurd when calling $(MAKE).
31544 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
31545 subdir to mach when calling $(MAKE).
31546
31547 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
31548
31549 Check sysheaders when looking for Mach and Hurd headers
31550
31551 * sysdeps/mach/configure.ac: Add sysheaders check.
31552 * sysdeps/mach/configure: Regenerate.
31553 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
31554 * sysdeps/mach/hurd/configure: Regenerate.
31555
31556 2015-09-04 Roland McGrath <roland@hack.frob.com>
31557
31558 [BZ #18921]
31559 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
31560 Fix inverted sense of test of 'o_directory_works' value.
31561 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
31562 Bernhard Voelker <mail@bernhard-voelker.de>.
31563
31564 2015-09-04 Joseph Myers <joseph@codesourcery.com>
31565
31566 [BZ #14912]
31567 * bits/linkmap.h: Move to ...
31568 * sysdeps/generic/linkmap.h: ...here.
31569 * sysdeps/aarch64/bits/linkmap.h: Move to ...
31570 * sysdeps/aarch64/linkmap.h: ...here.
31571 * sysdeps/arm/bits/linkmap.h: Move to ...
31572 * sysdeps/arm/linkmap.h: ...here.
31573 * sysdeps/hppa/bits/linkmap.h: Move to ...
31574 * sysdeps/hppa/linkmap.h: ...here.
31575 * sysdeps/ia64/bits/linkmap.h: Move to ...
31576 * sysdeps/ia64/linkmap.h: ...here.
31577 * sysdeps/mips/bits/linkmap.h: Move to ...
31578 * sysdeps/mips/linkmap.h: ...here.
31579 * sysdeps/s390/bits/linkmap.h: Move to ...
31580 * sysdeps/s390/linkmap.h: ...here.
31581 * sysdeps/sh/bits/linkmap.h: Move to ...
31582 * sysdeps/sh/linkmap.h: ...here.
31583 * sysdeps/x86/bits/linkmap.h: Move to ...
31584 * sysdeps/x86/linkmap.h: ...here.
31585 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
31586
31587 2015-09-04 Andreas Schwab <schwab@suse.de>
31588
31589 [BZ #18635]
31590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
31591 (__makecontext): Terminate FDE before return label.
31592 (__novec_makecontext): Likewise.
31593
31594 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
31595
31596 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
31597 first member of struct sv in syscall macro.
31598
31599 2015-09-04 Joseph Myers <joseph@codesourcery.com>
31600
31601 [BZ #14912]
31602 * bits/stdio-lock.h: Move to ...
31603 * sysdeps/generic/stdio-lock.h: ...here.
31604 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31605 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
31606 * sysdeps/nptl/stdio-lock.h: ...here.
31607 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31608 * include/libio.h: Include <stdio-lock.h> instead of
31609 <bits/stdio-lock.h>.
31610 * sysdeps/nptl/fork.c: Likewise.
31611 * sysdeps/pthread/flockfile.c: Likewise.
31612 * sysdeps/pthread/ftrylockfile.c: Likewise.
31613 * sysdeps/pthread/funlockfile.c: Likewise.
31614
31615 [BZ #14912]
31616 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
31617 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
31618 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
31619 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
31620 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
31621 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
31622 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
31623
31624 2015-09-03 Roland McGrath <roland@hack.frob.com>
31625
31626 * elf/Makefile (test-xfail-tst-protected1a): New variable.
31627 (test-xfail-tst-protected1b): New variable.
31628
31629 2015-09-03 Joseph Myers <joseph@codesourcery.com>
31630
31631 [BZ #14912]
31632 * bits/libc-tsd.h: Move to ...
31633 * sysdeps/generic/libc-tsd.h: ...here.
31634 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
31635 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
31636 * sysdeps/mach/hurd/libc-tsd.h: ...here.
31637 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
31638 * include/ctype.h: Include <libc-tsd.h> instead of
31639 <bits/libc-tsd.h>.
31640 * include/rpc/rpc.h: Likewise.
31641 * locale/localeinfo.h: Likewise.
31642 * sunrpc/rpc_thread.c: Likewise.
31643 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31644 * sysdeps/nptl/malloc-machine.h: Likewise.
31645
31646 * Makefile (headers): Remove bits/libc-lock.h.
31647 * libio/Makefile (headers): Remove bits/stdio-lock.h.
31648
31649 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
31650 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
31651 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
31652 <bits/stdio-lock.h>.
31653 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
31654 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
31655
31656 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31657
31658 [BZ #18757]
31659 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
31660 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
31661 BZ #18757.
31662
31663 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31664
31665 * malloc/mtrace.pl: Filter out NULL entries.
31666
31667 2015-09-01 Joseph Myers <joseph@codesourcery.com>
31668
31669 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
31670 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
31671 macro.
31672
31673 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
31674 (TCP_CC_INFO): Likewise.
31675 (TCP_SAVE_SYN): Likewise.
31676 (TCP_SAVED_SYN): Likewise.
31677
31678 2015-08-31 Brett Neumeier <brett@neumeier.us>
31679
31680 [BZ #18870]
31681 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
31682
31683 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
31684
31685 [BZ #18873]
31686 Fix broken overflow check in posix_fallocate
31687 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
31688 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
31689 Fix parenthesization typo.
31690
31691 2015-08-28 Mike Frysinger <vapier@gentoo.org>
31692
31693 [BZ #18887]
31694 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
31695 tst-mntent-blank-passno.
31696 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
31697 * misc/tst-mntent-blank-corrupt.c: New test.
31698 * misc/tst-mntent-blank-passno.c: New test ripped from ...
31699 * misc/tst-mntent.c (do_test): ... here.
31700
31701 2015-08-29 Mike Frysinger <vapier@gentoo.org>
31702
31703 [BZ #4404]
31704 * po/de.po: Fix SIGALRM typo.
31705
31706 2015-08-28 James Perkins <james@loowit.net>
31707
31708 * time/tst-strptime2.c (tests): Replace short list of test
31709 strings for strptime %z specifier with code which exhaustively
31710 tests every combination of sign and 0 to 5 digits. Tests for
31711 rejection of invalid strings.
31712
31713 2015-08-28 James Perkins <james@loowit.net>
31714
31715 [BZ #16141]
31716 * time/strptime_l.c (__strptime_internal): Fix %z minutes
31717 calculation, removing incorrect decimal time rounding, so that
31718 all minute values result in a valid seconds value.
31719 * time/strptime_l.c (__strptime_internal): Extend %z time zone
31720 offset range limits to UTC-99:59 through UTC+99:59 to parse
31721 current and historical use cases.
31722 * time/tst-strptime2.c (tests): Modify and add tests for the
31723 strptime %z input field descriptor, specifically conversion of
31724 minutes to seconds and validating an offset range of -9959 to
31725 +9959.
31726
31727 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31728 Dmitry V. Levin <ldv@altlinux.org>
31729
31730 [BZ #18877]
31731 * posix/Makefile (tests): Add tst-mmap-offset.
31732 * posix/tst-mmap.c: New file.
31733 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
31734 offset calculation for negative values.
31735
31736 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31737
31738 * sysdeps/i386/init-arch.h: New file.
31739 * sysdeps/i386/i586/init-arch.h: Likewise.
31740 * sysdeps/i386/i686/init-arch.h: Likewise.
31741 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
31742 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
31743 * sysdeps/x86/cpu-features.h (bit_I586): New.
31744 (bit_I686): Likewise.
31745 (bit_CX8): Likewise.
31746 (bit_CMOV): Likewise.
31747 (index_CX8): Likewise.
31748 (index_CMOV): Likewise.
31749 (index_I586): Likewise.
31750 (index_I686): Likewise.
31751 (reg_CX8): Likewise.
31752 (reg_CMOV): Likewise.
31753 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
31754 available at compile-time.
31755 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
31756 available at compile-time.
31757 * sysdeps/x86/init-arch.h (USE_I586): New macro.
31758 (USE_I686): Likewise.
31759
31760 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31761
31762 * sysdeps/i386/bcopy.S: New file.
31763 * sysdeps/i386/bzero.S: Likewise.
31764 * sysdeps/i386/memcpy.S: Likewise.
31765 * sysdeps/i386/memmove.S: Likewise.
31766 * sysdeps/i386/mempcpy.S: Likewise.
31767 * sysdeps/i386/memset.S: Likewise.
31768 * sysdeps/i386/bzero.c: Removed.
31769 * sysdeps/i386/memset.c: Likewise.
31770 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
31771 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
31772 * sysdeps/i386/i586/memset_chk.S: Likewise.
31773 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
31774 * sysdeps/i386/memcpy_chk.S: Here.
31775 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
31776 * sysdeps/i386/memmove_chk.S: Here.
31777 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
31778 * sysdeps/i386/mempcpy_chk.S: Likewise.
31779 * sysdeps/i386/i686/memset_chk.S: Moved to ...
31780 * sysdeps/i386/memset_chk.S: Likewise.
31781
31782 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
31783
31784 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
31785 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
31786 file, move DIAG_POP_NEEDS_COMMENT to end of file.
31787 * soft-fp/fmadf4.c: Ditto.
31788 * soft-fp/fmatf4.c: Ditto.
31789
31790 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31791
31792 * sysdeps/i386/i586/Implies: Removed.
31793 * sysdeps/i386/i686/Implies: Likewise.
31794
31795 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31796
31797 * sysdeps/i386/i486/strlen.S: Moved to ...
31798 * sysdeps/i386/strlen.S: Here.
31799
31800 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31801
31802 * sysdeps/i386/i486/strcat.S: Moved to ...
31803 * sysdeps/i386/strcat.S: Here.
31804
31805 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31806
31807 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
31808 * sysdeps/i386/pthread_spin_trylock.S: Here.
31809 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
31810 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
31811
31812 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31813
31814 * sysdeps/i386/i486/string-inlines.c: Moved to ...
31815 * sysdeps/i386/string-inlines.c: Here.
31816
31817 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31818
31819 * sysdeps/i386/i486/htonl.S: Moved ...
31820 * sysdeps/i386/htonl.S: here.
31821
31822 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31823
31824 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
31825 * sysdeps/i386/bits/atomic.h: Here.
31826
31827 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31828
31829 * sysdeps/i386/i486/Versions: Removed.
31830
31831 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
31832
31833 [BZ #2898]
31834 * misc/mktemp.c: Add mkdtemp to the link_warning message.
31835 Based on patch by Aurelien Jarno.
31836
31837 2015-08-26 Stan Shebs <stanshebs@google.com>
31838
31839 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
31840 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31841
31842 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
31843
31844 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
31845 * sysdeps/powerpc/dl-procinfo.c:
31846 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
31847 feature so it shows when LD_SHOW_AUXV=1.
31848
31849 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
31850
31851 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
31852 (__arch_compare_and_exchange_val_32_acq): Remove and use common
31853 definition. ISA 2.07B no longer requires full sync.
31854
31855 2015-08-26 Mike Frysinger <vapier@gentoo.org>
31856
31857 [BZ #18863]
31858 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
31859 (si_call_addr): Define.
31860 (si_syscall): Define.
31861 (si_arch): Define.
31862
31863 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
31864
31865 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
31866 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
31867 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
31868 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
31869 (__memset_zero_constant_len_parameter): New.
31870 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
31871 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
31872 (__memset_zero_constant_len_parameter): Don't define if
31873 __memset_chk or USE_AS_BZERO are defined.
31874
31875 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
31876 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
31877 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
31878
31879 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
31880 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
31881 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
31882 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
31883 comments.
31884 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
31885 -mno-mmx for $(all-rtld-routines).
31886 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
31887 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
31888 i386.
31889
31890 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
31891
31892 * sysdeps/generic/unwind.h
31893 (_Unwind_Word): Use __mode__(__unwind_word__)
31894 instead of __mode__(__word__).
31895 (_Unwind_Sword): Likewise.
31896
31897 * sysdeps/s390/s390-64/utf8-utf16-z9.c
31898 (MAX_NEEDED_INPUT): New define.
31899 (MAX_NEEDED_OUTPUT): New define.
31900
31901 * NEWS: New item for IBM z13 string optimizations.
31902
31903 * sysdeps/s390/multiarch/memrchr-c.c: New File.
31904 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
31905 * sysdeps/s390/multiarch/memrchr.c: Likewise.
31906 * sysdeps/s390/multiarch/Makefile
31907 (sysdep_routines): Add memrchr functions.
31908 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31909 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
31910
31911 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
31912 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
31913 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
31914 * sysdeps/s390/multiarch/Makefile
31915 (sysdep_routines): Add wmemcmp functions.
31916 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31917 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
31918 * benchtests/bench-wmemcmp.c: New File.
31919 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
31920
31921 * sysdeps/s390/multiarch/wmemset-c.c: New File.
31922 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
31923 * sysdeps/s390/multiarch/wmemset.c: Likewise.
31924 * sysdeps/s390/multiarch/Makefile
31925 (sysdep_routines): Add wmemset functions.
31926 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31927 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
31928 * wcsmbs/wmemset.c: Use WMEMSET if defined.
31929 * string/test-memset.c: Add wmemset support.
31930 * wcsmbs/test-wmemset.c: New File.
31931 * wcsmbs/Makefile (strop-tests): Add wmemset.
31932 * benchtests/bench-memset.c: Add wmemset support.
31933 * benchtests/bench-wmemset.c: New File.
31934 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
31935
31936 * sysdeps/s390/multiarch/memccpy-c.c: New File.
31937 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
31938 * sysdeps/s390/multiarch/memccpy.c: Likewise.
31939 * sysdeps/s390/multiarch/Makefile
31940 (sysdep_routines): Add memccpy functions.
31941 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31942 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
31943 * string/memccpy.c: Use MEMCCPY if defined.
31944
31945 * sysdeps/s390/multiarch/memchr-vx.S: New File.
31946 * sysdeps/s390/multiarch/memchr.c: Likewise.
31947 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
31948 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
31949 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
31950 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
31951 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
31952 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
31953 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
31954 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
31955 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
31956 and rawmemchr functions.
31957 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31958 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
31959 and wmemchr.
31960 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
31961 * string/test-memchr.c: Add wmemchr support.
31962 * wcsmbs/test-wmemchr.c: New File.
31963 * wcsmbs/Makefile (strop-tests): Add wmemchr.
31964 * benchtests/bench-memchr.c: Add wmemchr support.
31965 * benchtests/bench-wmemchr.c: New File.
31966 * benchtests/Makefile (wcsmbs-bench): wmemchr.
31967
31968 * sysdeps/s390/multiarch/strcspn-c.c: New File.
31969 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
31970 * sysdeps/s390/multiarch/strcspn.c: Likewise.
31971 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
31972 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
31973 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
31974 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
31975 wcscspn functions.
31976 * sysdeps/s390/multiarch/ifunc-impl-list.c
31977 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
31978 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
31979 * string/test-strcspn.c: Add wcscspn support.
31980 * wcsmbs/test-wcscspn.c: New File.
31981 * wcsmbs/Makefile (strop-tests): Add wcscspn.
31982 * benchtests/bench-strcspn.c: Add wcscspn support.
31983 * benchtests/bench-wcscspn.c: New File.
31984 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
31985
31986 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
31987 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
31988 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
31989 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
31990 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
31991 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
31992 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
31993 wcspbrk functions.
31994 * sysdeps/s390/multiarch/ifunc-impl-list.c
31995 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
31996 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
31997 * string/test-strpbrk.c: Add wcspbrk support.
31998 * wcsmbs/test-wcspbrk.c: New File.
31999 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
32000 * benchtests/bench-strpbrk.c: Add wcspbrk support.
32001 * benchtests/bench-wcspbrk.c: New File.
32002 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
32003
32004 * sysdeps/s390/multiarch/strspn-c.c: New File.
32005 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
32006 * sysdeps/s390/multiarch/strspn.c: Likewise.
32007 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
32008 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
32009 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
32010 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
32011 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
32012 wcsspn functions.
32013 * sysdeps/s390/multiarch/ifunc-impl-list.c
32014 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
32015 * string/test-strspn.c: Add wcsspn support.
32016 * wcsmbs/test-wcsspn.c: New File.
32017 * wcsmbs/Makefile (strop-tests): Add wcsspn.
32018 * benchtests/bench-strspn.c: Add wcsspn support.
32019 * benchtests/bench-wcsspn.c: New File.
32020 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
32021
32022 * sysdeps/s390/multiarch/strrchr-c.c: New File.
32023 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
32024 * sysdeps/s390/multiarch/strrchr.c: Likewise.
32025 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
32026 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
32027 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
32028 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
32029 wcsrchr functions.
32030 * sysdeps/s390/multiarch/ifunc-impl-list.c
32031 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
32032 * benchtests/bench-wcsrchr.c: New File.
32033 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
32034
32035 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
32036 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
32037 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
32038 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
32039 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
32040 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
32041 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
32042 wcschrnul functions.
32043 * sysdeps/s390/multiarch/ifunc-impl-list.c
32044 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
32045 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
32046 * string/test-strchr.c: Add wcschrnul support.
32047 * wcsmbs/test-wcschrnul.c: New File.
32048 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
32049 * benchtests/bench-strchr.c: Add wcschrnul support.
32050 * benchtests/bench-wcschrnul.c: New File.
32051 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
32052
32053 * sysdeps/s390/multiarch/strchr-c.c: New File.
32054 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
32055 * sysdeps/s390/multiarch/strchr.c: Likewise.
32056 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
32057 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
32058 * sysdeps/s390/multiarch/wcschr.c: Likewise.
32059 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
32060 wcschr functions.
32061 * sysdeps/s390/multiarch/ifunc-impl-list.c
32062 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
32063 * string/strchr.c (STRCHR): Define and use macro.
32064 * benchtests/bench-wcschr.c: New File.
32065 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
32066
32067 * sysdeps/s390/multiarch/strncmp-c.c: New File.
32068 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
32069 * sysdeps/s390/multiarch/strncmp.c: Likewise.
32070 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
32071 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
32072 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
32073 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
32074 wcsncmp functions.
32075 * sysdeps/s390/multiarch/ifunc-impl-list.c
32076 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
32077 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
32078 * benchtests/bench-strncmp.c: Add wcsncmp support.
32079 * benchtests/bench-wcsncmp.c: New File.
32080 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
32081
32082 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
32083 * sysdeps/s390/multiarch/strcmp.c: Likewise.
32084 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
32085 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
32086 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
32087 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
32088 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
32089 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
32090 wcscmp functions.
32091 * sysdeps/s390/multiarch/ifunc-impl-list.c
32092 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
32093 * string/strcmp.c (STRCMP): Define and use macro.
32094 * benchtests/bench-wcscmp.c: New File.
32095 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
32096 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
32097 instead of _HAVE_STRING_ARCH_memchr.
32098
32099 * sysdeps/s390/multiarch/strncat-c.c: New File.
32100 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
32101 * sysdeps/s390/multiarch/strncat.c: Likewise.
32102 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
32103 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
32104 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
32105 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
32106 wcsncat functions.
32107 * sysdeps/s390/multiarch/ifunc-impl-list.c
32108 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
32109 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
32110 * string/test-strncat.c: Add wcsncat support.
32111 * wcsmbs/test-wcsncat.c: New File.
32112 * wcsmbs/Makefile (strop-tests): Add wcsncat.
32113 * benchtests/bench-strncat.c: Add wcsncat support.
32114 * benchtests/bench-wcsncat.c: New File.
32115 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
32116
32117 * sysdeps/s390/multiarch/strcat-c.c: New File.
32118 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
32119 * sysdeps/s390/multiarch/strcat.c: Likewise.
32120 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
32121 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
32122 * sysdeps/s390/multiarch/wcscat.c: Likewise.
32123 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
32124 wcscat functions.
32125 * sysdeps/s390/multiarch/ifunc-impl-list.c
32126 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
32127 * string/strcat.c (STRCAT): Define and use macro.
32128 * wcsmbs/wcscat.c: Use WCSCAT if defined.
32129 * string/test-strcat.c: Add wcscat support.
32130 * wcsmbs/test-wcscat.c: New File.
32131 * wcsmbs/Makefile (strop-tests): Add wcscat.
32132 * benchtests/bench-strcat.c: Add wcscat support.
32133 * benchtests/bench-wcscat.c: New File.
32134 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
32135
32136 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
32137 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
32138 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
32139 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
32140 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
32141 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
32142 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
32143 wcpncpy functions.
32144 * sysdeps/s390/multiarch/ifunc-impl-list.c
32145 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
32146 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
32147 * string/test-stpncpy.c: Add wcpncpy support.
32148 * wcsmbs/test-wcpncpy.c: New File.
32149 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
32150 * benchtests/bench-stpncpy.c: Add wcpncpy support.
32151 * benchtests/bench-wcpncpy.c: New File.
32152 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
32153
32154 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
32155 * sysdeps/s390/multiarch/strncpy.c: Likewise.
32156 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
32157 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
32158 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
32159 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
32160 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
32161 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
32162 wcsncpy functions.
32163 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
32164 * sysdeps/s390/multiarch/ifunc-impl-list.c
32165 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
32166 * string/test-strncpy.c: Add wcsncpy support.
32167 * wcsmbs/test-wcsncpy.c: New File.
32168 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
32169 * benchtests/bench-strncpy.c: Add wcsncpy support.
32170 * benchtests/bench-wcsncpy.c: New File.
32171 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
32172
32173 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
32174 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
32175 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
32176 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
32177 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
32178 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
32179 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
32180 wcpcpy functions.
32181 * string/stpcpy.c: Use STPCPY if defined.
32182 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
32183 * sysdeps/s390/multiarch/ifunc-impl-list.c
32184 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
32185 * string/test-stpcpy.c: Add wcpcpy support.
32186 * wcsmbs/test-wcpcpy.c: New File.
32187 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
32188 * benchtests/bench-stpcpy.c: Add wcpcpy support.
32189 * benchtests/bench-wcpcpy.c: New File.
32190 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
32191
32192 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
32193 * sysdeps/s390/multiarch/strcpy.c: Likewise.
32194 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
32195 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
32196 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
32197 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
32198 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
32199 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
32200 wcscpy functions.
32201 * sysdeps/s390/multiarch/ifunc-impl-list.c
32202 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
32203 * benchtests/bench-wcscpy.c: New File.
32204 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
32205
32206 * sysdeps/s390/multiarch/strnlen-c.c: New File.
32207 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
32208 * sysdeps/s390/multiarch/strnlen.c: Likewise.
32209 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
32210 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
32211 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
32212 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
32213 wcsnlen functions.
32214 * sysdeps/s390/multiarch/ifunc-impl-list.c
32215 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
32216 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
32217 * string/test-strnlen.c: Add wcsnlen support.
32218 * wcsmbs/test-wcsnlen.c: New File.
32219 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
32220 * benchtests/bench-strnlen.c: Add wcsnlen support.
32221 * benchtests/bench-wcsnlen.c: New File.
32222 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
32223
32224 * sysdeps/s390/multiarch/Makefile: New File.
32225 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
32226 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
32227 * sysdeps/s390/multiarch/strlen.c: Likewise.
32228 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
32229 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
32230 * sysdeps/s390/multiarch/wcslen.c: Likewise.
32231 * string/strlen.c (STRLEN): Define and use macro.
32232 * sysdeps/s390/multiarch/ifunc-impl-list.c
32233 (IFUNC_VX_IMPL): New macro function.
32234 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
32235 * benchtests/Makefile (wcsmbs-bench): New variable.
32236 (string-bench-all): Added wcsmbs-bench.
32237 * benchtests/bench-wcslen.c: New File.
32238
32239 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
32240 s390_vx_libc_ifunc2): New macro function.
32241
32242 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
32243 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
32244 assembler support.
32245 * sysdeps/s390/configure: Regenerated.
32246
32247 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
32248 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32249
32250 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
32251 * sysdeps/s390/dl-procinfo.h: Add vector capability.
32252 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
32253
32254 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
32255 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
32256 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
32257 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
32258 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
32259 (memcmp, bcmp): Use __memcmp_default as alias source.
32260 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
32261 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
32262 Rename to __memcmp_default.
32263 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
32264 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
32265 (memcpy): Use __memcpy_default as alias source.
32266 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
32267 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
32268 Rename to __memcpy_default.
32269 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
32270 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
32271 (memset): Use __memset_default as alias source.
32272 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
32273 * sysdeps/s390/s390-32/memset.S (__memset_g5):
32274 Rename to __memset_default.
32275 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
32276 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
32277 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
32278 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
32279 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
32280 (memcmp, bcmp): Use __memcmp_default as alias source.
32281 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
32282 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
32283 Rename to __memcmp_default.
32284 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
32285 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
32286 (memcpy): Use __memcpy_default as alias source.
32287 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
32288 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
32289 Rename to __memcpy_default.
32290 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
32291 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
32292 (memset): Use __memset_default as alias source.
32293 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
32294 * sysdeps/s390/s390-64/memset.S (__memset_z900):
32295 Rename to __memset_default.
32296 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
32297 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
32298
32299 [BZ #18610]
32300 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
32301 __ieee_instruction_pointer to __unused.
32302 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
32303 __ieee_instruction_pointer.
32304 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
32305 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
32306 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32307 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32308 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
32309 Mark dxc-field as reserved.
32310
32311 2015-08-25 Roland McGrath <roland@hack.frob.com>
32312
32313 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
32314 if the weak reference is not null.
32315
32316 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32317
32318 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
32319
32320 [BZ #11214]
32321 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
32322
32323 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32324
32325 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
32326 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
32327 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
32328 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
32329 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
32330 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
32331 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
32332 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
32333 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
32334 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
32335 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
32336 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
32337 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
32338 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
32339 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
32340 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
32341 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
32342 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
32343
32344 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
32345
32346 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
32347 register other than r0 for tabort, it has special meaning.
32348 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
32349 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
32350 transaction before starting syscall.
32351
32352 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32353
32354 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
32355
32356 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32357
32358 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
32359
32360 * sysdeps/x86_64/rtld-memcmp.c: Removed.
32361 * sysdeps/x86_64/rtld-memset.S: Likewise.
32362 * sysdeps/x86_64/rtld-strchr.S: Likewise.
32363 * sysdeps/x86_64/rtld-strlen.S: Likewise.
32364 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
32365 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32366
32367 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
32368
32369 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
32370
32371 * debug/strcpy_chk.c: Improve performance.
32372 * debug/stpcpy_chk.c: Likewise.
32373 * sysdeps/x86_64/strcpy_chk.S: Remove.
32374 * sysdeps/x86_64/stpcpy_chk.S: Remove.
32375
32376 [BZ #18240]
32377 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
32378
32379 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32380
32381 [BZ #15128]
32382 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
32383 ifuncmain8.
32384 (modules-names): Add ifuncmod8.
32385 ($(objpfx)ifuncmain8): New rule.
32386 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
32387 <cpuid.h>.
32388 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
32389 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
32390 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
32391 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
32392 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
32393 * sysdeps/x86_64/dl-trampoline.h: Likewise.
32394 * sysdeps/x86_64/ifuncmain8.c: New file.
32395 * sysdeps/x86_64/ifuncmod8.c: Likewise.
32396 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
32397 Removed.
32398 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
32399 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
32400 Change rtld_savespace_sse to __glibc_unused2.
32401 (RTLD_CHECK_FOREIGN_CALL): Removed.
32402 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
32403 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
32404 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
32405
32406 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
32407
32408 * sysdeps/aarch64/bzero.S (__bzero): Remove.
32409
32410 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
32411
32412 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
32413 Unconditionally set __fpcr to avoid uninialized warning.
32414 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
32415
32416 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32417
32418 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
32419 is corrupt.
32420
32421 * malloc/arena.c (arena_get2): Drop unused argument.
32422 (arena_lock): Adjust.
32423 (arena_get_retry): Likewise.
32424
32425 2015-08-24 Andreas Schwab <schwab@suse.de>
32426
32427 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
32428 Don't define.
32429 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
32430 (__ASSUME_IPC64): Don't undef.
32431 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
32432 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32433 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32434 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
32435 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
32436 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
32437 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
32438 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
32439 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
32440 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
32441 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
32442 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
32443 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
32444 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
32445 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
32446 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
32447 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
32448 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
32449 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
32450 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
32451 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
32452
32453 2015-08-21 Mike Frysinger <vapier@gentoo.org>
32454
32455 * manual/Makefile (install): Only build manual when perl is available.
32456
32457 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32458
32459 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
32460 '#undef memcpy' by '#undef memchr'.
32461
32462 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32463
32464 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
32465 memchr not point to the internal __GI_memchr implementation.
32466
32467 2015-08-20 Joseph Myers <joseph@codesourcery.com>
32468
32469 * timezone/Makefile (CFLAGS-zdump.c): Remove
32470 -Wno-strict-prototypes.
32471 (CFLAGS-zic.c): Likewise.
32472 (CFLAGS-ialloc.c): Likewise.
32473 (CFLAGS-scheck.c): Likewise.
32474
32475 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
32476 -Wno-error=undef.
32477
32478 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32479
32480 * i386/i686/multiarch/strcasestr-c.c: Removed.
32481 * x86_64/multiarch/strcasestr.c: Likewise.
32482 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32483 Remove strcasestr.
32484
32485 2015-08-20 Joseph Myers <joseph@codesourcery.com>
32486
32487 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
32488
32489 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
32490 variables for high and low parts before possibly modifying them.
32491
32492 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32493
32494 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
32495 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
32496 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
32497 of "multiarch/init-arch.h".
32498 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
32499 * sysdeps/x86/init-arch.h: This.
32500
32501 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32502
32503 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
32504 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
32505
32506 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
32507
32508 [BZ #17787]
32509 * manual/macros.texi: Add twoexp macro.
32510 * manual/filesys.texi: Fix exponents.
32511 * manual/llio.texi: Likewise.
32512 * manual/stdio.texi: Likewise.
32513
32514 2015-08-20 Florian Weimer <fweimer@redhat.com>
32515
32516 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
32517 incorrect use.
32518
32519 2015-08-19 Joseph Myers <joseph@codesourcery.com>
32520
32521 [BZ #18370]
32522 * math/s_csqrt.c (__csqrt): Force underflow exception for results
32523 whose real or imaginary part has small absolute value.
32524 * math/s_csqrtf.c (__csqrtf): Likewise.
32525 * math/s_csqrtl.c (__csqrtl): Likewise.
32526 * math/auto-libm-test-in: Add more tests of csqrt.
32527 * math/auto-libm-test-out: Regenerated.
32528 * sysdeps/i386/fpu/libm-test-ulps: Update.
32529
32530 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32531
32532 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
32533 __ppc_set_ppr_very_low): New functions.
32534 * manual/platform.texi: Add documentation about
32535 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
32536
32537 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
32538
32539 * string/stpncpy.c (stpncpy): Improve performance using
32540 __strnlen/memcpy/memset.
32541
32542 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
32543
32544 [BZ #18796]
32545 * scripts/test-installation.pl: Don't add -lmvec to build options if
32546 libmvec wasn't built.
32547
32548 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
32549
32550 [BZ #14341]
32551 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
32552 case when there is a gap between DT_REL and DT_JMPREL sections.
32553 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
32554 (LDFLAGS-tst-split-dynreloc): New.
32555 (tst-split-dynreloc-ENV): Likewise.
32556 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
32557 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
32558
32559 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32560
32561 [BZ #18822]
32562 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
32563 attribute_hidden.
32564 (__xstat64_conv): Likewise.
32565 (__xstat32_conv): Likewise.
32566
32567 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32568
32569 [BZ #18822]
32570 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
32571 Don't load %ebx when calling __setcontext. Call __setcontext
32572 with HIDDEN_JUMPTARGET.
32573 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
32574 libc_hidden_def.
32575
32576 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32577
32578 * sysdeps/i386/i686/Makefile
32579 [$(subdir) == string] (sysdep_routines): Moved to ...
32580 * sysdeps/i386/Makefile: Here.
32581 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
32582 * sysdeps/i386/cacheinfo.c: Here.
32583 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
32584 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
32585 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
32586 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
32587
32588 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32589
32590 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
32591 __i586__ is defined.
32592 (HAS_I686): Defined to 1 if __i686__ is defined.
32593
32594 2015-08-19 Joseph Myers <joseph@codesourcery.com>
32595
32596 * elf/Makefile [$(have-z-execstack) = yes]
32597 (CPPFLAGS-tst-execstack.c): New variable.
32598
32599 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
32600 conditional to [defined UTMPX || _HAVE_UT_TYPE].
32601 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
32602 UTMPX || _HAVE_UT_TV].
32603 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
32604 UTMPX || _HAVE_UT_TV - 0].
32605
32606 2015-08-18 Joseph Myers <joseph@codesourcery.com>
32607
32608 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
32609 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
32610 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
32611
32612 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32613
32614 * sysdeps/powerpc/dl-procinfo.c:
32615 (_dl_powerpc_cap_flags): Added missing strings for some
32616 hwcap features.
32617 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
32618
32619 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
32620
32621 Port the 0x7efe...feff pattern to GCC 6.
32622 See Steve Ellcey's bug report in:
32623 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
32624 * string/memrchr.c (MEMRCHR):
32625 * string/rawmemchr.c (RAWMEMCHR):
32626 * string/strchr.c (strchr):
32627 * string/strchrnul.c (STRCHRNUL):
32628 Rewrite code to avoid issues with signed shift overflow.
32629
32630 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
32631
32632 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
32633 whether cpuid is available only if HAS_CPUID is 0.
32634 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
32635 (HAS_I586): Likewise.
32636 (HAS_I686): Likewise.
32637
32638 2015-08-18 Zack Weinberg <zackw@panix.com>
32639
32640 * misc/Versions (libc): Add GLIBC_2.23.
32641
32642 2015-08-18 Alan Modra <amodra@gmail.com>
32643
32644 [BZ #18421]
32645 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
32646 .Lp__global.
32647 (_start): Load %dp via .Lp__global.
32648 [!SHARED]: Use .section .rodata.
32649
32650 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32651
32652 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
32653 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
32654
32655 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32656
32657 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
32658 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
32659
32660 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32661
32662 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
32663 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
32664
32665 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32666
32667 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
32668 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
32669
32670 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32671
32672 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
32673 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
32674
32675 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32676
32677 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
32678 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
32679
32680 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32681
32682 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
32683
32684 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32685
32686 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
32687 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
32688 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32689 (__ASSUME_LWS_CAS): Delete.
32690
32691 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32692
32693 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
32694 * sysdeps/hppa/configure: Regenerated.
32695 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
32696 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
32697 * sysdeps/hppa/nptl/tls.h: Likewise.
32698
32699 2015-08-17 Joseph Myers <joseph@codesourcery.com>
32700
32701 [BZ #18823]
32702 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
32703 for scaling up small arguments.
32704 * math/s_csqrtf.c (__csqrtf): Likewise.
32705 * math/s_csqrtl.c (__csqrtl): Likewise.
32706 * math/auto-libm-test-in: Add more tests of csqrt.
32707 * math/auto-libm-test-out: Regenerated.
32708
32709 2015-08-17 Andreas Schwab <schwab@suse.de>
32710
32711 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
32712 version set GLIBC_2.19.
32713
32714 2015-08-16 Zack Weinberg <zackw@panix.com>
32715
32716 [BZ #18681]
32717 * misc/regexp.h: This interface is no longer supported.
32718 Remove all contents, leaving only an #error directive.
32719 * misc/regexp.c (loc1, loc2, locs, step, advance):
32720 Demote to compatibility symbols.
32721
32722 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
32723
32724 [BZ #18084]
32725 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
32726 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
32727 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
32728 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
32729 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
32730 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
32731 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
32732 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
32733 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
32734
32735 2015-08-15 Zack Weinberg <zackw@panix.com>
32736
32737 [BZ #18795]
32738 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
32739 buffer length is known to be too large, not if it's known to be
32740 small enough.
32741 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
32742 overflow at runtime, involving a length parameter, twice: once
32743 with a compile-time constant length parameter, once without.
32744
32745 2015-08-14 Joseph Myers <joseph@codesourcery.com>
32746
32747 [BZ #18824]
32748 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
32749 scaling x * y up instead of down.
32750 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32751 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32752 * math/auto-libm-test-in: Add more tests of fma.
32753 * math/auto-libm-test-out: Regenerated.
32754
32755 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
32756
32757 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32758
32759 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32760
32761 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
32762 unnecessary movq.
32763 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
32764 Likewise.
32765
32766 2015-08-13 Joseph Myers <joseph@codesourcery.com>
32767
32768 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
32769 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
32770 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
32771 and tgamma.
32772 * math/auto-libm-test-out: Regenerated.
32773 * sysdeps/i386/fpu/libm-test-ulps: Update.
32774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32775
32776 [BZ #16520]
32777 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
32778 (__tanh): Force underflow exception for arguments with small
32779 absolute value.
32780 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
32781 (__tanhf): Force underflow exception for arguments with small
32782 absolute value.
32783 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
32784 (__tanhl): Force underflow exception for arguments with small
32785 absolute value.
32786 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
32787 (__tanhl): Force underflow exception for arguments with small
32788 absolute value.
32789 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
32790 (__tanhl): Force underflow exception for arguments with small
32791 absolute value.
32792 * math/auto-libm-test-in: Add more tests of tanh.
32793 * math/auto-libm-test-out: Regenerated.
32794 * sysdeps/i386/fpu/libm-test-ulps: Update.
32795
32796 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32797
32798 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
32799 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
32800
32801 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32802
32803 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
32804 <cpuid.h>.
32805
32806 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32807
32808 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
32809 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
32810
32811 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32812
32813 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
32814 Remove $(objpfx)init-arch.o.
32815 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
32816 init-arch.
32817 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
32818 (INIT_ARCH_EXT): Defined as empty.
32819 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
32820 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
32821 __init_cpu_features call. Replace HAS_XXX with
32822 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32823 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
32824 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
32825 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
32826 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
32827 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
32828 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
32829 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
32830 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
32831 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
32832 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
32833 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
32834 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
32835 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
32836 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
32837 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
32838 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
32839 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
32840 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
32841 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
32842 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
32843 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
32844 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
32845 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
32846 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
32847 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
32848 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
32849 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
32850 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
32851 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
32852 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
32853 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
32854 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
32855 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
32856 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
32857 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
32858
32859 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32860
32861 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
32862 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32863 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
32864 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
32865 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
32866 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
32867 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
32868 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
32869 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
32870 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
32871 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
32872 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
32873 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32874 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32875 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32876 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32877 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32878 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32879 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32880 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32881 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32882 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32883 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32884 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32885 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32886 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32887 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32888 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32889 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32890 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32891 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32892 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32893 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32894 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32895 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32896 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32897 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32898 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32899 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32900 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32901 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32902 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32903 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32904
32905 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32906
32907 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
32908 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32909 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32910 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32911 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32912 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
32913 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32914 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
32915 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32916 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32917 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32918 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
32919 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
32920 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
32921 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
32922 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
32923 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
32924 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
32925 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
32926 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
32927 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
32928 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
32929 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
32930 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32931 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32932 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
32933 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
32934 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
32935 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32936 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32937 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32938 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32939 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32940 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32941 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32942 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32943 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32944 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32945 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32946 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32947 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32948 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32949 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32950
32951 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32952
32953 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
32954 (dl_platform_init): Call init_cpu_features.
32955 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
32956 * sysdeps/i386/i686/cacheinfo.c
32957 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
32958 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
32959 * sysdeps/i386/i686/multiarch/Versions: Removed.
32960 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
32961 Removed.
32962 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
32963 * sysdeps/unix/sysv/linux/x86/Makefile
32964 (libpthread-sysdep_routines): Remove init-arch.
32965 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
32966 <sysdeps/x86_64/dl-procinfo.c> instead of
32967 sysdeps/generic/dl-procinfo.c>.
32968 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
32969 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
32970 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
32971 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
32972 [$(subdir) == elf] (tests-static): Add
32973 tst-get-cpu-features-static.
32974 * sysdeps/x86/Versions: New file.
32975 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
32976 * sysdeps/x86/cpu-features.c: Likewise.
32977 * sysdeps/x86/cpu-features.h: Likewise.
32978 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
32979 * sysdeps/x86/libc-start.c: Likewise.
32980 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
32981 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
32982 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
32983 * sysdeps/x86_64/dl-procinfo.c: Likewise.
32984 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
32985 Assume USE_MULTIARCH is defined and don't check it.
32986 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
32987 (is_amd): Likewise.
32988 (max_cpuid): Likewise.
32989 (intel_check_word): Likewise.
32990 (__cache_sysconf): Don't call __init_cpu_features.
32991 (__x86_preferred_memory_instruction): Removed.
32992 (init_cacheinfo): Don't call __init_cpu_features. Replace
32993 __cpu_features with GLRO(dl_x86_cpu_features).
32994 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
32995 (dl_platform_init): Call init_cpu_features.
32996 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
32997 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
32998 * sysdeps/x86_64/multiarch/Versions: Removed.
32999 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
33000 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
33001 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
33002 Removed.
33003 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
33004
33005 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
33006
33007 [BZ #18820]
33008 * libio/Makefile (test-fmemopen-mem): New test.
33009 * libio/test-fmemopen.c (do_bz18820): New test.
33010 * libio/fmemopen.c (__fmemopen): Fix memory leak.
33011 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
33012
33013 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
33014
33015 [BZ #16734]
33016 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
33017 (FREE_BUF): Delete.
33018 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
33019 * libio/genops.c (_IO_setb): Use malloc and free directly.
33020 (_IO_default_doallocate, _IO_default_finish): Likewise.
33021 ( _IO_unbuffer_all): Likewise.
33022 ( libc_freeres_fn): Likewise.
33023 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
33024 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
33025 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
33026 (_IO_wdefault_doallocate): Likewise.
33027
33028 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
33029
33030 [BZ #18086]
33031 * sysdeps/posix/nice.c (nice): Restore old errno.
33032 * posix/tst-nice.c (do_test): Add test for BZ #18086.
33033
33034 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
33035
33036 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
33037
33038 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33039
33040 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
33041 __bcopy and add a weak_alias to bcopy.
33042 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
33043 for static build.
33044
33045 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
33046 cleanup macro usage.
33047 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
33048 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
33049 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
33050 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
33051 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
33052 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
33053 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
33054 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33055 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
33056 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
33057 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33058 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
33059 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33060 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
33061 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
33062 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
33063 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
33064 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
33065 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33066
33067 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
33068 libc_hidden_def.
33069 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
33070
33071 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
33072 (sysdep_routines): Add strstr-ppc64.
33073 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
33074
33075 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
33076
33077 [BZ #18778]
33078 * elf/Makefile (tests): Add Add tst-nodelete2.
33079 (modules-names): Add tst-nodelete2mod.
33080 (tst-nodelete2mod.so-no-z-defs): New.
33081 ($(objpfx)tst-nodelete2): Likewise.
33082 ($(objpfx)tst-nodelete2.out): Likewise.
33083 (LDFLAGS-tst-nodelete2): Likewise.
33084 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
33085 out of loop through all loaded libraries.
33086 * elf/tst-nodelete2.c: New file.
33087 * elf/tst-nodelete2mod.c: Likewise.
33088 * elf/tst-znodelete-zlib.cc: Delete.
33089
33090 2015-08-11 Andreas Schwab <schwab@suse.de>
33091
33092 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
33093 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
33094 (__openat64_nocancel): Likewise.
33095
33096 2015-08-11 Joseph Myers <joseph@codesourcery.com>
33097
33098 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
33099 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
33100 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
33101 * math/auto-libm-test-out: Regenerated.
33102 * sysdeps/i386/fpu/libm-test-ulps: Update.
33103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33104
33105 2015-08-10 Joseph Myers <joseph@codesourcery.com>
33106
33107 [BZ #18790]
33108 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
33109 threshold for returning +/- 1.
33110 * math/auto-libm-test-in: Add more tests of tanh.
33111 * math/auto-libm-test-out: Regenerated.
33112 * sysdeps/i386/fpu/libm-test-ulps: Update.
33113
33114 2015-08-10 Andreas Schwab <schwab@suse.de>
33115
33116 [BZ #18781]
33117 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
33118 MORE_OFLAGS to oflag.
33119 * io/test-lfs.c (do_test): Test openat64.
33120
33121 2015-08-10 Joseph Myers <joseph@codesourcery.com>
33122
33123 [BZ #18789]
33124 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
33125 smaller threshold for returning the argument.
33126 * math/auto-libm-test-in: Add more tests of sinh.
33127 * math/auto-libm-test-out: Regenerated.
33128 * sysdeps/i386/fpu/libm-test-ulps: Update.
33129
33130 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
33131
33132 [BZ #18674]
33133 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
33134 break.
33135
33136 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
33137
33138 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
33139 (generated): Don't add $(addprefix z.,$(tzfiles)).
33140
33141 2015-08-09 Mike Frysinger <vapier@gentoo.org>
33142
33143 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
33144 * scripts/sysd-rules.awk: Likewise.
33145
33146 2015-08-09 Mike Frysinger <vapier@gentoo.org>
33147
33148 * iconvdata/tst-tables.sh: Change echo -n to printf.
33149 * nss/db-Makefile: Likewise.
33150 * posix/tst-getconf.sh: Likewise.
33151 * stdio-common/tst-unbputc.sh: Likewise.
33152
33153 2015-08-09 Mike Frysinger <vapier@gentoo.org>
33154
33155 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
33156 MADV_*_PAGES defines behind this feature check.
33157
33158 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
33159
33160 [BZ #18480]
33161 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
33162 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
33163 Define.
33164 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
33165 LOAD_REGS_5, LOAD_REGS_6): Update.
33166 (INTERNAL_SYSCALL): Update using new LOAD defines.
33167 (INTERNAL_SYSCALL_NCS): Likewise.
33168 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
33169
33170 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33171
33172 [BZ #16734]
33173 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
33174
33175 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33176
33177 [BZ #17905]
33178 * catgets/Makefile (tst-catgets-mem): New test.
33179 * catgets/catgets.c (catopen): Don't use unbounded alloca.
33180 * catgets/open_catalog.c (__open_catalog): Likewise.
33181 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
33182
33183 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
33184
33185 [BZ #18787]
33186 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
33187 clobber registers.
33188 (atomic_compare_and_exchange_val_acq): Use register asms to assign
33189 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
33190 Cast return to __typeof (oldval).
33191
33192 2015-08-08 Mike Frysinger <vapier@gentoo.org>
33193
33194 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
33195 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
33196 and delete sys/syscall.h include.
33197
33198 2015-08-07 Joseph Myers <joseph@codesourcery.com>
33199
33200 [BZ #16517]
33201 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
33202 (tan): Force underflow exception for arguments with small absolute
33203 value.
33204 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
33205 (__kernel_tanf): Force underflow exception for arguments with
33206 small absolute value.
33207 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
33208 (__kernel_tanl): Force underflow exception for arguments with
33209 small absolute value.
33210 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
33211 (__kernel_tanl): Force underflow exception for arguments with
33212 small absolute value.
33213 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
33214 (__kernel_tanl): Force underflow exception for arguments with
33215 small absolute value.
33216 * math/auto-libm-test-in: Add more tests of tan.
33217 * math/auto-libm-test-out: Regenerated.
33218
33219 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
33220
33221 Fix sysdeps/i386/fpu/s_scalbn.S build
33222
33223 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
33224
33225 2015-08-07 Mike Frysinger <vapier@gentoo.org>
33226
33227 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
33228
33229 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
33230
33231 Fix gcrt0.o compilation
33232
33233 When static-start-installed-name is different from
33234 start-installed-name, we must not use the shared objects.
33235
33236 * csu/Makefile
33237 (extra-objs): Add gmon-start.o when building shared library and
33238 $(static-start-installed-name) is different from
33239 $(start-installed-name).
33240 $(objpfx)g$(static-start-installed-name): When building shared
33241 library and $(static-start-installed-name) is different from
33242 $(static-start-installed-name), revert to non-shared rule,
33243 i.e. using $(objpfx)% and gmon-start.o.
33244
33245 2015-08-06 Joseph Myers <joseph@codesourcery.com>
33246
33247 [BZ #16519]
33248 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
33249 (__ieee754_sinh): Force underflow exception for arguments with
33250 small absolute value.
33251 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
33252 (__ieee754_sinhf): Force underflow exception for arguments with
33253 small absolute value.
33254 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
33255 (__ieee754_sinhl): Force underflow exception for arguments with
33256 small absolute value.
33257 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
33258 (__ieee754_sinhl): Force underflow exception for arguments with
33259 small absolute value.
33260 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
33261 (__ieee754_sinhl): Force underflow exception for arguments with
33262 small absolute value.
33263 * math/auto-libm-test-in: Add more tests of sinh.
33264 * math/auto-libm-test-out: Regenerated.
33265 * sysdeps/i386/fpu/libm-test-ulps: Update.
33266
33267 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33268
33269 * libio/oldfileops.c: Include unistd.h.
33270
33271 2015-08-06 Mike Frysinger <vapier@gentoo.org>
33272
33273 * stdlib/isomac.c: Include ctype.h.
33274
33275 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
33276
33277 * dirent/tst-seekdir.c (main): Converted to ...
33278 (do_test): ... this.
33279 (TEST_FUNCTION): New macro.
33280 Include test-skeleton.c.
33281 * elf/tst-dlmodcount.c (main): Converted to ...
33282 (do_test): ... this.
33283 (TEST_FUNCTION): New macro.
33284 Include test-skeleton.c.
33285 * elf/tst-order-main.c (main): Converted to ...
33286 (do_test): ... this.
33287 (TEST_FUNCTION): New macro.
33288 Include test-skeleton.c.
33289 * elf/tst-pie2.c (main): Converted to ...
33290 (do_test): ... this.
33291 (TEST_FUNCTION): New macro.
33292 Include test-skeleton.c.
33293 * inet/tst-ether_aton.c (main): Converted to ...
33294 (do_test): ... this.
33295 (TEST_FUNCTION): New macro.
33296 Include test-skeleton.c.
33297 * misc/tst-mntent.c (main): Converted to ...
33298 (do_test): ... this.
33299 (TEST_FUNCTION): New macro.
33300 Include test-skeleton.c.
33301 * misc/tst-tsearch.c (main): Converted to ...
33302 (do_test): ... this.
33303 (TEST_FUNCTION): New macro.
33304 Include test-skeleton.c.
33305 * posix/tst-regexloc.c (main): Converted to ...
33306 (do_test): ... this.
33307 (TEST_FUNCTION): New macro.
33308 Include test-skeleton.c.
33309 * resolv/tst-aton.c (main): Converted to ...
33310 (do_test): ... this.
33311 (TEST_FUNCTION): New macro.
33312 Include test-skeleton.c.
33313 * stdio-common/test-fwrite.c (main): Converted to ...
33314 (do_test): ... this.
33315 (TEST_FUNCTION): New macro.
33316 Include test-skeleton.c.
33317 * stdio-common/tst-ferror.c (main): Converted to ...
33318 (do_test): ... this.
33319 (TEST_FUNCTION): New macro.
33320 Include test-skeleton.c.
33321 * stdio-common/tst-printf.c (main): Converted to ...
33322 (do_test): ... this.
33323 (TEST_FUNCTION): New macro.
33324 Include test-skeleton.c.
33325 * stdio-common/tst-printfsz.c (main): Converted to ...
33326 (do_test): ... this.
33327 (TEST_FUNCTION): New macro.
33328 Include test-skeleton.c.
33329 * stdlib/tst-strtod.c (main): Converted to ...
33330 (do_test): ... this.
33331 (TEST_FUNCTION): New macro.
33332 Include test-skeleton.c.
33333 * string/tst-strlen.c (main): Converted to ...
33334 (do_test): ... this.
33335 (TEST_FUNCTION): New macro.
33336 Include test-skeleton.c.
33337 * string/tst-svc.c (main): Converted to ...
33338 (do_test): ... this.
33339 (TEST_FUNCTION): New macro.
33340 Include test-skeleton.c.
33341 * time/tst-strptime.c (main): Converted to ...
33342 (do_test): ... this.
33343 (TEST_FUNCTION): New macro.
33344 Include test-skeleton.c.
33345 * timezone/tst-timezone.c (main): Converted to ...
33346 (do_test): ... this.
33347 (TEST_FUNCTION): New macro.
33348 Include test-skeleton.c.
33349
33350 2015-08-05 Zack Weinberg <zackw@panix.com>
33351
33352 * misc/regexp.h: Update comments.
33353
33354 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
33355
33356 [BZ #18635]
33357 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
33358 before return label.
33359
33360 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33361
33362 [BZ #18661]
33363 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
33364 when calling __errno_location.
33365 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
33366 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
33367
33368 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33369
33370 [BZ #18661]
33371 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
33372 (__lll_timedwait_tid): Align stack to 16 bytes when calling
33373 __gettimeofday.
33374
33375 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33376
33377 [BZ #18661]
33378 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33379 (__start_context): Don't use pop to restore %rdi so that stack
33380 is aligned to 16 bytes when calling __setcontext.
33381
33382 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33383
33384 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
33385 only for libc.
33386 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
33387
33388 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33389
33390 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
33391 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
33392 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
33393
33394 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33395
33396 * string/memccpy.c (memccpy):
33397 Improve performance by using memchr/memcpy/__mempcpy.
33398
33399 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33400
33401 * string/strncpy.c (strncpy):
33402 Improve performance by using __strnlen/memcpy.
33403
33404 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33405
33406 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33407 Optimize to avoid an unnecessary FPCR read.
33408
33409 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33410
33411 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
33412 Optimize to reduce FPCR/FPSR accesses.
33413
33414 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33415
33416 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
33417 dead->data[category] != NULL.
33418
33419 2015-08-05 Joseph Myers <joseph@codesourcery.com>
33420
33421 [BZ #18647]
33422 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
33423 and |x| close to 1, use absolute value of x when computing log.
33424 * math/auto-libm-test-in: Add more tests of pow.
33425 * math/auto-libm-test-out: Regenerated.
33426
33427 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33428
33429 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
33430 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
33431 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
33432
33433 2015-08-05 Marko Myllynen <myllynen@redhat.com>
33434
33435 [BZ #18525]
33436 * locales/km_KH: Remove timezone definition.
33437 * locales/lo_LA: Likewise.
33438 * locales/my_MM: Likewise.
33439 * locales/nan_TW@latin: Likewise.
33440 * locales/th_TH: Likewise.
33441 * locales/uk_UA: Likewise.
33442
33443 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
33444
33445 [BZ #18265]
33446 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
33447 (wcsncat): Likewise.
33448 (wcscmp): Likewise.
33449 (wcsncmp): Likewise.
33450
33451 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33452
33453 * test-skeleton.c (usage): New function.
33454 (main): Call usage when opt is '?'.
33455
33456 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33457
33458 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
33459 before first use.
33460
33461 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33462
33463 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
33464 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
33465 in there too.
33466
33467 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
33468
33469 * version.h (RELEASE): Set to "development".
33470 (VERSION): Set to "2.22.90"
33471
33472 * version.h (RELEASE): Set to "stable".
33473 (VERSION): Set to "2.22"
33474 * include/features.h (__GLIBC_MINOR__): Set to 22.
33475
33476 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
33477
33478 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
33479 Restructure macro to avoid "value computed is not used" warning.
33480 (atomic_compare_and_exchange_val_acq): Likewise.
33481
33482 2015-08-04 Andreas Schwab <schwab@suse.de>
33483
33484 [BZ #18635]
33485 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
33486 ret.
33487 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
33488
33489 2015-08-01 Carlos O'Donell <carlos@redhat.com>
33490
33491 * po/pl.po: Updated translation.
33492 * po/uk.po: Likewise.
33493 * po/fi.po: Likewise.
33494 * po/ko.po: Likewise.
33495 * po/ru.po: Likewise.
33496 * po/vi.po: Likewise.
33497
33498 2015-07-31 Zack Weinberg <zackw@panix.com>
33499
33500 [BZ #18681]
33501 * regexp.h: Add unconditional #warning stating that this header
33502 will be removed soon. Revise banner comment to match.
33503 (compile): Consistently use ERROR instead of RETURN to report
33504 errors (partial fix for BZ #18681).
33505 * regexp.c: Don't include regexp.h. Remove some unnecessary
33506 declarations.
33507
33508 2015-07-31 Carlos O'Donell <carlos@redhat.com>
33509
33510 * po/libc.pot: Regenerated.
33511
33512 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
33513
33514 [BZ #18740]
33515 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
33516 float-vlen4-arch-ext-cflags): Removed.
33517 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
33518 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
33519
33520 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33521
33522 [BZ #14113]
33523 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
33524 aligned to __aligned__.
33525 (pthread_cond_t, pthread_rwlock_t): Likewise.
33526
33527 2015-07-30 Torvald Riegel <triegel@redhat.com>
33528
33529 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
33530
33531 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33532
33533 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
33534 (struct sigaction): Change sa_flags from a long to an int, and add
33535 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
33536
33537 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33538
33539 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
33540 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
33541 sysdeps/generic/sysdep.h include.
33542 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
33543 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
33544 sysdeps/hppa/sysdep.h.
33545 (ENTRY, PSEUDO): Undefine before defining.
33546
33547 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33548
33549 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
33550 from scratch to use INTERNAL_SYSCALL.
33551
33552 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
33553
33554 [BZ #18078]
33555 * scripts/check-localplt.awk: Support alternate relocations.
33556 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
33557 sections.
33558 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
33559 malloc entries with + REL R_386_GLOB_DAT.
33560 * sysdeps/x86_64/localplt.data: New file.
33561
33562 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
33563
33564 [BZ #18731]
33565 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
33566 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33567 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33568
33569 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33570
33571 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
33572
33573 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33574
33575 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
33576 directly in terms of __sync_fetch_and_add and delete (int) cast.
33577
33578 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33579
33580 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
33581 the -D_ASM_IA64_CURRENT_H flag.
33582
33583 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33584
33585 [BZ #18641]
33586 * pwd/pwd.h (putpwent): Delete __nonnull markings.
33587
33588 2015-07-27 Andreas Schwab <schwab@suse.de>
33589
33590 * conform/conformtest.pl (checknamespace): Filter out string
33591 literals while tokenizing.
33592
33593 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
33594
33595 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33596 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
33597 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33598
33599 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
33600
33601 * nptl/tst-join7mod.c: Add #include <string.h>.
33602
33603 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
33604
33605 * sysdeps/nios2/libm-test-ulps: Update.
33606
33607 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
33608
33609 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
33610 Fix order of arguments to the rt_sigprocmask syscall.
33611 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
33612 Likewise.
33613
33614 2015-07-24 Roland McGrath <roland@hack.frob.com>
33615
33616 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
33617
33618 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33619
33620 [BZ #18457]
33621 * nptl/Makefile (tests): New test case tst-join7.
33622 (modules-names): New test case module tst-join7mod.
33623 * nptl/tst-join7.c: New file.
33624 * nptl/tst-join7mod.c: New file.
33625 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
33626 all translation units in libc.so, libpthread.so and rtld.
33627
33628 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33629
33630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33631
33632 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
33633
33634 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
33635 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
33636 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
33637 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
33638 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
33639 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
33640 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
33641 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
33642 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
33643 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
33644 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
33645 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
33646 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
33647 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
33648 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
33649 implementation.
33650
33651 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
33652
33653 [BZ #17711]
33654 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33655 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
33656 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33657 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33658 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
33659 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33660
33661 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33662
33663 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
33664 instead of just saying load lock in the comments.
33665
33666 2015-07-23 Roland McGrath <roland@hack.frob.com>
33667
33668 * sysdeps/unix/Subdirs: Moved ...
33669 * sysdeps/posix/Subdirs: ... here.
33670 * login/pty.h (struct termios, struct winsize): Add forward decls.
33671 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
33672 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
33673 * sysdeps/arm/nacl/libc.abilist: Updated.
33674 * sysdeps/nacl/libutil.abilist: New file.
33675
33676 * bits/signum.h: Update comments to mention 1003.1-2013 too.
33677 (SIGWINCH): New macro.
33678
33679 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
33680 * sysdeps/arm/nacl/libc.abilist: Add it.
33681
33682 2015-07-23 Mike Frysinger <vapier@gentoo.org>
33683
33684 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
33685
33686 2015-07-23 Mike Frysinger <vapier@gentoo.org>
33687
33688 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
33689 Swap __glibc_reserved0 and sa_flags order.
33690
33691 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
33692
33693 [BZ #18657]
33694 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
33695 are pending TLS destructor calls.
33696 * include/link.h (struct link_map): Add concurrency note for
33697 L_TLS_DTOR_COUNT.
33698 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
33699 Don't touch the link map flag. Atomically increment
33700 l_tls_dtor_count.
33701 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
33702 Avoid taking the load lock and don't touch the link map flag.
33703 * stdlib/tst-tls-atexit-nodelete.c: New test case.
33704 * stdlib/Makefile (tests): Use it.
33705 * stdlib/tst-tls-atexit.c (do_test): dlopen
33706 tst-tls-atexit-lib.so again before dlclose. Add conditionals
33707 to allow tst-tls-atexit-nodelete test case to use it.
33708
33709 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33710
33711 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
33712 to bits/types.h.
33713 (msgqnum_t): New typedef.
33714 (msglen_t): Likewise.
33715 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
33716 and msg_qbytes type to msglen_t.
33717
33718 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33719
33720 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
33721 pad0 to __glibc_reserved0.
33722 (struct stat64): Likewise.
33723
33724 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33725
33726 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
33727 Change sa_flags from a long to an int and add __glibc_reserved0 before
33728 it for padding.
33729
33730 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33731
33732 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
33733 anonymous by deleting "siginfo" name.
33734
33735 2015-07-21 Roland McGrath <roland@hack.frob.com>
33736
33737 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
33738 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
33739 rather than __nacl_irt_filename.
33740 * sysdeps/nacl/xstat.c (__xstat): Likewise.
33741
33742 * NEWS: New item for arm-nacl port.
33743 * sysdeps/arm/nacl/libc.abilist: New file.
33744 * sysdeps/nacl/ld.abilist: New file.
33745 * sysdeps/nacl/libBrokenLocale.abilist: New file.
33746 * sysdeps/nacl/libanl.abilist: New file.
33747 * sysdeps/nacl/libcrypt.abilist: New file.
33748 * sysdeps/nacl/libdl.abilist: New file.
33749 * sysdeps/nacl/libm.abilist: New file.
33750 * sysdeps/nacl/libpthread.abilist: New file.
33751 * sysdeps/nacl/libresolv.abilist: New file.
33752 * sysdeps/nacl/librt.abilist: New file.
33753
33754 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
33755
33756 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
33757 __startcontext to initialize the new context.
33758 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
33759 up CFI directive to forbid further backtracing.
33760
33761 2015-07-21 Marko Myllynen <myllynen@redhat.com>
33762
33763 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
33764 reference.
33765 * charmaps/ANSI_X3.4-1968: Likewise.
33766 * charmaps/BS_4730: Likewise.
33767 * charmaps/BS_VIEWDATA: Likewise.
33768 * charmaps/CP1250: Likewise.
33769 * charmaps/CP1251: Likewise.
33770 * charmaps/CP1252: Likewise.
33771 * charmaps/CP1253: Likewise.
33772 * charmaps/CP1254: Likewise.
33773 * charmaps/CP1255: Likewise.
33774 * charmaps/CP1256: Likewise.
33775 * charmaps/CSN_369103: Likewise.
33776 * charmaps/EBCDIC-DK-NO: Likewise.
33777 * charmaps/GB_1988-80: Likewise.
33778 * charmaps/GREEK-CCITT: Likewise.
33779 * charmaps/GREEK7: Likewise.
33780 * charmaps/INIS-8: Likewise.
33781 * charmaps/ISIRI-3342: Likewise.
33782 * charmaps/ISO_2033-1983: Likewise.
33783 * charmaps/ISO_5427-EXT: Likewise.
33784 * locales/POSIX: Likewise.
33785 * locales/ar_SA: Likewise.
33786 * locales/be_BY: Likewise.
33787 * locales/be_BY@latin: Likewise.
33788 * locales/ca_ES: Likewise.
33789 * locales/cs_CZ: Likewise.
33790 * locales/da_DK: Likewise.
33791 * locales/de_BE: Likewise.
33792 * locales/de_CH: Likewise.
33793 * locales/de_LU: Likewise.
33794 * locales/en_AU: Likewise.
33795 * locales/en_BW: Likewise.
33796 * locales/en_CA: Likewise.
33797 * locales/en_DK: Likewise.
33798 * locales/en_GB: Likewise.
33799 * locales/en_IE: Likewise.
33800 * locales/en_NZ: Likewise.
33801 * locales/en_ZA: Likewise.
33802 * locales/en_ZW: Likewise.
33803 * locales/es_AR: Likewise.
33804 * locales/es_BO: Likewise.
33805 * locales/es_CL: Likewise.
33806 * locales/es_CO: Likewise.
33807 * locales/es_DO: Likewise.
33808 * locales/es_EC: Likewise.
33809 * locales/es_ES: Likewise.
33810 * locales/es_HN: Likewise.
33811 * locales/es_MX: Likewise.
33812 * locales/es_PA: Likewise.
33813 * locales/es_PE: Likewise.
33814 * locales/es_PY: Likewise.
33815 * locales/es_SV: Likewise.
33816 * locales/es_US: Likewise.
33817 * locales/es_UY: Likewise.
33818 * locales/es_VE: Likewise.
33819 * locales/et_EE: Likewise.
33820 * locales/fa_IR: Likewise.
33821 * locales/fo_FO: Likewise.
33822 * locales/fr_CA: Likewise.
33823 * locales/fr_CH: Likewise.
33824 * locales/gv_GB: Likewise.
33825 * locales/he_IL: Likewise.
33826 * locales/hr_HR: Likewise.
33827 * locales/id_ID: Likewise.
33828 * locales/is_IS: Likewise.
33829 * locales/it_CH: Likewise.
33830 * locales/iw_IL: Likewise.
33831 * locales/kl_GL: Likewise.
33832 * locales/ko_KR: Likewise.
33833 * locales/kw_GB: Likewise.
33834 * locales/lg_UG: Likewise.
33835 * locales/lt_LT: Likewise.
33836 * locales/lv_LV: Likewise.
33837 * locales/mi_NZ: Likewise.
33838 * locales/nhn_MX: Likewise.
33839 * locales/nl_BE: Likewise.
33840 * locales/pl_PL: Likewise.
33841 * locales/sk_SK: Likewise.
33842 * locales/sl_SI: Likewise.
33843 * locales/sv_FI: Likewise.
33844 * locales/tl_PH: Likewise.
33845 * locales/tr_TR: Likewise.
33846 * locales/vi_VN: Likewise.
33847
33848 2015-07-21 Khem Raj <raj.khem@gmail.com>
33849
33850 [BZ #17475]
33851 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
33852 of tu_IN and bh_IN.
33853
33854 2015-07-21 Mike Frysinger <vapier@gentoo.org>
33855
33856 [BZ #18694]
33857 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
33858 bits/wordsize.h.
33859 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
33860
33861 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33862
33863 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
33864 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
33865 (spawn_thread): New function.
33866 (load): Rename to reg_dtor_and_close. Move dlopen to...
33867 (do_test): ... here. Use IS_LOADED to test for its
33868 availability.
33869
33870 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
33871
33872 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33873
33874 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
33875
33876 [BZ #18696]
33877 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
33878 si_addr_bnd.
33879 (si_lower): New.
33880 (si_upper): Likewise.
33881
33882 2015-07-16 David S. Miller <davem@davemloft.net>
33883
33884 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
33885
33886 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33887
33888 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
33889 buffer.
33890 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
33891 fail output information.
33892
33893 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33894
33895 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
33896 and strstr-ppc64..
33897 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
33898 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
33899 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
33900 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
33901 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
33902
33903 2015-07-16 Mike Frysinger <vapier@gentoo.org>
33904
33905 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
33906 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
33907 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
33908 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
33909
33910 2015-07-16 Mike Frysinger <vapier@gentoo.org>
33911
33912 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
33913 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
33914 rtld_hidden_proto.
33915 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
33916
33917 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33918
33919 * tst-nodelete-opened.c (do_test): Add comment to clarify how
33920 the test can fail.
33921
33922 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
33923
33924 [BZ #18676]
33925 * elf/tst-nodelete-opened.c: New test case.
33926 * elf/tst-nodelete-opened-lib.c: New test case module.
33927 * elf/Makefile (tests, modules-names): Use them.
33928 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
33929 early.
33930
33931 2015-07-15 David S. Miller <davem@davemloft.net>
33932
33933 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
33934 futex-intenal.h
33935 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
33936 * sysdeps/sparc/sparc64/Makefile: Likewise.
33937 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
33938 Remove space from macro define.
33939 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
33940
33941 2015-07-15 Pravin Satpute <psatpute@redhat.com>
33942
33943 [BZ #17475]
33944 * locale/iso-639.def: Update Bhili and Tulu language codes as
33945 per iso639-3.
33946
33947 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
33948
33949 * elf/tst-leaks1.c (main): Converted to ...
33950 (do_test): ... this.
33951 (TEST_FUNCTION): New macro.
33952 Include test-skeleton.c.
33953 * localedata/tst-langinfo.c (main): Converted to ...
33954 (do_test): ... this.
33955 (TEST_FUNCTION): New macro.
33956 Include test-skeleton.c.
33957 * math/test-fpucw.c (main): Converted to ...
33958 (do_test): ... this.
33959 (TEST_FUNCTION): New macro.
33960 Include test-skeleton.c.
33961 * math/test-tgmath.c (main): Converted to ...
33962 (do_test): ... this.
33963 (TEST_FUNCTION): New macro.
33964 Include test-skeleton.c.
33965 * math/test-tgmath2.c (main): Converted to ...
33966 (do_test): ... this.
33967 (TEST_FUNCTION): New macro.
33968 Include test-skeleton.c.
33969 * setjmp/tst-setjmp.c (main): Converted to ...
33970 (do_test): ... this.
33971 (TEST_FUNCTION): New macro.
33972 Include test-skeleton.c.
33973 * stdio-common/tst-sscanf.c (main): Converted to ...
33974 (do_test): ... this.
33975 (TEST_FUNCTION): New macro.
33976 Include test-skeleton.c.
33977 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
33978 (do_test): ... this.
33979 (TEST_FUNCTION): New macro.
33980 Include test-skeleton.c.
33981
33982 * elf/tst-audit9.c (main): Converted to ...
33983 (do_test): ... this.
33984 (TEST_FUNCTION): New macro.
33985 Include test-skeleton.c.
33986
33987 2015-07-15 Mike Frysinger <vapier@gentoo.org>
33988
33989 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
33990
33991 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
33992
33993 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
33994 New variable.
33995
33996 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
33997
33998 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
33999
34000 2015-07-14 Roland McGrath <roland@hack.frob.com>
34001
34002 * sysdeps/generic/dl-fileid.h: New file.
34003 * sysdeps/posix/dl-fileid.h: New file.
34004 * sysdeps/nacl/dl-fileid.h: New file.
34005 * include/link.h: Include <dl-fileid.h>.
34006 (struct link_map): Replace l_dev and l_ino with l_file_id.
34007 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
34008 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
34009 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
34010
34011 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34012
34013 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
34014
34015 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34016
34017 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
34018 Add iff $CXX is set.
34019 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
34020 Likewise.
34021 (tst-nodelete-zmodiff): Likewise.
34022 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
34023
34024 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34025
34026 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
34027
34028 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
34029
34030 * sysdeps/aarch64/fpu/math_private.h
34031 (define math_opt_barrier): Add AArch64 version.
34032 (math_force_eval): Likewise.
34033
34034 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
34035
34036 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
34037
34038 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
34039
34040 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
34041 %ld with %jd and cast to intmax_t.
34042 (do_test_length_zero): Likewise.
34043
34044 2015-07-10 Roland McGrath <roland@hack.frob.com>
34045
34046 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
34047
34048 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
34049
34050 * sysdeps/tile/libm-test-ulps: Regenerated.
34051
34052 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
34053 Comment out the whole function, not just its body.
34054
34055 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34056
34057 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
34058 locks.
34059
34060 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
34061
34062 2015-07-10 Torvald Riegel <triegel@redhat.com>
34063
34064 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
34065 (sem_assume_only_signals_cause_futex_EINTR): Remove.
34066
34067 2015-07-10 Torvald Riegel <triegel@redhat.com>
34068
34069 * sysdeps/nptl/futex-internal.h: New file.
34070 * sysdeps/nacl/futex-internal.h: New file.
34071 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
34072 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
34073 error checking.
34074 (setxid_unmark_thread): Likewise.
34075 (__nptl_setxid): Likewise.
34076 (__wait_lookup_done): Likewise.
34077 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34078 * nptl/nptl-init.c (sighandler_setxid): Likewise.
34079 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
34080 * nptl/pthread_once.c (clear_once_control): Likewise.
34081 (__pthread_once_slow): Likewise.
34082 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
34083 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
34084 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
34085 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
34086 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
34087 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
34088 Likewise.
34089 (__pthread_rwlock_rdlock): Likewise.
34090 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34091 Likewise.
34092 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
34093 Likewise.
34094 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
34095 Likewise.
34096 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
34097 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
34098 Likewise.
34099 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
34100 __ASSUME_PRIVATE_FUTEX check.
34101 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
34102 Check that shared futexes are supported.
34103 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
34104 wrappers with error checking.
34105 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
34106 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
34107 * nptl/pthread_barrierattr_setpshared.c
34108 (pthread_barrierattr_setpshared): Check that shared futexes are
34109 supported.
34110 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
34111 Likewise.
34112 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
34113 Likewise.
34114 * nptl/sem_init.c (futex_private_if_supported): Remove.
34115 (__new_sem_init): Adapt and check that shared futexes are supported.
34116 * nptl/sem_open.c (sem_open): Likewise.
34117 * nptl/sem_post.c (futex_wake): Remove.
34118 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
34119 (do_futex_wait): Use futex wrappers with error checking.
34120 * nptl/sem_wait.c: Include lowlevellock.h.
34121 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
34122 Use futex_supports_pshared.
34123 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
34124 Use futex wrappers with error checking.
34125 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
34126 Likewise.
34127 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
34128 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
34129 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
34130 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
34131 (futex_wake): Likewise.
34132 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
34133 (do_futex_wait): Use futex wrappers with error checking.
34134 (__new_sem_wait_slow): Update EINTR handling.
34135 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
34136
34137 2015-07-09 Martin Sebor <msebor@redhat.com>
34138
34139 [BZ #18435]
34140 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34141 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
34142 * nptl/Makefile (test-xfail-tst-once5): Define.
34143
34144 2015-07-09 Roland McGrath <roland@hack.frob.com>
34145
34146 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
34147 * elf/dl-minimal.c: For readability, reorder some definitions and
34148 introduce more page breaks. Include <stdio.h>.
34149 (__libc_fatal): New function.
34150
34151 * include/unistd.h: Add rtld_hidden_proto for _exit.
34152 * posix/_exit.c: Add rtld_hidden_def.
34153 * sysdeps/mach/hurd/_exit.c: Likewise.
34154 * sysdeps/nacl/_exit.c: Likewise.
34155 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
34156 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
34157
34158 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
34159
34160 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
34161 bndmov encoding with zero displacement.
34162
34163 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
34164 H.J. Lu <hongjiu.lu@intel.com>
34165
34166 [BZ #18134]
34167 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
34168 * sysdeps/i386/configure: Regenerated.
34169 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
34170 (_dl_runtime_profile): Save and restore Intel MPX return bound
34171 registers when calling _dl_call_pltexit. Add
34172 PRESERVE_BND_REGS_PREFIX before return.
34173 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
34174 (LRV_BND1_OFFSET): Likewise.
34175 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
34176 lrv_bnd1.
34177 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
34178 typo in bndmov encoding.
34179 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
34180 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
34181 branch instructions to preserve bounds.
34182
34183 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34184
34185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
34186 [GLIBC_2.22]: Add fmemopen.
34187
34188 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
34189
34190 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
34191 returns an error, also try to use host port from __mach_host_self for
34192 the __vm_wire call.
34193 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
34194
34195 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
34196
34197 [BZ #18400]
34198 [BZ #18648]
34199 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
34200 Fix pr_uid and pr_gid members.
34201 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
34202 definition to elf_greg_t.
34203
34204 2015-07-08 Roland McGrath <roland@hack.frob.com>
34205
34206 [BZ #18383]
34207 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
34208 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
34209 * sysdeps/arm/configure: Regenerated.
34210 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
34211 (test-xfail-tst-tlsalign-static): Variable removed.
34212
34213 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
34214 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
34215 rather than explicit 'ln -s'.
34216
34217 * resolv/rpc/netdb.h: New file.
34218 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
34219
34220 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34221
34222 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
34223 length buffers.
34224 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
34225 test-skeleton.c.
34226
34227 [BZ #6544]
34228 [BZ #11216]
34229 [BZ #12836]
34230 [BZ #13151]
34231 [BZ #13152]
34232 [BZ #14292]
34233 * include/stdio.h (fmemopen): Remove hidden prototype.
34234 (__fmemopen): Add new hidden prototype.
34235 * libio/Makefile: Add oldfmemopen object.
34236 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
34237 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
34238 compliance.
34239 * libio/oldfmemopen.c: New file: old fmemopen implementation for
34240 symbol compatibility.
34241 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
34242 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
34243 fmemopen.
34244 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
34245 on append and read mode.
34246 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
34247 fmemopen.
34248 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
34249 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
34250 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
34251 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
34252 Likewise.
34253 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
34254 [GLIBC_2.22]: Likewise.
34255 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
34256 Likewise.
34257 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
34258 Likewise.
34259 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
34260 [GLIBC_2.22]: Likewise.
34261 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
34262 [GLIBC_2.22]: Likewise.
34263 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
34264 [GLIBC_2.22]: Likewise.
34265 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
34266 [GLIBC_2.22]: Likewise.
34267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
34268 [GLIBC_2.22]: Likewise.
34269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
34270 [GLIBC_2.22]: Likewise.
34271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
34272 [GLIBC_2.22]: Likewise.
34273 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
34274 Likewise.
34275 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
34276 Likewise.
34277 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
34278 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
34279 [GLIBC_2.22]: Likewise.
34280 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
34281 [GLIBC_2.22]: Likewise.
34282 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
34283 [GLIBC_2.22]: Likewise.
34284 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
34285 [GLIBC_2.22]: Likewise.
34286 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
34287 Likewise.
34288 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
34289 Likewise.
34290 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
34291 Likewise.
34292 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
34293 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
34294
34295 2015-07-08 Carlos O'Donell <carlos@redhat.com>
34296
34297 [BZ #18643]
34298 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
34299 IPV6_PATHMTU, and IPV6_DONTFRAG.
34300
34301 2015-07-08 Feng Gao <gfree.wind@gmail.com>
34302
34303 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
34304 and _IO_UNBUFFERED.
34305 * libio/oldfileops.c: Likewise.
34306 * libio/wfileops.c: Likewise.
34307
34308 2015-07-08 Mike Frysinger <vapier@gentoo.org>
34309
34310 * nscd/selinux.c: Delete selinux/flask.h include.
34311
34312 2015-07-08 Mike Frysinger <vapier@gentoo.org>
34313
34314 [BZ #18641]
34315 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
34316 (putpwent): Likewise.
34317 (getpwnam): Likewise.
34318 (getpwent_r): Likewise.
34319 (getpwuid_r): Likewise.
34320 (getpwnam_r): Likewise.
34321 (fgetpwent_r): Likewise.
34322
34323 2015-07-08 Carlos O'Donell <carlos@redhat.com>
34324
34325 [BZ #18557]
34326 * inet/rcmd.c (__validuser2_sa): Check user first to
34327 short-circuit host check.
34328
34329 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
34330 Mikhail Ilin <m.ilin@samsung.com>
34331
34332 [BZ #17833]
34333 * elf/Makefile (tests): Add tst-nodelete.
34334 (modules-names): Add tst-nodelete-uniquemod.
34335 (tst-nodelete-uniquemod.so-no-z-defs): New.
34336 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
34337 (tst-nodelete-zmod.so-no-z-defs): Likewise.
34338 ($(objpfx)tst-nodelete): Likewise.
34339 ($(objpfx)tst-nodelete.out): Likewise.
34340 (LDFLAGS-tst-nodelete): Likewise.
34341 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
34342 * elf/dl-close.c (_dl_close_worker): Add a parameter to
34343 implement forced object deletion.
34344 (_dl_close): Pass false to _dl_close_worker.
34345 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
34346 * elf/tst-nodelete.cc: New file.
34347 * elf/tst-nodeletelib.cc: Likewise.
34348 * elf/tst-znodeletelib.cc: Likewise.
34349 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
34350
34351 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34352
34353 [BZ #18508]
34354 * stdlib/Makefile ($(objpfx)tst-makecontext3):
34355 Depend on $(libdl).
34356 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
34357 is not called infinitely times.
34358 (backtrace_helper): New function.
34359 (trace_arg): New struct.
34360 (st1): Enlarge stack size.
34361 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34362 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
34363 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34364 Likewise.
34365
34366 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34367
34368 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34369
34370 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34371
34372 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
34373 Include sys/types.h instead of bits/types.h.
34374 Remove inclusion of bits/wordsize.h.
34375
34376 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34377
34378 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
34379 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
34380 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
34381 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
34382 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
34383 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
34384
34385 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34386
34387 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
34388 link-defines.sym.
34389 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
34390 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
34391 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
34392 and LR_SIZE.
34393 * sysdeps/i386/link-defines.sym: New file.
34394
34395 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34396
34397 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
34398 (modules-names): Add tst-auditmod3a tst-auditmod3b.
34399 ($(objpfx)tst-audit3): New rule.
34400 ($(objpfx)tst-audit3.out): Likewise.
34401 * sysdeps/i386/tst-audit3.c: New file.
34402 * sysdeps/i386/tst-audit3.h: Likewise.
34403 * sysdeps/i386/tst-auditmod3a.c: Likewise.
34404 * sysdeps/i386/tst-auditmod3b.c: Likewise.
34405
34406 2015-07-07 Torvald Riegel <triegel@redhat.com>
34407
34408 [BZ #18633]
34409 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
34410 pointer in C code.
34411 (__strcat_c): Likewise.
34412 (__strcat_g): Likewise.
34413
34414 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
34415
34416 [BZ #18592]
34417 * misc/sbrk.c: Set errno to ENOMEM on overflow.
34418
34419 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
34420
34421 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
34422 New function. (__ieee754_sqrtf): New function.
34423 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
34424 New function.
34425 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
34426 New function.
34427
34428 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
34429
34430 * sysdeps/ieee754/support.c: Remove unused file.
34431
34432 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
34433
34434 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
34435 registers instead of d ones so the layout is kernel abi compatible.
34436 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
34437 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
34438 Likewise.
34439
34440 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
34441
34442 * sysdeps/aarch64/libm-test-ulps: Regenerated.
34443
34444 2015-07-01 Joseph Myers <joseph@codesourcery.com>
34445
34446 [BZ #18619]
34447 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
34448 and return argument in case of subnormal argument.
34449
34450 2015-07-01 Martin Sebor <msebor@redhat.com>
34451
34452 [BZ #18435]
34453 * nptl/Makefile: Add tst-once5.cc.
34454 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34455 Remove macro redefinitions.
34456 * nptl/tst-once5.cc: New test.
34457
34458 2015-07-01 Joseph Myers <joseph@codesourcery.com>
34459
34460 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34461
34462 * sysdeps/arm/libm-test-ulps: Regenerated.
34463
34464 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
34465 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34466
34467 2015-06-30 Torvald Riegel <triegel@redhat.com>
34468
34469 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
34470 lll_lock_wait_private and lll_futex_wake probes.
34471
34472 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34473 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
34474 Likewise.
34475 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
34476 atomic_spin_nop.
34477 * sysdeps/x86_64/bits/atomic.h: Likewise.
34478 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
34479 to atomic_spin_nop and move ...
34480 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34481 ... here and ...
34482 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
34483 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
34484 atomic_spin_nop instead of BUSY_WAIT_NOP.
34485 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
34486 Likewise.
34487 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
34488 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34489 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
34490 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
34491 instead of atomic_delay.
34492
34493 2015-06-29 Joseph Myers <joseph@codesourcery.com>
34494
34495 [BZ #18613]
34496 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
34497 X_ADJ not X when adjusting exponent.
34498 (__ieee754_gamma_r): Do intermediate computations in
34499 round-to-nearest then adjust overflowing and underflowing results
34500 as needed.
34501 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
34502 of X_ADJ not X when adjusting exponent.
34503 (__ieee754_gammaf_r): Do intermediate computations in
34504 round-to-nearest then adjust overflowing and underflowing results
34505 as needed.
34506 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
34507 log of X_ADJ not X when adjusting exponent.
34508 (__ieee754_gammal_r): Do intermediate computations in
34509 round-to-nearest then adjust overflowing and underflowing results
34510 as needed. Use 1.0L not 1.0f as numerator of division.
34511 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
34512 log of X_ADJ not X when adjusting exponent.
34513 (__ieee754_gammal_r): Do intermediate computations in
34514 round-to-nearest then adjust overflowing and underflowing results
34515 as needed. Use 1.0L not 1.0f as numerator of division.
34516 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
34517 of X_ADJ not X when adjusting exponent.
34518 (__ieee754_gammal_r): Do intermediate computations in
34519 round-to-nearest then adjust overflowing and underflowing results
34520 as needed. Use 1.0L not 1.0f as numerator of division.
34521 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
34522 to auto-libm-test-in.
34523 (tgamma_test): Use ALL_RM_TEST.
34524 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
34525 tests of tgamma with spurious-overflow.
34526 * math/auto-libm-test-out: Regenerated.
34527 * math/gen-libm-have-vector-test.sh: Do not check for START.
34528 * sysdeps/i386/fpu/libm-test-ulps: Update.
34529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34530
34531 [BZ #18612]
34532 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
34533 arguments, just return 0.5 times the argument, with underflow
34534 forced as needed.
34535 * math/auto-libm-test-in: Add more tests of j1.
34536 * math/auto-libm-test-out: Regenerated.
34537
34538 [BZ #16559]
34539 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
34540 (__ieee754_j1): Force underflow exception for small results.
34541 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34542 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
34543 (__ieee754_j1f): Force underflow exception for small results.
34544 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34545 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34546 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34547 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
34548 (__ieee754_j1l): Force underflow exception for small results.
34549 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34550 * math/auto-libm-test-in: Add more tests of j1 and jn.
34551 * math/auto-libm-test-out: Regenerated.
34552
34553 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
34554 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
34555 (PF_MPLS): Likewise.
34556 (AF_IB): Likewise.
34557 (AF_MPLS): Likewise.
34558 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
34559 value and macro.
34560 (MS_RMT_MASK): Include MS_LAZYTIME.
34561
34562 2015-06-26 Mel Gorman <mgorman@suse.de>
34563
34564 [BZ #18502]
34565 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
34566 already minimal.
34567
34568 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
34569
34570 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
34571 (DT_MIPS_NUM): Update.
34572 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
34573 DT_MIPS_RLD_MAP_REL.
34574
34575 2015-06-25 Joseph Myers <joseph@codesourcery.com>
34576
34577 [BZ #16559]
34578 [BZ #18602]
34579 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
34580 round-to-nearest internally then recompute results that
34581 underflowed to zero in the original rounding mode.
34582 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34583 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34584 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34585 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34586 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
34587 * sysdeps/i386/fpu/libm-test-ulps: Update.
34588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34589
34590 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
34591
34592 * NEWS: Fixed description of link with vector math library.
34593
34594 2015-06-25 Andreas Schwab <schwab@suse.de>
34595
34596 [BZ #18549]
34597 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
34598 * libio/test-fmemopen.c (do_test): Add test for it.
34599
34600 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
34601
34602 [BZ #17841]
34603 * Makeconfig (no-pie-ldflag): New.
34604 (+link): Set to $(+link-pie) if default to PIE.
34605 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
34606 * config.make.in (build-pie-default): New.
34607 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
34608 is default. AC_SUBST.
34609 * configure: Regenerated.
34610 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
34611
34612 2015-06-24 Roland McGrath <roland@hack.frob.com>
34613
34614 * nptl/descr.h (struct pthread): Change type of field setxid_futex
34615 to 'unsigned int'.
34616
34617 * resolv/gai_misc.h (struct waitlist): Change type of field
34618 counterp to 'volatile unsigned int *'.
34619 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
34620 FUTEXADDR and OLDVAL.
34621 * resolv/getaddrinfo_a.c (getaddrinfo_a):
34622 Give local variable TOTAL type 'volatile unsigned int'.
34623 (struct async_waitlist): Change type of field counter to 'unsigned int'.
34624 * resolv/gai_suspend.c (gai_suspend):
34625 Give local variable CNTR type 'unsigned int'.
34626
34627 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
34628 counterp to 'volatile unsigned int *'.
34629 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
34630 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
34631 (aio_suspend): Give local variable CNTR type 'unsigned int'.
34632 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
34633 Give local variable TOTAL type 'volatile unsigned int'.
34634 (struct async_waitlist): Change type of field counter to 'unsigned int'.
34635
34636 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
34637
34638 [BZ #18383]
34639 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
34640 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
34641 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
34642 comment for i386/x86-64.
34643 (test-xfail-tst-tlsalign-extern-static): Removed.
34644
34645 2015-06-24 Joseph Myers <joseph@codesourcery.com>
34646
34647 * math/test-double.h: New file.
34648 * math/test-float.h: Likewise.
34649 * math/test-ldouble.h: Likewise.
34650 * math/test-math-inline.h: Likewise.
34651 * math/test-math-no-inline.h: Likewise.
34652 * math/test-math-scalar.h: Likewise.
34653 * math/test-math-vector.h: Likewise.
34654 * math/test-vec-loop.h: Remove file. Contents moved into
34655 test-math-vector.h.
34656 * math/libm-test.inc (MATHCONST): Do not document macro.
34657 * math/test-double.c: Include test-double.h, test-math-no-inline.h
34658 and 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_DOUBLE): Likewise.
34667 (TEST_MATHVEC): Likewise.
34668 (__NO_MATH_INLINES): Likewise.
34669 * math/test-float.c: Include test-float.h, test-math-no-inline.h
34670 and test-math-scalar.h.
34671 (FUNC): Remove macro.
34672 (FUNC_TEST): Likewise.
34673 (FLOAT): Likewise.
34674 (MATHCONST): Likewise.
34675 (PRINTF_EXPR): Likewise.
34676 (PRINTF_XEXPR): Likewise.
34677 (PRINTF_NEXPR): Likewise.
34678 (TEST_FLOAT): Likewise.
34679 (TEST_MATHVEC): Likewise.
34680 (__NO_MATH_INLINES): Likewise.
34681 * math/test-idouble.c: Include test-double.h, test-math-inline.h
34682 and test-math-scalar.h.
34683 (FUNC): Remove macro.
34684 (FUNC_TEST): Likewise.
34685 (FLOAT): Likewise.
34686 (MATHCONST): Likewise.
34687 (PRINTF_EXPR): Likewise.
34688 (PRINTF_XEXPR): Likewise.
34689 (PRINTF_NEXPR): Likewise.
34690 (TEST_DOUBLE): Likewise.
34691 (TEST_MATHVEC): Likewise.
34692 (TEST_INLINE): Likewise.
34693 (__NO_MATH_INLINES): Likewise.
34694 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
34695 test-math-scalar.h.
34696 (FUNC): Remove macro.
34697 (FUNC_TEST): Likewise.
34698 (FLOAT): Likewise.
34699 (MATHCONST): Likewise.
34700 (PRINTF_EXPR): Likewise.
34701 (PRINTF_XEXPR): Likewise.
34702 (PRINTF_NEXPR): Likewise.
34703 (TEST_FLOAT): Likewise.
34704 (TEST_MATHVEC): Likewise.
34705 (TEST_INLINE): Likewise.
34706 (__NO_MATH_INLINES): Likewise.
34707 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
34708 and test-math-scalar.h.
34709 (FUNC): Remove macro.
34710 (FUNC_TEST): Likewise.
34711 (FLOAT): Likewise.
34712 (MATHCONST): Likewise.
34713 (PRINTF_EXPR): Likewise.
34714 (PRINTF_XEXPR): Likewise.
34715 (PRINTF_NEXPR): Likewise.
34716 (TEST_LDOUBLE): Likewise.
34717 (TEST_MATHVEC): Likewise.
34718 (TEST_INLINE): Likewise.
34719 (__NO_MATH_INLINES): Likewise.
34720 * math/test-ldouble.c: Include test-ldouble.h,
34721 test-math-no-inline.h and test-math-scalar.h.
34722 (FUNC): Remove macro.
34723 (FUNC_TEST): Likewise.
34724 (FLOAT): Likewise.
34725 (MATHCONST): Likewise.
34726 (PRINTF_EXPR): Likewise.
34727 (PRINTF_XEXPR): Likewise.
34728 (PRINTF_NEXPR): Likewise.
34729 (TEST_LDOUBLE): Likewise.
34730 (TEST_MATHVEC): Likewise.
34731 (__NO_MATH_INLINES): Likewise.
34732 * math/test-double-vlen2.h: Include test-double.h,
34733 test-math-no-inline.h and test-math-vector.h.
34734 (FLOAT): Remove macro.
34735 (FUNC): Likewise.
34736 (MATHCONST): Likewise.
34737 (PRINTF_EXPR): Likewise.
34738 (PRINTF_XEXPR): Likewise.
34739 (PRINTF_NEXPR): Likewise.
34740 (TEST_DOUBLE): Likewise.
34741 (TEST_MATHVEC): Likewise.
34742 (__NO_MATH_INLINES): Likewise.
34743 (CNCT): Likewise.
34744 (CONCAT): Likewise.
34745 (WRAPPER_NAME): Likewise.
34746 (WRAPPER_DECL): Likewise.
34747 (WRAPPER_DECL_ff): Likewise.
34748 (WRAPPER_DECL_fFF): Likewise.
34749 (VECTOR_WRAPPER): Likewise.
34750 (VECTOR_WRAPPER_ff): Likewise.
34751 (VECTOR_WRAPPER_fFF): Likewise.
34752 (VEC_LEN): New macro.
34753 * math/test-double-vlen4.h: Include test-double.h,
34754 test-math-no-inline.h and test-math-vector.h.
34755 (FLOAT): Remove macro.
34756 (FUNC): Likewise.
34757 (MATHCONST): Likewise.
34758 (PRINTF_EXPR): Likewise.
34759 (PRINTF_XEXPR): Likewise.
34760 (PRINTF_NEXPR): Likewise.
34761 (TEST_DOUBLE): Likewise.
34762 (TEST_MATHVEC): Likewise.
34763 (__NO_MATH_INLINES): Likewise.
34764 (CNCT): Likewise.
34765 (CONCAT): Likewise.
34766 (WRAPPER_NAME): Likewise.
34767 (WRAPPER_DECL): Likewise.
34768 (WRAPPER_DECL_ff): Likewise.
34769 (WRAPPER_DECL_fFF): Likewise.
34770 (VECTOR_WRAPPER): Likewise.
34771 (VECTOR_WRAPPER_ff): Likewise.
34772 (VECTOR_WRAPPER_fFF): Likewise.
34773 (VEC_LEN): New macro.
34774 * math/test-double-vlen8.h: Include test-double.h,
34775 test-math-no-inline.h and test-math-vector.h.
34776 (FLOAT): Remove macro.
34777 (FUNC): Likewise.
34778 (MATHCONST): Likewise.
34779 (PRINTF_EXPR): Likewise.
34780 (PRINTF_XEXPR): Likewise.
34781 (PRINTF_NEXPR): Likewise.
34782 (TEST_DOUBLE): Likewise.
34783 (TEST_MATHVEC): Likewise.
34784 (__NO_MATH_INLINES): Likewise.
34785 (CNCT): Likewise.
34786 (CONCAT): Likewise.
34787 (WRAPPER_NAME): Likewise.
34788 (WRAPPER_DECL): Likewise.
34789 (WRAPPER_DECL_ff): Likewise.
34790 (WRAPPER_DECL_fFF): Likewise.
34791 (VECTOR_WRAPPER): Likewise.
34792 (VECTOR_WRAPPER_ff): Likewise.
34793 (VECTOR_WRAPPER_fFF): Likewise.
34794 (VEC_LEN): New macro.
34795 * math/test-float-vlen4.h: Include test-float.h,
34796 test-math-no-inline.h and test-math-vector.h.
34797 (FLOAT): Remove macro.
34798 (FUNC): Likewise.
34799 (MATHCONST): Likewise.
34800 (PRINTF_EXPR): Likewise.
34801 (PRINTF_XEXPR): Likewise.
34802 (PRINTF_NEXPR): Likewise.
34803 (TEST_FLOAT): Likewise.
34804 (TEST_MATHVEC): Likewise.
34805 (__NO_MATH_INLINES): Likewise.
34806 (CNCT): Likewise.
34807 (CONCAT): Likewise.
34808 (WRAPPER_NAME): Likewise.
34809 (WRAPPER_DECL): Likewise.
34810 (WRAPPER_DECL_ff): Likewise.
34811 (WRAPPER_DECL_fFF): Likewise.
34812 (VECTOR_WRAPPER): Likewise.
34813 (VECTOR_WRAPPER_ff): Likewise.
34814 (VECTOR_WRAPPER_fFF): Likewise.
34815 (VEC_LEN): New macro.
34816 * math/test-float-vlen8.h: Include test-float.h,
34817 test-math-no-inline.h and test-math-vector.h.
34818 (FLOAT): Remove macro.
34819 (FUNC): Likewise.
34820 (MATHCONST): Likewise.
34821 (PRINTF_EXPR): Likewise.
34822 (PRINTF_XEXPR): Likewise.
34823 (PRINTF_NEXPR): Likewise.
34824 (TEST_FLOAT): Likewise.
34825 (TEST_MATHVEC): Likewise.
34826 (__NO_MATH_INLINES): Likewise.
34827 (CNCT): Likewise.
34828 (CONCAT): Likewise.
34829 (WRAPPER_NAME): Likewise.
34830 (WRAPPER_DECL): Likewise.
34831 (WRAPPER_DECL_ff): Likewise.
34832 (WRAPPER_DECL_fFF): Likewise.
34833 (VECTOR_WRAPPER): Likewise.
34834 (VECTOR_WRAPPER_ff): Likewise.
34835 (VECTOR_WRAPPER_fFF): Likewise.
34836 (VEC_LEN): New macro.
34837 * math/test-float-vlen16.h: Include test-float.h,
34838 test-math-no-inline.h and test-math-vector.h.
34839 (FLOAT): Remove macro.
34840 (FUNC): Likewise.
34841 (MATHCONST): Likewise.
34842 (PRINTF_EXPR): Likewise.
34843 (PRINTF_XEXPR): Likewise.
34844 (PRINTF_NEXPR): Likewise.
34845 (TEST_FLOAT): Likewise.
34846 (TEST_MATHVEC): Likewise.
34847 (__NO_MATH_INLINES): Likewise.
34848 (CNCT): Likewise.
34849 (CONCAT): Likewise.
34850 (WRAPPER_NAME): Likewise.
34851 (WRAPPER_DECL): Likewise.
34852 (WRAPPER_DECL_ff): Likewise.
34853 (WRAPPER_DECL_fFF): Likewise.
34854 (VECTOR_WRAPPER): Likewise.
34855 (VECTOR_WRAPPER_ff): Likewise.
34856 (VECTOR_WRAPPER_fFF): Likewise.
34857 (VEC_LEN): New macro.
34858 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
34859 test-vec-loop.h.
34860 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34861 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34862 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34863 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34864 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34865 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34866 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
34867
34868 2015-06-24 Roland McGrath <roland@hack.frob.com>
34869
34870 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
34871 (__getlogin_r): ... this.
34872
34873 2015-06-24 Joseph Myers <joseph@codesourcery.com>
34874
34875 [BZ #18594]
34876 * math/s_ccosh.c (__ccosh): Compare with least normal value
34877 instead of comparing class with FP_SUBNORMAL.
34878 * math/s_ccoshf.c (__ccoshf): Likewise.
34879 * math/s_ccoshl.c (__ccoshl): Likewise.
34880 * math/s_cexp.c (__cexp): Likewise.
34881 * math/s_cexpf.c (__cexpf): Likewise.
34882 * math/s_cexpl.c (__cexpl): Likewise.
34883 * math/s_csin.c (__csin): Likewise.
34884 * math/s_csinf.c (__csinf): Likewise.
34885 * math/s_csinh.c (__csinh): Likewise.
34886 * math/s_csinhf.c (__csinhf): Likewise.
34887 * math/s_csinhl.c (__csinhl): Likewise.
34888 * math/s_csinl.c (__csinl): Likewise.
34889 * math/s_ctan.c (__ctan): Likewise.
34890 * math/s_ctanf.c (__ctanf): Likewise.
34891 * math/s_ctanh.c (__ctanh): Likewise.
34892 * math/s_ctanhf.c (__ctanhf): Likewise.
34893 * math/s_ctanhl.c (__ctanhl): Likewise.
34894 * math/s_ctanl.c (__ctanl): Likewise.
34895 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
34896 csin, csinh, ctan and ctanh.
34897 * math/auto-libm-test-out: Regenerated.
34898 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
34899 * sysdeps/i386/fpu/libm-test-ulps: Update.
34900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34901
34902 2015-06-24 Roland McGrath <roland@hack.frob.com>
34903
34904 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
34905 return value is wrong, print the expected value too.
34906
34907 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
34908
34909 [BZ #18585]
34910 * elf/readlib.c (is_gdb_python_file): New.
34911 (process_file): Don't issue errors on filenames with -gdb.py
34912 suffix.
34913
34914 2015-06-24 Joseph Myers <joseph@codesourcery.com>
34915
34916 * math/auto-libm-test-in: Add more tests of csin and csinh.
34917 * math/auto-libm-test-out: Regenerated.
34918 * math/libm-test.inc (csin_test_data): Remove tests moved to
34919 auto-libm-test-in.
34920 (csinh_test_data): Likewise.
34921
34922 [BZ #18593]
34923 * math/s_csin.c (__csin): Negate before rather than after possibly
34924 overflowing multiplication.
34925 * math/s_csinf.c (__csinf): Likewise.
34926 * math/s_csinh.c (__csinh): Likewise.
34927 * math/s_csinhf.c (__csinhf): Likewise.
34928 * math/s_csinhl.c (__csinhl): Likewise.
34929 * math/s_csinl.c (__csinl): Likewise.
34930 * math/auto-libm-test-in: Add some tests of csin and csinh.
34931 * math/auto-libm-test-out: Regenerated.
34932 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
34933 (csinh_test_data): Likewise.
34934 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34935
34936 [BZ #18586]
34937 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
34938 underflow exception for small results.
34939
34940 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
34941
34942 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
34943 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
34944 variable and included header.
34945 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
34946 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
34947 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
34948 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
34949 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
34950 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
34951 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
34952 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
34953 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
34954 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
34955 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
34956 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
34957 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
34958 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
34959 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
34960 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
34961
34962 2015-06-23 Joseph Myers <joseph@codesourcery.com>
34963
34964 [BZ #16526]
34965 [BZ #16538]
34966 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
34967 (__sin): Force underflow exception for arguments with small
34968 absolute value.
34969 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
34970 (__kernel_sinf): Force underflow exception for arguments with
34971 small absolute value.
34972 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
34973 (__kernel_sincosl): Force underflow exception for arguments with
34974 small absolute value.
34975 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
34976 (__kernel_sinl): Force underflow exception for arguments with
34977 small absolute value.
34978 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
34979 (__kernel_sincosl): Force underflow exception for arguments with
34980 small absolute value.
34981 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
34982 (__kernel_sinl): Force underflow exception for arguments with
34983 small absolute value.
34984 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
34985 (__kernel_sinl): Force underflow exception for arguments with
34986 small absolute value.
34987 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
34988 (__kernel_sinf): Force underflow exception for arguments with
34989 small absolute value.
34990 * math/auto-libm-test-in: Add more tests of sin and sincos.
34991 * math/auto-libm-test-out: Regenerated.
34992
34993 [BZ #18245]
34994 [BZ #18583]
34995 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
34996 (__kernel_standard_l): Use feholdexcept and fesetenv around
34997 conversion to double instead of special-casing overflow and
34998 underflow.
34999 * math/libm-test.inc (fmod_test_data): Add more tests.
35000 (remainder_test_data): Likewise.
35001 (sqrt_test_data): Likewise.
35002
35003 2015-06-23 Torvald Riegel <triegel@redhat.com>
35004
35005 [BZ #17403]
35006 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
35007 atomic_read_barrier, atomic_write_barrier): Define.
35008 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
35009 atomic_read_barrier, atomic_write_barrier): Define.
35010
35011 2015-06-23 Joseph Myers <joseph@codesourcery.com>
35012
35013 * math/Makefile [$(PERL) != no]
35014 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
35015 dependency on libm-test.stmp below the inclusion of Rules.
35016
35017 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
35018
35019 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
35020 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
35021 and included header.
35022 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
35023 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
35024 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
35025 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
35026 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
35027 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
35028 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
35029 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
35030 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
35031 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
35032 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
35033 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
35034 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
35035 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
35036 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
35037 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
35038 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
35039 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
35040 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
35041
35042 2015-06-23 Joseph Myers <joseph@codesourcery.com>
35043
35044 [BZ #18371]
35045 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
35046 intermediate but not final result might underflow.
35047 * math/s_csqrtf.c (__csqrtf): Likewise.
35048 * math/s_csqrtl.c (__csqrtl): Likewise.
35049 * math/auto-libm-test-in: Add more tests of csqrt.
35050 * math/auto-libm-test-out: Regenerated.
35051 * sysdeps/i386/fpu/libm-test-ulps: Update.
35052
35053 [BZ #18219]
35054 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
35055 threshold on absolute value of exponent for which scaling is used.
35056 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
35057 * math/auto-libm-test-in: Add more tests of exp2.
35058 * math/auto-libm-test-out: Regenerated.
35059
35060 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
35061
35062 [BZ #17977]
35063 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
35064 when initializing interface list, based on the bug analysis
35065 and the patch proposed by Eric Newton.
35066 * resolv/tst-res_hconf_reorder.c: New test.
35067 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
35068 tst-res_hconf_reorder.
35069 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
35070 and $(shared-thread-library).
35071 (tst-res_hconf_reorder-ENV): New variable.
35072
35073 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
35074 in comment.
35075
35076 2015-06-22 Joseph Myers <joseph@codesourcery.com>
35077
35078 [BZ #16353]
35079 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
35080 (__expm1): Force underflow exception for arguments with small
35081 absolute value.
35082 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
35083 (__expm1f): Force underflow exception for arguments with small
35084 absolute value.
35085 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
35086 (__expm1): Force underflow exception for arguments with small
35087 absolute value.
35088 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
35089 (__expm1f): Force underflow exception for arguments with small
35090 absolute value.
35091 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35092 Check for small arguments before calling __expm1.
35093 * math/auto-libm-test-in: Do not mark underflow exceptions as
35094 possibly missing for bug 16353.
35095 * math/auto-libm-test-out: Regenerated.
35096
35097 2015-06-22 Andreas Schwab <schwab@suse.de>
35098
35099 [BZ #18513]
35100 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
35101 PTR queries.
35102
35103 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
35104
35105 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
35106
35107 * string/strcoll_l.c: Remove unused struct element idxnow.
35108
35109 2015-06-21 Joseph Myers <joseph@codesourcery.com>
35110
35111 [BZ #18569]
35112 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
35113 underflow and return argument in case of subnormal argument.
35114 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35115 Likewise.
35116 * math/auto-libm-test-in: Add more tests of expm1.
35117 * math/auto-libm-test-out: Regenerated.
35118
35119 [BZ #16361]
35120 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35121 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35122 tiny results.
35123 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35124 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35125 tiny results.
35126 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
35127 mark underflow exceptions as possibly missing for bug 16361.
35128 * math/auto-libm-test-out: Regenerated.
35129
35130 2015-06-19 Joseph Myers <joseph@codesourcery.com>
35131
35132 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
35133 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
35134 Remove variable.
35135 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
35136 (test-xfail-XOPEN2K8/utmpx.h/conform).
35137
35138 * conform/conformtest.pl ($xerrors): New variable.
35139 (note_error): New function.
35140 (compiletest): New argument $xfail. Use not_error.
35141 (runtest): Likewise.
35142 (top level): Handle xfail- lines. Update calls to compiletest and
35143 runtest. Handle xfail- and optional- in headers listed with
35144 allow-header.
35145 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
35146 (O_EXEC): Likewise.
35147 (O_SEARCH): Likewise.
35148 * conform/data/stropts.h-data (ioctl): Likewise.
35149 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
35150 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
35151 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
35152 (msghdr.msg_controllen): Likewise.
35153 (cmsghdr.cmsg_len): Likewise.
35154 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
35155 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
35156 variable.
35157 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
35158 (test-xfail-XPG4/stropts.h/conform): Likewise.
35159 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
35160 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
35161 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
35162 (test-xfail-UNIX98/stropts.h/conform): Likewise.
35163 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
35164 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
35165 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
35166 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
35167 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
35168 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
35169 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
35170 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
35171 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
35172 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
35173 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
35174 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
35175 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
35176 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
35177 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
35178
35179 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
35180
35181 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
35182 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
35183 definitions for proper unfolding of __MATHDECL_VEC.
35184
35185 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35186
35187 * benchtests/bench-strcoll.c:
35188 Include string.h.
35189 (main): Remove unused variable res.
35190
35191 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35192
35193 * timezone/Makefile (%/UTC %/Universal):
35194 Generate test-result files for UTC and Universal.
35195
35196 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35197
35198 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
35199
35200 2015-06-18 Joseph Myers <joseph@codesourcery.com>
35201
35202 [BZ #16350]
35203 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
35204 for arguments with small absolute value.
35205 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
35206 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
35207 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
35208 (__asinh): Force underflow exception for arguments with small
35209 absolute value.
35210 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
35211 (__asinhf): Force underflow exception for arguments with small
35212 absolute value.
35213 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
35214 (__asinhl): Force underflow exception for arguments with small
35215 absolute value.
35216 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
35217 (__asinhl): Force underflow exception for arguments with small
35218 absolute value.
35219 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
35220 (__asinhl): Force underflow exception for arguments with small
35221 absolute value.
35222 * math/auto-libm-test-in: Do not mark underflow exceptions as
35223 possibly missing for bug 16350.
35224 * math/auto-libm-test-out: Regenerated.
35225
35226 * include/bits/ipc.h: Remove file.
35227 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
35228 variable.
35229 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
35230 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
35231 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
35232 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
35233 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
35234 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
35235 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
35236 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
35237 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
35238
35239 * math/auto-libm-test-in: Remove spurious underflow allowance for
35240 tests of cexp.
35241 * math/auto-libm-test-out: Regenerated.
35242
35243 [BZ #18558]
35244 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
35245 unconditional definition.
35246 (MCAST_BLOCK_SOURCE): Likewise.
35247 (MCAST_UNBLOCK_SOURCE): Likewise.
35248 (MCAST_LEAVE_GROUP): Likewise.
35249 (MCAST_JOIN_SOURCE_GROUP): Likewise.
35250 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
35251 (MCAST_MSFILTER): Likewise.
35252 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
35253 Remove variable.
35254 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
35255 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
35256 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
35257 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
35258 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
35259
35260 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
35261
35262 * NEWS: Mention addition of x86_64 vector sincosf.
35263 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
35264 * math/test-float-vlen4.h: Likewise.
35265 * math/test-float-vlen8.h: Likewise.
35266 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35267 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
35268 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35269 * sysdeps/x86_64/fpu/Versions: New versions added.
35270 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35271 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35272 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35273 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
35274 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
35275 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
35276 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
35277 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
35278 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
35279 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
35280 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
35281 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
35282 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
35283 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
35284 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
35285 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
35286 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
35287 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
35288 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35289 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35290 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35291 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35292 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35293 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35294
35295 * NEWS: Mention addition of x86_64 vector sincos.
35296 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
35297 * math/math.h (__MATHDECL_VEC): New macro.
35298 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
35299 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
35300 declaration under condition.
35301 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
35302 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
35303 TEST_VEC_LOOP change.
35304 * math/test-double-vlen4.h: Likewise.
35305 * math/test-double-vlen8.h: Likewise.
35306 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
35307 * math/test-float-vlen4.h: Likewise.
35308 * math/test-float-vlen8.h: Likewise.
35309 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35310 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
35311 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35312 * sysdeps/x86_64/fpu/Versions: New versions added.
35313 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35314 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35315 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35316 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
35317 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
35318 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
35319 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
35320 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
35321 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
35322 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
35323 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
35324 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
35325 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
35326 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
35327 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
35328 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
35329 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
35330 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35331 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35332 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35333 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35334 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35335 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35336 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35337
35338 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35339 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35340 redirections for powf.
35341 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35342 * sysdeps/x86_64/fpu/Versions: New versions added.
35343 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35344 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35345 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35346 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
35347 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
35348 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
35349 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
35350 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
35351 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
35352 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
35353 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
35354 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
35355 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
35356 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
35357 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
35358 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
35359 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
35360 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35361 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35362 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35363 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35364 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35365 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35366 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35367 * math/test-float-vlen16.h: Fixed 2 argument macro.
35368 * math/test-float-vlen4.h: Likewise.
35369 * math/test-float-vlen8.h: Likewise.
35370 * NEWS: Mention addition of x86_64 vector powf.
35371
35372 2015-06-17 Joseph Myers <joseph@codesourcery.com>
35373
35374 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35375 and redefine.
35376 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35377 and redefine.
35378 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
35379 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35380 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35381
35382 [BZ #18553]
35383 * resource/getpriority.c (getpriority): Rename to __getpriority
35384 and define as weak alias of __getpriority.
35385 * resource/setpriority.c (setpriority): Rename to __setpriority
35386 and define as weak alias of __setpriority.
35387 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
35388 __getpriority and define as weak alias of __getpriority.
35389 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
35390 __setpriority and define as weak alias of __setpriority.
35391 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
35392 strong name.
35393 (setpriority): Use __setpriority as strong name.
35394 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
35395 __getpriority and define as weak alias of __getpriority.
35396 * include/sys/resource.h (__getpriority): Declare. Use
35397 libc_hidden_proto.
35398 (__setpriority): Likewise.
35399 (getpriority): Don't use libc_hidden_proto.
35400 (setpriority): Likewise.
35401 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
35402 getpriority. Call __setpriority instead of setpriority.
35403 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
35404 Remove variable.
35405
35406 [BZ #18547]
35407 * misc/getttyent.c (getttynam): Rename to __getttynam and define
35408 as weak alias of __getttynam. Use prototype function definition.
35409 Call __setttyent, __getttyent and __endttyent instead of
35410 setttyent, getttyent and endttyent.
35411 (getttyent): Rename to __getttyent and define as weak alias of
35412 __getttyent. Call __setttyent instead of setttyent. Call
35413 __fgets_unlocked instead of fgets_unlocked.
35414 (setttyent): Rename to __setttyent and define as weak alias of
35415 __setttyent.
35416 (endttyent): Rename to __endttyent and define as weak alias of
35417 __endttyent.
35418 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
35419 (__setttyent): Likewise.
35420 (__endttyent): Likewise.
35421 (getttyent): Don't use libc_hidden_proto.
35422 (setttyent): Likewise.
35423 (endttyent): Likewise.
35424 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
35425 __endttyent instead of setttyent, getttyent and endttyent.
35426 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
35427 Remove variable.
35428
35429 [BZ #18546]
35430 * socket/recv.c (__recv): Use libc_hidden_def.
35431 * socket/socket.c (__socket): Likewise.
35432 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
35433 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
35434 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
35435 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
35436 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
35437 libc_hidden_def.
35438 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
35439 libc_hidden_weak.
35440 * include/sys/socket.h (__socket): Do not use attribute_hidden.
35441 Use libc_hidden_proto.
35442 (__recv): Likewise.
35443 * socket/Versions (libc): Export __recv and __socket at version
35444 GLIBC_PRIVATE.
35445 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
35446 instead of recv.
35447 (init_mq_netlink): Call __socket instead of socket.
35448 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
35449 Remove variable.
35450
35451 [BZ #18545]
35452 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
35453 __mq_timedreceive and define as alias of __mq_timedreceive. Use
35454 hidden_weak.
35455 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
35456 define as alias of __mq_timedsend. Use hidden_weak.
35457 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
35458 __mq_timedsend as strong name.
35459 (mq_timedreceive): Use __mq_timedreceive as strong name.
35460 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
35461 (__mq_timedreceive): Likewise.
35462 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
35463 __mq_timedreceive instead of mq_timedreceive.
35464 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
35465 instead of mq_timedsend.
35466 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
35467 Remove variable.
35468
35469 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
35470 hidden_def and hidden_weak instead of libc_hidden_def and
35471 libc_hidden_weak.
35472 (top level): Refer to hidden_def in comment.
35473 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
35474 macro. Use it instead of libc_hidden_def.
35475 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
35476 specify __GI_* name explicitly.
35477 (mq_timedreceive): Likewise.
35478 (mq_setattr): Likewise.
35479
35480 [BZ #18544]
35481 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
35482 __pthread_barrier_init and define as weak alias of
35483 __pthread_barrier_init.
35484 * sysdeps/sparc/nptl/pthread_barrier_init.c
35485 (pthread_barrier_init): Likewise.
35486 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
35487 __pthread_barrier_wait and define as weak alias of
35488 __pthread_barrier_wait.
35489 * sysdeps/sparc/nptl/pthread_barrier_wait.c
35490 (pthread_barrier_wait): Likewise.
35491 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
35492 (pthread_barrier_wait): Likewise.
35493 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
35494 (pthread_barrier_wait): Likewise.
35495 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
35496 (pthread_barrier_wait): Likewise.
35497 * nptl/Versions (libpthread): Export __pthread_barrier_init and
35498 __pthread_barrier_wait at version GLIBC_PRIVATE.
35499 * include/pthread.h (__pthread_barrier_init): Declare.
35500 (__pthread_barrier_wait): Likewise.
35501 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
35502 Call __pthread_barrier_wait instead of pthread_barrier_wait.
35503 (helper_thread): Likewise.
35504 (init_mq_netlink): Call __pthread_barrier_init instead of
35505 pthread_barrier_init.
35506
35507 [BZ #18542]
35508 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
35509 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
35510 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
35511 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
35512 vswscanf.
35513 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
35514 Remove variable.
35515
35516 [BZ #18540]
35517 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
35518 strong alias of _IO_fflush. Use libc_hidden_def.
35519 * libio/iofflush_u.c (fflush_unlocked): Rename to
35520 __fflush_unlocked and define as weak alias of __fflush_unlocked.
35521 Use libc_hidden_weak.
35522 * include/stdio.h (__fflush_unlocked): Declare. Use
35523 libc_hidden_proto.
35524 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
35525 fflush_unlocked.
35526 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
35527 Remove variable.
35528
35529 [BZ #18539]
35530 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
35531 define as weak alias of __addseverity.
35532 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
35533 Remove variable.
35534 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
35535 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
35536 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
35537
35538 [BZ #18536]
35539 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
35540 (__tfind): Likewise.
35541 (__tdelete): Likewise.
35542 (__twalk): Likewise.
35543 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
35544 __twalk to GLIBC_PRIVATE.
35545 * include/search.h (__tsearch): Use libc_hidden_proto.
35546 (__tfind): Likewise.
35547 (__tdelete): Likewise.
35548 (__twalk): Likewise.
35549 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
35550 Call __tdelete instead of tdelete.
35551 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
35552 tfind. Call __tsearch instead of tsearch.
35553 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
35554 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
35555 Remove variable.
35556 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
35557
35558 [BZ #18534]
35559 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
35560 (dprintf): Define as a weak alias of __dprintf, not a strong
35561 alias.
35562 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
35563 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
35564 dprintf.
35565 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
35566 Remove variable.
35567 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
35568 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
35569
35570 [BZ #18533]
35571 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
35572 not a strong alias.
35573 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
35574 Remove variable.
35575
35576 [BZ #18532]
35577 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
35578 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
35579 (in6addr_loopback): Rename to __in6addr_loopback and define as
35580 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
35581 * include/netinet/in.h (__in6addr_loopback): Declare. Use
35582 libc_hidden_proto.
35583 (__in6addr_any): Likewise.
35584 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
35585 in6addr_any.
35586 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
35587 variable.
35588 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
35589
35590 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
35591
35592 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
35593 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
35594 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35595 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35596 redirections for pow.
35597 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35598 * sysdeps/x86_64/fpu/Versions: New versions added.
35599 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35600 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35601 build of SSE, AVX2 and AVX512 IFUNC versions.
35602 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
35603 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
35604 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
35605 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
35606 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
35607 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
35608 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
35609 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
35610 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
35611 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
35612 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
35613 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
35614 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
35615 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
35616 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35617 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35618 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35619 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35620 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35621 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35622 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35623 * NEWS: Mention addition of x86_64 vector pow.
35624
35625 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35626 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35627 redirections for expf.
35628 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35629 * sysdeps/x86_64/fpu/Versions: New versions added.
35630 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35631 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35632 build of SSE, AVX2 and AVX512 IFUNC versions.
35633 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
35634 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
35635 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
35636 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
35637 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
35638 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
35639 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
35640 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
35641 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
35642 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
35643 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
35644 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
35645 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
35646 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35647 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35648 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35649 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35650 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35651 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35652 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35653 * NEWS: Mention addition of x86_64 vector expf.
35654
35655 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
35656 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
35657 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35658 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35659 redirections for exp.
35660 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35661 * sysdeps/x86_64/fpu/Versions: New versions added.
35662 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35663 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35664 build of SSE, AVX2 and AVX512 IFUNC versions.
35665 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
35666 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
35667 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
35668 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
35669 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
35670 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
35671 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
35672 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
35673 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
35674 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
35675 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
35676 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
35677 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
35678 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35679 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35680 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35681 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35682 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35683 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35684 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35685 * NEWS: Mention addition of x86_64 vector exp.
35686
35687 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35688 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35689 redirections for logf.
35690 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35691 * sysdeps/x86_64/fpu/Versions: New versions added.
35692 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35693 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35694 build of SSE, AVX2 and AVX512 IFUNC versions.
35695 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
35696 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
35697 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
35698 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
35699 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
35700 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
35701 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
35702 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
35703 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
35704 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
35705 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
35706 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
35707 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
35708 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35709 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35710 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35711 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35712 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35713 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35714 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35715 * NEWS: Mention addition of x86_64 vector logf.
35716
35717 * bits/libm-simd-decl-stubs.h: Added stubs for log.
35718 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
35719 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35720 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35721 redirections for log.
35722 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35723 * sysdeps/x86_64/fpu/Versions: New versions added.
35724 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35725 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35726 build of SSE, AVX2 and AVX512 IFUNC versions.
35727 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
35728 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
35729 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
35730 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
35731 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
35732 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
35733 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
35734 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
35735 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
35736 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
35737 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
35738 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
35739 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
35740 test.
35741 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35742 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35743 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35744 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35745 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35746 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35747 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35748 * NEWS: Mention addition of x86_64 vector log.
35749
35750 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
35751
35752 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
35753 cfi_adjust_cfa_offset argument.
35754 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
35755 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
35756
35757 [BZ #18034]
35758 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
35759 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
35760 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
35761 ordering using ldar.
35762 (_dl_tlsdesc_dynamic): Likewise.
35763 (_dl_tlsdesc_return_lazy): Likewise.
35764 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
35765 relaxed atomics instead of volatile and synchronize with release store.
35766 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
35767 volatile.
35768 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
35769
35770 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
35771
35772 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35773 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
35774 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35775 * sysdeps/x86_64/fpu/Versions: New versions added.
35776 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35777 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35778 build of SSE, AVX2 and AVX512 IFUNC versions.
35779 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
35780 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
35781 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
35782 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
35783 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
35784 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
35785 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
35786 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
35787 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
35788 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
35789 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
35790 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
35791 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
35792 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35793 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35794 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35795 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35796 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35797 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35798 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35799 * NEWS: Mention addition of x86_64 vector sinf.
35800
35801 2015-06-14 Joseph Myers <joseph@codesourcery.com>
35802
35803 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
35804 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
35805 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
35806 Remove variable.
35807 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
35808 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
35809
35810 2015-06-12 Joseph Myers <joseph@codesourcery.com>
35811
35812 [BZ #18530]
35813 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
35814 strong alias of _IO_fputs. Use libc_hidden_def.
35815 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
35816 and define as weak alias of __fputs_unlocked. Use
35817 libc_hidden_weak.
35818 * include/stdio.h (__fputs_unlocked): Declare. Use
35819 libc_hidden_proto.
35820 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
35821 fputs_unlocked.
35822
35823 [BZ #18529]
35824 * resolv/netdb.h [__USE_POSIX]: Change condition to
35825 [__USE_XOPEN2K].
35826 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
35827 not expect.
35828 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
35829 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
35830 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
35831 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
35832 [XPG4 || UNIX98] (AI_ALL): Likewise.
35833 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
35834 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
35835 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
35836 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
35837 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
35838 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
35839 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
35840 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
35841 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
35842 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
35843 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
35844 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
35845 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
35846 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
35847 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
35848 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
35849 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
35850 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
35851 [XPG4 || UNIX98] (gai_strerror): Likewise.
35852 [XPG4 || UNIX98] (getaddrinfo): Likewise.
35853 [XPG4 || UNIX98] (getnameinfo): Likewise.
35854
35855 [BZ #18528]
35856 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
35857 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
35858 __USE_XOPEN2K8].
35859 (getgrent): Likewise.
35860 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
35861 expect.
35862 [XPG3 || POSIX2008] (endgrent): Likewise.
35863 [XPG3] (setgrent): Likewise.
35864 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
35865 variable.
35866 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
35867
35868 [BZ #18527]
35869 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
35870 define as weak alias of __getlogin_r. Use libc_hidden_weak.
35871 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
35872 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
35873 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
35874 * include/unistd.h (__getlogin_r): Declare. Use
35875 libc_hidden_proto.
35876 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
35877 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
35878 variable.
35879 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
35880 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
35881 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
35882
35883 2015-06-12 Martin Sebor <msebor@redhat.com>
35884
35885 [BZ #18512]
35886 * Makerules (check-install-supported): New target.
35887 (install): Add check-install-supported as a dependency.
35888 * manual/install.texi (Installing the C Library): Document
35889 that overriding prefix and exec_prefix is not supported.
35890 Mention DESTDIR.
35891 * INSTALL: Regenerate from the above.
35892
35893 2015-06-12 Joseph Myers <joseph@codesourcery.com>
35894
35895 [BZ #18519]
35896 * posix/Versions (libc): Export __libc_pread at version
35897 GLIBC_PRIVATE.
35898 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
35899 instead of pread.
35900 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
35901 variable.
35902
35903 [BZ #18522]
35904 * misc/efgcvt_r.c
35905 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
35906 (cvt_symbol): Use weak_alias instead of strong_alias.
35907 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
35908 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
35909 Remove variable.
35910 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
35911 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
35912
35913 [BZ #18520]
35914 * inet/herrno.c (h_errno): Rename to __h_errno.
35915 (__libc_h_errno): Define as alias of __h_errno not h_errno.
35916 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
35917 to __h_errno instead of h_errno.
35918 * nptl/herrno.c (h_errno): Rename to __h_errno.
35919 (__h_errno_location): Refer to __h_errno not h_errno.
35920 * resolv/Versions (h_errno): Rename to __h_errno.
35921 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
35922 Remove variable.
35923 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
35924
35925 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
35926
35927 * configure.ac: More strict check for AVX512 assembler support.
35928 * configure: Regenerated.
35929
35930 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
35931 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
35932 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35933 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
35934 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35935 * sysdeps/x86_64/fpu/Versions: New versions added.
35936 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35937 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35938 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35939 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
35940 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
35941 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
35942 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
35943 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
35944 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
35945 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
35946 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
35947 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
35948 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
35949 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
35950 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
35951 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
35952 test.
35953 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35954 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35955 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35956 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35957 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35958 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35959 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35960 * NEWS: Mention addition of x86_64 vector sin.
35961
35962 2015-06-11 Florian Weimer <fweimer@redhat.com>
35963
35964 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
35965 comment.
35966
35967 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
35968
35969 [BZ #18479]
35970 * nptl/pt-interp.c: New file.
35971 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
35972 Add pt-interp.
35973 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
35974 $(common-objpfx)runtime-linker.h.
35975
35976 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
35977
35978 * Makeconfig (+interp): Remove unused variable.
35979 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
35980 only. Depend on $(common-objpfx)runtime-linker.h instead of
35981 $(elf-objpfx)runtime-linker.h.
35982 ($(elf-objpfx)runtime-linker.h): Rename to
35983 $(common-objpfx)runtime-linker.h and move ...
35984 * Makerules [$(build-shared) = yes]: ... here.
35985 * elf/interp.c: Include <runtime-linker.h> instead of
35986 <elf/runtime-linker.h>.
35987
35988 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35989
35990 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
35991 (__gettimeofday_syscall): Remove vsyscall fallback.
35992 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
35993 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
35994 Add syscall fallback function.
35995 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
35996 if vDSO is not present.
35997 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
35998 fallback function.
35999 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
36000 present.
36001 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
36002 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36003
36004 2015-06-09 Joseph Myers <joseph@codesourcery.com>
36005
36006 [BZ #18497]
36007 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
36008 of wcscmp.
36009 (wcscmp): Define as weak alias of WCSCMP.
36010 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
36011 wcscoll.
36012 (USE_HIDDEN_DEF): Define.
36013 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
36014 __wcscoll. Don't use libc_hidden_weak.
36015 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
36016 wcscmp.
36017 * sysdeps/i386/i686/multiarch/wcscmp-c.c
36018 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
36019 __GI_wcscmp.
36020 (weak_alias): Undefine and redefine.
36021 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
36022 __wcscmp and define as weak alias of __wcscmp.
36023 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
36024 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
36025 (__wcscoll): Likewise.
36026 (wcscmp): Don't use libc_hidden_proto.
36027 (wcscoll): Likewise.
36028 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
36029 wcscoll.
36030 * posix/regexec.c (check_node_accept_bytes): Likewise.
36031 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
36032 variable.
36033 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
36034 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
36035
36036 [BZ #18507]
36037 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
36038 __fstatvfs and define as weak alias of __fstatvfs. Use
36039 libc_hidden_weak.
36040 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
36041 and define as weak alias of __statvfs. Use libc_hidden_weak.
36042 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
36043 Define as alias of __fstatvfs, not fstatvfs.
36044 (fstatvfs64): Likewise.
36045 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
36046 Define as alias of __statvfs, not statvfs.
36047 (statvfs64): Likewise.
36048 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
36049 Remove variable.
36050
36051 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36052
36053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36054 (HAVE_GETCPU_VSYSCALL): Define.
36055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36056 (HAVE_GETCPU_VSYSCALL): Likewise.
36057 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
36058 * sysdeps/unix/sysv/linux/sched_getcpu.c
36059 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
36060 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
36061 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
36062 prototype.
36063 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36064 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
36065 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
36066 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
36067 Define.
36068 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
36069 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36070 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
36071 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36072
36073 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
36074
36075 * sysdeps/x86_64/fpu/Makefile: New file.
36076 * sysdeps/x86_64/fpu/Versions: New file.
36077 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
36078 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
36079 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
36080 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
36081 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
36082 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
36083 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
36084 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
36085 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
36086 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
36087 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
36088 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
36089 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
36090 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36091 Added build of SSE, AVX2 and AVX512 IFUNC versions.
36092 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
36093 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
36094 * sysdeps/x86_64/configure.ac: Options for libmvec build.
36095 * sysdeps/x86_64/configure: Regenerated.
36096 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
36097 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
36098 * manual/install.texi (Configuring and compiling): Document
36099 --disable-mathvec.
36100 * INSTALL: Regenerated.
36101 * NEWS: Mention addition of libmvec and x86_64 vector cos.
36102
36103 * math/Makefile: Added rules for vector tests.
36104 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
36105 declaration under condition.
36106 * math/test-double-vlen2.h: New file.
36107 * math/test-double-vlen4.h: New file.
36108 * math/test-double-vlen8.h: New file.
36109 * math/test-vec-loop.h: Added initialization macro.
36110 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
36111 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
36112 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
36113 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
36114 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
36115 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
36116 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
36117 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
36118 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
36119 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
36120 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
36121
36122 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36123 * sysdeps/x86_64/fpu/Versions: New versions added.
36124 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
36125 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
36126 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
36127 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
36128 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
36129 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
36130 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
36131 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
36132 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
36133 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
36134 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
36135 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
36136 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
36137 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36138 Added build of SSE, AVX2 and AVX512 IFUNC versions.
36139 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36140 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
36141 * NEWS: Mention addition of x86_64 vector cosf.
36142
36143 * math/Makefile: Added CFLAGS for new tests.
36144 * math/test-float-vlen16.h: New file.
36145 * math/test-float-vlen4.h: New file.
36146 * math/test-float-vlen8.h: New file.
36147 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
36148 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
36149 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36150 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
36151 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
36152 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
36153 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
36154 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
36155 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
36156 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
36157 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
36158
36159 2015-06-09 Marko Myllynen <myllynen@redhat.com>
36160
36161 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
36162 * locale/programs/ld-ctype.c: Likewise.
36163
36164 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
36165
36166 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
36167 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
36168 bit_ZMM16_31_state): New macro.
36169 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36170 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
36171
36172 2015-06-08 Joseph Myers <joseph@codesourcery.com>
36173
36174 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
36175
36176 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
36177
36178 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
36179
36180 2015-06-05 Joseph Myers <joseph@codesourcery.com>
36181
36182 [BZ #18498]
36183 * libio/memstream.c (open_memstream): Rename to __open_memstream
36184 and define as weak alias of __open_memstream.
36185 * include/stdio.h (__open_memstream): Declare. Use
36186 libc_hidden_proto.
36187 (open_memstream): Don't use libc_hidden_proto.
36188 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
36189 open_memstream.
36190 * posix/getopt.c (_getopt_internal_r): Likewise.
36191 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
36192 variable.
36193 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
36194 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
36195 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
36196
36197 [BZ #18496]
36198 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
36199 instead of wcrtomb.
36200
36201 [BZ #18483]
36202 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
36203 [__USE_XOPEN2K8]. Remove redundant #endif.
36204 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
36205 Remove redundant #if.
36206 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
36207 Remove variable.
36208 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
36209 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
36210
36211 [BZ #18495]
36212 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
36213 (__iswlower): Likewise.
36214 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
36215 (__iswlower): Likewise.
36216 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
36217 instead of towlower.
36218 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
36219 instead of iswlower. Call __towupper instead of towupper.
36220 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
36221 instead of iswalnum.
36222
36223 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36224
36225 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
36226 errors to stderr.
36227
36228 2015-06-05 Florian Weimer <fweimer@redhat.com>
36229
36230 [BZ #15661]
36231 [BZ #17322]
36232 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
36233 Check for overflow properly. Check for O_APPEND. Ignore large
36234 file system block sizes. Add comments about problems.
36235 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
36236 * manual/filesys.texi (Storage Allocation): New node.
36237
36238 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36239
36240 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
36241 cancellable syscalls.
36242 (SYS_ify): Add guard to no redefine it.
36243 (INLINE_SYSCALL): Likewise.
36244 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
36245 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
36246 SYSCALL_CANCEL instead.
36247 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
36248 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
36249 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
36250 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
36251 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
36252 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
36253 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
36254 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
36255 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
36256 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
36257 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
36258 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
36259 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
36260 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
36261 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
36262 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
36263 Likewise.
36264 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
36265 (__libc_pread64): Likewise.
36266 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
36267 (__libc_preadv): Likewise.
36268 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
36269 (__libc_readv64): Likewise.
36270 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
36271 (__libc_pwrite): Likewise.
36272 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
36273 (__libc_pwrite64): Likewise.
36274 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
36275 (__libc_pwritev): Likewise.
36276 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
36277 (__libc_pwritev64): Likewise.
36278 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
36279 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
36280 (sync_file_range): Likewise.
36281 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
36282 Likewise.
36283 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
36284 Likewise.
36285 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
36286 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
36287 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
36288 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
36289 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
36290 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
36291 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
36292 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
36293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
36294 Likewise.
36295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36296 (__libc_read64): Likewise.
36297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
36298 Likewise.
36299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
36300 Likewise.
36301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
36302 Likewise.
36303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
36304 Likewise.
36305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36306 (__libc_pread64): Likewise.
36307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
36308 Likewise.
36309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36310 (__libc_pwrite64): Likewise.
36311 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
36312 (sync_file_range): Likewise.
36313 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
36314 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
36315 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
36316 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
36317 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
36318 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
36319 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
36320 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
36321 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
36322 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
36323 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
36324 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
36325 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
36326 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
36327 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
36328 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
36329 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
36330 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
36331 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
36332 Likewise.
36333 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
36334 Likewise.
36335 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
36336 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
36337 Likewise.
36338 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
36339 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
36340 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
36341 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
36342 Likewise.
36343 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
36344 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
36345 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
36346 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
36347 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
36348
36349 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
36350
36351 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
36352 Include dl-vdso.
36353 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
36354 Use VDSO routines for gettimeofday, clock_gettime if
36355 available.
36356 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
36357 Declare VDSO symbols.
36358 * sysdeps/unix/sysv/linux/arm/sysdep.h:
36359 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
36360 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36361 * sysdeps/unix/sysv/linux/arm/Versions: Add
36362 __vdso_clock_gettime.
36363
36364 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36365
36366 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
36367 be an inline implementation regardless of library is built within.
36368 (open_not_cancel_2): Likewise.
36369 (__read_nocancel): Likewise.
36370 (__write_nocancel): Likewise.
36371 (openat_not_cancel): Likewise.
36372 (openat_not_cancel_3): Likewise.
36373 (openat64_not_cancel): Likewise.
36374 (openat64_not_cancel_3): Likewise.
36375 (__close_nocancel): Likewise.
36376 (pause_not_cancel): Likewise.
36377 (nanosleep_not_cancel): Likewise.
36378 (sigsuspend_not_cancel): Likewise.
36379
36380 2015-06-04 Torvald Riegel <triegel@redhat.com>
36381
36382 [BZ #14958]
36383 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
36384 wake-up.
36385 (__pthread_rwlock_rdlock_slow): Likewise.
36386 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
36387 Likewise.
36388 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
36389 Likewise.
36390 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
36391 * nptl/tst-rwlock16.c: New file.
36392 * nptl/Makefile (tests): Add new test.
36393
36394 2015-06-04 Torvald Riegel <triegel@redhat.com>
36395
36396 [BZ #18324]
36397 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
36398 missing wake-up of readers.
36399 * nptl/tst-rwlock15.c: New file.
36400 * nptl/Makefile (tests): Add new test.
36401
36402 2015-06-03 Roland McGrath <roland@hack.frob.com>
36403
36404 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
36405 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
36406 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
36407 and __nacl_supply_interface_rtld.
36408 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
36409 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
36410 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
36411 Add __nacl_supply_interface_rtld.
36412 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
36413
36414 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
36415
36416 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
36417 isfinite.
36418 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36419 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
36420
36421 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
36422
36423 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
36424 __signbit* with standard C99 macros.
36425 * math/e_exp10l.c: Likewise.
36426 * math/e_exp2l.c: Likewise.
36427 * math/e_scalb.c: Likewise.
36428 * math/e_scalbf.c: Likewise.
36429 * math/e_scalbl.c: Likewise.
36430 * math/s_ldexp.c: Likewise.
36431 * math/s_ldexpf.c: Likewise.
36432 * math/s_ldexpl.c: Likewise.
36433 * math/w_atan2.c: Likewise.
36434 * math/w_atan2f.c: Likewise.
36435 * math/w_atan2l.c: Likewise.
36436 * math/w_cosh.c: Likewise.
36437 * math/w_coshf.c: Likewise.
36438 * math/w_coshl.c: Likewise.
36439 * math/w_exp10.c: Likewise.
36440 * math/w_exp10f.c: Likewise.
36441 * math/w_exp10l.c: Likewise.
36442 * math/w_exp2.c: Likewise.
36443 * math/w_exp2f.c: Likewise.
36444 * math/w_exp2l.c: Likewise.
36445 * math/w_fmod.c: Likewise.
36446 * math/w_fmodf.c: Likewise.
36447 * math/w_fmodl.c: Likewise.
36448 * math/w_hypot.c: Likewise.
36449 * math/w_hypotf.c: Likewise.
36450 * math/w_hypotl.c: Likewise.
36451 * math/w_jnl.c: Likewise.
36452 * math/w_lgamma.c: Likewise.
36453 * math/w_lgamma_r.c: Likewise.
36454 * math/w_lgammaf.c: Likewise.
36455 * math/w_lgammaf_r.c: Likewise.
36456 * math/w_lgammal.c: Likewise.
36457 * math/w_lgammal_r.c: Likewise.
36458 * math/w_pow.c: Likewise.
36459 * math/w_powf.c: Likewise.
36460 * math/w_powl.c: Likewise.
36461 * math/w_remainder.c: Likewise.
36462 * math/w_remainderf.c: Likewise.
36463 * math/w_remainderl.c: Likewise.
36464 * math/w_scalb.c: Likewise.
36465 * math/w_scalbf.c: Likewise.
36466 * math/w_scalbl.c: Likewise.
36467 * math/w_scalbln.c: Likewise.
36468 * math/w_scalblnf.c: Likewise.
36469 * math/w_scalblnl.c: Likewise.
36470 * math/w_sinh.c: Likewise.
36471 * math/w_sinhf.c: Likewise.
36472 * math/w_sinhl.c: Likewise.
36473 * math/w_tgamma.c: Likewise.
36474 * math/w_tgammaf.c: Likewise.
36475 * math/w_tgammal.c: Likewise.
36476 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36477 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
36478 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36479 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36480 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36481 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36482 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36483 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36484 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36485 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36486 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36487 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36488 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36489 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36490 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36491 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36492 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36493 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36494 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36495 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36496 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36497 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36498 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36499 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36500 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36501 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36502 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
36503 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36504 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36505 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36506 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
36507 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
36508 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
36509 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
36510 * stdio-common/printf_fp.c: Likewise.
36511 * stdio-common/printf_fphex.c: Likewise.
36512 * stdio-common/printf_size.c: Likewise.
36513
36514 2015-06-03 Joseph Myers <joseph@codesourcery.com>
36515
36516 [BZ #18470]
36517 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
36518 strnlen.
36519 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
36520 Remove variable.
36521 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
36522 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
36523 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
36524 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
36525 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
36526 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
36527 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
36528 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
36529 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
36530 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
36531
36532 [BZ #18468]
36533 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
36534 weak alias of __wmemchr. Use libc_hidden_weak.
36535 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
36536 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
36537 instead of wmemchr.
36538
36539 2015-06-02 Roland McGrath <roland@hack.frob.com>
36540
36541 [BZ #18383]
36542 * elf/tst-tlsalign-extern.c: New file.
36543 * elf/tst-tlsalign-extern-static.c: New file.
36544 * elf/tst-tlsalign-vars.c: New file.
36545 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
36546 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
36547 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
36548 ($(objpfx)tst-tlsalign-extern-static): Likewise.
36549 (test-xfail-tst-tlsalign-extern-static): New variable.
36550
36551 2015-06-02 Joseph Myers <joseph@codesourcery.com>
36552
36553 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
36554 Use variable name _sc_err instead of err.
36555 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
36556 instead of ret.
36557 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
36558 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
36559 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
36560 (INLINE_SYSCALL): Likewise.
36561
36562 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
36563 * include/string.h (__strnlen): Use libc_hidden_proto.
36564 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
36565 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
36566 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
36567 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
36568 (libc_hidden_def): Undefine and redefine.
36569 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
36570 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
36571 __GI_strnlen.
36572 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
36573 libc_hidden_def.
36574 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
36575
36576 [BZ #18469]
36577 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
36578 weak alias of __towlower. Use libc_hidden_weak.
36579 (towupper): Rename to __towupper and define as weak alias of
36580 __towupper. Use libc_hidden_weak.
36581 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
36582 (__towupper): Likewise.
36583 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
36584 __towlower instead of towlower.
36585
36586 2015-06-02 Roland McGrath <roland@hack.frob.com>
36587
36588 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
36589 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
36590
36591 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
36592
36593 * sysdeps/aarch64/libm-test-ulps: Update.
36594
36595 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36596
36597 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
36598 Define.
36599 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36600 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36601 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
36602 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36603 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
36604 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
36605 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
36606
36607 2015-06-01 Martin Sebor <msebor@redhat.com>
36608
36609 [BZ #18116]
36610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36611 (__setcontext): Use extended four-operand version of mtsf whenever
36612 possible.
36613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36614 (__novec_swapcontext): Likewise.
36615
36616 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
36617
36618 * benchtests/scripts/compare_bench.py: New file.
36619 * benchtests/scripts/import_bench.py (mean): New function.
36620 (split_list): Likewise.
36621 (do_for_all_timings): Likewise.
36622 (compress_timings): Likewise.
36623
36624 * benchtests/scripts/import_bench.py: New file.
36625 * benchtests/scripts/validate_benchout.py: Import import_bench
36626 instead of jsonschema.
36627 (validate_bench): Remove function.
36628 (main): Use import_bench.
36629
36630 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
36631
36632 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
36633 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
36634
36635 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36636
36637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36638
36639 2015-05-28 Roland McGrath <roland@hack.frob.com>
36640
36641 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
36642 set THREAD_SELF->tid to a magic value and futex-wake it.
36643 Pass its address to the thread_exit system call.
36644 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
36645 bit is clear.
36646 * sysdeps/nacl/lowlevellock.h: New file.
36647 * sysdeps/nacl/lll_timedwait_tid.c: New file.
36648
36649 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
36650 Add TIMEOUT to current time, don't subtract it.
36651
36652 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
36653
36654 [BZ #2981]
36655 [BZ #18422]
36656 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
36657 ($(objpfx)tst-audit2.out): Also depend on
36658 $(objpfx)tst-auditmod9b.so.
36659 * elf/tst-audit2.c: Include <dlfcn.h>.
36660 (calloc_called): New.
36661 (calloc): Allow to be called more than once.
36662 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
36663
36664 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
36665
36666 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
36667 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
36668
36669 2015-05-27 Marko Myllynen <myllynen@redhat.com>
36670
36671 * stdlib/monetary.h: Fix comment.
36672
36673 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
36674
36675 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
36676 Avoid using variables in #defines that might cause shadowing.
36677 (INTERNAL_VSYSCALL_CALL): Likewise.
36678
36679 2015-05-26 Roland McGrath <roland@hack.frob.com>
36680
36681 * sysdeps/nacl/lll_timedlock_wait.c: New file.
36682
36683 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
36684 * nptl/lll_timedlock_wait.c: ... to this new file.
36685 * nptl/Makefile (libpthread-routines): Add it.
36686 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
36687 * nptl/lll_timedwait_tid.c: ... to this new file.
36688 * nptl/Makefile (libpthread-routines): Add it.
36689 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
36690 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
36691 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
36692 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
36693 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
36694 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
36695 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
36696 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
36697 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
36698 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
36699
36700 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36701
36702 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
36703 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36704 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
36705 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
36706 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
36707 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36708 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36709 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36710 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36711 * sysdeps/unix/sysv/linux/tile/sysdep.h
36712 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36713 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
36714 using vDSO syscall macro.
36715
36716 2015-05-26 Andriy Rysin <arysin@gmail.com>
36717
36718 [BZ #17293]
36719 * uk_UA: Fix sorting order for Ukrainian locale
36720
36721 2015-05-26 Marko Myllynen <myllynen@redhat.com>
36722
36723 * stdlib/monetary.h: Fix comment.
36724
36725 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
36726
36727 [BZ #18234]
36728 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
36729 st_mtim and st_ctim members.
36730 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
36731 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
36732 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
36733 (struct stat64): Likewise.
36734 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
36735 (struct stat64): Likewise.
36736 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
36737 (struct stat64): Likewise.
36738
36739 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36740
36741 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
36742 Define and include sysdep-vdso.h.
36743 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
36744 Likewise.
36745 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
36746 Likewise.
36747 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
36748 Define with VDSO_SYMBOL and use PTR_MANGLE.
36749 (__vdso_clock_gettime): Likewise.
36750 (__vdso_clock_getres): Likewise.
36751 (_libc_vdso_platform_setup): Likewise.
36752 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
36753 Likewise.
36754 (_libc_vdso_platform_setup): Likewise.
36755 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
36756 Likewise.
36757 (__vdso_clock_gettime): Likewise.
36758 (__vdso_clock_getres): Likewise.
36759 (__vdso_get_tbfreq): Likewise.
36760 (__vdso_getcpu): Likewise.
36761 (__vdso_time): Likewise.
36762 (__vdso_sigtramp_rt64): Likewise.
36763 (__vdso_signtramp32): Likewise.
36764 (__vdso_sigtramp_rt32): Likewise.
36765 (_libc_vdso_platform_setup): Likewise.
36766 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
36767 Likewise.
36768 (__vdso_clock_gettime): Likewise.
36769 (__vdso_clock_getres): Likewise.
36770 (_libc_vdso_platform_setup): Likewise.
36771 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
36772 Likewise.
36773 (__vdso_clock_gettime): Likewise.
36774 (_libc_vdso_platform_setup): Likewise.
36775 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
36776 Likewise.
36777 (__vdso_getcpu): Likewise.
36778 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
36779 Use VDSO_SYMBOL macro to define.
36780 (__vdso_clock_gettime): Likewise.
36781 (__vdso_clock_getres): Likewise.
36782 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
36783 Likewise.
36784 (__vdso_clock_gettime): Likewise.
36785 (__vdso_clock_getres): Likewise.
36786 (__vdso_get_tbfreq): Likewise.
36787 (__vdso_getcpu): Likewise.
36788 (__vdso_time): Likewise.
36789 (__vdso_sigtramp_rt64): Likewise.
36790 (__vdso_signtramp32): Likewise.
36791 (__vdso_sigtramp_rt32): Likewise.
36792 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
36793 Likewise.
36794 (__vdso_clock_gettime): Likewise.
36795 (__vdso_clock_getres): Likewise.
36796 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
36797 Likewise.
36798 (__vdso_clock_gettime): Likewise.
36799 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
36800 Likewise.
36801 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
36802 macro.
36803 (INTERNAL_VSYSCALL): Likewise.
36804 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
36805 Remove macro.
36806 (INTERNAL_VSYSCALL): Likewise.
36807 (INTERNAL_VSYSCALL_NCS): Likewise.
36808 (INTERNAL_VSYSCALL_CALL): New macro.
36809 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
36810 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
36811 Likewise.
36812 (INTERNAL_VSYSCALL): Likewise.
36813 (INTERNAL_VSYSCALL_NCS): Likewise.
36814 (INTERNAL_VSYSCALL_CALL): New macro.
36815 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
36816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36817 (INLINE_VSYSCALL): Remove macro.
36818 (INTERNAL_VSYSCALL): Remove macro.
36819 (INTERNAL_VSYSCALL_NCS): Remove macro.
36820 (INTERNAL_VSYSCALL_CALL): New macro.
36821 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
36822 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
36823 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
36824 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
36825 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
36826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36827 (INLINE_VSYSCALL): Remove macro.
36828 (INTERNAL_VSYSCALL): Likewise.
36829 (INTERNAL_VSYSCALL_NCS): Likewise.
36830 (INTERNAL_VSYSCALL_CALL): New macro.
36831 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
36832 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
36833 PTR_DEMANGLE on vDSO pointer.
36834 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
36835 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
36836 macro.
36837 (INTERNAL_SYSCALL): Likewise.
36838 (INTERNAL_VSYSCALL_NCS): Remove macro.
36839 (INTERNAL_VSYSCALL_CALL): New macro.
36840 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
36841 Remove macro.
36842 (INTERNAL_VSYSCALL): Likewise.
36843 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
36844 sysdep-vdso.h instead of libc-vdso.h.
36845 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
36846 definition.
36847 (INLINE_VSYSCALL): Likewise.
36848 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
36849 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
36850 definition.
36851 (INLINE_VSYSCALL): Likewise.
36852 (INTERNAL_VSYSCALL): Likewise.
36853 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36854 * sysdeps/unix/sysv/linux/timespec_get.c
36855 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36856 (timespec_get): Use ANSI prototype.
36857 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
36858 and definition for Linux.
36859
36860 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
36861
36862 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
36863 * include/libc-symbols.h: libmvec_hidden_* macro series added.
36864
36865 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
36866
36867 [BZ #2981]
36868 [BZ #18410]
36869 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
36870 for missing DT_PLTRELSZ.
36871
36872 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
36873
36874 Remove obsolete aliases that broke 'locale -a'
36875 [BZ #18412]
36876 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
36877 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
36878 breaking some applications that use 'locale -a' output.
36879 Change the encoding of this file from Latin-1 to ASCII to avoid
36880 other potential problems with people grepping this file.
36881
36882 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36883
36884 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
36885 -fasynchronous-unwind-tables.
36886 (CFLAGS-sendto.c): Likewise.
36887 (CFLAGS-sendmsg.c): Likewise.
36888 (CFLAGS-connect.c): Likewise.
36889 (CFLAGS-recvmsg.c): Likewise.
36890 (CFLAGS-recvfrom.c): Likewise.
36891 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
36892 (SOCKETCALL): New macro: non-cancellable socketcall.
36893 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
36894 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
36895 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
36896 * sysdeps/unix/sysv/linux/accept.c: New file.
36897 * sysdeps/unix/sysv/linux/bind.c: Likewise.
36898 * sysdeps/unix/sysv/linux/connect.c: Likewise.
36899 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
36900 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
36901 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
36902 * sysdeps/unix/sysv/linux/listen.c: Likewise.
36903 * sysdeps/unix/sysv/linux/recv.c: Likewise.
36904 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
36905 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
36906 * sysdeps/unix/sysv/linux/send.c: Likewise.
36907 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
36908 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
36909 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
36910 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
36911 * sysdeps/unix/sysv/linux/socket.c: Likewise.
36912 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
36913 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
36914 prototype.
36915 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
36916 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
36917 instead of __internal_xxx function.
36918 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
36919 prototype.
36920 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
36921 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
36922 instead of __internal_xxx function.
36923 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
36924 prototype.
36925 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
36926 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
36927 instead of __internal_xxx function.
36928 * sysdeps/unix/sysv/linux/accept.S: Remove file.
36929 * sysdeps/unix/sysv/linux/bind.S: Likewise.
36930 * sysdeps/unix/sysv/linux/connect.S: Likewise.
36931 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
36932 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
36933 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
36934 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
36935 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
36936 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
36937 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
36938 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
36939 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36940 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
36941 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
36942 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
36943 * sysdeps/unix/sysv/linux/listen.S: Likewise.
36944 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
36945 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
36946 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
36947 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
36948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
36949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
36950 * sysdeps/unix/sysv/linux/recv.S: Likewise.
36951 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
36952 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
36953 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
36954 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
36955 * sysdeps/unix/sysv/linux/send.S: Likewise.
36956 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
36957 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
36958 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
36959 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
36960 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
36961 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
36962 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
36963 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
36964 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
36965 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
36966 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
36967 socketcall is implemented in GLIBC.
36968
36969 2015-05-22 Joseph Myers <joseph@codesourcery.com>
36970
36971 * soft-fp/fmadf4.c: Include <libc-internal.h>.
36972 (__fma): Ignore uninitialized warnings around packing.
36973 * soft-fp/fmasf4.c: Include <libc-internal.h>.
36974 (__fmaf): Ignore uninitialized warnings around packing.
36975 * soft-fp/fmatf4.c: Include <libc-internal.h>.
36976 (__fmal): Ignore uninitialized warnings around packing.
36977
36978 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
36979 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
36980 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
36981 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
36982
36983 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
36984 switch statement into default case.
36985 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
36986
36987 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
36988 a conditional in forcing "inexact".
36989 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
36990 Likewise.
36991
36992 2015-05-22 Roland McGrath <roland@hack.frob.com>
36993
36994 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
36995 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
36996 for each INTERNAL_SYSCALL use.
36997
36998 2015-05-22 Joseph Myers <joseph@codesourcery.com>
36999
37000 [BZ #438]
37001 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
37002 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
37003 variable.
37004
37005 [BZ #18444]
37006 * string/basename.c (basename): Rename to __basename and define as
37007 weak alias of __basename. Use libc_hidden_weak.
37008 * include/string.h (__basename): Declare. Use libc_hidden_proto.
37009 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
37010 __basename instead of basename.
37011 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
37012 Remove variable.
37013 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
37014
37015 2015-05-18 Florian Weimer <fweimer@redhat.com>
37016
37017 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
37018 (_IO_JUMPS_FILE_plus): New.
37019 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
37020 _IO_CAST_FIELD_ACCESS.
37021 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
37022 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
37023 * libio/freopen.c (freopen): Likewise.
37024 * libio/freopen64.c (freopen64): Likewise.
37025 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
37026 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
37027 * libio/iofwide.c (_IO_fwide): Likewise.
37028 * libio/memstream.c (open_memstream): Likewise.
37029 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37030 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
37031 * libio/oldiopopen.c (_IO_old_popen): Likewise.
37032
37033 2015-05-21 Joseph Myers <joseph@codesourcery.com>
37034
37035 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
37036 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
37037 NADJ.
37038 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
37039 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
37040 NADJ.
37041 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
37042 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
37043 NADJ.
37044
37045 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
37046 (p == 4) case.
37047
37048 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
37049 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
37050 Remove variable.
37051 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
37052 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
37053 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
37054
37055 2015-05-21 Florian Weimer <fweimer@redhat.com>
37056
37057 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
37058 Adjust jump table label generation macros.
37059
37060 2015-05-21 Florian Weimer <fweimer@redhat.com>
37061
37062 * stdio-common/vfprintf.c (vfprintf): Move local variables
37063 args_malloced, specs, specs_malloced, and the code after
37064 do_positional to the printf_positional function.
37065 (printf_positional): New function.
37066
37067 2015-05-21 Florian Weimer <fweimer@redhat.com>
37068
37069 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
37070 function.
37071 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
37072 STEP4_TABLE, process_arg): Move macro definitions
37073 out of the vfprintf function. (Cosmetic change only.)
37074
37075 2015-05-21 Carlos O'Donell <carlos@redhat.com>
37076
37077 * benchtests/Makefile (stdio-common-bench): Define.
37078 (benchset): Add stdio-common-bench.
37079 * sprintf-inputs: New file.
37080 * sprintf-source.c: New file.
37081
37082 2015-05-21 Andreas Schwab <schwab@suse.de>
37083
37084 [BZ #13028]
37085 [BZ #17053]
37086 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
37087 of struct __res_state.
37088 * resolv/res_send.c (__libc_res_nsend): Likewise.
37089 (get_nsaddr): New function.
37090 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
37091 statp directly.
37092
37093 2015-05-20 Joseph Myers <joseph@codesourcery.com>
37094
37095 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
37096 -D_POSIX_C_SOURCE=199506L.
37097
37098 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
37099
37100 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
37101 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
37102 Do not mention otherwise.
37103 [POSIX] (_XOPEN_VERSION): Do not expect.
37104 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
37105 [POSIX] (_POSIX2_C_BIND): Likewise.
37106 [POSIX] (_POSIX2_VERSION): Likewise.
37107 [POSIX] (_XOPEN_XPG2): Likewise.
37108 [POSIX] (_XOPEN_XPG3): Likewise.
37109 [POSIX] (_XOPEN_XPG4): Likewise.
37110 [POSIX] (_XOPEN_UNIX): Likewise.
37111 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
37112 [POSIX] (_POSIX_BARRIERS): Likewise.
37113 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
37114 [POSIX] (_POSIX_CPUTIME): Likewise.
37115 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
37116 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
37117 [POSIX] (_POSIX_SHELL): Likewise.
37118 [POSIX] (_POSIX_SPAWN): Likewise.
37119 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
37120 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
37121 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
37122 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
37123 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
37124 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
37125 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
37126 [POSIX] (_XBS5_LP64_OFF64): Likewise.
37127 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
37128 [POSIX] (_POSIX_TIMEOUTS): Likewise.
37129 [POSIX] (_POSIX2_PBS): Likewise.
37130 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
37131 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
37132 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
37133 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
37134 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
37135 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
37136 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
37137 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
37138 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
37139 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
37140 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
37141 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
37142 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
37143 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
37144 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
37145 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
37146 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
37147 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
37148 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
37149 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
37150 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
37151 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
37152 [POSIX] (_SC_2_C_BIND): Likewise.
37153 [POSIX] (_SC_2_C_VERSION): Likewise.
37154 [POSIX] (_SC_2_PBS): Likewise.
37155 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
37156 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
37157 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
37158 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
37159 [POSIX] (_SC_2_PBS_TRACK): Likewise.
37160 [POSIX] (_SC_ATEXIT_MAX): Likewise.
37161 [POSIX] (_SC_BARRIERS): Likewise.
37162 [POSIX] (_SC_BASE): Likewise.
37163 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
37164 [POSIX] (_SC_DEVICE_IO): Likewise.
37165 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
37166 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
37167 [POSIX] (_SC_FD_MGMT): Likewise.
37168 [POSIX] (_SC_FIFO): Likewise.
37169 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
37170 [POSIX] (_SC_FILE_LOCKING): Likewise.
37171 [POSIX] (_SC_FILE_SYSTEM): Likewise.
37172 [POSIX] (_SC_IOV_MAX): Likewise.
37173 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
37174 [POSIX] (_SC_NETWORKING): Likewise.
37175 [POSIX] (_SC_PAGE_SIZE): Likewise.
37176 [POSIX] (_SC_PASS_MAX): Likewise.
37177 [POSIX] (_SC_PIPE): Likewise.
37178 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
37179 [POSIX] (_SC_REGEXP): Likewise.
37180 [POSIX] (_SC_SHELL): Likewise.
37181 [POSIX] (_SC_SIGNALS): Likewise.
37182 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
37183 [POSIX] (_SC_SPIN_LOCKS): Likewise.
37184 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
37185 [POSIX] (_SC_USER_GROUPS): Likewise.
37186 [POSIX] (_SC_USER_GROUPS_R): Likewise.
37187 [POSIX] (_SC_STREAMS): Likewise.
37188 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
37189 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
37190 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
37191 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
37192 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
37193 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
37194 [POSIX] (_PC_FILESIZEBITS): Likewise.
37195 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
37196 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
37197 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
37198 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
37199 [POSIX] (uid_t): Likewise.
37200 [POSIX] (gid_t): Likewise.
37201 [POSIX] (off_t): Likewise.
37202 [POSIX] (pid_t): Likewise.
37203 [POSIX] (cuserid): Allow.
37204 (_SC_2_CHAR_TERM): Require constant.
37205 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
37206 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
37207 variable.
37208
37209 2015-05-20 Roland McGrath <roland@hack.frob.com>
37210
37211 * sysdeps/nacl/pthread-pids.h: New file.
37212 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
37213 (create_thread): Use __nacl_get_tid to initialize PD->tid.
37214
37215 * nptl/pthread-pids.h: New file.
37216 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
37217 * nptl/nptl-init.c: Include <pthread-pids.h>.
37218 (__pthread_initialize_minimal_internal):
37219 Call __pthread_initialize_pids instead of set_tid_address syscall.
37220
37221 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
37222 * sysdeps/posix/usleep.c: ... here.
37223
37224 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37225
37226 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
37227 call_pselect6 object.
37228 [$(subdir) = io]: Remove call_sync_file_range object.
37229 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
37230 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
37231 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
37232 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
37233
37234 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
37235
37236 * math/s_cproj.c: Add include "math_private.h".
37237 * math/s_cprojf.c: Likewise.
37238 * math/s_cprojl.c: Likewise.
37239
37240 2015-05-19 Joseph Myers <joseph@codesourcery.com>
37241
37242 [BZ #18244]
37243 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
37244 high mantissa bit when testing whether P is a NaN.
37245 * math/libm-test.inc (remainder_test_data): Add more tests.
37246 (remquo_test_data): Likewise.
37247
37248 [BZ #18049]
37249 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
37250 below -32, return the argument, with underflow if subnormal.
37251 * math/auto-libm-test-in: Add more tests of atanh.
37252 * math/auto-libm-test-out: Regenerated.
37253
37254 2015-05-19 Roland McGrath <roland@hack.frob.com>
37255
37256 [BZ #18434]
37257 * nptl/tst-sem15.c: New file.
37258 * nptl/Makefile (tests): Add it.
37259 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
37260 s/<</>>/ to fix typo in EOVERFLOW check.
37261 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
37262
37263 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37264
37265 * manual/strings.texi (envz_remove): Fix typo in safety
37266 annotations.
37267
37268 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
37269 Steve Ellcey <sellcey@imgtec.com>
37270
37271 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
37272 in order to avoid strict alias warnings.
37273 (iruserok_af): Ditto for ra.
37274
37275 2015-05-19 James Lemke <jwlemke@codesourcery.com>
37276
37277 [BZ #17581]
37278 * malloc/hooks.c
37279 (magicbyte): Convert to a function and avoid returning 0x01.
37280 (mem2mem_check): Avoid using a length byte equal to the magic byte.
37281 (mem2chunk_check): Fix unsigned comparisons to zero.
37282 Hoist defs of sz and magic.
37283
37284 2015-05-19 Richard Henderson <rth@redhat.com>
37285
37286 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
37287
37288 * sysdeps/alpha/fpu/libm-test-ulps: Update.
37289
37290 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37291
37292 [BZ #16159]
37293 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
37294 * malloc/arena.c (arena_lock): Check if arena is corrupt.
37295 (reused_arena): Find a non-corrupt arena.
37296 (heap_trim): Pass arena to unlink.
37297 * malloc/hooks.c (malloc_check_get_size): Pass arena to
37298 malloc_printerr.
37299 (top_check): Likewise.
37300 (free_check): Likewise.
37301 (realloc_check): Likewise.
37302 * malloc/malloc.c (malloc_printerr): Add arena argument.
37303 (unlink): Likewise.
37304 (munmap_chunk): Adjust.
37305 (ARENA_CORRUPTION_BIT): New macro.
37306 (arena_is_corrupt): Likewise.
37307 (set_arena_corrupt): Likewise.
37308 (sysmalloc): Use mmap if there are no usable arenas.
37309 (_int_malloc): Likewise.
37310 (__libc_malloc): Don't fail if arena_get returns NULL.
37311 (_mid_memalign): Likewise.
37312 (__libc_calloc): Likewise.
37313 (__libc_realloc): Adjust for additional argument to
37314 malloc_printerr.
37315 (_int_free): Likewise.
37316 (malloc_consolidate): Likewise.
37317 (_int_realloc): Likewise.
37318 (_int_memalign): Don't touch corrupt arenas.
37319 * malloc/tst-malloc-backtrace.c: New test case.
37320
37321 * Makefile (summarize-tests): Fix return value on success.
37322
37323 * manual/string.texi (Envz Functions): Add envz_remove.
37324
37325 2015-05-18 Roland McGrath <roland@hack.frob.com>
37326
37327 * sysdeps/posix/opendir.c: Include <stdbool.h>.
37328 (invalid_name): New function, broken out of ...
37329 (__opendirat): ... here. Call it.
37330 (need_isdir_precheck): New function, broken out of ...
37331 (__opendirat): ... here. Call it.
37332 Use __fxstatat64, not __xstatat64.
37333 (opendir_oflags): New function, broken out of ...
37334 (__opendirat): ... here. Call it.
37335 (opendir_tail): New function, broken out of ...
37336 (__opendirat): ... here. Call it.
37337 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
37338 opendir_tail, rather than punting to __opendirat.
37339 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
37340
37341 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37342
37343 * .gitignore: Ignore generated *.pyc.
37344
37345 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
37346
37347 * include/stdio.h: Define __need_wint_t.
37348 * test-skeleton.c: Avoid `for' loop initial declaration.
37349 * nptl/tst-initializers1.c: Use test-skeleton.c.
37350
37351 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37352
37353 [BZ #18418]
37354 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
37355
37356 2015-05-15 Joseph Myers <joseph@codesourcery.com>
37357
37358 [BZ #16352]
37359 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
37360 (__ieee754_atanh): Force underflow exception for results with
37361 small absolute value.
37362 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
37363 (__ieee754_atanhf): Force underflow exception for results with
37364 small absolute value.
37365 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
37366 (__ieee754_atanh): Force underflow exception for results with
37367 small absolute value.
37368 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
37369 (__ieee754_atanhf): Force underflow exception for results with
37370 small absolute value.
37371 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
37372 (__ieee754_atanhl): Force underflow exception for results with
37373 small absolute value.
37374 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
37375 (__ieee754_atanhl): Force underflow exception for results with
37376 small absolute value.
37377 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
37378 (__ieee754_atanhl): Force underflow exception for results with
37379 small absolute value.
37380 * math/auto-libm-test-in: Do not allow missing underflow
37381 exceptions from atanh.
37382 * math/auto-libm-test-out: Regenerated.
37383
37384 [BZ #18221]
37385 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
37386 2**-28 as threshold for returning x or +/- 1/x.
37387 * math/auto-libm-test-in: Add more tests of tan.
37388 * math/auto-libm-test-out: Regenerated.
37389
37390 [BZ #18220]
37391 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
37392 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
37393 * math/auto-libm-test-in: Add another test of lgamma.
37394 * math/auto-libm-test-out: Regenerated.
37395
37396 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
37397
37398 * stdio-common/printf_fp.c (___printf_fp): Use abs.
37399 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
37400 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
37401 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
37402 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
37403 (ADD2A): Use fabs. (SUB2A): Use fabs.
37404 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
37405 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
37406 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
37407 (log1): Use fabs. (my_log2): Use fabs.
37408 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
37409 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
37410 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
37411 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
37412 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
37413 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
37414 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
37415 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
37416 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
37417 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
37418 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
37419
37420 2015-05-15 Joseph Myers <joseph@codesourcery.com>
37421
37422 [BZ #18217]
37423 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
37424 as threshold for returning 1 - x.
37425 * math/auto-libm-test-in: Add more tests of erfc.
37426 * math/auto-libm-test-out: Regenerated.
37427
37428 2015-05-14 Joseph Myers <joseph@codesourcery.com>
37429
37430 [BZ #18196]
37431 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
37432 threshold for large arguments.
37433 * math/auto-libm-test-in: Add another test of atan.
37434 * math/auto-libm-test-out: Regenerated.
37435
37436 [BZ #16339]
37437 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
37438 (__log1p): Force underflow exception for results with small
37439 absolute value.
37440 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
37441 (__log1pf): Force underflow exception for results with small
37442 absolute value.
37443 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
37444 (__log1p): Force underflow exception for results with small
37445 absolute value.
37446 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
37447 (__log1pf): Force underflow exception for results with small
37448 absolute value.
37449 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
37450 (__log1pl): Force underflow exception for results with small
37451 absolute value.
37452 * math/auto-libm-test-in: Do not allow missing underflow
37453 exceptions from log1p.
37454 * math/auto-libm-test-out: Regenerated.
37455
37456 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
37457 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37458
37459 [BZ #16704]
37460 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
37461
37462 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
37463
37464 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
37465 (libmvec): New variable.
37466 * configure.ac: Added option for mathvec build.
37467 * configure: Regenerated.
37468 * mathvec/Depend: New file.
37469 * mathvec/Makefile: New file.
37470 * shlib-versions: Added libmvec.
37471 * math/Makefile: Added rule for libm.so installation.
37472
37473 * bits/math-vector.h: New file.
37474 * bits/libm-simd-decl-stubs.h: New header.
37475 * math/Makefile (headers): Added new header
37476 libm-simd-decl-stubs.h.
37477 * math/math.h (__MATHCALL_VEC): New macro.
37478
37479 * math/gen-libm-have-vector-test.sh: Script generates series of macros
37480 for conditions in testing functions.
37481 * math/Makefile: Added call of libm-have-vector-test.sh.
37482 * math/libm-test.inc (HAVE_VECTOR): New macros.
37483
37484 * math/libm-test.inc: START refactored.
37485 * math/test-double.c (TEST_MATHVEC): Add define.
37486 * math/test-float.c: Likewise.
37487 * math/test-idouble.c: Likewise.
37488 * math/test-ifloat.c: Likewise.
37489 * math/test-ildoubl.c: Likewise.
37490 * math/test-ldouble.c: Likewise.
37491 * sysdeps/generic/math-tests-arch.h
37492 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
37493 architecture check.
37494
37495 * math/test-double.c (FUNC_TEST): New macro.
37496 * math/test-float.c: Likewise.
37497 * math/test-idouble.c: Likewise.
37498 * math/test-ifloat.c: Likewise.
37499 * math/test-ildoubl.c: Likewise.
37500 * math/test-ldouble.c: Likewise.
37501 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
37502
37503 2015-05-13 Roland McGrath <roland@hack.frob.com>
37504
37505 * sysdeps/nacl/fdopendir.c: New file.
37506
37507 * dirent/scandir-tail.c: New file.
37508 * dirent/scandir64-tail.c: New file.
37509 * dirent/Makefile (routines): Add them.
37510 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
37511 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
37512 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
37513 [!SCANDIR] (SCANDIR_TAIL): New macro.
37514 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
37515 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
37516 (SCANDIRAT): Macro removed.
37517 (SCANDIR_TAIL): New macro.
37518 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
37519 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
37520 (SCANDIRAT): Just call __opendirat and __scandir_tail.
37521 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
37522 (READDIR): Macro removed.
37523 (SCANDIR_TAIL): New macro.
37524 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
37525 (SCANDIR_TAIL): New macro.
37526
37527 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
37528 * dirent/scandir-cancel.c: ... to this new file.
37529 * dirent/Makefile (routines): Add it.
37530 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
37531 * sysdeps/unix/sysv/linux/i386/scandir64.c
37532 (SKIP_SCANDIR_CANCEL): Macro removed.
37533 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
37534
37535 * dirent/tst-scandir.c: New file.
37536 * dirent/tst-scandir64.c: New file.
37537 * dirent/Makefile (tests): Add them.
37538
37539 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
37540
37541 [BZ #18409]
37542 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
37543
37544 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
37545
37546 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
37547 list.
37548
37549 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
37550
37551 * benchtests/bench-strcoll.c: New benchmark.
37552 * benchtests/Makefile: Generate locales and run benchmark.
37553 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
37554 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
37555 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
37556 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
37557 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
37558 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
37559 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
37560 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
37561 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
37562 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
37563 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
37564 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
37565 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
37566 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
37567 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
37568 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
37569 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
37570 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
37571 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
37572 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
37573 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
37574 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
37575 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
37576 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
37577
37578 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
37579
37580 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
37581 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37582
37583 2015-05-12 Roland McGrath <roland@hack.frob.com>
37584
37585 * posix/uname-values.h: New file.
37586 * posix/uname.c: Include that instead of <config-name.h>.
37587 * sysdeps/nacl/uname-values.h: New file.
37588 * sysdeps/arm/nacl/uname-values.h: New file.
37589
37590 2015-05-12 Joseph Myers <joseph@codesourcery.com>
37591
37592 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
37593 splitting into fields.
37594
37595 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
37596
37597 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
37598 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
37599 * locale/localeinfo.h: Add enum collation_encoding_type.
37600 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
37601 * programs/ld-collate.c (collate_output): Add encoding type info.
37602 * string/strcoll_l.c (STRDIFF): New function.
37603 * (STRCOLL): Use STRDIFF to skip over equal prefix.
37604 * wcsmbs/wcscoll_l.c: Define STRDIFF.
37605
37606 2015-05-11 Joseph Myers <joseph@codesourcery.com>
37607
37608 [BZ #18397]
37609 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
37610 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
37611 <fpu_control.h> instead of <math/fpu_control.c>.
37612 * sysdeps/mips/mips32/fpu/Makefile: New file.
37613
37614 2015-05-11 Andreas Schwab <schwab@suse.de>
37615
37616 [BZ #18007]
37617 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
37618 nss_endgrent.
37619 (_nss_compat_endgrent): Call nss_endgrent.
37620 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
37621 nss_endpwent.
37622 (_nss_compat_endpwent): Call nss_endpwent.
37623 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
37624 needent, call nss_setspent only if non-zero.
37625 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
37626 (internal_endspent): Don't call nss_endspent.
37627 (_nss_compat_endspent): Call nss_endspent.
37628 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
37629 Remove. All uses removed.
37630 (internal_setent): Remove parameter stayopen, add parameter
37631 stream. Use it instead of global variable.
37632 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
37633 (internal_endent, internal_getent): Add parameter stream. Use it
37634 instead of global variable.
37635 (CONCAT(_nss_files_end,ENTNAME))
37636 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
37637 (_nss_files_get##name##_r): Pass local stream. Remove locking.
37638 * nss/nss_files/files-alias.c (position, last_use): Remove. All
37639 uses removed.
37640 (internal_setent, internal_endent): Add parameter stream. Use it
37641 instead of global variable.
37642 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
37643 stream.
37644 (get_next_alias): Add parameter stream.
37645 (_nss_files_getaliasent_r): Pass global stream.
37646 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
37647 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
37648 (_nss_files_gethostbyname4_r): Pass local stream to
37649 internal_setent, internal_getent and internal_endent. Remove
37650 locking.
37651
37652 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
37653
37654 * tst-strfmon1.c (tests): Update expected currency symbol.
37655
37656 2015-05-08 Roland McGrath <roland@hack.frob.com>
37657
37658 * sysdeps/nacl/gethostname.c: New file.
37659
37660 2015-05-08 Joseph Myers <joseph@codesourcery.com>
37661
37662 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
37663 and sinh.
37664 * math/auto-libm-test-out: Regenerated.
37665 * sysdeps/i386/fpu/libm-test-ulps: Update.
37666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37667
37668 2015-05-08 Carlos O'Donell <carlos@redhat.com>
37669
37670 [BZ #18125]
37671 * stdlib/tst-setcontext3.c: New file.
37672 * stdlib/tst-setcontext3.sh: New file.
37673 * stdlib/Makefile (tests): Add tst-setcontext3.
37674 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
37675 to verify test program created output file.
37676 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
37677 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
37678 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
37679 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
37680
37681 2015-05-06 Roland McGrath <roland@hack.frob.com>
37682
37683 [BZ #18383]
37684 * elf/tst-tlsalign.c: New file.
37685 * elf/tst-tlsalign-static.c: New file.
37686 * elf/tst-tlsalign-lib.c: New file.
37687 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
37688 (tests-static): Add tst-tlsalign-static.
37689 (modules-names): Add tst-tlsalign-lib.
37690 (test-xfail-tst-tlsalign): New variable.
37691 (test-xfail-tst-tlsalign-static): New variable.
37692
37693 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
37694 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
37695
37696 2015-05-06 Joseph Myers <joseph@codesourcery.com>
37697
37698 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
37699 csqrt, erfc, sin and sincos.
37700 * math/auto-libm-test-out: Regenerated.
37701 * sysdeps/i386/fpu/libm-test-ulps: Update.
37702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37703
37704 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
37705
37706 * sysdeps/aarch64/libm-test-ulps: Update.
37707
37708 2015-05-05 Joseph Myers <joseph@codesourcery.com>
37709
37710 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
37711 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
37712 * math/auto-libm-test-out: Regenerated.
37713 * sysdeps/i386/fpu/libm-test-ulps: Update.
37714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37715
37716 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
37717
37718 [BZ #18265]
37719 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
37720 (wcsncpy): Likewise.
37721
37722 2015-05-05 Florian Weimer <fweimer@redhat.com>
37723
37724 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
37725 Assume __ASSUME_FALLOCATE is always true.
37726 * sysdeps/unix/sysv/linux/posix_fallocate64.c
37727 (__posix_fallocate64_l64): Likewise.
37728 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
37729 (posix_fallocate): Likewise.
37730 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
37731 (__posix_fallocate64_l64): Likewise.
37732 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37733 [!__ASSUME_FALLOCATE]: Add comment.
37734
37735 2015-05-05 Florian Weimer <fweimer@redhat.com>
37736
37737 * sysdeps/unix/sysv/linux/i386/Makefile
37738 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
37739 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
37740 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
37741 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37742 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37743 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
37744 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
37745
37746 2015-05-02 Joseph Myers <joseph@codesourcery.com>
37747
37748 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
37749 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
37750 tgamma.
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 Joseph Myers <joseph@codesourcery.com>
37756
37757 * math/auto-libm-test-in: Add more tests of tgamma.
37758 * math/auto-libm-test-out: Regenerated.
37759 * sysdeps/i386/fpu/libm-test-ulps: Update.
37760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37761
37762 * math/auto-libm-test-in: Add more tests of tanh.
37763 * math/auto-libm-test-out: Regenerated.
37764 * sysdeps/i386/fpu/libm-test-ulps: Update.
37765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37766
37767 * math/auto-libm-test-in: Add more tests of tan.
37768 * math/auto-libm-test-out: Regenerated.
37769 * sysdeps/i386/fpu/libm-test-ulps: Update.
37770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37771
37772 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
37773 * math/auto-libm-test-out: Regenerated.
37774 * sysdeps/i386/fpu/libm-test-ulps: Update.
37775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37776
37777 * math/auto-libm-test-in: Add another test of pow.
37778 * math/auto-libm-test-out: Regenerated.
37779 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37780
37781 * math/auto-libm-test-in: Add more tests of lgamma.
37782 * math/auto-libm-test-out: Regenerated.
37783 * sysdeps/i386/fpu/libm-test-ulps: Update.
37784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37785
37786 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
37787 log1p.
37788 * math/auto-libm-test-out: Regenerated.
37789 * sysdeps/i386/fpu/libm-test-ulps: Update.
37790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37791
37792 2015-05-01 Mark Wielaard <mjw@redhat.com>
37793
37794 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
37795 Elf64_Chdr structs and ELFCOMPRESS constants.
37796
37797 2015-05-01 Joseph Myers <joseph@codesourcery.com>
37798
37799 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
37800 expm1.
37801 * math/auto-libm-test-out: Regenerated.
37802 * sysdeps/i386/fpu/libm-test-ulps: Update.
37803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37804
37805 * math/auto-libm-test-in: Add more tests of erf and erfc.
37806 * math/auto-libm-test-out: Regenerated.
37807 * sysdeps/i386/fpu/libm-test-ulps: Update.
37808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37809
37810 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
37811
37812 * config.h.in (HAVE_AARCH64_BE): Add.
37813
37814 2015-04-30 Joseph Myers <joseph@codesourcery.com>
37815
37816 * math/auto-libm-test-in: Add more tests of csqrt.
37817 * math/auto-libm-test-out: Regenerated.
37818 * sysdeps/i386/fpu/libm-test-ulps: Update.
37819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37820
37821 * math/auto-libm-test-in: Add more tests of cosh and sinh.
37822 * math/auto-libm-test-out: Regenerated.
37823 * sysdeps/i386/fpu/libm-test-ulps: Update.
37824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37825
37826 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
37827
37828 2015-04-29 Roland McGrath <roland@hack.frob.com>
37829
37830 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
37831 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
37832
37833 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
37834 (euidaccess, eaccess): Define as weak aliases.
37835
37836 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
37837 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
37838 but __suseconds_t is often 'long int' so some sources assume that
37839 type is being used (e.g. they use %ld to print tv_usec).
37840
37841 2015-04-29 Florian Weimer <fweimer@redhat.com>
37842
37843 [BZ #18007]
37844 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
37845 (CVE-2014-8121)
37846 * nss/tst-nss-getpwent.c: New file.
37847 * nss/Makefile (tests): Add new test.
37848
37849 2015-04-28 Joseph Myers <joseph@codesourcery.com>
37850
37851 [BZ #18346]
37852 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
37853 exponents less than 48 as cases where high part of mantissa needs
37854 examining to determine whether argument is integral.
37855 * math/libm-test.inc (round_test_data): Add more tests.
37856
37857 2015-04-28 Mark Wielaard <mjw@redhat.com>
37858
37859 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
37860
37861 2015-04-27 David S. Miller <davem@davemloft.net>
37862
37863 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
37864 __tls_get_addr.
37865 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
37866
37867 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
37868
37869 [BZ #18333]
37870 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
37871
37872 2015-04-27 Florian Weimer <fweimer@redhat.com>
37873
37874 [BZ #18333]
37875 * time/tzset.c (parse_tzname): Return error on memory allocation
37876 failure.
37877 * test-skeleton.c (struct temp_name_list): Change type of name
37878 member to non-const.
37879 (add_temp_file): Create a copy of the file name.
37880 (delete_temp_files): Deallocate memory.
37881 (create_temp_file): Add comment.
37882
37883 2015-04-24 Florian Weimer <fweimer@redhat.com>
37884
37885 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
37886 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
37887
37888 2015-04-24 Roland McGrath <roland@hack.frob.com>
37889
37890 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
37891 * sysdeps/arm/configure: Regenerated.
37892
37893 2015-04-24 Florian Weimer <fweimer@redhat.com>
37894
37895 [BZ #17715]
37896 * time/tzfile.c (__tzfile_read): Check for large values of
37897 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
37898 * time/tzset.c (__tzstring_len): New function, based on the old
37899 __tzstring function.
37900 (__tzstring): Call __tzstring_len.
37901 (parse_tzname): New helper function extracted from
37902 __tzset_parse_tz. Call __tzstring_len, without making a copy of
37903 the input string.
37904 (parse_offset): New helper function extracted from
37905 __tzset_parse_tz. Replace switch with fallthrough with
37906 initialization before sscanf.
37907 (parse_rule): Likewise.
37908 (__tzset_parse_tz): Rewrite using the new helper functions. Use
37909 new-style function definition.
37910 * timezone/Makefile (tests): Add tst-tzset.
37911 (tst-tzset.out): Dependencies on time zone files.
37912 (tst-tzset-ENV): Set TZDIR.
37913 (testdata/XT%): Copy crafted time zone files.
37914 * timezone/README: Mention crafted time zone files.
37915 * timezone/testdata/XT1, timezone/testdata/XT2,
37916 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
37917 files.
37918 * timezone/tst-tzset.c: New test.
37919
37920 2015-04-24 Florian Weimer <fweimer@redhat.com>
37921
37922 * Makeconfig (+gccwarn): Remove -Winline.
37923
37924 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
37925
37926 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
37927
37928 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
37929
37930 * NEWS: Mention sysconf() cache information support for s390.
37931 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
37932
37933 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
37934
37935 * math/k_casinh.c (__kernel_casinh): Use __copysign.
37936 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
37937 (__nearbyint): Likewise.
37938 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
37939 (copysignl): Likewise.
37940
37941 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
37942
37943 [BZ #18287]
37944 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
37945 based on padding. (CVE-2015-1781)
37946
37947 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37948
37949 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
37950 libc-vdso.h.
37951 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
37952 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
37953 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
37954 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
37955 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
37956 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
37957 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
37958 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37959 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
37960 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
37961 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
37962 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37963 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
37964 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
37965 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
37966 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
37967 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
37968 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
37969 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
37970 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
37971 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
37972 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
37973 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
37974
37975 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
37976
37977 * stdlib/setenv.c (__add_to_environ):
37978 Dump core quickly if setenv (..., NULL, ...) is called.
37979 This time, do it the right way, and pacify GCC with a pragma.
37980
37981 2015-04-17 Roland McGrath <roland@hack.frob.com>
37982
37983 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
37984 IMAP->l_prev cannot be null, and #if out the code for the contrary
37985 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
37986 believe that NS (&_dl_ns[NSID]) could point outside the array.
37987
37988 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
37989 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
37990 before using NSID as an index.
37991
37992 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
37993
37994 [BZ #17825]
37995 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
37996 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
37997 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
37998
37999 2015-04-17 Roland McGrath <roland@hack.frob.com>
38000
38001 Add preliminary port to Google Native Client on ARM.
38002 * abi-tags (.*-.*-nacl.*): New entry.
38003 * sysdeps/arm/nacl: New directory.
38004 * sysdeps/nacl: New directory.
38005
38006 2015-04-16 David S. Miller <davem@davemloft.net>
38007
38008 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
38009 lowlevellock-futex.h
38010
38011 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
38012
38013 * sysdeps/tile/configure.ac: New file.
38014 * sysdeps/tile/configure: Regenerated.
38015
38016 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
38017
38018 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
38019 conditionals for weak_alias and libc_hidden_weak.
38020 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
38021 libc_hidden_weak and weak_alias.
38022 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
38023 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
38024 and weak_alias for static one.
38025
38026 2015-04-15 David S. Miller <davem@davemloft.net>
38027
38028 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
38029
38030 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
38031
38032 [BZ #18206]
38033 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
38034 Use signed comparision instead of substraction to avoid
38035 overflow bug.
38036 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
38037 Take the sign of ret.
38038 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
38039 Do not expect precise return values. Only the sign matters.
38040 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
38041 * wcsmbs/test-wcsncmp.c: New File.
38042 * string/test-strncmp.c: Add wcsncmp support.
38043
38044 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
38045
38046 [BZ #6792]
38047 * math/w_log1p.c: New file.
38048 * math/w_log1pf.c: Likewise.
38049 * math/w_log1pl.c: Likewise.
38050 * math/Makefile (libm-calls): Add w_log1p.
38051 * math/s_log1pl.c (log1pl): Remove weak_alias.
38052 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
38053 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
38054 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
38055 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
38056 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
38057 [NO_LONG_DOUBLE] (log1pl): Likewise.
38058 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
38059 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
38060 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
38061 (log1p): Remove long_double_symbol.
38062 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
38063 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
38064 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
38065 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
38066 remove weak_alias for corresponding log1p function.
38067 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
38068 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
38069 * sysdeps/ia64/fpu/w_log1p.c: New file.
38070 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
38071 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
38072 * math/libm-test.inc (log1p_test_data): Add errno expectations.
38073
38074 2015-04-10 Joseph Myers <joseph@codesourcery.com>
38075
38076 [BZ #18247]
38077 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
38078 decimal exponent by 1.
38079 * stdlib/tst-strtod-round-data: Add more tests.
38080 * stdlib/tst-strtod-round.c (tests): Regenerated.
38081
38082 2015-04-09 Joseph Myers <joseph@codesourcery.com>
38083
38084 * math/auto-libm-test-in: Add more tests of clog and clog10.
38085 * math/auto-libm-test-out: Regenerated.
38086 * sysdeps/i386/fpu/libm-test-ulps: Update.
38087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38088
38089 2015-04-09 Roland McGrath <roland@hack.frob.com>
38090
38091 * Makeconfig (module-cppflags): Exclude all .v.i files.
38092 (skip-module-cppflags): Variable removed.
38093
38094 * configure.ac (libc_config_ok): Initialize before reading
38095 preconfigure scripts, not after.
38096 * configure: Regenerated.
38097
38098 * test-skeleton.c (TIMEOUT): Move #define to top level.
38099 (main): Grok environment variable TEST_DIRECT. If set, print
38100 test expectation details into that file and then behave as if
38101 given --direct.
38102
38103 2015-04-09 Florian Weimer <fweimer@redhat.com>
38104
38105 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
38106 warning on 32-bit.
38107
38108 2015-04-08 David S. Miller <davem@davemloft.net>
38109
38110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38111
38112 2015-04-08 Joseph Myers <joseph@codesourcery.com>
38113
38114 * math/auto-libm-test-in: Add more tests of atanh.
38115 * math/auto-libm-test-out: Regenerated.
38116 * sysdeps/i386/fpu/libm-test-ulps: Update.
38117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38118
38119 * math/auto-libm-test-in: Add more tests of atan.
38120 * math/auto-libm-test-out: Regenerated.
38121 * sysdeps/i386/fpu/libm-test-ulps: Update.
38122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38123
38124 2015-04-08 Florian Weimer <fweimer@redhat.com>
38125
38126 * elf/pldd.c (main): Rewrite to use struct
38127 scratch_buffer instead of extend_alloca.
38128 * elf/pldd-xx.c (find_maps): Likewise.
38129 * grp/initgroups.c: Include <scratch_buffer.h> instead of
38130 <alloca.h>.
38131 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
38132 scratch_buffer instead of extend_alloca.
38133 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
38134 grp/compat-initgroups.c.
38135 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
38136 Rewrite to use struct scratch_buffer instead of extend_alloca.
38137 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
38138 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38139
38140 2015-04-08 Joseph Myers <joseph@codesourcery.com>
38141
38142 * math/auto-libm-test-in: Add more tests of cbrt.
38143 * math/auto-libm-test-out: Regenerated.
38144 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38145
38146 * math/auto-libm-test-in: Add more tests of cabs.
38147 * math/auto-libm-test-out: Regenerated.
38148 * sysdeps/i386/fpu/libm-test-ulps: Update.
38149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38150
38151 [BZ #18210]
38152 [BZ #18211]
38153 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
38154 (__ieee754_atan2): Set FE_TONEAREST mode for internal
38155 computations.
38156 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
38157 clog10.
38158 * math/auto-libm-test-out: Regenerated.
38159 * sysdeps/i386/fpu/libm-test-ulps: Update.
38160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38161
38162 [BZ #18197]
38163 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
38164 (atan): Set FE_TONEAREST mode for internal computations.
38165 * math/auto-libm-test-in: Add more tests of atan.
38166 * math/auto-libm-test-out: Regenerated.
38167
38168 2015-04-07 James Cowgill <james410@cowgill.org.uk>
38169
38170 [BZ #17930]
38171 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
38172
38173 2015-04-07 Florian Weimer <fweimer@redhat.com>
38174
38175 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
38176
38177 2015-04-07 Florian Weimer <fweimer@redhat.com>
38178
38179 * include/scratch_buffer.h: New file.
38180 * malloc/scratch_buffer_grow.c: Likewise.
38181 * malloc/scratch_buffer_grow_preserve.c: Likewise.
38182 * malloc/scratch_buffer_set_array_size.c: Likewise.
38183 * malloc/tst-scratch_buffer.c: Likewise.
38184 * malloc/Makefile (routines): Add scratch_buffer_grow.
38185 (tests): Add test case.
38186 * malloc/Versions (GLIBC_PRIVATE): Export
38187 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
38188 __libc_scratch_buffer_set_array_size.
38189
38190 2015-04-06 Richard Henderson <rth@redhat.com>
38191
38192 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
38193 * sysdeps/alpha/fpu/libm-test-ulps: Update.
38194
38195 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
38196 unsigned int before printing.
38197
38198 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38199
38200 [BZ #17596]
38201 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
38202 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38203
38204 2015-04-02 Florian Weimer <fweimer@redhat.com>
38205
38206 * include/libc-internal.h (libc_max_align_t): Define.
38207
38208 2015-04-02 Andreas Schwab <schwab@suse.de>
38209
38210 [BZ #16850]
38211 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
38212
38213 2015-04-02 Mel Gorman <mgorman@suse.de>
38214
38215 [BZ #17195]
38216 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
38217 as well as the main arena.
38218
38219 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38220
38221 [BZ #18185]
38222 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
38223 sharing L2 cache to 2 for Silvermont/Knights Landing.
38224
38225 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38226
38227 [BZ #17711]
38228 * config.make.in (have-protected-data): New.
38229 * configure.ac: Check linker support for protected data symbol.
38230 * configure: Regenerated.
38231 * elf/Makefile (modules-names): Add tst-protected1moda and
38232 tst-protected1modb if $(have-protected-data) is yes.
38233 (tests): Add tst-protected1a and tst-protected1b if
38234 $(have-protected-data) is yes.
38235 ($(objpfx)tst-protected1a): New.
38236 ($(objpfx)tst-protected1b): Likewise.
38237 (tst-protected1modb.so-no-z-defs): Likewise.
38238 * elf/tst-protected1a.c: New file.
38239 * elf/tst-protected1b.c: Likewise.
38240 * elf/tst-protected1mod.h: Likewise.
38241 * elf/tst-protected1moda.c: Likewise.
38242 * elf/tst-protected1modb.c: Likewise.
38243
38244 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38245
38246 [BZ #17711]
38247 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
38248 indicates it is called from do_lookup_x on relocation against
38249 protected data, skip the data definion in the executable from
38250 copy reloc.
38251 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
38252 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
38253 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
38254 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
38255 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
38256 otherwise to 0.
38257 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38258 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
38259 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
38260 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38261 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
38262 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
38263
38264 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
38265
38266 * sysdeps/nptl/pthread.h: Remove duplicate definition of
38267 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
38268
38269 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
38270
38271 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
38272 THREAD_SETMEM_NC.
38273 * sysdeps/x86_64/nptl/tls.h: Ditto.
38274
38275 2015-03-27 Roland McGrath <roland@hack.frob.com>
38276
38277 * dlfcn/tststatic.c (main): Converted to ...
38278 (do_test): ... this.
38279 (TEST_FUNCTION): New macro.
38280 Include test-skeleton.c.
38281
38282 2015-03-26 Alan Modra <amodra@gmail.com>
38283
38284 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
38285 Don't segfault if ifunc resolver returns a NULL. Do set plt to
38286 zero for undefined weak.
38287 (elf_machine_plt_conflict): Similarly.
38288
38289 2015-03-25 Joseph Myers <joseph@codesourcery.com>
38290
38291 * math/auto-libm-test-in: Add more tests of acosh, asinh and
38292 atanh.
38293 * math/auto-libm-test-out: Regenerated.
38294 * sysdeps/i386/fpu/libm-test-ulps: Update.
38295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38296
38297 * math/auto-libm-test-in: Add another test of asin.
38298 * math/auto-libm-test-out: Regenerated.
38299 * sysdeps/i386/fpu/libm-test-ulps: Update.
38300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38301
38302 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
38303 Remove macro.
38304 (LLL_EBX_REG): Likewise.
38305 (LLL_ENTER_KERNEL): Likewise.
38306
38307 * math/auto-libm-test-in: Add more tests of asin.
38308 * math/auto-libm-test-out: Regenerated.
38309 * sysdeps/i386/fpu/libm-test-ulps: Update.
38310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38311
38312 [BZ #18138]
38313 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
38314 libc_do_syscall_args): New structure.
38315 (INTERNAL_SYSCALL_MAIN_0): New macro.
38316 (INTERNAL_SYSCALL_MAIN_1): Likewise.
38317 (INTERNAL_SYSCALL_MAIN_2): Likewise.
38318 (INTERNAL_SYSCALL_MAIN_3): Likewise.
38319 (INTERNAL_SYSCALL_MAIN_4): Likewise.
38320 (INTERNAL_SYSCALL_MAIN_5): Likewise.
38321 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
38322 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
38323 Replace conditional definitions by conditional definitions of ....
38324 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
38325 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
38326 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
38327 (libpthread-sysdep_routines): Add libc-do-syscall.
38328 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
38329 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
38330 to __NR_futex not 240.
38331
38332 2015-03-25 Alan Modra <amodra@gmail.com>
38333
38334 * NEWS: Advertise TLS optimization.
38335 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
38336 (DT_PPC_NUM): Increment.
38337 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
38338 (CHECK_STATIC_TLS): Use here.
38339 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
38340 TLS descriptors.
38341 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38342 * sysdeps/powerpc/dl-tls.c: New file.
38343 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
38344 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
38345 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
38346 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
38347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
38348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
38349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
38350
38351 2015-03-25 Alan Modra <amodra@gmail.com>
38352
38353 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
38354 for overlapping .opd entries" to "support...".
38355 * sysdeps/powerpc/powerpc64/configure: Regenerate
38356
38357 2015-03-25 Joseph Myers <joseph@codesourcery.com>
38358
38359 * math/auto-libm-test-in: Add more tests of acos.
38360 * math/auto-libm-test-out: Regenerated.
38361 * sysdeps/i386/fpu/libm-test-ulps: Update.
38362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38363
38364 * math/auto-libm-test-in: Add more tests of expm1.
38365 * math/auto-libm-test-out: Regenerated.
38366 * sysdeps/i386/fpu/libm-test-ulps: Update.
38367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38368
38369 2015-03-24 Joseph Myers <joseph@codesourcery.com>
38370
38371 * math/auto-libm-test-in: Add more tests of cosh and sinh.
38372 * math/auto-libm-test-out: Regenerated.
38373 * sysdeps/i386/fpu/libm-test-ulps: Update.
38374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38375
38376 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38378
38379 * math/auto-libm-test-in: Add more tests of log2.
38380 * math/auto-libm-test-out: Regenerated.
38381 * sysdeps/i386/fpu/libm-test-ulps: Update.
38382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38383
38384 2015-03-23 Roland McGrath <roland@hack.frob.com>
38385
38386 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
38387 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
38388 _IO_IS_APPENDING bit in READ_WRITE instead.
38389
38390 2015-03-23 Florian Weimer <fweimer@redhat.com>
38391
38392 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
38393 (__determine_cpumask_size): Replace extend_alloca with a
38394 variable-length array. Do not treat res == 0 as an error.
38395
38396 2015-03-23 Florian Weimer <fweimer@redhat.com>
38397
38398 [BZ #18100]
38399 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
38400 and integer overflow.
38401 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
38402 (main): Add integer overflow tests.
38403 * manual/pattern.texi (Calling Wordexp): Document additional use
38404 for WRDE_SYNTAX.
38405
38406 2015-03-23 Alan Modra <amodra@gmail.com>
38407
38408 * config.h.in: Remove HAVE_ASM_PPC_REL16.
38409 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
38410 and false branch of conditional.
38411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38412 Likewise.
38413
38414 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
38415
38416 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
38417 libc-modules.h
38418 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
38419 unused declaration of _hurd_intr_rpc_msg_in_trap.
38420 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
38421 defined instead of whether it is non-zero.
38422 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
38423 input constraint instead of both input and output constraint. Use ecx
38424 clobber instead of %ecx.
38425 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
38426 mutex_unlock): Use a statement expression instead of an expression list.
38427 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
38428 type to vm_size_t instead of vm_address_t.
38429 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
38430 defined instead of whether it is non-zero.
38431 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
38432 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
38433 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
38434 comparisons with mapaddr.
38435 * nscd/nscd-client.h: Include <time.h>.
38436 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
38437 9th parameter to __vm_region instead of int.
38438 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
38439 * scripts/check-local-headers.sh (exclude): Add device/,
38440 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
38441 cthreads.h.
38442
38443 2015-03-19 Roland McGrath <roland@hack.frob.com>
38444
38445 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
38446 to account for alignment padding.
38447 * sysdeps/arm/memmove.S: Likewise.
38448
38449 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
38450
38451 * sysdeps/unix/sysv/linux/generic/README: New file.
38452
38453 2015-03-18 Joseph Myers <joseph@codesourcery.com>
38454
38455 [BZ #18138]
38456 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
38457 (futex_abstimed_wait)
38458 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
38459 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
38460 of lll_futex_timed_wait.
38461
38462 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
38463
38464 [BZ #17542]
38465 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
38466
38467 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
38468
38469 [BZ #17090]
38470 [BZ #17620]
38471 [BZ #17621]
38472 [BZ #17628]
38473 * NEWS: Update.
38474 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
38475 entries with Static TLS too. Skip entries past the end of the
38476 allocated DTV, from Alan Modra.
38477 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
38478 Static TLS DTV entry set up from...
38479 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
38480 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
38481 * nptl/allocatestack.c (init_one_static_tls): ... and here...
38482 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
38483 for Static TLS.
38484 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
38485 that the slot we find is associated with the given map before
38486 using its generation count.
38487 * nptl_db/db_info.c: Include ldsodefs.h.
38488 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
38489 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
38490 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
38491 (link_map::l_tls_offset): New struct field.
38492 (dtv_t::counter): Likewise.
38493 (rtld_global): New struct.
38494 (_rtld_global): New rtld variable.
38495 (dl_tls_dtv_slotinfo_list): New rtld global field.
38496 (dtv_slotinfo_list): New struct.
38497 (dtv_slotinfo): Likewise.
38498 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
38499 (td_lookup): Rename to...
38500 (td_mod_lookup): ... this. Use new mod parameter instead of
38501 LIBPTHREAD_SO.
38502 * nptl_db/td_thr_tlsbase.c: Include link.h.
38503 (dtv_slotinfo_list, dtv_slotinfo): New functions.
38504 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
38505 addresses even if the DTV is out of date or missing them.
38506 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
38507 index zero-length arrays.
38508 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
38509 (td_lookup): Make it a macro implemented in terms of...
38510 (td_mod_lookup): ... this declaration.
38511 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
38512 (DB_MAIN_VARIABLE): Likewise.
38513
38514 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
38515
38516 [BZ #18134]
38517 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
38518
38519 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
38520
38521 * stdlib/setenv.c (__add_to_environ): Revert previous change.
38522
38523 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
38524
38525 [BZ #18128]
38526 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
38527 (atomic_add, atomic_increment_and_test)
38528 (atomic_decrement_and_test): Fix 64-bit arithmetic.
38529
38530 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
38531
38532 * stdlib/setenv.c (__add_to_environ):
38533 Dump core quickly if setenv (..., NULL, ...) is called.
38534
38535 2015-03-13 Roland McGrath <roland@hack.frob.com>
38536
38537 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
38538 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
38539 all the necessary asm magic in one place.
38540 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
38541 using those.
38542
38543 2015-03-13 Carlos O'Donell <carlos@redhat.com>
38544
38545 [BZ #14906]
38546 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
38547 traced file mtime. Use consistent log message.
38548 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
38549 (register_traced_file): Call install_watches. Always set mtime.
38550 (invalidate_cache): Iterate over all trace files. Call install_watches.
38551 (inotify_check_files): Don't inline. Handle watching parent
38552 directories and configuration file movement in and out.
38553 (handle_inotify_events): New function.
38554 (main_loop_poll): Call handle_inotify_events.
38555 (main_loop_epoll): Likewise.
38556 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
38557 (struct traced_file): Use array of inotify fds. Add parent directory,
38558 and basename.
38559 (struct database_dyn): Remove unused file_mtime.
38560 (init_traced_file): New inline function.
38561 (define_traced_file): New macro.
38562 * nss/nss_db/db-init.c: Use define_traced_file.
38563 (_nss_db_init): Use init_traced_file.
38564 * nss/nss_files/files-init.c: Use define_traced_file.
38565 (_nss_files_init): Use init_traced_file.
38566
38567 2015-03-12 Joseph Myers <joseph@codesourcery.com>
38568
38569 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
38570 [_LIBC]: Do not include <stdlib.h>.
38571 [!_LIBC] (abort): Remove declaration.
38572 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
38573 _FP_STATIC_ASSERT instead of conditionally calling abort.
38574 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
38575 (_FP_EXTEND_CNAN): Likewise.
38576 (FP_TRUNC): Likewise.
38577 (__FP_CLZ): Likewise.
38578 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
38579
38580 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
38581
38582 * manual/string.texi (XPG basename): Fix prototype.
38583
38584 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
38585
38586 [BZ #18080]
38587 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
38588 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38589 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
38590 (__setcontext): Likewise.
38591 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
38592 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38593 Call rt_sigprocmask syscall one time to set new signal mask
38594 and retrieve the current signal mask instead of two calls.
38595 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
38596 (__swapcontext): Likewise.
38597 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
38598 * stdlib/tst-setcontext2.c: New file.
38599
38600 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
38601
38602 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38603
38604 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
38605
38606 [BZ #18093]
38607 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
38608 the wrong size.
38609
38610 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
38611
38612 [BZ #18043]
38613 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
38614
38615 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
38616
38617 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
38618 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
38619 Remove define.
38620 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
38621 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
38622 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
38623 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
38624 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
38625 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
38626 define.
38627 * nptl_db/td_symbol_list.c (td_lookup): Remove
38628 HAVE_ASM_GLOBAL_DOT_NAME code.
38629 * sysdeps/powerpc/powerpc64/configure.ac: Remove
38630 HAVE_ASM_GLOBAL_DOT_NAME check.
38631 * sysdeps/powerpc/powerpc64/configure: Regenerate.
38632 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
38633 (DOT_LABEL): Remove define.
38634 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
38635 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
38636 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
38637 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
38638 (__TLS_GET_ADDR): Likewise.
38639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
38640 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
38641
38642 2015-03-11 Carlos O'Donell <carlos@redhat.com>
38643
38644 [BZ #18111]
38645 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
38646 (_FPU_SETCW): Initialize cw from fpsr before storing.
38647 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
38648 (fesetexceptflag): Rewrite using fpu_control.h.
38649 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
38650
38651 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
38652
38653 [BZ #18110]
38654 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
38655 asms.
38656 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
38657
38658 2015-03-11 Joseph Myers <joseph@codesourcery.com>
38659
38660 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
38661 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
38662 abort.
38663 (_FP_FMA): Likewise.
38664 (_FP_DIV): Likewise.
38665
38666 2015-03-10 Roland McGrath <roland@hack.frob.com>
38667
38668 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
38669 with 0 in that case.
38670 * Makefile (summarize-tests): New canned sequence, factored out of
38671 commands for targets tests and xtests. Display summary lines that
38672 don't start with PASS: or XFAIL: rather than ones that do start with
38673 ERROR: or FAIL:. Make the commands fail if any summary lines fail
38674 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
38675 do start with ERROR: or FAIL:.
38676 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
38677 (except for [$(build-shared) = yes]).
38678 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
38679 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
38680 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
38681 * nptl/Makefile: Revert 2015-03-04 changes.
38682 [$(CXX) empty] (tests-unsupported): New variable.
38683 * debug/Makefile: Likewise.
38684
38685 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
38686 gnulib file. Replace __attribute with __attribute__ throughout.
38687
38688 2015-03-10 Carlos O'Donell <carlos@redhat.com>
38689
38690 * sysdeps/hppa/fpu/libm-test-ulps: Update.
38691
38692 2015-03-10 Joseph Myers <joseph@codesourcery.com>
38693
38694 [BZ #18104]
38695 * math/auto-libm-test-in: Add another test of pow.
38696 * math/auto-libm-test-out: Regenerated.
38697
38698 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38699
38700 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
38701 $(config-cflags-nofma).
38702
38703 2015-03-10 Joseph Myers <joseph@codesourcery.com>
38704
38705 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
38706 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
38707 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
38708 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
38709 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
38710 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
38711 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
38712 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
38713 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
38714 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
38715 Add comment on closing #endif.
38716
38717 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38718
38719 * posix/wordexp.c (CHAR_IN_SET): New macro.
38720 (parse_param): Use it.
38721
38722 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38723
38724 * sysdeps/powerpc/fpu/libm-test-ulps: update.
38725
38726 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38727
38728 [BZ #18043]
38729 * posix/wordexp.c (parse_param): Fix buffer overflow.
38730 * posix/wordexp-test.c (test_case): Add test case.
38731
38732 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38733
38734 [BZ #18042]
38735 * posix/wordexp.c (parse_backtick): Fix off-by-one.
38736 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
38737
38738 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38739
38740 [BZ #18043]
38741 * posix/wordexp-test.c (test_case): Add test for BZ #18043
38742 (do_bz18043): Delete.
38743 (at_page_end): New.
38744 (testit): Refactor to have words at the edge of unreadable page.
38745
38746 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
38747
38748 [BZ #16734]
38749 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
38750 Cleanup read-only streams as well.
38751 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
38752
38753 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
38754
38755 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
38756 <bits/libc-lockP.h>
38757
38758 2015-03-07 Joseph Myers <joseph@codesourcery.com>
38759
38760 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
38761 on [__KERNEL__].
38762 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
38763 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
38764 * soft-fp/op-common.h (_FP_DECL): Likewise.
38765
38766 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
38767
38768 * elf/ifuncdep2.c (global): Replace
38769 __attribute__((visibility("protected"))) with
38770 asm (".protected global").
38771 * elf/ifuncmod1.c (global): Likewise.
38772 * elf/ifuncmod5.c (global): Likewise.
38773
38774 2015-03-06 Joseph Myers <joseph@codesourcery.com>
38775
38776 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
38777 <asm/sfp-machine.h> instead of <sfp-machine.h>.
38778
38779 2015-03-06 Roland McGrath <roland@hack.frob.com>
38780
38781 * manual/install.texi (Configuring and compiling):
38782 Document test-wrapper-env-only.
38783 * INSTALL: Regenerated.
38784
38785 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38786
38787 [BZ #18043]
38788 * posix/wordexp.c (parse_param): Fix buffer overflow.
38789 * posix/wordexp-test.c (do_bz18043): Add test case.
38790
38791 2015-03-06 Vincent Bernat <vincent@bernat.im>
38792
38793 * time/tst-strptime2.c (do_test): Ensure failing tests are
38794 reported correctly.
38795 * time/tst-strptime3.c (do_test): Likewise.
38796
38797 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
38798
38799 Fix aio_error thread-safety.
38800 * sysdeps/pthread/aio_error.c: New file
38801 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
38802 synchronization.
38803
38804 2015-03-06 Florian Weimer <fweimer@redhat.com>
38805
38806 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
38807 (group_number, vfprintf): Use it.
38808 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
38809 (JUMP, REF): Use it.
38810 (WORK_BUFFER_SIZE): New enum constant.
38811 (process_arg, vfprintf): Use it.
38812
38813 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
38814
38815 * manual/errno.texi (Error Messages): Complete example function
38816 by adding missing #define.
38817 (program_invocation_name): Add statement indicating GNU
38818 extension and reference which header file declares the variable.
38819 (program_invocation_short_name): Likewise.
38820
38821 2015-03-06 Mike Frysinger <vapier@gentoo.org>
38822
38823 * manual/errno.texi (Error Messages): Delete strerror ISO C89
38824 compatibility note.
38825
38826 2015-03-05 Roland McGrath <roland@hack.frob.com>
38827
38828 * Makeconfig (test-wrapper-env-only): New variable.
38829 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
38830 then use that with $(test-wrapper-env-only) rather than using
38831 $(test-wrapper-env) $(run-program-env) $($*-ENV).
38832
38833 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
38834
38835 [BZ #18082]
38836 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
38837 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
38838 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
38839 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
38840 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
38841 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
38842 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
38843 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
38844 Likewise.
38845 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
38846 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
38847 Likewise.
38848 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
38849 Likewise.
38850 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
38851 Likewise.
38852 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
38853 Likewise.
38854 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
38855 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
38856 Likewise.
38857 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
38858 Likewise.
38859 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
38860 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
38861
38862 2015-03-04 Roland McGrath <roland@hack.frob.com>
38863
38864 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
38865 (ETH_ALEN): New macro.
38866 (struct ether_addr): Use it for length of ether_addr_octet.
38867
38868 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
38869 (setdb): Don't call __nss_configure_lookup for "rpc".
38870 (do_test): Don't call test_rpc.
38871 (output_rpcent, test_rpc): Functions moved ...
38872 * sunrpc/test-rpcent.c: ... to this new file.
38873 * sunrpc/Makefile (tests): Add it.
38874
38875 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
38876 __xpg_sigpause.
38877 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
38878 * nptl/tst-signal6.c: Likewise.
38879 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
38880 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
38881
38882 * configure.ac (libc_cv_cxx_link_ok): New check.
38883 Reset CXX to empty if it fails to link.
38884 * configure: Regenerated.
38885 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
38886 bug-atexit3-lib only if $(CXX) is nonempty.
38887 * nptl/Makefile (tests): Likewise for tst-cancel24.
38888 (tests, tests-static): Likewise for tst-cancel24-static.
38889 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
38890 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
38891 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
38892 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
38893
38894 2015-03-04 Andreas Schwab <schwab@suse.de>
38895
38896 [BZ #17631]
38897 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
38898 for non-GCC compilers.
38899 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
38900 Likewise.
38901
38902 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
38903
38904 [BZ #17776]
38905 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
38906 integer before bitwise and assembly operations.
38907 (feclearexcept): Likewise.
38908 * math/test-fenvinline.c: New file.
38909 * math/Makefile: Add test-fenvinline test.
38910
38911 2015-03-03 Alan Modra <amodra@gmail.com>
38912
38913 [BZ #16512]
38914 * scripts/localplt.awk: Strip off symbol version.
38915 * NEWS: Mention bug fix.
38916
38917 2015-03-02 Roland McGrath <roland@hack.frob.com>
38918
38919 * sysdeps/pthread/timer_routines.c
38920 (timer_free_list, thread_free_list, thread_active_list): Make static.
38921
38922 2015-03-02 Joseph Myers <joseph@codesourcery.com>
38923
38924 [BZ #17779]
38925 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
38926 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
38927 Undefine.
38928 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38929 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
38930 Likewise.
38931 * sysdeps/unix/sysv/linux/sh/kernel-features.h
38932 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
38933 Likewise.
38934
38935 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
38936
38937 [BZ #18036]
38938 * posix/fnmatch_loop.c (END): Detect invalid pattern.
38939 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
38940
38941 2015-03-02 Andreas Schwab <schwab@suse.de>
38942
38943 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
38944 variable name.
38945
38946 2015-03-02 Florian Weimer <fweimer@redhat.com>
38947
38948 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
38949 Return error status.
38950
38951 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
38952
38953 [BZ #15969]
38954 * locale/findlocale.c (_nl_find_locale): Introduce const
38955 version of loc_name and drop unsafe type casts.
38956
38957 2015-02-27 Roland McGrath <roland@hack.frob.com>
38958
38959 * dlfcn/tststatic2.c (main): Converted to ...
38960 (do_test): ... this.
38961 (TEST_FUNCTION): New macro.
38962 Include test-skeleton.c.
38963
38964 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
38965
38966 [BZ #17711]
38967 * elf/Makefile (tests): Add vismain only if PIE is enabled.
38968 (tests-pie): Add vismain.
38969 (CFLAGS-vismain.c): New.
38970 * elf/vismain.c: Add comments for PIE requirement.
38971
38972 2015-02-27 Joseph Myers <joseph@codesourcery.com>
38973
38974 [BZ #18046]
38975 [BZ #18047]
38976 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
38977 0x1p-56L as threshold for just returning the argument.
38978 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
38979 0x1p-32L as threshold for just returning the argument.
38980 * math/auto-libm-test-in: Add more tests of atanh.
38981 * math/auto-libm-test-out: Regenerated.
38982 * sysdeps/i386/fpu/libm-test-ulps: Update.
38983 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
38984
38985 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
38986
38987 * string/bcopy.c (bcopy): Call memmove for performance.
38988
38989 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
38990
38991 * string/bzero.c (__bzero): Call memset for performance.
38992
38993 2015-02-27 John David Anglin <dave.anglin@bell.net>
38994
38995 [BZ #18068]
38996 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
38997 to 00100000.
38998
38999 2015-02-27 Joseph Myers <joseph@codesourcery.com>
39000
39001 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
39002
39003 2015-02-26 Joseph Myers <joseph@codesourcery.com>
39004
39005 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
39006 (__kernel_standard): Use CSTR macro when setting exc.name.
39007 * sysdeps/ieee754/Makefile [$(subdir) = math]
39008 (CFLAGS-k_standard.c): Remove variable.
39009
39010 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
39011 setting p and q from "else if" to "else".
39012 (qzero): Likewise.
39013 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
39014 (qone): Likewise.
39015 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
39016 (qzerof): Likewise.
39017 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
39018 (qonef): Likewise.
39019 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
39020 (qzero): Likewise.
39021 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
39022 (qone): Likewise.
39023
39024 [BZ #18038]
39025 [BZ #18039]
39026 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
39027 return pi/2 for arguments below 0x1p-113L.
39028 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
39029 return pi/2 for arguments below 0x1p-106L.
39030 * math/auto-libm-test-in: Add more tests of acos.
39031 * math/auto-libm-test-out: Regenerated.
39032
39033 [BZ #16351]
39034 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
39035 (MO): New macro.
39036 (__ieee754_asin): Force underflow exception for results with small
39037 absolute value.
39038 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
39039 (MO): New macro.
39040 (__ieee754_asinf): Force underflow exception for results with
39041 small absolute value.
39042 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
39043 (__ieee754_asin): Force underflow exception for results with small
39044 absolute value.
39045 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
39046 (__ieee754_asinf): Force underflow exception for results with
39047 small absolute value.
39048 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
39049 (__ieee754_asinl): Force underflow exception for results with
39050 small absolute value.
39051 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
39052 (__ieee754_asinl): Force underflow exception for results with
39053 small absolute value.
39054 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
39055 (__ieee754_asinl): Force underflow exception for results with
39056 small absolute value.
39057 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
39058 Include <math.h>.
39059 * math/auto-libm-test-in: Do not mark underflow exceptions as
39060 possibly missing for bug 16351.
39061 * math/auto-libm-test-out: Regenerated.
39062
39063 [BZ #18030]
39064 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
39065 of power of 2 down when low part has opposite sign.
39066 * math/libm-test.inc (logb_test_data): Add more tests.
39067
39068 2015-02-26 Andreas Schwab <schwab@suse.de>
39069
39070 [BZ #18032]
39071 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
39072 over collating symbol inside a bracket expression. Minor cleanup.
39073 * posix/tst-fnmatch3.c (do_test): Add test case.
39074
39075 2015-02-26 Joseph Myers <joseph@codesourcery.com>
39076
39077 [BZ #18029]
39078 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
39079 Adjust exponent of power of 2 down when low part has opposite
39080 sign.
39081 * math/libm-test.inc (ilogb_test_data): Add more tests.
39082
39083 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
39084
39085 [BZ #15969]
39086 * locale/findlocale.c (_nl_find_locale): Fix constness error in
39087 the previous change.
39088
39089 [BZ #15969]
39090 * locale/findlocale.c (_nl_find_locale): Retry archive search
39091 after alias expansion.
39092
39093 2015-02-25 Roland McGrath <roland@hack.frob.com>
39094
39095 * iconv/tst-iconv3.c (main): Converted to ...
39096 (do_test): ... this.
39097 (TEST_FUNCTION): New macro.
39098 Include test-skeleton.c.
39099
39100 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
39101 (convert): Make function static.
39102 (test_unalign): Likewise. Add const to argument pointee types.
39103 (main): Replace with static function do_test.
39104 Print "Succeeded." only if RET is zero.
39105 (TEST_FUNCTION): New macro.
39106 Include test-skeleton.c.
39107
39108 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
39109 returns a null pointer.
39110
39111 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39112
39113 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
39114 to __memcpy_ppc only for static builds.
39115
39116 2015-02-25 Joseph Myers <joseph@codesourcery.com>
39117
39118 [BZ #18020]
39119 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
39120 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
39121 * math/auto-libm-test-in: Add more tests of asinh.
39122 * math/auto-libm-test-out: Regenerated.
39123 * sysdeps/i386/fpu/libm-test-ulps: Update.
39124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39125
39126 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
39127
39128 [BZ #15850]
39129 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
39130 and ip6_mtuinfo definitions here.
39131 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
39132 in this define too. Update comment.
39133
39134 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
39135
39136 * elf/sprof.c (load_shobj): Tweak error message to match others.
39137
39138 2015-02-24 Kevin Easton <kevin@guarana.org>
39139
39140 [BZ #16145] (partial fix)
39141 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
39142 to reduce lock contention.
39143
39144 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
39145
39146 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
39147 (struct timex): Update time comment.
39148 (ADJ_SETOFFSET): Define.
39149
39150 2015-02-24 Joseph Myers <joseph@codesourcery.com>
39151
39152 [BZ #18019]
39153 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39154 2**56 not 2**28 as threshold for log (2x) formula.
39155 * math/auto-libm-test-in: Add more tests of acosh.
39156 * math/auto-libm-test-out: Regenerated.
39157 * sysdeps/i386/fpu/libm-test-ulps: Update.
39158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39159
39160 2015-02-24 Mike Frysinger <vapier@gentoo.org>
39161
39162 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
39163 parenthesis around the buf assignment.
39164 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
39165
39166 2015-02-24 Joseph Myers <joseph@codesourcery.com>
39167
39168 [BZ #16783]
39169 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
39170 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
39171 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
39172 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39173 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39174 * math/libm-test.inc (scalb_test_data): Add more tests.
39175
39176 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
39177
39178 [BZ #17916]
39179 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
39180 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
39181
39182 2015-02-24 Eric Rannaud <e@nanocritical.com>
39183
39184 [BZ #17523]
39185 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
39186 * io/bits/fcntl2.h (open): Use it.
39187 (openat): Likewise.
39188 * io/open.c (__libc_open): Likewise.
39189 * io/open64.c (__libc_open64): Likewise.
39190 * io/open64_2.c (__open64_2): Likewise.
39191 * io/open_2.c (__open_2): Likewise.
39192 * io/openat.c (__openat): Likewise.
39193 * io/openat64.c (__openat64): Likewise.
39194 * io/openat64_2.c (__openat64_2): Likewise.
39195 * io/openat_2.c (__openat_2): Likewise.
39196 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
39197 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
39198 * sysdeps/posix/open64.c (__libc_open64): Likewise.
39199 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
39200 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
39201 (__open_nocancel): Likewise.
39202 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
39203 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
39204 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
39205
39206 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
39207
39208 [BZ #14841]
39209 * resolv/gethnamaddr.c (getanswer): Skip logging if
39210 RES_USE_DNSSEC is set.
39211 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
39212
39213 2015-02-24 Mike Frysinger <vapier@gentoo.org>
39214
39215 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
39216
39217 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
39218
39219 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
39220 201304L, for Unicode 7.
39221
39222 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
39223
39224 [BZ #17836]
39225 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
39226 shared library. Add gmon-start.os otherwise.
39227 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
39228 $(objpfx)gmon-start.os if builing shared library.
39229 ($(objpfx)g$(static-start-installed-name)): Likewise.
39230
39231 2015-02-23 Andreas Schwab <schwab@suse.de>
39232
39233 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
39234
39235 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
39236
39237 [BZ #17269]
39238 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
39239 (enlarge_userbuf): Likewise.
39240
39241 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
39242
39243 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
39244 * math/atest-exp.c (TIMEOUT): Adjust to 200.
39245 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
39246 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
39247
39248 2015-02-20 Joseph Myers <joseph@codesourcery.com>
39249
39250 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
39251 expression inside statement expression.
39252
39253 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
39254
39255 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
39256 <sysdeps/nptl/lowlevellock.h> and remove macros and
39257 functions that are now defined there.
39258 (SYS_futex): Remove.
39259 (lll_compare_and_swap): Remove.
39260 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
39261
39262 2015-02-19 Joseph Myers <joseph@codesourcery.com>
39263
39264 [BZ #17999]
39265 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
39266 instead of scandirat.
39267 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
39268 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
39269 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
39270 __scandirat.
39271 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
39272 (__scandirat): Declare. Use libc_hidden_proto.
39273 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
39274 Remove variable.
39275 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
39276
39277 2015-02-18 Joseph Myers <joseph@codesourcery.com>
39278
39279 [BZ #15319]
39280 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
39281 (MO): New macro.
39282 (__ieee754_atan2): For results with small absolute value, force
39283 underflow exception and remove excess range and precision from
39284 return value.
39285 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
39286 (MO): New macro.
39287 (__ieee754_atan2f): For results with small absolute value, force
39288 underflow exception and remove excess range and precision from
39289 return value.
39290 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
39291 (MO): New macro.
39292 (__atan): For results with small absolute value, force underflow
39293 exception and remove excess range and precision from return value.
39294 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
39295 (MO): New macro.
39296 (__atanf): For results with small absolute value, force underflow
39297 exception and remove excess range and precision from return value.
39298 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
39299 <math.h>.
39300 (__ieee754_atan2): Force underflow exception for results with
39301 small absolute value.
39302 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
39303 <math_private.h>.
39304 (atan): Force underflow exception for results with small absolute
39305 value.
39306 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
39307 (__atanf): Force underflow exception for results with small
39308 absolute value.
39309 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
39310 <math.h>.
39311 (__atanl): Force underflow exception for results with small
39312 absolute value.
39313 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
39314 (__atanl): Force underflow exception for results with small
39315 absolute value.
39316 * sysdeps/x86/fpu/bits/mathinline.h
39317 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
39318 (__ieee754_atan2): Only define inline for long double.
39319 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
39320 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
39321 * math/auto-libm-test-in: Do not mark underflow exceptions as
39322 possibly missing for bug 15319. Add more tests of atan2.
39323 * math/auto-libm-test-out: Regenerated.
39324 * math/libm-test.inc (casin_test_data): Do not mark underflow
39325 exceptions as possibly missing for bug 15319.
39326 (casinh_test_data): Likewise.
39327 * sysdeps/i386/fpu/libm-test-ulps: Update.
39328
39329 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
39330
39331 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
39332 * sysdeps/mips/bits/endian.h: Fix comments.
39333
39334 2015-02-18 Joseph Myers <joseph@codesourcery.com>
39335
39336 [BZ #17996]
39337 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
39338 (hdestroy_r): Likewise.
39339 (hsearch_r): Likewise.
39340 (__hcreate_r): Declare and use libc_hidden_proto.
39341 (__hdestroy_r): Likewise.
39342 (__hsearch_r): Likewise.
39343 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
39344 (hcreate): Call __hcreate_r instead of hcreate_r.
39345 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
39346 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
39347 as weak alias of __hcreate_r.
39348 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
39349 __hdestroy_r.
39350 (hsearch_r): Rename to __hsearch_r and define as weak alias of
39351 __hsearch_r.
39352 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
39353 Remove variable.
39354 (test-xfail-XPG4/search.h/linknamespace): Likewise.
39355 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
39356 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
39357 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
39358
39359 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39360
39361 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
39362 arena_lock into a single arena_get.
39363
39364 2015-02-17 Carlos O'Donell <carlos@redhat.com>
39365
39366 * dl-reloc.c: Inlucde libc-internal.h.
39367 (_dl_try_allocate_static_tls): Call ALIGN_UP.
39368 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
39369 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
39370 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
39371 (grow_heap): Likewise.
39372 * malloc/malloc.c: Include libc-internal.h.
39373 (do_check_malloc): Call powerof2.
39374 (sysmalloc): Use pagesize. Call ALIGN_UP.
39375 (systrim): Use pagesize.
39376 (mremap_chunk): Use pagesize. Call ALIGN_UP.
39377 (__libc_valloc): Use pagesize.
39378 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
39379
39380 2015-02-17 Joseph Myers <joseph@codesourcery.com>
39381
39382 [BZ #17991]
39383 * include/sys/resource.h (__getrlimit64): Declare. Use
39384 libc_hidden_proto.
39385 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
39386 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
39387 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
39388 getrlimit64.
39389 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
39390 __getrlimit64.
39391 [!getrlimit64] (getrlimit64): Define as weak alias of
39392 __getrlimit64. Use libc_hidden_weak.
39393 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
39394 using __getrlimit64 not __new_getrlimit64.
39395 (__GI_getrlimit64): Likewise.
39396 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
39397 Likewise.
39398 (__GI_getrlimit64): Likewise.
39399 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
39400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
39401 (getrlimit): Add __getrlimit64 alias.
39402 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
39403 Likewise.
39404 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
39405 Remove variable.
39406 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
39407 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
39408
39409 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
39410
39411 * libio/fileops.c: Add missing sys/mman.h
39412 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
39413
39414 2015-02-17 Joseph Myers <joseph@codesourcery.com>
39415
39416 * manual/math.texi (Errors in Math Functions): Clarify goals
39417 regarding inexact and underflow exceptions.
39418
39419 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
39420
39421 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
39422 * sysdeps/mips/memset.S: Ditto.
39423
39424 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
39425
39426 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
39427
39428 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
39429
39430 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
39431 (__v1longjmp): Remove versioned symbol.
39432 (__v1siglongjmp): Remove alias and versioned symbol.
39433 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
39434 (__v2siglongjmp): Likewise.
39435
39436 2015-02-16 Torvald Riegel <triegel@redhat.com>
39437
39438 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
39439
39440 2015-02-16 Mike Frysinger <vapier@gentoo.org>
39441
39442 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
39443
39444 2015-02-16 Joseph Myers <joseph@codesourcery.com>
39445
39446 [BZ #17987]
39447 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
39448 zero result does not depend on the sign resulting from
39449 subtraction.
39450 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39451 Likewise.
39452 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39453 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39454 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39455 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39456 * math/libm-test.inc (remquo_test_data): Add more tests.
39457
39458 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
39459
39460 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
39461 Problem reported by J William Piggott.
39462
39463 2015-02-16 Joseph Myers <joseph@codesourcery.com>
39464
39465 [BZ #17978]
39466 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
39467 products 4 * y and 2 * y where those would overflow.
39468 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39469 Likewise.
39470 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39471 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39472 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39473 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39474 * math/libm-test.inc (remquo_test_data): Add more tests.
39475
39476 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
39477
39478 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
39479 [defined _COMPILING_NEWLIB].
39480 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
39481 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
39482
39483 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
39484 [!defined __mips_isa_rev || __mips_isa_rev < 6].
39485
39486 2015-02-16 Torvald Riegel <triegel@redhat.com>
39487
39488 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
39489 acquired.
39490
39491 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
39492
39493 [BZ #17792]
39494 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
39495 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
39496 HOST_STACK_END_ADDR): Likewise.
39497
39498 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
39499
39500 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
39501 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
39502 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
39503
39504 2015-02-13 Roland McGrath <roland@hack.frob.com>
39505
39506 * sysdeps/generic/c++-types.data: New file.
39507 * sysdeps/generic/ld.abilist: New file.
39508 * sysdeps/generic/libBrokenLocale.abilist: New file.
39509 * sysdeps/generic/libanl.abilist: New file.
39510 * sysdeps/generic/libc.abilist: New file.
39511 * sysdeps/generic/libcrypt.abilist: New file.
39512 * sysdeps/generic/libdl.abilist: New file.
39513 * sysdeps/generic/libm.abilist: New file.
39514 * sysdeps/generic/libpthread.abilist: New file.
39515 * sysdeps/generic/libresolv.abilist: New file.
39516 * sysdeps/generic/librt.abilist: New file.
39517
39518 2015-02-13 Joseph Myers <joseph@codesourcery.com>
39519
39520 [BZ #17569]
39521 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39522 Compute absolute value of x as modified by fmod, not original
39523 value of x.
39524 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
39525 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
39526 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
39527 RUN_TEST_ffI_f1_mod8.
39528 (remquo_test_data): Add more tests.
39529
39530 2015-02-13 Roland McGrath <roland@hack.frob.com>
39531
39532 * sysdeps/init_array/pt-crti.S: New file.
39533
39534 2015-02-13 Joseph Myers <joseph@codesourcery.com>
39535
39536 [BZ #17967]
39537 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
39538 __builtin_fmaf instead of relying on contraction of a * b + c.
39539
39540 2015-02-12 J William Piggott <elseifthen@gmx.com>
39541
39542 [BZ #17969]
39543 * manual/time.texi: correct the zoneinfo path in the TZ Variable
39544 node.
39545
39546 2015-02-12 Joseph Myers <joseph@codesourcery.com>
39547
39548 [BZ #17964]
39549 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
39550 __builtin_fma instead of relying on contraction of a * b + c.
39551
39552 2015-02-12 Roland McGrath <roland@hack.frob.com>
39553
39554 * Makeconfig (ASFLAGS): Add -Werror=undef.
39555 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
39556 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
39557 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
39558
39559 * Makeconfig (after-link): New variable.
39560 (+link-pie, +link-pie-tests): Use it.
39561 (+link-static, +link-static-tests): Likewise.
39562 (+link, +link-tests): Likewise.
39563 * Makerules (build-module, build-module-asneeded): Likewise.
39564 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
39565 Likewise.
39566 * elf/Makefile ($(objpfx)ld.so): Likewise.
39567
39568 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
39569
39570 [BZ #17965]
39571 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
39572 both struct timeval and struct timespec.
39573
39574 2015-02-12 Joseph Myers <joseph@codesourcery.com>
39575
39576 [BZ #16560]
39577 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
39578 and redefine.
39579 (__ieee754_exp2l): Do not multiply small fractional parts by
39580 M_LN2l.
39581 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
39582 small argument.
39583 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
39584 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
39585 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
39586 * math/auto-libm-test-in: Add more tests of exp2.
39587 * math/auto-libm-test-out: Regenerated.
39588
39589 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39590
39591 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
39592 unaligned path.
39593
39594 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39595
39596 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
39597 little endian.
39598
39599 2015-02-12 Andreas Schwab <schwab@suse.de>
39600
39601 [BZ #15790]
39602 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
39603 Filter out elision flags from value returned in kind.
39604 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
39605 * nptl/tst-pthread-mutexattr.c: New file.
39606
39607 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
39608
39609 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
39610 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
39611 into gnu-gnu, and update comment to refer to abi-tags.
39612
39613 2015-02-11 Joseph Myers <joseph@codesourcery.com>
39614
39615 [BZ #15467]
39616 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
39617 (__sincos): Set errno to EDOM for infinite argument.
39618 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
39619 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
39620 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
39621 (__sincosl): Set errno to EDOM for infinite argument.
39622 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
39623 (__sincosl): Set errno to EDOM for infinite argument.
39624 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
39625 (__sincosl): Set errno to EDOM for infinite argument.
39626 * math/libm-test.inc (sincos_test_data): Test errno setting.
39627
39628 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
39629
39630 * string/strxfrm_l.c: Remove #define STRCMP.
39631 * string/strcoll_l.c: Remove #define STRLEN.
39632 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
39633 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
39634
39635 2015-02-10 Joseph Myers <joseph@codesourcery.com>
39636
39637 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
39638 * sysdeps/mips/mips32/sfp-machine.h: ... here.
39639 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
39640 * sysdeps/mips/mips64/Makefile: ... here.
39641 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
39642 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
39643 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
39644 * sysdeps/mips/mips64/sfp-machine.h: ... here.
39645 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
39646 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
39647 * sysdeps/mips/mips64/n64/Implies: Likewise.
39648
39649 2015-02-10 Roland McGrath <roland@hack.frob.com>
39650
39651 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
39652 <sys/time.h>, <string.h>, and <errno.h>.
39653 (dest_offset, dest_address, value, zero): Remove unused variables.
39654 (ldouble): Remove typedef.
39655 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
39656 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
39657 1). Fix code style.
39658 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
39659 (check): Function removed.
39660 (CHECK): New macro.
39661 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
39662 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
39663 Don't call set_sigaction_FP and remove_sigaction_FP here.
39664 (ldouble_test): Just use 'long double' as macro argument, no need for
39665 the 'ldouble' typedef.
39666 (do_test): Set up SIGFPE handler at start, using plain signal rather
39667 than sigaction. Fix code style.
39668
39669 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
39670
39671 [BZ #17949]
39672 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
39673 jump label.
39674
39675 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
39676
39677 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
39678 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39679
39680 * sysdeps/powerpc/configure.ac: Remove file.
39681 * sysdeps/powerpc/configure: Likewise.
39682
39683 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
39684 [sysdep_routines]: Remove wordcopy-power6 object.
39685 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
39686 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
39687 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
39688 (__memmove_ppc32): Likewise.
39689 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
39690 file.
39691 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
39692 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
39693 Remove preprocessor.
39694
39695 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
39696 [sysdep_routines]: Remove wide chars objects.
39697 [wcsmbs]: New rule for wide char objects.
39698
39699 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39700 Remove wordcopy-power6 obejct.
39701 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
39702 Use local call for wordcopy and memcpy symbols.
39703 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
39704 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
39705 implementation for loader.
39706 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
39707
39708 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39709 Remove wordcopy-power7 object.
39710 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
39711 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
39712 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
39713 (_wordcopy_fwd_dest_aligned): Likewise.
39714 (_wordcopy_bwd_aligned): Likewise.
39715 (_wordcopy_bwd_dest_aligned): Likewise.
39716
39717 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
39718 Rewrite to call __memmove_ppc instead of include default
39719 implementation.
39720
39721 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39722 Remove wide chars objects.
39723 [wcsmbs]: New rule for wide char objects.
39724
39725 2015-02-09 Andreas Schwab <schwab@suse.de>
39726
39727 [BZ #17912]
39728 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
39729 in terms of __O_DIRECTORY.
39730
39731 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
39732
39733 * time/getdate.c: Include <stdbool.h>.
39734 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
39735 call PTR_MANGLE.
39736 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
39737 PTR_DEMANGLE.
39738
39739 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
39740
39741 Add ersatz _Static_assert on older C hosts
39742 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
39743 pre-C11 C platform that is not known to support _Static_assert.
39744
39745 2015-02-07 Richard Braun <rbraun@sceen.net>
39746
39747 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
39748 sigstate.
39749 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
39750
39751 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
39752
39753 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
39754 priority against unexistent AIO_PRIO_DELTA_MAX.
39755 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
39756 instead of int.
39757 * misc/fchflags.c (fchflags): Likewise.
39758 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
39759 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
39760 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
39761 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
39762 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
39763 Declare macros.
39764 [__USE_MISC] (chflags, fchflags): Declare functions.
39765 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
39766 EINVAL when nfds is greater than FD_SETSIZE.
39767 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
39768 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
39769 45.
39770 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
39771 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
39772 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
39773 MACH_RCV_TIMED_OUT.
39774 * hurd/hurd/signal.h (_hurd_self_sigstate,
39775 _hurd_critical_section_lock, _hurd_critical_section_unlock):
39776 Explicit casts from void *.
39777 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
39778 * abi-tags: Rename gnu-gnu os into gnu.
39779
39780 [BZ #4719]
39781 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
39782 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
39783 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
39784 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
39785 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
39786 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
39787
39788 [BZ #17944]
39789 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
39790 duplicates ADDR->sun_path with sockaddr LEN limitation.
39791 * sysdeps/mach/hurd/connect.c: Include <string.h>
39792 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
39793 * sysdeps/mach/hurd/sendmsg.c: Likewise.
39794 * sysdeps/mach/hurd/sendto.c: Likewise.
39795 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
39796 implementing it by hand.
39797
39798 2015-02-06 Roland McGrath <roland@hack.frob.com>
39799
39800 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
39801 Use sfi_breg on ldr.
39802 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
39803 Likewise.
39804
39805 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
39806 it's defined.
39807 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
39808 Test SIGSETXID only if it's defined.
39809
39810 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
39811
39812 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
39813 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
39814
39815 * nptl/tst-align2.c: Moved ...
39816 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
39817 * nptl/Makefile (tests): Remove tst-align2.
39818 * sysdeps/unix/sysv/linux/Makefile
39819 [$(subdir) = nptl] (tests): Add tst-align-clone.
39820 * nptl/tst-getpid1.c: Moved ...
39821 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
39822 * nptl/tst-getpid2.c: Moved ...
39823 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
39824 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
39825 * sysdeps/unix/sysv/linux/Makefile
39826 [$(subdir) = nptl] (tests): ... here.
39827 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
39828 * sysdeps/unix/sysv/linux/Makefile
39829 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
39830
39831 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
39832 Drop trailing \n from perror argument. Use return rather than exit.
39833
39834 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
39835 on [SA_SIGINFO].
39836 * nptl/tst-cancel21.c (do_test): Likewise.
39837 * debug/tst-backtrace6.c: Include <signal.h> first thing.
39838 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
39839 [!SA_SIGINFO]: Make it a stub test.
39840
39841 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
39842 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
39843
39844 * posix/tst-getlogin.c: Move to ...
39845 * login/tst-getlogin.c: ... here.
39846 * posix/Makefile (tests): Move tst-getlogin to ...
39847 * login/Makefile (tests): ... here.
39848
39849 * libio/tst-atime.c (do_test): Move local variables SV and E
39850 inside [ST_NOATIME] conditional.
39851
39852 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
39853
39854 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
39855
39856 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
39857 (wait_code): New function replaces macro.
39858 Call nanosleep rather than syscall.
39859
39860 * nptl/pt-system.c: Rewritten. Put everything under
39861 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39862 Use IFUNC to redirect when possible.
39863
39864 * nptl/pt-longjmp.c: Rewritten. Put everything under
39865 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39866 Use IFUNC to redirect when possible.
39867
39868 * nptl/pt-fork.c: Rewritten. Put everything under
39869 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39870 Use IFUNC to redirect when possible.
39871 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
39872
39873 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
39874 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
39875 unconditionally nowadays. This included the only reference to
39876 __vdso_clock_gettime that appears outside libc proper.
39877 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
39878 Remove version set (containing only __vdso_clock_gettime).
39879 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
39880 Add attribute_hidden.
39881 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
39882 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
39883 libc_hidden_data_def.
39884 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
39885 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
39886
39887 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
39888 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
39889 setrpcent, and getrpcport to ...
39890 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
39891 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
39892 getrpcbynumber_r, and getrpcent_r to ...
39893 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
39894 * inet/getrpcbyname.c: Moved ...
39895 * sunrpc/getrpcbyname.c: ... here.
39896 * inet/getrpcbyname_r.c: Moved ...
39897 * sunrpc/getrpcbyname_r.c: ... here.
39898 * inet/getrpcbynumber.c: Moved ...
39899 * sunrpc/getrpcbynumber.c: ... here.
39900 * inet/getrpcbynumber_r.c: Moved ...
39901 * sunrpc/getrpcbynumber_r.c: ... here.
39902 * inet/getrpcent.c: Moved ...
39903 * sunrpc/getrpcent.c: ... here.
39904 * inet/getrpcent_r.c: Moved ...
39905 * sunrpc/getrpcent_r.c: ... here.
39906 * inet/Makefile (routines): Move those to ...
39907 * sunrpc/Makefile (routines): ... here.
39908 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
39909 the $(subdirs) list.
39910 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
39911 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
39912 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
39913 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
39914
39915 * elf/Makefile (routines): Include $(all-dl-routines), not just
39916 $(dl-routines).
39917 (rtld-routines): Likewise. Use = rather than :=.
39918 * sysdeps/aarch64/Makefile [$(subdir) = elf]
39919 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
39920 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
39921 * sysdeps/arm/Makefile: Likewise.
39922 * sysdeps/i386/Makefile: Likewise.
39923 * sysdeps/x86_64/Makefile: Likewise.
39924 * sysdeps/hppa/Makefile [$(subdir) = elf]
39925 (sysdep_routines, sysdep-rtld-routines): Don't add
39926 $(sysdep-dl-routines) to these.
39927 * sysdeps/ia64/Makefile: Likewise.
39928 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
39929 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
39930 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
39931 Don't add dl-static to these; sysdep-dl-routines alone is enough.
39932 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
39933 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
39934 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
39935 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
39936 * sysdeps/powerpc/Makefile [$(subdir) = elf]
39937 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
39938 these; sysdep-dl-routines alone is enough.
39939
39940 2015-02-06 Joseph Myers <joseph@codesourcery.com>
39941
39942 [BZ #17932]
39943 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
39944 where multiplication results in zero and third argument is finite
39945 and nonzero.
39946 * math/auto-libm-test-in: Add more tests of fma.
39947 * math/auto-libm-test-out: Regenerated.
39948
39949 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
39950 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
39951 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
39952 (_FP_CMP_EQ): Likewise.
39953 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
39954
39955 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
39956 extra argument CHECK_NAN. Redefine as wrapper around
39957 _FP_EXTEND_CNAN.
39958
39959 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
39960
39961 * version.h (RELEASE): Set to "stable".
39962 (VERSION): Set to "2.21"
39963 * include/features.h (__GLIBC_MINOR__): Set to 21.
39964
39965 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
39966
39967 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39968 Paul Eggert <eggert@cs.ucla.edu>
39969
39970 [BZ #16618]
39971 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
39972 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
39973 size in bytes. Store needed elements in wpmax. Use needed size
39974 in bytes for extend_alloca.
39975
39976 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
39977
39978 * manual/install.texi: Latest tested versions are GCC 4.9.2,
39979 binutls 2.25, and texinfo 5.2.
39980 * INSTALL: Regenerate.
39981 * sysdeps/nios2/configure: Regenerate.
39982 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
39983 * manual/contrib.texi: Update.
39984 * po/be.po: Update.
39985 * po/bg.po: Update.
39986 * po/ca.po: Update.
39987 * po/cs.po: Update.
39988 * po/da.po: Update.
39989 * po/de.po: Update.
39990 * po/el.po: Update.
39991 * po/eo.po: Update.
39992 * po/es.po: Update.
39993 * po/fi.po: Update.
39994 * po/fr.po: Update.
39995 * po/gl.po: Update.
39996 * po/hr.po: Update.
39997 * po/hu.po: Update.
39998 * po/ia.po: Update.
39999 * po/id.po: Update.
40000 * po/it.po: Update.
40001 * po/ja.po: Update.
40002 * po/ko.po: Update.
40003 * po/lt.po: Update.
40004 * po/nb.po: Update.
40005 * po/nl.po: Update.
40006 * po/pl.po: Update.
40007 * po/pt_BR.po: Update.
40008 * po/ru.po: Update.
40009 * po/rw.po: Update.
40010 * po/sk.po: Update.
40011 * po/sl.po: Update.
40012 * po/sv.po: Update.
40013 * po/tr.po: Update.
40014 * po/uk.po: Update.
40015 * po/vi.po: Update.
40016 * po/zh_CN.po: Update.
40017 * po/zh_TW.po: Update.
40018
40019 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
40020 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
40021 * sysdeps/hppa/dl-irel.h: Remove #warning.
40022 * sysdeps/hppa/entry.h: Provide prototype for
40023 __canonicalize_funcptr_for_compare and cast argument.
40024 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
40025 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
40026 * sysdeps/hppa/sotruss-lib.c: New file.
40027 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
40028 (atomic_compare_and_exchange_val_acq): Use __typeof__.
40029 (atomic_compare_and_exchange_bool_acq): Likewise.
40030 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
40031 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
40032
40033 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
40034 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
40035 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
40036
40037 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
40038
40039 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
40040 called function in non-PIC case.
40041
40042 2015-01-31 David S. Miller <davem@davemloft.net>
40043
40044 * sysdeps/sparc/sparc32/bits/atomic.h
40045 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
40046 unlock not after it.
40047 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
40048 volatile register usage warnings from the compiler.
40049
40050 * sysdeps/sparc/nptl/sem_init.c: Delete.
40051 * sysdeps/sparc/nptl/sem_post.c: Delete.
40052 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
40053 * sysdeps/sparc/nptl/sem_wait.c: Delete.
40054 * sysdeps/sparc/sparc32/sem_init.c: New file.
40055 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
40056 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
40057 padding explicitly initialized.
40058 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
40059 padding for in-semaphore spinlock.
40060 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
40061 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
40062 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
40063 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
40064 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
40065 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
40066 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
40067 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
40068 version.
40069 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
40070 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
40071
40072 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
40073
40074 [BZ #17801]
40075 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40076 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
40077 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
40078 New.
40079 (index_AVX_Fast_Unaligned_Load): Likewise.
40080 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
40081 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
40082 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
40083 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
40084 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
40085 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
40086 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
40087 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
40088 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
40089
40090 2015-01-29 Andreas Schwab <schwab@suse.de>
40091
40092 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
40093
40094 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
40095
40096 [BZ #17892]
40097 * nscd/nscd_stat.c (send_stats): Initialize DATA.
40098
40099 2015-01-28 Martin Sebor <msebor@redhat.com>
40100
40101 * math/README.libm-test: Clarify. Add "How to read the test output."
40102
40103 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
40104
40105 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
40106 Define to 0.
40107
40108 2015-01-28 Joseph Myers <joseph@codesourcery.com>
40109
40110 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
40111 (__HAVE_64B_ATOMICS): Define to 0.
40112
40113 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
40114
40115 [BZ #17885]
40116 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
40117 value to set as new flag.
40118
40119 [BZ #16576]
40120 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
40121 and use _ARCH_PPCSQ instead.
40122 (__ieee754_sqrt): Likewise.
40123 (__ieee754_sqrtf): Likewise.
40124 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
40125 _ARCH_PPCSQ is defined.
40126 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
40127 fsqrt instruction.
40128 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
40129 _ARCH_PPCSQ is defined.
40130 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
40131 fsqrts instruction.
40132 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
40133
40134 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40135
40136 * iconv/loop.c: Suppress array out of bound warning caused by GCC
40137 bug (GCC BZ #64739).
40138
40139 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
40140
40141 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
40142 Mark _retval as used.
40143 (lll_futex_wake_unlock): Likewise.
40144 (lll_futex_timed_wait_requeue_pi): Likewise.
40145
40146 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
40147 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
40148 register variables.
40149
40150 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
40151 libm_hidden_def.
40152
40153 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
40154 (__bswap_64): Mark as __always_inline.
40155
40156 2015-01-25 Bram <bug_rh@spam.wizbit.be>
40157
40158 [BZ #15378]
40159 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
40160 when none of the search directories exist.
40161
40162 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
40163
40164 [BZ #17869]
40165 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
40166 power8 in .machine directive.
40167
40168 [BZ #17868]
40169 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
40170 set dependency from opd value.
40171
40172 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
40173
40174 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40175 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
40176 architecture.
40177
40178 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
40179
40180 [BZ #17870]
40181 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
40182 with uint64_t.
40183 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
40184 (uint64_t) 1.
40185 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
40186 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
40187 Replace 1UL with (uint64_t) 1.
40188 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
40189 int with uint64_t.
40190
40191 2015-01-23 Roland McGrath <roland@hack.frob.com>
40192
40193 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
40194 (if_freenameindex): Likewise.
40195
40196 * resource/getrlimit64.c: Add missing libc_hidden_def.
40197
40198 2015-01-22 Joseph Myers <joseph@codesourcery.com>
40199
40200 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
40201 __label__.
40202 (_FP_FMA): Likewise.
40203 (_FP_TO_INT_ROUND): Likewise.
40204 (_FP_FROM_INT): Likewise.
40205
40206 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40207
40208 [BZ #16418]
40209 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
40210 Make code racy and cancel safe.
40211
40212 2015-01-21 Carlos O'Donell <carlos@redhat.com>
40213
40214 * sysdeps/arm/unwind-resume.h: Fix copyright year.
40215 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
40216 attribution.
40217
40218 * pwd/tst-getpw.c: Rewrite.
40219
40220 [BZ #17702]
40221 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
40222 (modules-names): Add moddummy1 and moddummy2.
40223 ($(objpfx)tst-rec-dlopen): Define.
40224 * dlfcn/moddummy1.c: New file.
40225 * dlfcn/moddummy2.c: New file.
40226 * dlfcn/tst-rec-dlopen.c: New file.
40227 * elf/dl-cache.c (_dl_load_cache_lookup):
40228 Return char*. Copy result with alloca/strcpy/strdup.
40229 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
40230 returns char*. Free cached. If not saving realname
40231 free cached.
40232 * elf/dl-open.c (dl_open_worker): Do not assert that
40233 _r_debug->r_state is RT_CONSISTENT.
40234 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
40235 returns char*.
40236
40237 2015-01-21 Torvald Riegel <triegel@redhat.com>
40238 Carlos O'Donell <carlos@redhat.com>
40239
40240 [BZ #12674]
40241 * nptl/sem_waitcommon.c: New file.
40242 * nptl/sem_wait.c: Include sem_waitcommon.c.
40243 (__sem_wait_cleanup, do_futex_wait): Remove.
40244 (__new_sem_wait): Adapt.
40245 (__new_sem_trywait): New function.
40246 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
40247 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
40248 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
40249 (sem_timedwait): Adapt.
40250 * nptl/sem_post.c (__new_sem_post): Adapt.
40251 (futex_wake): New function.
40252 (__old_sem_post): Add release MO fence.
40253 * nptl/sem_open.c (sem_open): Adapt.
40254 * nptl/sem_init.c (__new_sem_init): Adapt.
40255 (futex_private_if_supported): New function.
40256 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
40257 (__old_sem_getvalue): Add using previous code.
40258 * sysdeps/nptl/internaltypes.h: Adapt.
40259 * nptl/tst-sem13.c (do_test): Adapt.
40260 * nptl/tst-sem11.c (main): Adapt.
40261 * nptl/sem_trywait.c: Remove.
40262 * nptl/DESIGN-sem.txt: Remove.
40263 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
40264 (gen-as-const-headers): Remove structsem.sym.
40265 * nptl/structsem.sym: Remove.
40266 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
40267 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
40268 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
40269 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
40270 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
40271 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
40272 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
40273 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
40274 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
40275 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
40276 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
40277 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
40278 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
40279 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
40280 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
40281 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
40282 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
40283 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
40284 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
40285 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
40286 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
40287 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
40288
40289 2015-01-20 Carlos O'Donell <carlos@redhat.com>
40290
40291 * INSTALL: Regenerated.
40292
40293 * po/libc.pot: Regenerated.
40294
40295 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
40296 Sandra Loosemore <sandra@codesourcery.com>
40297 Andrew Jenner <andrew@codesourcery.com>
40298 Joseph Myers <joseph@codesourcery.com>
40299 Nathan Sidwell <nathan@codesourcery.com>
40300
40301 * NEWS: Mention new Nios II port.
40302 * sysdeps/nios2/Implies: New file.
40303 * sysdeps/nios2/Makefile: New file.
40304 * sysdeps/nios2/Subdirs: New file.
40305 * sysdeps/nios2/Versions: New file.
40306 * sysdeps/nios2/__longjmp.S: New file.
40307 * sysdeps/nios2/abort-instr.h: New file.
40308 * sysdeps/nios2/backtrace.c: New file.
40309 * sysdeps/nios2/bits/endian.h: New file.
40310 * sysdeps/nios2/bits/fenv.h: New file.
40311 * sysdeps/nios2/bits/link.h: New file.
40312 * sysdeps/nios2/bits/setjmp.h: New file.
40313 * sysdeps/nios2/bsd-_setjmp.S: New file.
40314 * sysdeps/nios2/bsd-setjmp.S: New file.
40315 * sysdeps/nios2/configure: New generated file.
40316 * sysdeps/nios2/configure.ac: New file.
40317 * sysdeps/nios2/crti.S: New file.
40318 * sysdeps/nios2/crtn.S: New file.
40319 * sysdeps/nios2/dl-init.c: New file.
40320 * sysdeps/nios2/dl-machine.h: New file.
40321 * sysdeps/nios2/dl-sysdep.h: New file.
40322 * sysdeps/nios2/dl-tls.h: New file.
40323 * sysdeps/nios2/dl-trampoline.S: New file.
40324 * sysdeps/nios2/gccframe.h: New file.
40325 * sysdeps/nios2/gmp-mparam.h: New file.
40326 * sysdeps/nios2/jmpbuf-offsets.h: New file.
40327 * sysdeps/nios2/jmpbuf-unwind.h: New file.
40328 * sysdeps/nios2/ldsodefs.h: New file.
40329 * sysdeps/nios2/libc-tls.c: New file.
40330 * sysdeps/nios2/libm-test-ulps: New file.
40331 * sysdeps/nios2/machine-gmon.h: New file.
40332 * sysdeps/nios2/math-tests.h: New file.
40333 * sysdeps/nios2/math_private.h: New file.
40334 * sysdeps/nios2/memusage.h: New file.
40335 * sysdeps/nios2/nptl/Makefile: New file.
40336 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
40337 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
40338 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
40339 * sysdeps/nios2/nptl/pthreaddef.h: New file.
40340 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
40341 * sysdeps/nios2/nptl/tls.h: New file.
40342 * sysdeps/nios2/preconfigure: New file.
40343 * sysdeps/nios2/s_fma.c: New file.
40344 * sysdeps/nios2/s_fmaf.c: New file.
40345 * sysdeps/nios2/setjmp.S: New file.
40346 * sysdeps/nios2/sfp-machine.h: New file.
40347 * sysdeps/nios2/sotruss-lib.c: New file.
40348 * sysdeps/nios2/stackguard-macros.h: New file.
40349 * sysdeps/nios2/stackinfo.h: New file.
40350 * sysdeps/nios2/start.S: New file.
40351 * sysdeps/nios2/sysdep.h: New file.
40352 * sysdeps/nios2/tls-macros.h: New file.
40353 * sysdeps/nios2/tst-audit.h: New file.
40354 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
40355 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
40356 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
40357 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
40358 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
40359 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
40360 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
40361 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
40362 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
40363 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
40364 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
40365 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
40366 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
40367 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
40368 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
40369 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
40370 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
40371 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
40372 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
40373 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
40374 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
40375 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
40376 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
40377 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
40378 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
40379 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
40380 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
40381 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
40382 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
40383 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
40384 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
40385 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
40386 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
40387 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
40388 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
40389 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
40390 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
40391 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
40392 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
40393 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
40394 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
40395 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
40396 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
40397 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
40398
40399 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
40400
40401 [BZ #17844]
40402 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
40403 (getutent): Use weak_alias in non SHARED case
40404 and default_symbol_version in SHARED case.
40405 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
40406 (getutent_r, pututline): Likewise.
40407 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
40408 (getutid): Likewise.
40409 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
40410 (getutid_r): Likewise.
40411 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
40412 (getutline): Likewise.
40413 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
40414 (getutline_r): Likewise.
40415 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
40416 (updwtmp): Likewise.
40417
40418 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
40419
40420 [BZ #17848]
40421 * sysdeps/s390/s390-32/memcmp.S
40422 (memcmp_g5): Rename to __memcmp_g5.
40423 * sysdeps/s390/s390-32/memcpy.S
40424 (memcpy_g5): Rename to __memcpy_g5.
40425 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40426 (memcpy_mvcle) Rename to __memcpy_mvcle.
40427 * sysdeps/s390/s390-32/memset.S
40428 (memset_g5): Rename to __memset_g5.
40429 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40430 (IFUNC_RESOLVE): Prefix ifunc-resolve function
40431 and use prefixed functions.
40432 * sysdeps/s390/s390-32/multiarch/memcmp.S
40433 (memcmp_z196): Rename to __memcmp_z196.
40434 (memcmp_z10): Rename to __memcmp_z10.
40435 (memcmp): Set alias to __memcmp_g5.
40436 (bcmp): Set alias to __memcmp_g5.
40437 * sysdeps/s390/s390-32/multiarch/memcpy.S
40438 (memcpy_z196): Rename to __memcpy_z196.
40439 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40440 (memcpy_z10): Rename to __memcpy_z10.
40441 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40442 (memcpy): Set alias to __memcpy_g5.
40443 * sysdeps/s390/s390-32/multiarch/memset.S
40444 (memset_z196): Rename to __memset_z196.
40445 Jump to __memset_mvcle instead of memset_mvcle.
40446 (memset_z10): Rename to __memset_z10.
40447 Jump to __memset_mvcle instead of memset_mvcle.
40448 (memset_mvcle) Rename to __memset_mvcle.
40449 (memset): Set alias to __memset_g5.
40450 * sysdeps/s390/s390-64/memcmp.S
40451 (memcmp_z900): Rename to __memcmp_z900.
40452 * sysdeps/s390/s390-64/memcpy.S
40453 (memcpy_z900): Rename to __memcpy_z900.
40454 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40455 (memcpy_mvcle) Rename to __memcpy_mvcle.
40456 * sysdeps/s390/s390-64/memset.S
40457 (memset_z900): Rename to __memset_z900.
40458 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
40459 (IFUNC_RESOLVE): Prefix ifunc-resolve function
40460 and use prefixed functions.
40461 * sysdeps/s390/s390-64/multiarch/memcmp.S
40462 (memcmp_z196): Rename to __memcmp_z196.
40463 (memcmp_z10): Rename to __memcmp_z10.
40464 (memcmp): Set alias to __memcmp_z900.
40465 (bcmp): Set alias to __memcmp_z900.
40466 * sysdeps/s390/s390-64/multiarch/memcpy.S
40467 (memcpy_z196): Rename to __memcpy_z196.
40468 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40469 (memcpy_z10): Rename to __memcpy_z10.
40470 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40471 (memcpy): Set alias to __memcpy_z900.
40472 * sysdeps/s390/s390-64/multiarch/memset.S
40473 (memset_z196): Rename to __memset_z196.
40474 Jump to __memset_mvcle instead of memset_mvcle.
40475 (memset_z10): Rename to __memset_z10.
40476 Jump to __memset_mvcle instead of memset_mvcle.
40477 (memset_mvcle) Rename to __memset_mvcle.
40478 (memset): Set alias to __memset_z900.
40479
40480 2015-01-14 Joseph Myers <joseph@codesourcery.com>
40481
40482 [BZ #17748]
40483 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
40484 __fesetenv instead of fesetenv.
40485
40486 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40487
40488 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
40489 macro.
40490
40491 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40492
40493 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
40494 regression on LE.
40495
40496 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
40497 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
40498 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40499 strncmp-power8 object.
40500 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40501 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
40502 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
40503 * NEWS: Update.
40504
40505 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40506 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40507
40508 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
40509 trailing byte check.
40510
40511 2015-01-13 David S. Miller <davem@davemloft.net>
40512
40513 * include/signal.h (__sigreturn): Guard with __USE_MISC.
40514
40515 2015-01-13 Roland McGrath <roland@hack.frob.com>
40516
40517 * login/logout.c (logout): Use memset rather than bzero.
40518 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
40519 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
40520 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
40521 (_gethtbyaddr): Likewise.
40522 * locale/programs/simple-hash.c (bcopy): Macro removed.
40523
40524 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40525
40526 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40527 Add strcmp-power8 object.
40528 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40529 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
40530 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
40531 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
40532 __strcmp_power8 implementation.
40533 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
40534 * NEWS: Update.
40535
40536 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40537 Add strncpy-power8 and stpncpy-power8 objects.
40538 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40539 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
40540 implementations.
40541 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
40542 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
40543 __stpncpy_power8 implementation.
40544 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
40545 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
40546 __strncpy_power8 implementation.
40547 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
40548 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
40549 * NEWS: Update.
40550
40551 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
40552 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
40553 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
40554
40555 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40556 strncat-power8 object.
40557 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
40558 __strcat_power8 implementation.
40559 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40560 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
40561 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
40562 optimized strcat for power8.
40563
40564 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40565 strcpy-power8 and stpcpy-power8 objects.
40566 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40567 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
40568 implementations.
40569 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
40570 multiarch stpcpy implementation for POWER8.
40571 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
40572 multiarch strcpy implementation for POWER8.
40573 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
40574 __strcpy_power8 function.
40575 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
40576 stpcpy for POWER8.
40577 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
40578 strcpy for POWER8.
40579 * NEWS: Update.
40580
40581 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
40582
40583 [BZ #16009]
40584 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
40585 weights and rules. Use do_xfrm_cached if data fits in cache,
40586 do_xfrm otherwise. Moved former main loop to...
40587 * (do_xfrm_cached): New function.
40588 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
40589 find_idx, find_position and stack_push.
40590 * (find_idx): New function.
40591 * (find_position): Likewise.
40592 * localedata/sort-test.sh: Added test run for do_xfrm.
40593 * localedata/xfrm-test.c (main): Added command line option
40594 -nocache to run the test with strings that are too large for
40595 the STRXFRM cache.
40596
40597 2015-01-13 Torvald Riegel <triegel@redhat.com>
40598
40599 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
40600 variable to lll_futex_wake call, not the value itself.
40601
40602 2015-01-12 Joseph Myers <joseph@codesourcery.com>
40603
40604 [BZ #17803]
40605 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
40606 twom64. Adjust value to 0x1p-64L.
40607 (__scalblnl): Only return standard underflowing result for K <=
40608 -64 not K <= -63; adjust exponent for underflowing result by 64
40609 not 63.
40610 * math/libm-test.inc (scalbn_test_data): Add more tests.
40611 (scalbln_test_data): Likewise.
40612
40613 [BZ #17834]
40614 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
40615 0x1p63L.
40616 (__scalblnl): Get new exponent of adjusted subnormal value from ES
40617 not HX.
40618 * math/libm-test.inc (scalbn_test_data): Add more tests.
40619 (scalbln_test_data): Likewise.
40620
40621 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40622 Stefani Seibold <stefani@seibold.net>
40623
40624 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
40625 (sysdep_routines): Add dl-vdso here, ...
40626 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
40627 (sysdep_routines): ... not here.
40628 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
40629 fallback when vDSO is not presented.
40630 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
40631 Define with libc_hidden_proto/libc_hidden_data_def definitions.
40632 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
40633 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
40634 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
40635 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
40636 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
40637 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
40638 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
40639 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
40640 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
40641 fallback configurable symbol when vDSO is not available.
40642 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
40643 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
40644 be able to redefine fallback symbol when vDSO is not available.
40645 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
40646 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
40647
40648 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40649
40650 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
40651 (TLS_INIT_TP): Add tm_capable initialization.
40652 (TLS_DEFINE_INIT_TP): Likewise.
40653 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
40654 TCB.
40655 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
40656 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
40657 calculation.
40658 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
40659 transactoion is lock elision is built and TCB tm_capable is set.
40660 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
40661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40662 (INTERNAL_SYSCALL_NCS): Likewise.
40663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40664 (INTERNAL_SYSCALL_NCS): Likewise.
40665 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
40666
40667 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
40668 for powerpc.
40669 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40670 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
40671 and remove it for 32 bits case.
40672 [pthread_rwlock_t] (__rwelision): New field for lock elision.
40673 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
40674 initialization.
40675 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
40676 Disable lock elision with rdlocks if elision is not available.
40677
40678 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
40679 (sysdep_routines): Add lock elision objects.
40680 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40681 [pthread_mutex_t] (__spins): Rework to add lock elision field.
40682 [pthread_mutex_t] (__elision): Add field.
40683 [__PTHREAD_SPINS]: Adjust to init lock elision field.
40684 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
40685 elision definitions for powerpc.
40686 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
40687 implementation of lock elision for powerpc.
40688 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
40689 implementation of timed lock elision for powerpc.
40690 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
40691 implementation of trylock with lock elision for powerpc.
40692 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
40693 implementaion of unlock for lock elision for powerpc.
40694 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
40695 automatic enable lock elision for mutexes.
40696 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
40697 transaction execution definitions for powerpc.
40698 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
40699 definitions.
40700 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
40701 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
40702 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
40703 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
40704 * NEWS: Update.
40705
40706 2015-01-09 Roland McGrath <roland@hack.frob.com>
40707
40708 * sysdeps/posix/shm-directory.c: Use <> rather than ""
40709 for #include of <shm-directory.h>.
40710
40711 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
40712
40713 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
40714 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
40715
40716 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
40717
40718 [BZ #17791]
40719 * NEWS: Mention bug fix.
40720 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
40721 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
40722 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
40723
40724 2015-01-09 Torvald Riegel <triegel@redhat.com>
40725
40726 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
40727
40728 2015-01-09 Torvald Riegel <triegel@redhat.com>
40729
40730 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
40731
40732 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
40733
40734 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
40735 pointer and cast to uintptr_t.
40736
40737 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
40738
40739 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
40740 removed.
40741 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
40742
40743 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
40744
40745 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
40746 of 0.
40747
40748 2015-01-08 Roland McGrath <roland@hack.frob.com>
40749
40750 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
40751 <nptl/pthreadP.h> instead.
40752 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
40753
40754 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
40755 already defined.
40756 [__SIGRTMIN] (init): Function removed.
40757 [__SIGRTMIN] (initialized): Variable removed.
40758 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
40759 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
40760 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
40761 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
40762 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
40763 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
40764 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
40765 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
40766 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
40767 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
40768 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
40769 * sysdeps/nptl/allocrtsig.c: New file.
40770 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
40771 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
40772 * sysdeps/generic/testrtsig.h: File removed.
40773
40774 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
40775 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
40776
40777 * nptl/nptl-init.c (pthread_functions): Conditionalize
40778 .ptr__nptl_setxid initialization on [SIGSETXID].
40779
40780 * sysdeps/nptl/sys/procfs.h: New file.
40781 * nptl_db/Makefile (headers): Add it.
40782 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
40783
40784 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
40785 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
40786 * nptl/pthread_attr_setaffinity.c: Include it.
40787 * nptl/pthread_setattr_default_np.c: Likewise.
40788 * nptl/check-cpuset.h: New file.
40789
40790 2015-01-08 Richard Henderson <rth@redhat.com>
40791
40792 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
40793 (CFLAGS-tst-execstack-prog.c): Likewise.
40794 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
40795
40796 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
40797 Sandra Loosemore <sandra@codesourcery.com>
40798 Andrew Jenner <andrew@codesourcery.com>
40799 Joseph Myers <joseph@codesourcery.com>
40800 Nathan Sidwell <nathan@codesourcery.com>
40801
40802 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
40803 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
40804 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
40805 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
40806 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
40807 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
40808 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
40809 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
40810 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
40811 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
40812 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
40813 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
40814 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
40815 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
40816 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
40817 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
40818 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
40819
40820 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40821
40822 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
40823 timespec struct member in syscall macro.
40824 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
40825 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
40826 first timeval struct member in syscall macro.
40827 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
40828
40829 2015-01-07 Joseph Myers <joseph@codesourcery.com>
40830
40831 [BZ #17748]
40832 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
40833 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
40834 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
40835 __feupdateenv and define as weak alias of __feupdateenv. Use
40836 libm_hidden_weak.
40837 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
40838 libm_hidden_def.
40839 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
40840 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
40841 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
40842 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
40843 libm_hidden_def.
40844 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
40845 __feupdateenv and define as weak alias of __feupdateenv. Use
40846 libm_hidden_weak.
40847 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
40848 libm_hidden_def.
40849 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
40850 __feupdateenv and define as weak alias of __feupdateenv. Use
40851 libm_hidden_weak.
40852 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
40853 libm_hidden_def.
40854 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
40855 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
40856 (__feupdateenv): Likewise.
40857 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
40858 __feupdateenv and define as weak alias of __feupdateenv. Use
40859 libm_hidden_weak.
40860 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40861 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
40862 libm_hidden_def.
40863 * sysdeps/tile/math_private.h (__feupdateenv): New inline
40864 function.
40865 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
40866 libm_hidden_def.
40867 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
40868 __feupdateenv instead of feupdateenv.
40869 (default_libc_feupdateenv_test): Likewise.
40870 (libc_feresetround_ctx): Likewise.
40871
40872 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40873
40874 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
40875 prototype.
40876
40877 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
40878
40879 * posix/regcomp.c (parse_bracket_exp): Initialize type to
40880 COLL_SYM in a couple of places to avoid uninitialized variable
40881 wanings on tilegx gcc 4.8.2.
40882
40883 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
40884
40885 * sysdeps/aarch64/strcpy.S: New file.
40886 * sysdeps/aarch64/stpcpy.S: New file.
40887 * NEWS: Updated.
40888
40889 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
40890
40891 * sysdeps/aarch64/strrchr.S: New file.
40892 * NEWS: Updated.
40893
40894 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
40895
40896 [BZ #17658]
40897 * stdlib/setenv.c: Fix memory leak when setting large,
40898 duplicate string.
40899
40900 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
40901
40902 [BZ #17273]
40903 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
40904 and tabs from buffer before parsing fstab entry.
40905 * misc/tst-mntent.c (main): Add test for mount entry with
40906 trailing spaces and tabs.
40907
40908 2015-01-06 Joseph Myers <joseph@codesourcery.com>
40909
40910 [BZ #17748]
40911 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
40912 * math/fesetround.c (fesetround): Rename to __fesetround and
40913 define as weak alias of __fesetround. Use libm_hidden_weak.
40914 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
40915 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
40916 * sysdeps/arm/fesetround.c (fesetround): Likewise.
40917 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
40918 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
40919 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
40920 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
40921 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
40922 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
40923 __fesetround_inline.
40924 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
40925 __fesetround_inline instead of __fesetround.
40926 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
40927 __fesetround and define as weak alias of __fesetround. Use
40928 libm_hidden_weak. Call __fesetround_inline instead of
40929 __fesetround.
40930 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
40931 __fesetround and define as weak alias of __fesetround. Use
40932 libm_hidden_weak.
40933 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
40934 Likewise.
40935 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
40936 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40937 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
40938 * sysdeps/tile/math_private.h (__fesetround): New inline function.
40939 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
40940 __fesetround and define as weak alias of __fesetround. Use
40941 libm_hidden_weak.
40942 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
40943 __fesetround instead of fesetround.
40944 (default_libc_feholdexcept_setround): Likewise.
40945 (libc_feholdsetround_ctx): Likewise.
40946 (libc_feholdsetround_noex_ctx): Likewise.
40947
40948 [BZ #17748]
40949 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
40950 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
40951 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
40952 and define as weak alias of __fesetenv. Use libm_hidden_weak.
40953 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40954 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
40955 define as weak alias of __fesetenv. Use libm_hidden_weak.
40956 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
40957 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40958 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
40959 define as weak alias of __fesetenv. Use libm_hidden_weak.
40960 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40961 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
40962 define as weak alias of __fesetenv. Use libm_hidden_weak.
40963 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
40964 libm_hidden_def.
40965 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
40966 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
40967 Likewise.
40968 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
40969 define as weak alias of __fesetenv. Use libm_hidden_weak.
40970 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40971 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40972 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
40973 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
40974 and define as weak alias of __fesetenv. Use libm_hidden_weak.
40975 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
40976 __fesetenv instead of fesetenv.
40977 (libc_feresetround_noex_ctx): Likewise.
40978 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
40979 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
40980 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
40981 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
40982 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
40983 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
40984 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
40985 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
40986 (__feupdateenv): Likewise.
40987 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
40988 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40989 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
40990 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
40991
40992 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
40993
40994 [BZ #17806]
40995 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
40996 addresses have been freed.
40997
40998 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
40999
41000 * resolv/res_init.c (__res_vinit): Improve comments about nserv
41001 and nservall.
41002
41003 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
41004
41005 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
41006 Clean up check_pf allocation pattern. addresses
41007
41008 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41009
41010 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
41011 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
41012 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
41013 * nptl/pthread_exit.c (__pthread_exit): Likewise.
41014 * nptl/pthread_join.c (pthread_join): Likewise.
41015 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
41016 * sysdeps/posix/waitid.c (__waitid): Likewise.
41017 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
41018 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
41019 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
41020 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
41021 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
41022 Likewise.
41023 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
41024 (__libc_pread64): Likewise.
41025 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
41026 (__libc_pwrite): Likewise.
41027 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
41028 (__libc_pwrite64): Likewsie.
41029 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
41030 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
41031 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
41032 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
41033 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
41034 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
41035 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
41037 Likewise.
41038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41039 (__libc_pread64): Likewise.
41040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
41041 Likewise.
41042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41043 (__libc_pwrite64): Likewise.
41044 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
41045 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
41046 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
41047 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
41048 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
41049 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
41050 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
41051 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
41052 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
41053 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
41054 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
41055 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
41056 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
41057 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
41058 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
41059 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
41060 Likewise.
41061
41062 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
41063
41064 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
41065 (CFLAGS-test-double.c): Likewise.
41066 (CFLAGS-test-ldouble.c): Likewise.
41067 (CPPFLAGS-test-ifloat.c): Likewise.
41068 (CPPFLAGS-test-idouble.c): Likewise.
41069 (CPPFLAGS-test-ildoubl.c): Likewise.
41070 (CFLAGS-test-test-fenv.c): Remove variable.
41071 (CFLAGS-test-misc.c): Likewise.
41072
41073 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
41074
41075 [BZ #17797]
41076 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
41077 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
41078 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
41079 CLOCKS_PER_SEC == 1000000.
41080 * time/clocktest.c (main): Replace %ld with %jd and cast to
41081 intmax_t.
41082
41083 2015-01-05 Roland McGrath <roland@hack.frob.com>
41084
41085 * sysdeps/generic/unwind-resume.h: New file.
41086 * sysdeps/gnu/unwind-resume.c: Include it.
41087 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
41088 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
41089 argument list.
41090 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
41091 global rather than static.
41092 (_Unwind_Resume): Update user.
41093 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
41094 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
41095 rather than static. Add __attribute__ ((cold)).
41096 (_Unwind_Resume, __gcc_personality_v0): Update callers.
41097 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
41098 * sysdeps/arm/arm-unwind-resume.S: New file.
41099 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
41100 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
41101 * sysdeps/arm/Makefile [$(subdir) = csu]
41102 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
41103 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
41104 Add rt-arm-unwind-resume.
41105 [$(subdir) = nptl]
41106 (libpthread-sysdep_routines, libpthread-shared-only-routines):
41107 Add pt-arm-unwind-resume.
41108 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
41109 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
41110
41111 2015-01-05 Joseph Myers <joseph@codesourcery.com>
41112
41113 [BZ #17748]
41114 * include/fenv.h (__feholdexcept): Declare. Use
41115 libm_hidden_proto.
41116 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
41117 define as weak alias of __feholdexcept. Use libm_hidden_weak.
41118 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41119 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
41120 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
41121 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
41122 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
41123 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41124 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
41125 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
41126 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41127 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
41128 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
41129 (feholdexcept): Likewise.
41130 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41131 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41132 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41133 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41134 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
41135 __feholdexcept instead of feholdexcept.
41136 (default_libc_feholdexcept_setround): Likewise.
41137
41138 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
41139
41140 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
41141 to avoid using stl/str to align destination.
41142
41143 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
41144
41145 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
41146
41147 2015-01-05 Joseph Myers <joseph@codesourcery.com>
41148
41149 [BZ #17796]
41150 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
41151 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
41152 Define as weak alias not strong alias.
41153
41154 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
41155
41156 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
41157 bltzal with addiupc.
41158 (RTLD_START): Ditto.
41159
41160 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
41161
41162 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
41163 for __vdso_* functions in declarations.
41164 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
41165 definitions.
41166 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
41167 INTERNAL_VSYSCALL): Use struct return types to check for error.
41168
41169 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
41170 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
41171 function with cast from llround().
41172 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
41173 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
41174 Define.
41175
41176 2015-01-05 Joseph Myers <joseph@codesourcery.com>
41177
41178 [BZ #17793]
41179 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
41180 Define as weak alias not strong alias.
41181
41182 [BZ #17635]
41183 * ctype/ctype-c99.c: New file. isblank implementation moved from
41184 ...
41185 * ctype/ctype-extn.c: ... here.
41186 (__isblank_l): Move to ...
41187 * ctype/ctype-c99_l.c: ... here. New file.
41188 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
41189 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
41190 Remove variable.
41191 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
41192 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
41193 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
41194 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
41195 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
41196
41197 [BZ #17777]
41198 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
41199 (posix_fadvise64): Define as weak alias not strong alias.
41200 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41201 (posix_fallocate64): Likewise.
41202 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
41203 Remove variable.
41204 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
41205 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
41206 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
41207 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
41208 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
41209
41210 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
41211
41212 [BZ #16191]
41213 * NEWS: Mention bug fix.
41214 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
41215 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
41216 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
41217 (HOST_STACK_END_ADDR): Likewise.
41218
41219 2015-01-02 Joseph Myers <joseph@codesourcery.com>
41220
41221 [BZ #17748]
41222 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
41223 * math/fegetround.c (fegetround): Rename to __fegetround and
41224 define as weak alias of __fegetround. Use libm_hidden_weak.
41225 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
41226 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
41227 * sysdeps/arm/fegetround.c (fegetround): Likewise.
41228 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
41229 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41230 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
41231 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
41232 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
41233 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41234 Undefine after rather than before function definition; use
41235 parentheses around function name in definition.
41236 (__fegetround): Also undefine macro after function definition.
41237 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
41238 __fegetround and define as weak alias of __fegetround. Use
41239 libm_hidden_weak. Do not undefine as macro.
41240 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41241 Likewise.
41242 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
41243 __fegetround and define as weak alias of __fegetround. Use
41244 libm_hidden_weak.
41245 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41246 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41247 * sysdeps/tile/math_private.h (__fegetround): New inline function.
41248 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
41249 __fegetround and define as weak alias of __fegetround. Use
41250 libm_hidden_weak.
41251 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
41252 __fegetround instead of fegetround.
41253
41254 [BZ #17782]
41255 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
41256 Condition macro definition on [__USE_MISC].
41257
41258 [BZ #17781]
41259 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
41260 (struct sigaction): Change type of sa_flags field to int.
41261
41262 [BZ #17780]
41263 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
41264 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
41265 __glibc_reserved0.
41266
41267 * nptl/version.c (banner): Use single year in copyright notice.
41268
41269 * NEWS: Update copyright dates.
41270 * catgets/gencat.c (print_version): Likewise.
41271 * csu/version.c (banner): Likewise.
41272 * debug/catchsegv.sh: Likewise.
41273 * debug/pcprofiledump.c (print_version): Likewise.
41274 * debug/xtrace.sh (do_version): Likewise.
41275 * elf/ldconfig.c (print_version): Likewise.
41276 * elf/ldd.bash.in: Likewise.
41277 * elf/pldd.c (print_version): Likewise.
41278 * elf/sotruss.sh: Likewise.
41279 * elf/sprof.c (print_version): Likewise.
41280 * iconv/iconv_prog.c (print_version): Likewise.
41281 * iconv/iconvconfig.c (print_version): Likewise.
41282 * locale/programs/locale.c (print_version): Likewise.
41283 * locale/programs/localedef.c (print_version): Likewise.
41284 * login/programs/pt_chown.c (print_version): Likewise.
41285 * malloc/memusage.sh (do_version): Likewise.
41286 * malloc/memusagestat.c (print_version): Likewise.
41287 * malloc/mtrace.pl: Likewise.
41288 * manual/libc.texinfo: Likewise.
41289 * nptl/version.c (banner): Likewise.
41290 * nscd/nscd.c (print_version): Likewise.
41291 * nss/getent.c (print_version): Likewise.
41292 * nss/makedb.c (print_version): Likewise.
41293 * posix/getconf.c (main): Likewise.
41294 * scripts/test-installation.pl: Likewise.
41295 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
41296
41297 2015-01-02 Will Newton <will.newton@linaro.org>
41298
41299 * sysdeps/arm/armv7/configure: Removed.
41300 * sysdeps/arm/armv7/configure.ac: Likewise.
41301
41302 2015-01-02 Joseph Myers <joseph@codesourcery.com>
41303
41304 * All files with FSF copyright notices: Update copyright dates
41305 using scripts/update-copyrights.
41306 * intl/plural.c: Regenerated.
41307 * locale/programs/charmap-kw.h: Likewise.
41308 * locale/programs/locfile-kw.h: Likewise.
41309
41310 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
41311
41312 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
41313
41314 2014-12-31 Joseph Myers <joseph@codesourcery.com>
41315
41316 [BZ #17748]
41317 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
41318 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
41319 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41320 and define as weak alias of __fegetenv. Use libm_hidden_weak.
41321 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41322 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
41323 define as weak alias of __fegetenv. Use libm_hidden_weak.
41324 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
41325 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41326 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41327 define as weak alias of __fegetenv. Use libm_hidden_weak.
41328 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41329 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41330 define as weak alias of __fegetenv. Use libm_hidden_weak.
41331 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
41332 libm_hidden_def.
41333 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
41334 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
41335 Likewise.
41336 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41337 define as weak alias of __fegetenv. Use libm_hidden_weak.
41338 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41339 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41340 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
41341 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41342 and define as weak alias of __fegetenv. Use libm_hidden_weak.
41343 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
41344 __fegetenv instead of fegetenv.
41345 (libc_feholdsetround_noex_ctx): Likewise.
41346
41347 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
41348
41349 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
41350 (Elf_MIPS_ABIFlags_v0): New structure.
41351 (EF_MIPS_FP64): Define.
41352 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
41353 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
41354 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
41355 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
41356 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
41357 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
41358 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
41359 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
41360 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
41361 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
41362 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
41363 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
41364 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
41365 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
41366 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
41367 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
41368 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
41369 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
41370 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
41371 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
41372 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
41373 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
41374 field.
41375 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
41376 EF_MIPS_FP64.
41377 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
41378 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
41379 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
41380 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
41381 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
41382 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
41383 * sysdeps/mips/tst-abi-interlink.c: Likewise.
41384 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
41385 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
41386 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
41387 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
41388 record the current FP ABI extension.
41389 (mips-mode-switch): Define to show if kernel headers support mode
41390 switching.
41391 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
41392 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
41393 supported SYSV ABI version to 3.
41394 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
41395 feature.
41396
41397 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41398 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41399
41400 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
41401 path.
41402 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
41403
41404 2014-12-31 Joseph Myers <joseph@codesourcery.com>
41405
41406 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
41407 __fegetround and redefine to call __fegetround. Remove condition
41408 on [!__NO_MATH_INLINES].
41409 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
41410 function.
41411 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
41412 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41413 Remove macro.
41414 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
41415 instead of <fenv_libc.h>.
41416 (__llrintl): Call fegetround instead of __fegetround.
41417 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
41418 instead of <fenv_libc.h>.
41419 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41420 (__lrintl): Call fegetround instead of __fegetround.
41421 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
41422 instead of <fenv_libc.h>.
41423 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41424 (__rintl): Call fegetround instead of __fegetround.
41425
41426 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41427
41428 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
41429 arrays.
41430
41431 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
41432
41433 [BZ #17775]
41434 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
41435 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
41436 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
41437
41438 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
41439
41440 * sysdeps/i386/tls-macros.h: Include <features.h>.
41441 (TLS_LE): Use non-PIC version for GCC >= 5.0.
41442 (TLS_IE): Likewise.
41443 (TLS_LD): Likewise.
41444 (TLS_GD): Likewise.
41445 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
41446 define for GCC >= 5.0.
41447
41448 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
41449
41450 * math/test-fenv.c (test_single_exception, set_single_exc,
41451 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
41452 feexcp_mask_test, feenable_test, fe_single_test): Add
41453 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
41454 case where they are not used.
41455 * math/libm-test.inc: Likewise.
41456 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
41457 unused in the absence of FP rounding/exception support.
41458 * stdio-common/tst-printf-round.c: Likewise.
41459 * stdlib/tst-strtod-round.c: Likewise.
41460 * stdlib/tst-strtod-underflow.c: Likewise.
41461
41462 2014-12-30 Joseph Myers <joseph@codesourcery.com>
41463
41464 [BZ #17723]
41465 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
41466 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
41467 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41468 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41469 libm_hidden_weak.
41470 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
41471 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41472 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
41473 libm_hidden_def.
41474 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41475 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41476 libm_hidden_weak.
41477 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
41478 Likewise.
41479 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
41480 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41481 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41482 libm_hidden_weak.
41483 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41484 libm_hidden_def.
41485 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41486 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
41487 (__feraiseexcept): Likewise.
41488 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41489 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41490 libm_hidden_weak.
41491 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41492 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41493 libm_hidden_def.
41494 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
41495 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
41496 Use libm_hidden_def.
41497 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
41498 libm_hidden_def.
41499 (feraiseexcept): Define as weak not strong alias. Use
41500 libm_hidden_weak.
41501 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
41502 New inline function. Factored out of ...
41503 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
41504 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
41505 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
41506 feraiseexcept.
41507 * math/w_acos.c (__acos): Likewise.
41508 * math/w_asin.c (__asin): Likewise.
41509 * math/w_ilogb.c (__ilogb): Likewise.
41510 * math/w_j0.c (y0): Likewise.
41511 * math/w_j1.c (y1): Likewise.
41512 * math/w_jn.c (yn): Likewise.
41513 * math/w_log.c (__log): Likewise.
41514 * math/w_log10.c (__log10): Likewise.
41515 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
41516 * sysdeps/aarch64/fpu/math_private.h
41517 (libc_feupdateenv_test_aarch64): Likewise.
41518 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41519 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
41520 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
41521 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41522 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41523 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41524 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
41525 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41526 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41527 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41528
41529 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
41530
41531 [BZ #17732]
41532 * io/test-utime.c (main): Replace %ld with %jd and cast to
41533 intmax_t.
41534 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
41535 * nptl/tst-mutex5.c: Include <stdint.h>.
41536 (do_test): Replace %ld with %jd and cast to intmax_t.
41537 * posix/tst-regex.c (run_test): Likewise.
41538 (run_test_backwards): Likewise.
41539 * rt/tst-clock.c: Include <stdint.h>.
41540 (clock_test): Replace %ld with %jd and cast to intmax_t.
41541 * rt/tst-cpuclock1.c: Include <stdint.h>.
41542 (do_test): Replace %lu with %ju and cast to uintmax_t.
41543 * rt/tst-cpuclock2.c: Include <stdint.h>.
41544 (do_test): Replace %lu with %ju and cast to uintmax_t.
41545 * rt/tst-mqueue1.c: Include <stdint.h>.
41546 (check_attrs): Replace %ld with %jd and cast to intmax_t.
41547 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
41548 intmax_t.
41549 * rt/tst-mqueue4.c (do_test): Likewise.
41550 * rt/tst-timer4.c: Include <stdint.h>.
41551 (check_ts): Replace %ld with %jd and cast to intmax_t.
41552 (do_test): Likewise.
41553 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
41554 and cast to intmax_t.
41555 * sysdeps/pthread/tst-timer.c (main): Likewise.
41556 * time/clocktest.c (main): Likewise.
41557 * time/tst-posixtz.c (do_test): Likewise.
41558 * timezone/tst-timezone.c (main): Likewise.
41559
41560 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
41561 H.J. Lu <hongjiu.lu@intel.com>
41562
41563 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
41564 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
41565 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
41566 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
41567 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
41568 version if bit_Fast_Unaligned_Load is set.
41569 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41570 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41571 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41572 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41573 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41574 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41575 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41576 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
41577 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
41578 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
41579 to 4.
41580 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
41581 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
41582 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
41583 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
41584
41585 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
41586
41587 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
41588 instead of #if to avoid a Wundef warning.
41589 * stdlib/tst-limits.c (do_test): Likewise.
41590
41591 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
41592 parallel other exception macros.
41593 (fegetenv): Convert from macro to extern inline so that it applies
41594 retroactively to inline functions already seen by the compiler.
41595 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
41596
41597 * posix/Makefile (before-compile): Use $(objpfx) for
41598 posix-conf-vars-def.h.
41599
41600 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41601
41602 * posix/getconf.c (main): Use size_t for type of I.
41603 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
41604 NSPEC.
41605
41606 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
41607 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
41608 * posix/posix-envs.def: Likewise.
41609 * sysdeps/posix/sysconf.c: Likewise.
41610 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
41611 (specs): Remove array.
41612 * scripts/gen-posix-conf-vars.awk: Support generation of specs
41613 array.
41614
41615 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
41616 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
41617 (__sysconf): Use CONF_IS_* macros.
41618
41619 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
41620 ($(objpfx)posix-conf-vars-def.h): New target.
41621 * posix/posix-conf-vars.list: New file.
41622 * posix/posix-conf-vars.h: New file.
41623 * posix/confstr.c: Include posix-conf-vars.h.
41624 (confstr): Use CONF_IS_* macros.
41625 * posix/posix-envs.def: Include posix-conf-vars.h. Use
41626 CONF_IS_* macros.
41627 * scripts/gen-posix-conf-vars.awk: New file.
41628
41629 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
41630
41631 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
41632 fegetround): Add no-op macros to avoid linknamespace issues.
41633
41634 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
41635 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
41636
41637 * sysdeps/unix/sysv/linux/tile/sysdep.h
41638 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
41639 assembly-specific section to avoid a redefinition warning.
41640
41641 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
41642 long before casting to pointer to avoid a cast warning.
41643
41644 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
41645
41646 * sysdeps/tile/tilegx/Implies: New file.
41647
41648 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
41649
41650 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
41651
41652 2014-12-23 Florian Weimer <fweimer@redhat.com>
41653
41654 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
41655
41656 2014-12-22 Joseph Myers <joseph@codesourcery.com>
41657
41658 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
41659 not define.
41660 * sysdeps/unix/sysv/linux/utimes.c: Do not include
41661 <kernel-features.h>.
41662 (__utimes) [__NR_utimes]: Make code unconditional.
41663 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
41664 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41665 (__ASSUME_UTIMES): Do not undefine.
41666 * sysdeps/unix/sysv/linux/tile/kernel-features.h
41667 (__ASSUME_UTIMES): Likewise.
41668 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
41669 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
41670 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
41671 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
41672
41673 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
41674
41675 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
41676
41677 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
41678
41679 [BZ #17747]
41680 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
41681 alias to weak alias for j0l, y0l.
41682 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
41683 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
41684
41685 [BZ #17746]
41686 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
41687 conversion.
41688
41689 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
41690
41691 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
41692 to zero if not already defined.
41693
41694 2014-12-22 Joseph Myers <joseph@codesourcery.com>
41695
41696 [BZ #17724]
41697 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
41698 (__kernel_standard_f): Remove. Moved to k_standardf.c.
41699 (__kernel_standard_l): Remove. Moved to k_standardl.c with
41700 (char *) casts added.
41701 * sysdeps/ieee754/k_standardf.c: New file.
41702 * sysdeps/ieee754/k_standardl.c: Likewise.
41703 * math/Makefile (libm-support): Remove k_standard.
41704 (libm-calls): Add k_standard.
41705
41706 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41707
41708 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
41709 Optimize to avoid an unnecessary FPCR read.
41710
41711 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41712
41713 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
41714 Optimize to reduce FPCR/FPSR accesses.
41715
41716 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41717
41718 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
41719 Call libc_fetestexcept_aarch64.
41720
41721 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41722
41723 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
41724 Call libc_fesetround_aarch64.
41725
41726 2014-12-22 Joseph Myers <joseph@codesourcery.com>
41727
41728 [BZ #17733]
41729 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
41730 (__bind): Do not define as weak alias.
41731 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
41732 define.
41733 (__getsockname): Do not define as weak alias.
41734
41735 2014-12-22 Will Newton <will.newton@linaro.org>
41736
41737 * manual/install.texi: Document that we require bison 2.7
41738 or above.
41739 * INSTALL: Regenerate.
41740 * configure.ac: Use AC_CHECK_PROG_VER instead of
41741 AC_PATH_PROG when checking for bison and check for
41742 version 2.7 or above.
41743 * configure: Regenerate.
41744
41745 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
41746
41747 [BZ #17745]
41748 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
41749 * sysdeps/tile/ffsll.c (ffsll): To here.
41750
41751 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
41752
41753 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
41754
41755 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
41756 if not defined.
41757 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
41758 definition.
41759 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
41760 hidden ___tls_get_addr.
41761 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
41762 hidden __tls_get_addr.
41763 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
41764 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
41765 Likewise.
41766
41767 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
41768
41769 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
41770 _dl_init call.
41771
41772 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
41773
41774 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
41775 from "call _dl_init@PLT".
41776 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
41777
41778 2014-12-21 Anders Kaseorg <andersk@mit.edu>
41779
41780 * manual/search.texi: (Array Sort Function): Clarify stable sorting
41781 guarantees.
41782
41783 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
41784
41785 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
41786
41787 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
41788
41789 [BZ #17744]
41790 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
41791 strnlen.
41792
41793 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
41794
41795 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
41796 of multu on MIPSr6.
41797 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
41798 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
41799 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
41800 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
41801 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
41802
41803 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
41804
41805 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
41806 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
41807 (PTR_SUBU): Use subu for mips32r6/mips64r6.
41808 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
41809 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
41810 mips32r6/mips64r6.
41811 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
41812
41813 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
41814
41815 * string/strncat.c (STRNCAT): Simplify implementation.
41816
41817 2014-12-19 David S. Miller <davem@davemloft.net>
41818
41819 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
41820 access the quad as both a long double and as a series of 4 words.
41821
41822 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
41823 link_map->l_info array access.
41824
41825 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
41826
41827 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
41828
41829 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
41830 * math/atest-exp2.c (TIMEOUT): Likewise.
41831 * math/atest-sincos.c (TIMEOUT): Likewise.
41832
41833 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
41834
41835 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
41836 -Wno-error with -fno-builtin-lround.
41837
41838 2014-12-19 Torvald Riegel <triegel@redhat.com>
41839
41840 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
41841 Contains futex constants and functions moved over from ...
41842 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
41843 <lowlevellock-futex.h>.
41844 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
41845 (lll_timedwait_tid): Add comments and parentheses around macro
41846 arguments.
41847
41848 2014-12-19 Torvald Riegel <triegel@redhat.com>
41849
41850 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
41851 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
41852 (__lll_private_flag): Remove.
41853 (lll_futex_wait): Likewise.
41854 (lll_futex_timed_wait): Likewise.
41855 (lll_futex_wake): Likewise.
41856 (lll_futex_requeue): Likewise.
41857 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
41858 (__lll_timedwait_tid): Spell out argument names.
41859 (lll_timedwait_tid): Add comments and parentheses around macro
41860 arguments.
41861 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
41862 LLL_SHARED and LLL_PRIVATE usable from assembly code.
41863
41864 2014-12-19 Torvald Riegel <triegel@redhat.com>
41865
41866 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
41867 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
41868 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41869 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
41870 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
41871 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
41872 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
41873 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
41874 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
41875 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
41876 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
41877 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
41878 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
41879 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
41880 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
41881 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
41882 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
41883 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
41884 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
41885
41886 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
41887
41888 * sysdeps/x86_64/x32/Makefile: New file.
41889
41890 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
41891
41892 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
41893 1L with (mp_limb_t) 1.
41894
41895 2014-12-17 Roland McGrath <roland@hack.frob.com>
41896
41897 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
41898 * nptl/libc_pthread_init.c: ... here.
41899 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
41900 * nptl/register-atfork.c: ... here.
41901
41902 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
41903 Use pthread_sigmask rather than INTERNAL_SYSCALL.
41904 Use assert_perror to check its return value.
41905 (__gai_create_helper_thread): Likewise.
41906
41907 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
41908
41909 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
41910
41911 2014-12-17 Joseph Myers <joseph@codesourcery.com>
41912
41913 [BZ #17725]
41914 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
41915 __profil_counter.
41916 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
41917 Likewise.
41918 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
41919 Likewise.
41920 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
41921 Likewise.
41922 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
41923 (profil_counter): Likewise.
41924 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
41925 (profil_counter): Likewise.
41926 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
41927 Likewise.
41928 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
41929 Likewise.
41930 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
41931 (profil_counter): Likewise.
41932 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
41933 Likewise.
41934 [!__profil_counter] (profil_counter): Define as weak alias of
41935 __profil_counter.
41936 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
41937 (profil_counter): Rename to __profil_counter.
41938 [!__profil_counter] (profil_counter): Define as weak alias of
41939 __profil_counter.
41940 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
41941 (profil_counter): Rename to __profil_counter.
41942 [!__profil_counter] (profil_counter): Define as weak alias of
41943 __profil_counter.
41944 * sysdeps/posix/profil.c: Update comment referring to
41945 profil_counter.
41946 (__profil): Use __profil_counter instead of profil_counter.
41947 * sysdeps/posix/sprofil.c (profil_counter): Rename to
41948 __profil_counter. Use __profil_counter_ushort and
41949 __profil_counter_uint in definitions.
41950 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
41951 instead of profil_counter_uint and profil_counter_ushort.
41952
41953 [BZ #17722]
41954 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
41955 define as weak alias of __inet_makeaddr.
41956 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
41957 as weak alias of __inet_addr.
41958 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
41959 as weak alias of __inet_pton. Use libc_hidden_weak.
41960 * include/arpa/inet.h (__inet_pton): Declare. Use
41961 libc_hidden_proto.
41962 (inet_makeaddr): Don't use libc_hidden_proto.
41963 (__inet_makeaddr): Declare. Use libc_hidden_proto.
41964 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
41965 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
41966 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
41967 Remove variable.
41968 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
41969 (test-xfail-POSIX/time.h/linknamespace): Likewise.
41970
41971 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
41972
41973 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
41974
41975 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
41976
41977 * stdio-common/bug-vfprintf-nargs.c (do_test):
41978 Cast value to intptr_t to avoid format warning
41979 for usage with PRIdPTR printing macro.
41980
41981 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
41982
41983 * libio/tst-widetext.c (do_test):
41984 Use format type %td instead of %Zd for ptrdiff_t
41985 in order to avoid format warning.
41986
41987 2014-12-17 Andreas Schwab <schwab@suse.de>
41988
41989 * nscd/mem.c (gc): Add size_t cast to match printf format.
41990
41991 2014-12-16 Roland McGrath <roland@hack.frob.com>
41992
41993 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
41994 (init): Apply PTR_MANGLE to pointers before storing them.
41995 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
41996 before using them.
41997
41998 2014-12-16 Joseph Myers <joseph@codesourcery.com>
41999
42000 [BZ #17719]
42001 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
42002 define as weak alias of __memrchr.
42003 (__memrchr): Do not define as strong alias of memrchr.
42004 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
42005 Remove variable.
42006 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
42007 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
42008 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
42009
42010 [BZ #17717]
42011 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
42012 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
42013 (if_indextoname): Rename to __if_indextoname and define as weak
42014 alias of __if_indextoname. Use libc_hidden_weak.
42015 (if_freenameindex): Rename to __if_freenameindex and define as
42016 weak alias of __if_freenameindex.
42017 (if_nameindex): Rename to __if_nameindex and define as weak alias
42018 of __if_nameindex.
42019 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
42020 __if_nametoindex and define as weak alias of __if_nametoindex.
42021 Use libc_hidden_weak.
42022 (if_freenameindex): Rename to __if_freenameindex and define as
42023 weak alias of __if_freenameindex.
42024 (if_nameindex): Rename to __if_nameindex and define as weak alias
42025 of __if_nameindex.
42026 (if_indextoname): Rename to __if_indextoname and define as weak
42027 alias of __if_indextoname. Use libc_hidden_weak.
42028 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
42029 __if_nametoindex and define as weak alias of __if_nametoindex.
42030 Use libc_hidden_weak.
42031 (if_freenameindex): Rename to __if_freenameindex and define as
42032 weak alias of __if_freenameindex. Use libc_hidden_weak.
42033 (if_nameindex_netlink): Use __if_freenameindex instead of
42034 if_freenameindex.
42035 (if_nameindex): Rename to __if_nameindex and define as weak alias
42036 of __if_nameindex. Use libc_hidden_weak.
42037 (if_indextoname): Rename to __if_indextoname and define as weak
42038 alias of __if_indextoname. Use libc_hidden_weak.
42039 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
42040 libc_hidden_proto.
42041 [!_ISOMAC] (__if_freenameindex): Likewise.
42042 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
42043 if_nametoindex.
42044 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
42045 variable.
42046 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
42047 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
42048 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
42049 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
42050 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
42051 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
42052 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
42053
42054 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
42055 Remove variable.
42056 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
42057 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
42058
42059 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42060
42061 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
42062 subscript above bounds'
42063
42064 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
42065 bounds.
42066
42067 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
42068
42069 * libio/tst-fopenloc.c: Use test-skeleton.c.
42070
42071 * stdlib/tst-bsearch.c: Use test-skeleton.c.
42072 (entry): Rename to ITEM.
42073 (do_test, comp): Adjust.
42074
42075 * stdio-common/tst-fseek.c: Use test-skeleton.c.
42076
42077 2014-12-16 Torvald Riegel <triegel@redhat.com>
42078
42079 * string/tester.c: Include <libc-internal.h>.
42080 (test_memset): Ignore -Wmemset-transposed-args.
42081
42082 2014-12-16 Torvald Riegel <triegel@redhat.com>
42083
42084 * misc/tst-mntent2.c (do_test): Fix warning.
42085
42086 2014-12-16 Torvald Riegel <triegel@redhat.com>
42087
42088 * elf/tst-unique4lib.cc(a): Mark as used.
42089
42090 2014-12-16 Florian Weimer <fweimer@redhat.com>
42091
42092 [BZ #17630]
42093 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
42094 names.
42095
42096 2014-12-16 Allan McRae <allan@archlinux.org>
42097
42098 * stdio-common/Makefile (tests): Re-add bug26.
42099
42100 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
42101
42102 [BZ #17657]
42103 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
42104 static array.
42105
42106 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
42107
42108 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
42109 (__lll_lock_wait): Likewise.
42110 (__lll_timedlock_wait): Likewise.
42111 (__lll_timedwait_tid): Likewise.
42112 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
42113 (__lll_robust_timedlock_wait): Likewise.
42114 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
42115 (lll_cond_trylock): Likewise.
42116 (__lll_lock): Likewise.
42117 (__lll_robust_lock): Likewise.
42118 (__lll_cond_lock): Likewise.
42119 (lll_robust_cond_lock): Likewise.
42120 (__lll_timedlock): Likewise.
42121 (__lll_robust_timedlock): Likewise.
42122 (__lll_unlock): Likewise.
42123 (__lll_robust_unlock): Likewise.
42124 (lll_wait_tid): Likewise.
42125 (lll_timedwait_tid): Likewise.
42126
42127 2014-12-15 Torvald Riegel <triegel@redhat.com>
42128
42129 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
42130
42131 2014-12-15 Torvald Riegel <triegel@redhat.com>
42132
42133 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
42134
42135 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
42136
42137 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
42138 * stdio-common/tst-sprintf.c: Likewise.
42139
42140 2014-12-15 Torvald Riegel <triegel@redhat.com>
42141
42142 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
42143
42144 2014-12-15 Jeff Law <law@redhat.com>
42145
42146 [BZ #16617]
42147 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
42148 on the heap. (CVE-2012-3406)
42149 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
42150 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
42151 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
42152
42153 2014-12-15 Will Newton <will.newton@linaro.org>
42154
42155 * manual/install.texi: Bump required version of texinfo
42156 to 4.7 from 4.5.
42157 * INSTALL: Regenerated.
42158 * configure.ac: Check for makeinfo version 4.7 and above.
42159 * configure: Regenerated.
42160
42161 2014-12-12 Roland McGrath <roland@hack.frob.com>
42162
42163 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
42164 PREFIX, string constant to insert between directory and name.
42165 * sysdeps/posix/shm_open.c: Update caller.
42166 * sysdeps/posix/shm_unlink.c: Likewise.
42167 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
42168 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
42169 (SEM_SHM_PREFIX): New macro.
42170 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
42171 [$(have-thread-library) = no].
42172 * nptl/Makefile (libpthread-routines): Add shm-directory.
42173 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
42174 * sysdeps/nptl/shm-directory.h: New file.
42175 * sysdeps/posix/shm-directory.c
42176 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
42177 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
42178 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
42179 INTERNAL_SYSCALL.
42180 (__where_is_shmfs): Function removed.
42181 (mountpoint, defaultmount, defaultdir, __namedsem_once):
42182 Variables removed.
42183 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
42184 Use SHM_GET_NAME.
42185 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
42186
42187 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
42188 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
42189 unconditional for use inside libpthread.
42190 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
42191
42192 2014-12-12 Roland McGrath <roland@hack.frob.com>
42193
42194 * nptl/pthread_getaffinity.c: New file.
42195 * nptl/pthread_setaffinity.c: New file.
42196 * nptl/pthread_getname.c: New file.
42197 * nptl/pthread_setname.c: New file.
42198
42199 * nptl/pthread_create.c (START_THREAD_DEFN)
42200 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
42201
42202 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
42203 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42204
42205 * resolv/res_send.c (send_vc): Disable warning resplen may
42206 be used uninitialized.
42207
42208 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
42209
42210 * nptl/tst-mutex6.c
42211 (ATTR_NULL): New define checks ATTR against NULL.
42212 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
42213 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
42214
42215 2014-12-11 James Lemke <jwlemke@codesourcery.com>
42216
42217 [BZ #17581]
42218 * malloc/hooks.c
42219 (mem2mem_check): Revert my previous change.
42220 (malloc_check_get_size): Revert my previous change.
42221 (mem2chunk_check): Revert my previous change.
42222
42223 2014-12-11 Roland McGrath <roland@hack.frob.com>
42224
42225 * sysdeps/posix/shm-directory.c: New file.
42226 * sysdeps/posix/shm-directory.h: New file.
42227 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
42228 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
42229 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
42230 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
42231 Transmute EPERM to EACCES.
42232 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
42233 from ...
42234 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
42235 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
42236
42237 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42238
42239 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
42240 pointer and cast to uintptr_t.
42241 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
42242 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
42243 Add cast to avoid warning.
42244 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
42245
42246 2014-12-11 Joseph Myers <joseph@codesourcery.com>
42247
42248 * nptl/semaphore.h: Move to ...
42249 * sysdeps/pthread/semaphore.h: ... here.
42250 * Makefile (installed-headers): Change nptl/semaphore.h to
42251 sysdeps/pthread/semaphore.h.
42252
42253 2014-12-11 Roland McGrath <roland@hack.frob.com>
42254
42255 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
42256 generated error format strings.
42257
42258 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
42259 -Wformat-extra-args warnings for scanf formats.
42260 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
42261 test of zero-length format (duh).
42262 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
42263 corner-case scanf format test.
42264 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
42265 generated fprintf format string.
42266 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
42267 corner-case sprintf format tests.
42268 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
42269 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
42270 -Wformat-extra-args warnings throughout.
42271 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
42272 (CFLAGS-scanf4.c): Likewise.
42273 (CFLAGS-scanf7.c): Likewise.
42274 (CFLAGS-tst-sprintf.c): Likewise.
42275 (CFLAGS-tst-printf.c): Likewise.
42276 (CFLAGS-tst-printfsz.c): Likewise.
42277
42278 2014-12-11 Joseph Myers <joseph@codesourcery.com>
42279
42280 * include/cpio.h: New file.
42281 * include/fmtmsg.h: Likewise.
42282
42283 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
42284 corresponding format argument to size_t.
42285 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
42286 arguments.
42287 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
42288 corresponding format argument to size_t.
42289 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
42290 arguments.
42291 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
42292 corresponding format argument to size_t.
42293 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
42294 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
42295 (CFLAGS-tst-mbswcs2.c): Likewise.
42296 (CFLAGS-tst-mbswcs3.c): Likewise.
42297 (CFLAGS-tst-mbswcs4.c): Likewise.
42298 (CFLAGS-tst-mbswcs5.c): Likewise.
42299 (CFLAGS-tst-trans.c): Likewise.
42300
42301 2014-12-11 Roland McGrath <roland@hack.frob.com>
42302
42303 * posix/regexbug1.c (main): Use "%s" format with regerror results,
42304 rather than assuming they won't contain any '%'s.
42305
42306 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
42307
42308 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
42309 inhibit_loop_to_libcall to avoid recursive calls.
42310 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
42311 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
42312
42313 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
42314
42315 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
42316 prototype.
42317
42318 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
42319
42320 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
42321 integer value instead of boolean.
42322
42323 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
42324
42325 * malloc/malloc.c: Fix powerof2 check.
42326
42327 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
42328
42329 * locale/programs/locfile.h (maybe_swap_uint32):
42330 Remove inline and add unused attribute.
42331
42332 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
42333
42334 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
42335 Truncating assembler expression to a .long expression.
42336
42337 2014-12-11 Andreas Schwab <schwab@suse.de>
42338
42339 * elf/rtld.c (struct map_args): Constify str member.
42340 (do_preload): Constify fname argument.
42341
42342 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42343
42344 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
42345 constants definition.
42346
42347 2014-12-11 Andreas Schwab <schwab@suse.de>
42348
42349 [BZ #16657]
42350 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
42351 FORCE_ELISION instead of DO_ELISION.
42352 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
42353 Remove.
42354 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
42355 Likewise.
42356
42357 * iconvdata/gconv-modules: Remove duplicate entry.
42358
42359 2014-12-11 Will Newton <will.newton@linaro.org>
42360
42361 Merge gettext 0.19.3 into intl/.
42362
42363 This involves a number of cosmetic changes to comments
42364 and ANSI function definitions and prototypes throughout
42365 all the files. The gettext copyright header is used but
42366 with the date ranges taken from the glibc copy.
42367
42368 * NEWS: Add gettext merge to 2.21.
42369 * intl/bindtextdom.c: Switch to gettext copyright.
42370 Use ANSI definitions and prototypes.
42371 Use gl_* locking primitives rather than __libc_* ones.
42372 Use __builtin_expect rather than __glibc_likely/unlikely.
42373 * intl/dcgettext.c: Switch to gettext copyright.
42374 Use ANSI definitions and prototypes.
42375 * intl/dcigettext.c: Switch to gettext copyright.
42376 Use ANSI definitions and prototypes.
42377 (INTDIV0_RAISES_SIGFPE): New define.
42378 Use gl_* locking primitives rather than __libc_* ones.
42379 Include eval-plural.h instead of plural-eval.c.
42380 Use __builtin_expect rather than __glibc_likely/unlikely.
42381 * intl/dcngettext.c: Switch to gettext copyright.
42382 Use ANSI definitions and prototypes.
42383 * intl/dgettext.c: Likewise.
42384 * intl/dngettext.c: Likewise.
42385 * intl/plural-eval.c: Renamed to...
42386 * intl/eval-plural.h: ...this.
42387 * intl/explodename.c: Switch to gettext copyright.
42388 Use ANSI definitions and prototypes.
42389 (_nl_explode_name): Use strchr instead of __rawmemchr.
42390 * intl/finddomain.c: Switch to gettext copyright.
42391 Use ANSI definitions and prototypes.
42392 Use gl_* locking primitives rather than __libc_* ones.
42393 (_nl_find_domain): Use malloc rather than alloca for
42394 allocation of temporary locale name.
42395 * intl/gettext.c: Switch to gettext copyright.
42396 Use ANSI definitions and prototypes.
42397 * intl/gettextP.h: Switch to gettext copyright.
42398 Use ANSI definitions and prototypes.
42399 Use gl_* locking primitives rather than __libc_* ones.
42400 * intl/gmo.h: Switch to gettext copyright.
42401 (struct sysdep_string): Move struct segment_pair outside of
42402 struct definition.
42403 * intl/hash-string.c: Use ANSI definitions and prototypes.
42404 * intl/hash-string.h: Switch to gettext copyright.
42405 Use ANSI definitions and prototypes.
42406 * intl/l10nflist.c: Switch to gettext copyright.
42407 Use ANSI definitions and prototypes.
42408 (_nl_normalize_codeset): Avoid integer overflow.
42409 * intl/loadinfo.h: Switch to gettext copyright.
42410 Use ANSI definitions and prototypes.
42411 (LIBINTL_DLL_EXPORTED): New define.
42412 (PATH_SEPARATOR): New define.
42413 * intl/loadmsgcat.c: Switch to gettext copyright.
42414 * intl/localealias.c: Switch to gettext copyright.
42415 Use ANSI definitions and prototypes.
42416 (_nl_expand_alias): Use PATH_SEPARATOR.
42417 * intl/ngettext.c: Switch to gettext copyright.
42418 Use ANSI definitions and prototypes.
42419 * intl/plural-exp.c: Likewise.
42420 * intl/plural-exp.h: Switch to gettext copyright.
42421 Use ANSI definitions and prototypes.
42422 (struct expression): Move definition of enum operator outside
42423 of struct definition.
42424 * intl/plural.c: Regenerate.
42425 * intl/plural.y: Switch to gettext copyright.
42426 Use ANSI definitions and prototypes.
42427 Port to bison 3.0.
42428 * intl/textdomain.c: Switch to gettext copyright.
42429 Use ANSI definitions and prototypes.
42430 Use gl_* locking primitives rather than __libc_* ones.
42431
42432 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
42433
42434 * debug/warning-nop.c: Add used atrribute.
42435
42436 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42437
42438 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
42439
42440 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
42441 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
42442 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
42443
42444 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42445 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42446
42447 [BZ #17634]
42448 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
42449 Undefine after defining function. Define as weak alias of
42450 __wcschr. Use libc_hidden_weak.
42451 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
42452 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
42453 (libc_hidden_def): Also define __GI___wcschr alias.
42454 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
42455 __wcschr and define as weak alias of __wcschr.
42456 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
42457 __wcschr.
42458 [!WCSCHR] (DEFAULT_WCSCHR): Define.
42459 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
42460 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
42461 libc_hidden_weak. Do not use libc_hidden_def.
42462 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
42463 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
42464 __GI___wcschr alias.
42465 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
42466 [IS_IN (libc)] (wcschr): Define as macro expanding to
42467 __redirect_wcschr.
42468 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
42469 [IS_IN (libc)] (__wcschr_power6): Likewise.
42470 [IS_IN (libc)] (__wcschr_power7): Likewise.
42471 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
42472 instead of wcschr.
42473 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
42474 __libc_wcschr.
42475 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
42476 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
42477 __wcschr and define as weak alias of __wcschr. Use
42478 libc_hidden_builtin_def.
42479 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
42480 as weak alias of __wcschr. Use libc_hidden_weak.
42481 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
42482 wcschr.
42483 * time/era.c (_nl_init_era_entries): Likewise.
42484 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
42485 variable.
42486 (test-xfail-XPG3/time.h/linknamespace): Likewise.
42487 (test-xfail-XPG4/time.h/linknamespace): Likewise.
42488
42489 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42490
42491 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
42492 format for long int variable.
42493
42494 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
42495
42496 [BZ #10672]
42497 * manual/search.texi: (Array Sort Function): Remove claim how to make
42498 qsort stable.
42499
42500 2014-12-10 Andreas Schwab <schwab@suse.de>
42501
42502 [BZ #12847]
42503 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
42504 user-controlled locks.
42505
42506 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
42507
42508 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
42509 register.
42510
42511 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42512
42513 * configure.ac (--disable-werror): New configure option.
42514 (enable_werror): New AC_SUBST.
42515 * configure: Regenerated.
42516 * config.make.in (enable-werror): New variable.
42517 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
42518 -Wno-error=undef.
42519 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
42520 * manual/install.texi (Configuring and compiling): Document
42521 --disable-werror.
42522 * INSTALL: Regenerated.
42523 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
42524 (CFLAGS-tst-chk2.c): Likewise.
42525 (CFLAGS-tst-chk3.c): Likewise.
42526 (CFLAGS-tst-chk4.cc): Likewise.
42527 (CFLAGS-tst-chk5.cc): Likewise.
42528 (CFLAGS-tst-chk6.cc): Likewise.
42529 (CFLAGS-tst-lfschk1.c): Likewise.
42530 (CFLAGS-tst-lfschk2.c): Likewise.
42531 (CFLAGS-tst-lfschk3.c): Likewise.
42532 (CFLAGS-tst-lfschk4.cc): Likewise.
42533 (CFLAGS-tst-lfschk5.cc): Likewise.
42534 (CFLAGS-tst-lfschk6.cc): Likewise.
42535
42536 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
42537 (main): Disable -Wdeprecated-declarations around calls to
42538 register_printf_function.
42539
42540 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
42541 (do_test): Disable -Wdiv-by-zero around some calls to
42542 fwrite_unlocked and fread_unlocked.
42543
42544 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
42545 (DIAG_POP_NEEDS_COMMENT): Likewise.
42546 (_DIAG_STR1): Likewise.
42547 (_DIAG_STR): Likewise.
42548 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
42549 * stdio-common/bug21.c: Include <libc-internal.h>.
42550 (do_test): Disable -Wformat around call to sscanf.
42551 * stdio-common/scanf14.c: Include <libc-internal.h>.
42552 (main): Disable -Wformat around some calls to scanf functions.
42553
42554 2014-12-09 Torvald Riegel <triegel@redhat.com>
42555
42556 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
42557
42558 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42559
42560 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
42561 stack variable alignment.
42562
42563 2014-12-06 Joseph Myers <joseph@codesourcery.com>
42564
42565 [BZ #17682]
42566 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
42567 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
42568 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
42569 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
42570 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
42571 __getrlimit instead of getrlimit.
42572 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
42573 __gettimeofday instead of gettimeofday.
42574 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
42575 Likewise.
42576 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
42577 Likewise.
42578 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42579 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
42580 Remove variable.
42581 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
42582 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
42583
42584 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42585
42586 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
42587 for wide-character tests.
42588
42589 2014-12-04 Roland McGrath <roland@hack.frob.com>
42590
42591 * io/openat64.c: #include <libc-internal.h>
42592 (__openat64): Prototypify. Use ignore_value on MODE.
42593 * io/openat.c: Likewise.
42594 * misc/reboot.c: #include <libc-internal.h>
42595 (reboot): Prototypify. Use ignore_value on HOWTO.
42596 * misc/ptrace.c: #include <libc-internal.h>
42597 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
42598
42599 2014-12-04 Joseph Myers <joseph@codesourcery.com>
42600
42601 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
42602 XPG4, UNIX98 and XOPEN2K.
42603 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
42604 Remove variable.
42605 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
42606
42607 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42608
42609 * libio/fileops.c: Use ISO C style for function definitions.
42610 * libio/iofopen.c: Likewise.
42611 * libio/wfileops.c: Likewise.
42612
42613 [BZ #17653]
42614 * libio/fileops.c (_IO_new_file_underflow): Unset cached
42615 offset on EOF.
42616 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
42617 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
42618 (fgets_func): Function pointer to fgets and fgetws.
42619 (do_ftell_test): Add test to verify ftell value after read
42620 EOF.
42621 (do_test): Set fgets_func.
42622
42623 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
42624 O_TRUNC flag for w and w+ modes.
42625 (do_rewind_test): Likewise.
42626 (do_ftell_test): Likewise.
42627 (do_write_test): Likewise.
42628
42629 [BZ #17647]
42630 * libio/fileops.c (do_ftell): Seek only when there are
42631 unflushed writes.
42632 * libio/wfileops.c (do_ftell_wide): Likewise.
42633 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
42634 test case.
42635 (do_one_test): Call it.
42636
42637 2014-12-03 Joseph Myers <joseph@codesourcery.com>
42638
42639 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
42640 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
42641 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
42642 Remove variable.
42643 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
42644 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
42645 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
42646
42647 2014-12-02 Joseph Myers <joseph@codesourcery.com>
42648
42649 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
42650 Remove variable.
42651 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
42652
42653 [BZ #17668]
42654 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
42655 as weak alias of __getifaddrs. Use libc_hidden_weak.
42656 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42657 __freeifaddrs. Use libc_hidden_weak.
42658 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
42659 define as weak alias of __getifaddrs. Use libc_hidden_weak.
42660 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42661 __freeifaddrs. Use libc_hidden_weak.
42662 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
42663 __getifaddrs and define as weak alias of __getifaddrs. Use
42664 libc_hidden_weak.
42665 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42666 __freeifaddrs. Use libc_hidden_weak.
42667 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
42668 Remove variable.
42669 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
42670 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
42671
42672 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
42673
42674 [BZ #17601]
42675 * sysdeps/mips/start.S (__start): Use indirect jump to call
42676 __libc_start_main.
42677
42678 2014-12-02 Joseph Myers <joseph@codesourcery.com>
42679
42680 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
42681
42682 * nptl/tst-mutex1.c: Include <stdbool.h>.
42683 [!ATTR] (ATTR_NULL): New macro.
42684 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
42685 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
42686 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
42687
42688 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
42689 to char *.
42690
42691 [BZ #17665]
42692 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
42693 Change conditional to [__USE_MISC].
42694
42695 [BZ #17664]
42696 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
42697 fgets_unlocked.
42698 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
42699 __fgets_unlocked.
42700 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
42701 fgets_unlocked.
42702 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
42703 Remove variable.
42704 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
42705 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
42706 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
42707 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
42708 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
42709 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
42710 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
42711 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
42712 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
42713
42714 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
42715
42716 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42717
42718 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42719 Remove strpbrk objects.
42720 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42721 (__libc_ifunc_impl_list): Remove strpbrk implementation.
42722 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
42723 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
42724 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
42725 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
42726
42727 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42728 Remove strcspn objects.
42729 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42730 (__libc_ifunc_impl_list): Remove strcspn implementation.
42731 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
42732 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
42733 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
42734 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
42735
42736 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42737 Remove strspn objetcs.
42738 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42739 (__libc_ifunc_impl_list): Remove strspn implementation.
42740 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
42741 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
42742 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
42743 * sysdeps/powerpc/powerpc64/strspn.S: New file.
42744
42745 2014-12-01 James Lemke <jwlemke@codesourcery.com>
42746
42747 [BZ #17581]
42748 * malloc/hooks.c
42749 (mem2mem_check): Add a terminator to the chain of checking blocks.
42750 (malloc_check_get_size): Use it here.
42751 (mem2chunk_check): Ditto.
42752
42753 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42754
42755 * sysdeps/powerpc/powerpc64/strtok.S: New file.
42756 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
42757
42758 2014-11-29 Carlos O'Donell <carlos@redhat.com>
42759
42760 * bits/ioctl-types.h: Indent preprocessor directives correctly.
42761
42762 * nptl/nptl-init.c: Include libc-internal.h.
42763 (__pthread_initialize_minimal_internal): Use ROUND_UP.
42764
42765 * elf/ldconfig.c (search_dir): Expand comment.
42766
42767 2014-11-29 Joseph Myers <joseph@codesourcery.com>
42768
42769 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
42770 variable.
42771 (linknamespace-symlist-stdlibs-tests): Likewise.
42772 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
42773 instead of $(objpfx)symlist-stdlibs.
42774 (linknamespace-libs-isoc): New variable.
42775 (linknamespace-libs): Use $(linknamespace-libs-isoc).
42776 (linknamespace-libs-ISO): New variable.
42777 (linknamespace-libs-ISO99): Likewise.
42778 (linknamespace-libs-ISO11): Likewise.
42779 (linknamespace-libs-XPG3): Likewise.
42780 (linknamespace-libs-XPG4): Likewise.
42781 (linknamespace-libs-POSIX): Likewise.
42782 (linknamespace-libs-UNIX98): Likewise.
42783 (linknamespace-libs-XOPEN2K): Likewise.
42784 (linknamespace-libs-POSIX2008): Likewise.
42785 (linknamespace-libs-XOPEN2K8): Likewise.
42786 ($(objpfx)symlist-stdlibs): Replace by
42787 $(linknamespace-symlist-stdlibs-tests). Use
42788 $(linknamespace-libs-$*) as set of libraries.
42789 ($(linknamespace-header-tests)): Update dependencies. Use
42790 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
42791 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
42792 * conform/linknamespace.pl: Remove comment about considering
42793 definitions of symbols from irrelevant libraries.
42794
42795 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
42796
42797 [BZ #13862]
42798 * elf/dl-tls.c: Include <atomic.h>.
42799 (oom): Remove #ifdef SHARED/#endif.
42800 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
42801 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
42802 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
42803 big enough.
42804 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
42805 * nptl/Makefile (tests): Add tst-stack4.
42806 (modules-names): Add tst-stack4mod.
42807 ($(objpfx)tst-stack4): New.
42808 (tst-stack4mod.sos): Likewise.
42809 ($(objpfx)tst-stack4.out): Likewise.
42810 ($(tst-stack4mod.sos)): Likewise.
42811 (clean): Likewise.
42812 * nptl/tst-stack4.c: New file.
42813 * nptl/tst-stack4mod.c: Likewise.
42814
42815 2014-11-27 J. Brown <jb999@gmx.de>
42816
42817 * sysdeps/x86/bits/string.h: Add recent CPUs.
42818
42819 2014-11-27 Joseph Myers <joseph@codesourcery.com>
42820
42821 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
42822 sigblock.
42823
42824 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
42825 feof.
42826
42827 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
42828 variable.
42829
42830 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
42831
42832 * nscd/connections.c: Include libc-internal.h because of macro
42833 usage ignore_value.
42834
42835 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42836
42837 * string/bits/string3.h (__warn_memset_zero_len): Don't
42838 declare for gcc newer than 5.0.
42839 (memset): Don't test for zero-length __LEN for gcc newer than
42840 5.0.
42841
42842 2014-11-27 Joseph Myers <joseph@codesourcery.com>
42843
42844 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
42845 size_t for %zu format.
42846
42847 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
42848 difference, not %ju.
42849
42850 2014-11-26 Joseph Myers <joseph@codesourcery.com>
42851
42852 * include/libc-internal.h (ignore_value): New macro.
42853 * nscd/connections.c (restart): Wrap calls to setuid and setgid
42854 with ignore_value.
42855
42856 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
42857 definition.
42858
42859 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
42860 pthread_cleanup_push to void *.
42861
42862 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
42863 Undefine.
42864
42865 [BZ #16619]
42866 [BZ #16740]
42867 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
42868 instead of 1L << 52.
42869
42870 * libio/bug-rewind.c (do_test): Check fwscanf return values.
42871 * libio/bug-rewind2.c (do_test): Likewise.
42872
42873 * debug/test-stpcpy_chk-ifunc.c: Remove file.
42874 * debug/test-strcpy_chk-ifunc.c: Likewise.
42875 * wcsmbs/test-wcschr-ifunc.c: Likewise.
42876 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42877 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42878 * wcsmbs/test-wcslen-ifunc.c: Likewise.
42879 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
42880 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
42881 * Rules [$(multi-arch) = no] (tests): Do not filter out
42882 $(tests-ifunc).
42883 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
42884 * debug/Makefile (tests-ifunc): Remove variable.
42885 (tests): Do not add $(tests-ifunc).
42886 * wcsmbs/Makefile (tests-ifunc): Remove variable.
42887 (tests): Do not add $(tests-ifunc).
42888 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
42889 [TEST_IFUNC]: Remove conditionals.
42890 * string/test-string.h (TEST_IFUNC): Remove macro.
42891 [TEST_IFUNC]: Remove conditionals.
42892
42893 * string/test-strchr.c [!WIDE] (L): New macro.
42894 [WIDE] (L): Likewise.
42895 (check1): Use CHAR instead of char. Use L on string and character
42896 constants.
42897
42898 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
42899
42900 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
42901 tests.
42902 * sysdeps/powerpc/bits/atomic.h
42903 (__arch_atomic_exchange_and_add_32_acq): Add definition.
42904 (__arch_atomic_exchange_and_add_32_rel): Likewise.
42905 (atomic_exchange_and_add_acq): Likewise.
42906 (atomic_exchange_and_add_rel): Likewise.
42907 * sysdeps/powerpc/powerpc32/bits/atomic.h
42908 (__arch_atomic_exchange_and_add_64_acq): Add definition.
42909 (__arch_atomic_exchange_and_add_64_rel): Likewise.
42910 * sysdeps/powerpc/powerpc64/bits/atomic.h
42911 (__arch_atomic_exchange_and_add_64_acq): Add definition.
42912 (__arch_atomic_exchange_and_add_64_rel): Likewise.
42913
42914 2014-11-26 Torvald Riegel <triegel@redhat.com>
42915
42916 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
42917 Change synchronization of __sched_fifo_min_prio and
42918 __sched_fifo_max_prio.
42919 * nptl/pthread_mutexattr_getprioceiling.c
42920 (pthread_mutexattr_getprioceiling): Likewise.
42921 * nptl/pthread_mutexattr_setprioceiling.c
42922 (pthread_mutexattr_setprioceiling): Likewise.
42923 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
42924 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
42925 Likewise.
42926
42927 2014-11-26 Joseph Myers <joseph@codesourcery.com>
42928
42929 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
42930 void.
42931
42932 2014-11-25 Joseph Myers <joseph@codesourcery.com>
42933
42934 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
42935 third argument const.
42936
42937 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
42938
42939 fnmatch: work around GCC compiler warning bug with uninit var
42940 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
42941 This works around a bug with x86-64 GCC 4.9.2 and earlier
42942 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
42943 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
42944 used uninitialized in this function [-Wmaybe-uninitialized]".
42945
42946 2014-11-25 Joseph Myers <joseph@codesourcery.com>
42947
42948 * posix/bug-regex31.c (main): Return RES not 0.
42949
42950 2014-11-25 Anton Blanchard <anton@samba.org>
42951
42952 * sysdeps/powerpc/bits/atomic.h
42953 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
42954
42955 2014-11-24 Sterling Augustine <saugustine@google.com>
42956
42957 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
42958
42959 2014-11-24 Ryan Cumming <etaoins@gmail.com>
42960
42961 [BZ #17608]
42962 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
42963
42964 2014-11-24 Joseph Myers <joseph@codesourcery.com>
42965
42966 [BZ #17633]
42967 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
42968 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
42969 variable.
42970 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
42971 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
42972
42973 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
42974
42975 * string/strncpy.c (strncpy): Improve performance by using memset.
42976
42977 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
42978
42979 * string/strcpy.c (strcpy):
42980 Improve performance by using strlen and memcpy.
42981
42982 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
42983
42984 * string/strcoll_l.c (get_next_seq): __always_inline.
42985 * string/strcoll_l.c (do_compare): __always_inline.
42986
42987 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
42988
42989 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
42990 defined.
42991 * include/mqueue.h: Likewise.
42992 * include/stdlib.h: Likewise.
42993
42994 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
42995 (get_null_defines): Adjust.
42996 * sunrpc/Makefile: Adjust comment.
42997 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
42998 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
42999 (CFLAGS-interp.c): Likewise.
43000 (CFLAGS-ldconfig.c): Likewise.
43001 (CPPFLAGS-.os): Likewise.
43002 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43003 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43004 * extra-modules.mk (extra-modules.mk): Likewise.
43005 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
43006 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
43007 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
43008 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
43009 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
43010 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
43011 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
43012 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
43013 * iconvdata/Makefile (CPPFLAGS): Likewise.
43014 (cpp-srcs-left): Add libof for all iconvdata routines.
43015 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
43016 * include/assert.h: Likewise.
43017 * include/ctype.h: Likewise.
43018 * include/errno.h: Likewise.
43019 * include/libc-symbols.h: Likewise.
43020 * include/math.h: Likewise.
43021 * include/netdb.h: Likewise.
43022 * include/resolv.h: Likewise.
43023 * include/stdio.h: Likewise.
43024 * include/stdlib.h: Likewise.
43025 * include/string.h: Likewise.
43026 * include/sys/stat.h: Likewise.
43027 * include/wctype.h: Likewise.
43028 * intl/l10nflist.c: Likewise.
43029 * libidn/idn-stub.c: Likewise.
43030 * libio/libioP.h: Likewise.
43031 * nptl/libc_multiple_threads.c: Likewise.
43032 * nptl/pthreadP.h: Likewise.
43033 * posix/regex_internal.h: Likewise.
43034 * resolv/res_hconf.c: Likewise.
43035 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
43036 * sysdeps/arm/memmove.S: Likewise.
43037 * sysdeps/arm/sysdep.h: Likewise.
43038 * sysdeps/generic/_itoa.h: Likewise.
43039 * sysdeps/generic/symbol-hacks.h: Likewise.
43040 * sysdeps/gnu/errlist.awk: Likewise.
43041 * sysdeps/gnu/errlist.c: Likewise.
43042 * sysdeps/i386/i586/memcpy.S: Likewise.
43043 * sysdeps/i386/i586/memset.S: Likewise.
43044 * sysdeps/i386/i686/memcpy.S: Likewise.
43045 * sysdeps/i386/i686/memmove.S: Likewise.
43046 * sysdeps/i386/i686/mempcpy.S: Likewise.
43047 * sysdeps/i386/i686/memset.S: Likewise.
43048 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43049 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43050 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
43051 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
43052 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43053 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43054 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
43055 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43056 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43057 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43058 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43059 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43060 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43061 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43062 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43063 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43064 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
43065 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
43066 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
43067 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43068 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43069 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43070 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43071 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43072 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43073 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43074 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
43075 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43076 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
43077 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43078 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43079 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43080 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43081 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43082 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43083 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43084 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43085 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43086 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43087 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43088 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43089 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43090 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43091 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43092 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43093 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43094 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
43095 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
43096 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43097 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43098 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43099 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
43100 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
43101 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43102 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43103 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
43104 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43105 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
43106 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
43107 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43108 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43109 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43110 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
43111 * sysdeps/nptl/bits/libc-lock.h: Likewise.
43112 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43113 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
43114 * sysdeps/posix/closedir.c: Likewise.
43115 * sysdeps/posix/opendir.c: Likewise.
43116 * sysdeps/posix/readdir.c: Likewise.
43117 * sysdeps/posix/rewinddir.c: Likewise.
43118 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
43119 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
43120 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43121 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43122 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43123 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
43124 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
43125 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
43126 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
43127 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
43128 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
43129 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
43130 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
43131 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
43132 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
43133 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
43134 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
43135 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
43136 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
43137 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
43138 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
43139 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
43140 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
43141 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
43142 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
43143 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
43144 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
43145 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
43146 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
43147 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
43148 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
43149 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
43150 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
43151 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
43152 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
43153 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
43154 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43155 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43156 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
43157 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
43158 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
43159 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
43160 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
43161 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
43162 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
43163 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
43164 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
43165 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
43166 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
43167 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
43168 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
43169 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
43170 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
43171 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
43172 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
43173 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
43174 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
43175 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
43176 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
43177 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
43178 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
43179 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
43180 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
43181 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
43182 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
43183 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
43184 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
43185 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
43186 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
43187 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
43188 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
43189 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
43190 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
43191 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
43192 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
43193 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
43194 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
43195 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
43196 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
43197 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
43198 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
43199 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
43200 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
43201 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
43202 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43203 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
43204 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
43205 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43206 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43207 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43208 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
43209 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
43210 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
43211 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43212 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43213 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
43214 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43215 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43216 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
43217 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
43218 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43219 * sysdeps/unix/alpha/sysdep.S: Likewise.
43220 * sysdeps/unix/alpha/sysdep.h: Likewise.
43221 * sysdeps/unix/make-syscalls.sh: Likewise.
43222 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43223 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43224 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43225 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
43226 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43227 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
43228 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
43229 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43230 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43231 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
43232 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43233 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43234 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43235 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43236 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43237 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43238 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43239 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43240 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43241 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43242 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
43243 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43244 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43245 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43246 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43247 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43248 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43251 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
43252 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43253 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43254 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43255 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43256 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
43257 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43258 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43259 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43260 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
43261 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
43262 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43263 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43264 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43265 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
43266 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43267 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43268 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43269 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43270 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43271 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43272 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43273 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43274 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43275 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43276 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
43277 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43278 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43279 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43280 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
43281 * sysdeps/x86_64/memcpy.S: Likewise.
43282 * sysdeps/x86_64/memmove.c: Likewise.
43283 * sysdeps/x86_64/memset.S: Likewise.
43284 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
43285 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43286 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43287 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
43288 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
43289 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43290 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43291 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43292 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43293 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43294 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43295 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43296 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
43297 * sysdeps/x86_64/multiarch/memset.S: Likewise.
43298 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43299 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
43300 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
43301 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43302 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43303 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43304 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
43305 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43306 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43307 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43308 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43309 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43310 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43311 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
43312 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43313 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43314 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
43315 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43316 * sysdeps/x86_64/strcmp.S: Likewise.
43317
43318 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
43319
43320 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
43321 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
43322 * elf/rtld-Rules: Likewise.
43323 * elf/setup-vdso.h: Likewise.
43324 * include/assert.h: Likewise.
43325 * include/bits/stdlib-float.h: Likewise.
43326 * include/errno.h: Likewise.
43327 * include/sys/stat.h: Likewise.
43328 * include/unistd.h: Likewise.
43329 * sysdeps/aarch64/setjmp.S: Likewise.
43330 * sysdeps/alpha/setjmp.S: Likewise.
43331 * sysdeps/arm/__longjmp.S: Likewise.
43332 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
43333 * sysdeps/arm/setjmp.S: Likewise.
43334 * sysdeps/arm/sysdep.h: Likewise.
43335 * sysdeps/generic/_itoa.h: Likewise.
43336 * sysdeps/generic/dl-sysdep.h: Likewise.
43337 * sysdeps/generic/ldsodefs.h: Likewise.
43338 * sysdeps/i386/dl-tls.h: Likewise.
43339 * sysdeps/i386/setjmp.S: Likewise.
43340 * sysdeps/m68k/setjmp.c: Likewise.
43341 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
43342 * sysdeps/mach/hurd/opendir.c: Likewise.
43343 * sysdeps/posix/getcwd.c: Likewise.
43344 * sysdeps/posix/opendir.c: Likewise.
43345 * sysdeps/posix/profil.c: Likewise.
43346 * sysdeps/powerpc/dl-procinfo.h: Likewise.
43347 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43348 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43349 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43350 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43351 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
43352 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
43353 * sysdeps/s390/dl-tls.h: Likewise.
43354 * sysdeps/s390/s390-32/setjmp.S: Likewise.
43355 * sysdeps/s390/s390-64/setjmp.S: Likewise.
43356 * sysdeps/sh/sh3/setjmp.S: Likewise.
43357 * sysdeps/sh/sh4/setjmp.S: Likewise.
43358 * sysdeps/unix/alpha/sysdep.h: Likewise.
43359 * sysdeps/unix/arm/sysdep.S: Likewise.
43360 * sysdeps/unix/i386/sysdep.S: Likewise.
43361 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43362 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
43363 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43364 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43365 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43366 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43367 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
43368 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43369 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43370 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43371 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
43372 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43373 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43376 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43377 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43378 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43379 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43380 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43381 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43382 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43383 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43384 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43385 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43386 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43387 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43388 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43389 * sysdeps/x86_64/setjmp.S: Likewise.
43390
43391 * include/math.h: Use IS_IN instead of IS_IN_libm.
43392 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
43393 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43394 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43395 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
43396 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43397 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43398 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43399 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43400 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43401 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43402 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
43403 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
43404 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
43405 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
43406 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
43407 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
43408 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
43409 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
43410 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
43411 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
43412 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
43413 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
43414 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
43415 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
43416 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
43417 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
43418 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
43419 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
43420 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
43421 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
43422 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
43423 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43424 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
43425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
43426 Likewise.
43427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
43428 Likewise.
43429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
43430 Likewise.
43431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
43432 Likewise.
43433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
43434 Likewise.
43435 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43436 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
43437 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43438 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43439 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43440 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
43442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
43443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
43444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
43445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
43446 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
43447 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
43448 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
43449 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
43450 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43451 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
43452 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
43453 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43454 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43455 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
43456 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
43457 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
43458 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
43459 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
43460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43461 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
43462
43463 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
43464 * nptl/pthreadP.h: Likewise.
43465 * nptl_db/structs.def: Likewise.
43466 * sysdeps/arm/sysdep.h: Likewise.
43467 * sysdeps/nptl/bits/libc-lock.h: Likewise.
43468 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43469 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
43470 * sysdeps/unix/alpha/sysdep.h: Likewise.
43471 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43472 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43473 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43474 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43475 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43476 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43477 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43478 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43479 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43480 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43481 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43482 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43483 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43484 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43487 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43488 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43489 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43490 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43491 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43492 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43493 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43494 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43495 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
43496 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43497
43498 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
43499 * nptl/pthreadP.h: Likewise.
43500 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43501 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43502 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43503 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43504 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43505 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43506 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43507 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43508 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43509 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43510 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43511 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
43513 Likewise.
43514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
43515 Likewise.
43516 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43517 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43518 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43519 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43520 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43521 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43522 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43523 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43524
43525 * dlfcn/dladdr.c: Use IS_IN.
43526 * dlfcn/dladdr1.c: Likewise.
43527 * dlfcn/dlclose.c: Likewise.
43528 * dlfcn/dlerror.c: Likewise.
43529 * dlfcn/dlinfo.c: Likewise.
43530 * dlfcn/dlmopen.c: Likewise.
43531 * dlfcn/dlopen.c: Likewise.
43532 * dlfcn/dlsym.c: Likewise.
43533 * dlfcn/dlvsym.c: Likewise.
43534
43535 * include/ifaddrs.h: Use IS_IN.
43536 * inet/check_pf.c: Likewise.
43537 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43538 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
43539
43540 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
43541 IS_IN_ldconfig.
43542 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
43543 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
43544
43545 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
43546 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
43547 IS_IN (libc).
43548
43549 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
43550
43551 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
43552 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43553 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43554 * include/libc-symbols.h (IS_IN_LIB): New macro.
43555 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
43556 * include/netdb.h: Likewise.
43557 * include/stap-probe.h: Remove all uses of IN_LIB.
43558
43559 * Makeconfig (module-cppflags-real): Define MODULE_NAME
43560 instead of IN_MODULE.
43561 * include/libc-symbols.h (IN_MODULE): Define using
43562 MODULE_NAME.
43563 (PASTE_NAME, PASTE_NAME1): New macros.
43564 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
43565 of IN_LIB.
43566 (STAP_PROBE_ASM): Likewise.
43567
43568 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
43569
43570 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
43571 __mach_init in dlopened libc.
43572
43573 2014-11-22 Mike Frysinger <vapier@gentoo.org>
43574
43575 * sysdeps/arm/preconfigure.ac: Delete EABI check.
43576 * sysdeps/arm/preconfigure: Regenerate.
43577
43578 2014-11-21 Roland McGrath <roland@hack.frob.com>
43579
43580 * nptl/pthread_create.c (__pthread_create_2_1): Set
43581 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
43582 when copying values from IATTR into PD.
43583
43584 2014-11-21 Will Newton <will.newton@linaro.org>
43585 Andrew Pinski <andrew.pinski@caviumnetworks.com>
43586
43587 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
43588 Refactor inline-asm. Also add comment.
43589
43590 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
43591 ElfW macro instead of hardcoded Elf64 types.
43592 (la_aarch64_gnu_pltenter): Likewise.
43593 * sysdeps/aarch64/dl-machine.h
43594 (elf_machine_runtime_setup): Use ElfW(Addr).
43595
43596 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
43597 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
43598 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
43599 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
43600 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
43601 (R_AARCH64_TLS_DTPMOD64): Rename to ..
43602 (R_AARCH64_TLS_DTPMOD): This.
43603 (R_AARCH64_TLS_DTPREL64): Rename to ...
43604 (R_AARCH64_TLS_DTPREL): This.
43605 (R_AARCH64_TLS_TPREL64): Rename to ...
43606 (R_AARCH64_TLS_TPREL): This.
43607 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
43608 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
43609 R_AARCH64_TLS_TPREL64.
43610 (elf_machine_rela): Likewise.
43611
43612 2014-11-21 Torvald Riegel <triegel@redhat.com>
43613
43614 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
43615 by setting it to 0. 64b atomics are not supported currently.
43616
43617 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43618
43619 [BZ #16469]
43620 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
43621 search domain names.
43622
43623 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43624
43625 [BZ #16469]
43626 * NEWS: Update.
43627 * resolv/res_query.c (__libc_res_nquerydomain): Retain
43628 trailing dot.
43629 * posix/tst-getaddrinfo5.c: New.
43630 * posix/Makefile (tests): Add it.
43631
43632 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43633
43634 [BZ #14498]
43635 * NEWS: Fixed.
43636 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
43637 after parsing line but before break_if_match.
43638 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
43639 if there is a protocol mismatch.
43640
43641 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
43642
43643 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
43644 because the potential race is on the user-supplied stream.
43645
43646 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43647
43648 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
43649 string literal if not passed a buffer.
43650 * manual/job.texi (ctermid): Update reasoning, note deviation
43651 from posix, suggest mtasurace when not passed a buffer, for
43652 future non-preliminary safety notes.
43653
43654 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43655
43656 * manual/users.texi (cuserid): Fix MT-Safety note for the case
43657 of not passing it a buffer.
43658 Reported by Peng Haitao.
43659
43660 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43661
43662 * manual/Makefile ($(objpfx)stamp-summary): Require
43663 check-safety.sh to pass.
43664 * manual/check-safety.sh: Wish for verification that every
43665 @deftypefn and @deftypefun is followed by a @safety remark.
43666
43667 2014-11-20 Roland McGrath <roland@hack.frob.com>
43668
43669 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
43670
43671 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
43672 PTHREAD_CANCEL_ASYNCHRONOUS.
43673 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
43674 send SIGCANCEL.
43675
43676 * nptl/default-sched.h: New file.
43677 * sysdeps/unix/sysv/linux/default-sched.h: New file.
43678 * nptl/pthread_create.c: Include it.
43679 (__pthread_create_2_1): Use collect_default_sched instead of making
43680 Linux syscalls here directly.
43681
43682 2014-11-20 Torvald Riegel <triegel@redhat.com>
43683
43684 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
43685 __pthread_once): Use C11 atomics.
43686
43687 2014-11-20 Torvald Riegel <triegel@redhat.com>
43688
43689 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
43690
43691 2014-11-20 Torvald Riegel <triegel@redhat.com>
43692
43693 * include/atomic.h (__atomic_link_error, __atomic_check_size,
43694 atomic_thread_fence_acquire, atomic_thread_fence_release,
43695 atomic_thread_fence_seq_cst, atomic_load_relaxed,
43696 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
43697 atomic_compare_exchange_weak_relaxed,
43698 atomic_compare_exchange_weak_acquire,
43699 atomic_compare_exchange_weak_release,
43700 atomic_exchange_acquire, atomic_exchange_release,
43701 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
43702 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
43703 atomic_fetch_and_acquire,
43704 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
43705
43706 2014-11-20 Torvald Riegel <triegel@redhat.com>
43707
43708 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
43709 USE_ATOMIC_COMPILER_BUILTINS): Define.
43710 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
43711 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43712 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
43713 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43714 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
43715 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43716 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
43717 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43718 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
43719 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43720 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
43721 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43722 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
43723 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43724 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
43725 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43726 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
43727 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43728 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
43729 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43730 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
43731 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43732 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
43733 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43734 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
43735 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43736 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
43737 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43738 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
43739 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43740 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
43741 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43742 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
43743 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43744 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
43745 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43746 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
43747 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43748 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
43749 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43750
43751 2014-11-19 Roland McGrath <roland@hack.frob.com>
43752
43753 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
43754 the sched_priority value here. It was already checked when the user
43755 called pthread_attr_setschedparam.
43756
43757 * nptl/tst-bad-schedattr.c: New file.
43758 * nptl/Makefile (tests): Add it.
43759
43760 2014-11-19 Carlos O'Donell <carlos@redhat.com>
43761 Florian Weimer <fweimer@redhat.com>
43762 Joseph Myers <joseph@codesourcery.com>
43763 Adam Conrad <adconrad@0c3.net>
43764 Andreas Schwab <schwab@suse.de>
43765 Brooks <bmoses@google.com>
43766
43767 [BZ #17625]
43768 * wordexp-test.c (__dso_handle): Add prototype.
43769 (__register_atfork): Likewise.
43770 (__app_register_atfork): New function.
43771 (registered_forks): New global.
43772 (register_fork): New function.
43773 (test_case): Add 3 new tests for WRDE_CMDSUB.
43774 (main): Call __app_register_atfork.
43775 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
43776 fork count is non-zero fail the test.
43777 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
43778 is set.
43779 (parse_dollars): Remove check for WRDE_NOCMD.
43780 (parse_dquote): Likewise.
43781
43782 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
43783
43784 * Makeconfig (built-modules): List non-library modules to be
43785 built.
43786 (module-cppflags): Include libc-modules.h for
43787 everything except shlib-versions.v.i.
43788 (CPPFLAGS): Use it.
43789 (before-compile): Add libc-modules.h.
43790 ($(common-objpfx)libc-modules.h,
43791 $(common-objpfx)libc-modules.stmp): New targets.
43792 (common-generated): Add libc-modules.h and libc-modules.stmp.
43793 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
43794 * include/libc-symbols.h: Don't include libc-modules.h.
43795 * include/libc-modules.h: Remove file.
43796 * scripts/gen-libc-modules.awk: New script to generate
43797 libc-modules.h.
43798 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
43799 Depend on libc-modules.stmp.
43800
43801 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
43802
43803 * Makeconfig (in-module): Get value of libof set for the
43804 translation unit.
43805 (CPPFLAGS): Use $(in-module).
43806 * Makerules: Don't suffix routine names for nonlib.
43807 * include/libc-modules.h: New file.
43808 * include/libc-symbols.h: Include libc-modules.h
43809 (IS_IN): New macro to replace IS_IN_* macros.
43810 * elf/Makefile: Set libof-* for each routine.
43811 * elf/rtld-Rules: Likewise.
43812 * extra-modules.mk: Likewise.
43813 * iconv/Makefile: Likewise.
43814 * iconvdata/Makefile: Likewise.
43815 * locale/Makefile: Likewise.
43816 * malloc/Makefile: Likewise.
43817 * nss/Makefile: Likewise.
43818 * sysdeps/gnu/Makefile: Likewise.
43819 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
43820 * sysdeps/unix/sysv/linux/Makefile: Likewise.
43821 * sysdeps/s390/s390-64/Makefile: Likewise.
43822 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
43823 CPPFLAGS for nscd instead of nonlib.
43824
43825 2014-11-18 Roland McGrath <roland@hack.frob.com>
43826
43827 * nptl/createthread.c: New file.
43828
43829 * nptl/createthread.c: Moved ...
43830 * sysdeps/unix/sysv/linux/createthread.c: ... here.
43831
43832 * nptl/createthread.c: Add proper top-line comment.
43833 (do_clone): Folded into ...
43834 (create_thread): ... here. Take new arguments STOPPED_START and
43835 THREAD_RAN. Always set PD->stopped_start to something here. Don't
43836 increment __nptl_threads, do event-reporting logic, do
43837 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
43838 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
43839 resource cleanup if sched_setaffinity or sched_setscheduler fails,
43840 just send SIGCANCEL.
43841 * nptl/pthread_create.c: Forward-declare create_thread before
43842 including createthread.c.
43843 (start_thread): Use new macro START_THREAD_DEFN to replace defining
43844 declaration, and new macro START_THREAD_SELF to replace argument.
43845 Remove return statement.
43846 (report_thread_creation): New function.
43847 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
43848 synchronization logic, and __nptl_nthreads increment here, around
43849 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
43850 PD->parent_cancelhandling here, before create_thread. When
43851 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
43852 __deallocate_stack, and ENOMEM translation here.
43853
43854 2014-11-18 Joseph Myers <joseph@codesourcery.com>
43855
43856 [BZ #17616]
43857 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
43858 (mptwo): Rename to __mptwo.
43859 (__inv): Use __mptwo instead of mptwo.
43860 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
43861 (mptwo): Rename to __mptwo.
43862 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
43863 of mpone and __mptwo instead of mptwo.
43864 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
43865 instead of mpone.
43866 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43867 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
43868 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
43869 of mpone and __mptwo instead of mptwo.
43870 (__mpranred): Use __mpone instead of mpone.
43871 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
43872 variable.
43873 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
43874 (test-xfail-ISO99/math.h/linknamespace): Likewise.
43875 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
43876 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
43877 (test-xfail-ISO11/math.h/linknamespace): Likewise.
43878 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
43879 (test-xfail-XPG3/math.h/linknamespace): Likewise.
43880 (test-xfail-XPG4/math.h/linknamespace): Likewise.
43881 (test-xfail-POSIX/math.h/linknamespace): Likewise.
43882 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
43883 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
43884 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
43885 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
43886 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
43887 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
43888 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
43889 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
43890 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
43891 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
43892
43893 2014-11-18 Tom de Vries <tom@codesoucery.com>
43894
43895 * manual/signal.texi (Primitives Interrupted by Signals): In section,
43896 replace BSD Handler xref with BSD Signal Handling.
43897
43898 2014-11-17 Richard Henderson <rth@redhat.com>
43899
43900 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
43901 (_FP_PACK_RAW_2): Remove.
43902 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
43903 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
43904 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
43905 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
43906 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
43907 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
43908 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
43909 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
43910 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
43911 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
43912 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
43913 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
43914 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
43915 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
43916 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
43917 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
43918
43919 2014-11-14 Roland McGrath <roland@hack.frob.com>
43920
43921 * signal/signal.h [__USE_MISC]
43922 (struct sigvec): Remove type.
43923 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
43924 (sigvec): Remove declaration.
43925 * sysdeps/posix/sigvec.c: Moved ...
43926 * signal/sigvec.c: ... here, replacing old file.
43927 (struct sigvec): New type, copied from old signal.h definition.
43928 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
43929 (__sigvec): Convert definition to prototype.
43930 (sigvec): Replace weak_alias with compat_symbol.
43931 * signal/Versions (libc: GLIBC_2.21): New version set.
43932 * include/signal.h: Remove __sigvec declaration.
43933 * sysdeps/unix/bsd/sigvec.c: Remove file.
43934 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
43935 * manual/signal.texi (BSD Handler): Remove subsection.
43936 Move siginterrupt up to ...
43937 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
43938 (Blocking in BSD): Fold subsection into its parent.
43939 * NEWS: Mention sigvec removal.
43940
43941 2014-11-14 Joseph Myers <joseph@codesourcery.com>
43942
43943 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
43944 (DLA_FMS): Make definition conditional only on [__FMA4__].
43945 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
43946 definition.
43947
43948 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
43949 Make definition conditional only on [PROF].
43950 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
43951 definition.
43952 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
43953 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
43954
43955 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
43956 !__GNUC__].
43957 * include/signal.h (__sigpause): Move declaration above call to
43958 libc_hidden_proto.
43959 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
43960 variable.
43961 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
43962 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
43963
43964 2014-11-14 David S. Miller <davem@davemloft.net>
43965
43966 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
43967 Define before including <string/memcpy.c> and <string/mempcpy.c>.
43968
43969 2014-11-14 Joseph Myers <joseph@codesourcery.com>
43970
43971 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
43972 * configure: Regenerated.
43973 * manual/install.texi (Tools for Compilation): Document a
43974 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
43975 compiler verified to work.
43976 * INSTALL: Regenerated.
43977
43978 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
43979 redeclare with asm name.
43980 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
43981 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
43982 including <string.h>.
43983 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43984 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
43985 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43986 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
43987 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43988 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
43989 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43990
43991 2014-11-13 Joseph Myers <joseph@codesourcery.com>
43992
43993 * stdlib/strtol.c (__strtol): Use prototype definition.
43994
43995 [BZ #17594]
43996 * stdlib/strtol.c (SYM__): New macro.
43997 (SYM__1): Likewise.
43998 (__strtol): Likewise.
43999 (strtol): Rename to __strtol and define as weak alias of
44000 __strtol. Use libc_hidden_weak.
44001
44002 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44003
44004 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
44005 Use numbered labels in inline assembly.
44006
44007 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44008
44009 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
44010 Add setjmp LIBC_PROBE.
44011 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
44012 Likewise.
44013 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
44014 Add longjmp, longjmp_target LIBC_PROBE.
44015 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
44016 Likewise.
44017
44018 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44019
44020 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
44021 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
44022 to get rid of unused variable warning.
44023
44024 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44025
44026 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
44027 Check for unwind_backtrace == NULL only in SHARED case.
44028 (__backchain_backtrace): Compile only in SHARED case.
44029 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
44030 Likewise.
44031 (__backchain_backtrace): Declare as static.
44032
44033 2014-11-12 Roland McGrath <roland@hack.frob.com>
44034
44035 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
44036 (__libc_multiple_threads_ptr): Variable moved ...
44037 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
44038
44039 2014-11-12 Joseph Myers <joseph@codesourcery.com>
44040
44041 * conform/GlibcConform.pm: New file.
44042 * conform/conformtest.pl: Use GlibcConform module.
44043 * conform/linknamespace.pl: New file.
44044 * conform/list-header-symbols.pl: Likewise.
44045 * conform/Makefile (linknamespace-symlists-base): New variable.
44046 (linknamespace-symlists-tests): Likewise.
44047 (linknamespace-header-base): Likewise.
44048 (linknamespace-header-tests): Likewise.
44049 (tests-special): Add new tests.
44050 ($(linknamespace-symlists-tests)): New rule.
44051 (linknamespace-libs): New variable.
44052 ($(objpfx)symlist-stdlibs): New rule.
44053 ($(linknamespace-header-tests)): Likewise.
44054 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
44055 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
44056 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
44057 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
44058 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
44059 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
44060 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
44061 (test-xfail-ISO/math.h/linknamespace): Likewise.
44062 (test-xfail-ISO/signal.h/linknamespace): Likewise.
44063 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
44064 (test-xfail-ISO/time.h/linknamespace): Likewise.
44065 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
44066 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
44067 (test-xfail-ISO99/math.h/linknamespace): Likewise.
44068 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44069 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
44070 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
44071 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
44072 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
44073 (test-xfail-ISO11/math.h/linknamespace): Likewise.
44074 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44075 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
44076 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44077 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
44078 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
44079 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
44080 (test-xfail-XPG3/math.h/linknamespace): Likewise.
44081 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
44082 (test-xfail-XPG3/search.h/linknamespace): Likewise.
44083 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
44084 (test-xfail-XPG3/time.h/linknamespace): Likewise.
44085 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
44086 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
44087 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
44088 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
44089 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
44090 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
44091 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
44092 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
44093 (test-xfail-XPG4/math.h/linknamespace): Likewise.
44094 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
44095 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
44096 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
44097 (test-xfail-XPG4/search.h/linknamespace): Likewise.
44098 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
44099 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
44100 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
44101 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
44102 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
44103 (test-xfail-XPG4/time.h/linknamespace): Likewise.
44104 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
44105 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
44106 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
44107 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
44108 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
44109 (test-xfail-POSIX/math.h/linknamespace): Likewise.
44110 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
44111 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
44112 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
44113 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
44114 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
44115 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
44116 (test-xfail-POSIX/time.h/linknamespace): Likewise.
44117 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
44118 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
44119 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
44120 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
44121 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
44122 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
44123 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
44124 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
44125 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
44126 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44127 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
44128 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
44129 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
44130 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
44131 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
44132 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
44133 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
44134 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
44135 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
44136 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
44137 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
44138 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
44139 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
44140 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
44141 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
44142 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
44143 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
44144 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
44145 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44146 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
44147 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
44148 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
44149 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
44150 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
44151 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
44152 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44153 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
44154 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
44155 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
44156 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
44157 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
44158 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
44159 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
44160 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
44161 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
44162 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
44163 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
44164 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
44165 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
44166 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
44167 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
44168 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44169 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
44170 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
44171 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
44172 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
44173 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
44174 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44175 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
44176 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
44177 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
44178 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
44179 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44180 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
44181 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
44182 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
44183 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
44184 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
44185 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
44186 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
44187 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
44188 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
44189 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44190 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
44191 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
44192 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
44193 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44194 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
44195 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
44196 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
44197 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
44198 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
44199 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44200 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
44201 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
44202 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
44203 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
44204 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
44205 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
44206 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
44207 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
44208 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
44209 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
44210 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
44211 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
44212 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44213 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
44214 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
44215
44216 [BZ #17589]
44217 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
44218 of fgets_unlocked.
44219
44220 [BZ #17585]
44221 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
44222 (memmem): Rename to __memmem and define as weak alias of
44223 __memmem. Use libc_hidden_weak.
44224 (__memmem): Use libc_hidden_def.
44225 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
44226 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
44227 memmem.
44228
44229 [BZ #17582]
44230 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
44231 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
44232 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
44233 and define as weak alias of __fgets_unlocked. Use
44234 libc_hidden_weak.
44235 (__fgets_unlocked): Use libc_hidden_def.
44236 * include/stdio.h (__fgets_unlocked): Declare. Use
44237 libc_hidden_proto.
44238 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
44239 __fgets_unlocked instead of fgets_unlocked.
44240 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
44241 (GET_NPROCS_CONF_PARSER): Likewise.
44242 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
44243 (GET_NPROCS_CONF_PARSER): Likewise.
44244
44245 [BZ #17574]
44246 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
44247 weak alias of __wmemset. Use libc_hidden_weak.
44248 (__wmemset): Use libc_hidden_def.
44249 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
44250 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
44251 of wmemset.
44252
44253 [BZ #17573]
44254 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
44255 with asm name __mempcpy.
44256 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
44257
44258 [BZ #17572]
44259 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
44260 and define as weak alias of __rawmemchr.
44261 (__rawmemchr): Do not define as strong alias of rawmemchr.
44262
44263 [BZ #17571]
44264 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
44265 alias of __qsort_r.
44266 (qsort): Call __qsort_r instead of qsort_r.
44267 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
44268 (__qsort_r): Declare. Call libc_hidden_proto.
44269 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
44270 instead of qsort_r.
44271 * nscd/gai.c (__qsort_r): Define to qsort_r.
44272 * posix/tst-rfc3484.c (__qsort_r): Likewise.
44273 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
44274 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
44275
44276 [BZ #17570]
44277 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
44278 define as weak alias of __malloc_info.
44279
44280 [BZ #17584]
44281 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
44282 as weak alias of __rewinddir. Don't use libc_hidden_def.
44283 (__rewinddir): Use libc_hidden_def.
44284 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
44285 as weak alias of __rewinddir. Don't use libc_hidden_def.
44286 (__rewinddir): Use libc_hidden_def.
44287 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
44288 weak alias of __rewinddir. Don't use libc_hidden_def.
44289 (__rewinddir): Use libc_hidden_def.
44290 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
44291 (__rewinddir): Use libc_hidden_proto.
44292 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
44293 rewinddir.
44294 (__getcwd): Use __rewinddir instead of rewinddir.
44295
44296 [BZ #17583]
44297 * libio/fileno.c (fileno): Rename to __fileno and define as weak
44298 alias of __fileno. Use libc_hidden_weak.
44299 (__fileno): Use libc_hidden_def.
44300 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
44301 * libio/ftello.c (ftello): Rename to __ftello and define as weak
44302 alias of __ftello.
44303 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
44304 __ftello.
44305 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
44306 (__fread_unlocked): Define as strong alias of _IO_fread. Use
44307 libc_hidden_def.
44308 (fread_unlocked): Don't use libc_hidden_ver.
44309 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
44310 and define as weak alias of __fread_unlocked. Don't use
44311 libc_hidden_def.
44312 (__fread_unlocked): Use libc_hidden_def.
44313 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
44314 (ftello): Don't use libc_hidden_proto.
44315 (__ftello): Declare. Use libc_hidden_proto.
44316 (fread_unlocked): Don't use libc_hidden_proto.
44317 (__fread_unlocked): Declare. Use libc_hidden_proto.
44318 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
44319 and __ftello instead of fileno, fread_unlocked and ftello.
44320
44321 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
44322
44323 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
44324 GOT12.
44325 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
44326 Likewise.
44327 (_dl_start_user): Likewise.
44328 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
44329
44330 2014-11-12 Carlos O'Donell <carlos@redhat.com>
44331 Siddhesh Poyarekar <siddhesh@redhat.com>
44332
44333 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
44334 Move argv and envp down instead of moving argc up.
44335 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
44336
44337 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
44338
44339 [BZ #17506]
44340 * test-skeleton.c (main): Return successful if one of
44341 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
44342 * string/tst-strcoll-overflow.c: Define expected status.
44343
44344 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
44345
44346 [BZ #17475]
44347 * locale/iso-639.def: Define Bhili and Tulu language codes.
44348
44349 2014-11-11 Alan Hayward <alan.hayward@arm.com>
44350
44351 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
44352
44353 2014-11-10 Renlin Li <Renlin.Li@arm.com>
44354
44355 [BZ #17555]
44356 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
44357
44358 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
44359
44360 * configure.ac: Updated check of minimal required version to
44361 2.22.
44362 * manual/install.texi (Tools for Compilation): Updated version
44363 number.
44364 * configure: Regenerated.
44365 * INSTALL: Likewise.
44366
44367 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
44368
44369 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
44370 __tls_get_addr.
44371
44372 2014-11-07 Joseph Myers <joseph@codesourcery.com>
44373
44374 * include/sys/wait.h (__libc_waitpid): Remove declaration.
44375 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
44376 (__waitpid): Don't define as alias. Use libc_hidden_def not
44377 libc_hidden_weak.
44378 (waitpid): Define as alias of __waitpid.
44379 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
44380 __waitpid.
44381 (__waitpid): Don't define as alias. Use libc_hidden_def not
44382 libc_hidden_weak.
44383 (waitpid): Define as alias of __waitpid.
44384 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
44385 __libc_waitpid alias.
44386 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
44387 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
44388 Likewise.
44389 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
44390 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
44391 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
44392 alias.
44393 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
44394 __waitpid.
44395 (__waitpid): Don't define as alias. Use libc_hidden_def not
44396 libc_hidden_weak.
44397 (waitpid): Define as alias of __waitpid.
44398
44399 2014-11-06 Carlos O'Donell <carlos@redhat.com>
44400
44401 * manual/llio.texi: Add comment that write safety has been
44402 fixed in Linux.
44403
44404 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
44405 (localplt-build-dso): Add elf/ld.so.
44406 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
44407 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
44408 and free for ld.so.
44409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
44410 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
44411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
44412 Likewise.
44413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
44414 Likewise.
44415 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
44416 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
44417 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
44418 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
44419 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
44420 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
44421 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
44422 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
44423 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
44424 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
44425 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
44426
44427 2014-11-05 Joseph Myers <joseph@codesourcery.com>
44428
44429 [BZ #14132]
44430 * include/libc-symbols.h (INTUSE): Remove macro.
44431 (INTDEF): Likewise.
44432 (INTVARDEF): Likewise.
44433 (_INTVARDEF): Likewise.
44434 (INTDEF2): Likewise.
44435 (INTVARDEF2): Likewise.
44436 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
44437 rtld_hidden_def instead of INTVARDEF.
44438 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
44439 (_dl_starting_up_internal): Remove declaration.
44440 (_dl_starting_up): Use rtld_hidden_proto.
44441 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
44442 declaration.
44443 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
44444 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
44445 _dl_starting_up.
44446 * elf/dl-writev.h (_dl_writev): Likewise.
44447 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
44448 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
44449 _dl_starting_up_internal.
44450
44451 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44452
44453 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
44454 test-skeleton.c.
44455
44456 2014-11-05 Will Newton <will.newton@linaro.org>
44457
44458 * benchtests/Makefile: (bench-malloc): Add malloc thread
44459 scalability benchmark.
44460 * benchtests/bench-malloc-threads.c: New file.
44461
44462 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
44463
44464 * sysdeps/aarch64/strchrnul.S: New file.
44465
44466 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44467
44468 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
44469 definition.
44470 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
44471 Likewise.
44472 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
44473 Likewise.
44474 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
44475 Likewise.
44476 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
44477 Likewise.
44478 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
44479 Likewise.
44480
44481 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
44482
44483 * catgets/test-gencat.c: Use test-skeleton.c.
44484 * catgets/tst-catgets.c: Likewise.
44485 * csu/tst-empty.c: Likewise.
44486 * elf/tst-audit2.c: Likewise.
44487 * elf/tst-global1.c: Likewise.
44488 * elf/tst-pathopt.c: Likewise.
44489 * elf/tst-piemod1.c: Likewise.
44490 * elf/tst-tls10.c: Likewise.
44491 * elf/tst-tls11.c: Likewise.
44492 * elf/tst-tls12.c: Likewise.
44493 * gnulib/tst-gcc.c: Likewise.
44494 * iconvdata/tst-e2big.c: Likewise.
44495 * iconvdata/tst-loading.c: Likewise.
44496 * iconv/tst-iconv1.c: Likewise.
44497 * iconv/tst-iconv2.c: Likewise.
44498 * inet/test-inet6_opt.c: Likewise.
44499 * inet/tst-gethnm.c: Likewise.
44500 * inet/tst-network.c: Likewise.
44501 * inet/tst-ntoa.c: Likewise.
44502 * intl/tst-codeset.c: Likewise.
44503 * intl/tst-gettext2.c: Likewise.
44504 * intl/tst-gettext3.c: Likewise.
44505 * intl/tst-ngettext.c: Likewise.
44506 * intl/tst-translit.c: Likewise.
44507 * io/test-stat.c: Likewise.
44508 * libio/test-fmemopen.c: Likewise.
44509 * libio/tst-freopen.c: Likewise.
44510 * libio/tst-sscanf.c: Likewise.
44511 * libio/tst-ungetwc1.c: Likewise.
44512 * libio/tst-ungetwc2.c: Likewise.
44513 * libio/tst-widetext.c: Likewise.
44514 * localedata/tst-ctype.c: Likewise.
44515 * localedata/tst-digits.c: Likewise.
44516 * localedata/tst-leaks.c: Likewise.
44517 * localedata/tst-mbswcs1.c: Likewise.
44518 * localedata/tst-mbswcs2.c: Likewise.
44519 * localedata/tst-mbswcs3.c: Likewise.
44520 * localedata/tst-mbswcs4.c: Likewise.
44521 * localedata/tst-mbswcs5.c: Likewise.
44522 * localedata/tst-setlocale.c: Likewise.
44523 * localedata/tst-trans.c: Likewise.
44524 * localedata/tst-wctype.c: Likewise.
44525 * localedata/tst-xlocale1.c: Likewise.
44526 * login/tst-grantpt.c: Likewise.
44527 * malloc/tst-calloc.c: Likewise.
44528 * malloc/tst-malloc.c: Likewise.
44529 * malloc/tst-mallocstate.c: Likewise.
44530 * malloc/tst-mcheck.c: Likewise.
44531 * malloc/tst-mtrace.c: Likewise.
44532 * malloc/tst-obstack.c: Likewise.
44533 * math/atest-exp2.c: Likewise.
44534 * math/atest-exp.c: Likewise.
44535 * math/atest-sincos.c: Likewise.
44536 * math/test-matherr.c: Likewise.
44537 * math/test-misc.c: Likewise.
44538 * math/test-powl.c: Likewise.
44539 * math/tst-definitions.c: Likewise.
44540 * misc/tst-dirname.c: Likewise.
44541 * misc/tst-efgcvt.c: Likewise.
44542 * misc/tst-fdset.c: Likewise.
44543 * misc/tst-hsearch.c: Likewise.
44544 * misc/tst-mntent2.c: Likewise.
44545 * nptl/tst-sem7.c: Likewise.
44546 * nptl/tst-sem8.c: Likewise.
44547 * nptl/tst-sem9.c: Likewise.
44548 * nss/test-netdb.c: Likewise.
44549 * posix/tst-fnmatch.c: Likewise.
44550 * posix/tst-getlogin.c: Likewise.
44551 * posix/tst-gnuglob.c: Likewise.
44552 * posix/tst-mmap.c: Likewise.
44553 * pwd/tst-getpw.c: Likewise.
44554 * resolv/tst-inet_ntop.c: Likewise.
44555 * rt/tst-timer.c: Likewise.
44556 * stdio-common/test-fseek.c: Likewise.
44557 * stdio-common/test-popen.c: Likewise.
44558 * stdio-common/test-vfprintf.c: Likewise.
44559 * stdio-common/tst-cookie.c: Likewise.
44560 * stdio-common/tst-fileno.c: Likewise.
44561 * stdio-common/tst-gets.c: Likewise.
44562 * stdio-common/tst-obprintf.c: Likewise.
44563 * stdio-common/tst-perror.c: Likewise.
44564 * stdio-common/tst-sprintf2.c: Likewise.
44565 * stdio-common/tst-sprintf3.c: Likewise.
44566 * stdio-common/tst-sprintf.c: Likewise.
44567 * stdio-common/tst-swprintf.c: Likewise.
44568 * stdio-common/tst-tmpnam.c: Likewise.
44569 * stdio-common/tst-unbputc.c: Likewise.
44570 * stdio-common/tst-wc-printf.c: Likewise.
44571 * stdlib/tst-environ.c: Likewise.
44572 * stdlib/tst-fmtmsg.c: Likewise.
44573 * stdlib/tst-limits.c: Likewise.
44574 * stdlib/tst-rand48-2.c: Likewise.
44575 * stdlib/tst-rand48.c: Likewise.
44576 * stdlib/tst-random2.c: Likewise.
44577 * stdlib/tst-random.c: Likewise.
44578 * stdlib/tst-strtol.c: Likewise.
44579 * stdlib/tst-strtoll.c: Likewise.
44580 * stdlib/tst-tls-atexit.c: Likewise.
44581 * stdlib/tst-xpg-basename.c: Likewise.
44582 * string/test-ffs.c: Likewise.
44583 * string/tst-bswap.c: Likewise.
44584 * string/tst-inlcall.c: Likewise.
44585 * string/tst-strtok.c: Likewise.
44586 * string/tst-strxfrm.c: Likewise.
44587 * sysdeps/x86_64/tst-audit10.c: Likewise.
44588 * sysdeps/x86_64/tst-audit3.c: Likewise.
44589 * sysdeps/x86_64/tst-audit4.c: Likewise.
44590 * sysdeps/x86_64/tst-audit5.c: Likewise.
44591 * time/tst-ftime_l.c: Likewise.
44592 * time/tst-getdate.c: Likewise.
44593 * time/tst-mktime3.c: Likewise.
44594 * time/tst-mktime.c: Likewise.
44595 * time/tst-posixtz.c: Likewise.
44596 * time/tst-strptime2.c: Likewise.
44597 * time/tst-strptime3.c: Likewise.
44598 * wcsmbs/tst-btowc.c: Likewise.
44599 * wcsmbs/tst-mbrtowc.c: Likewise.
44600 * wcsmbs/tst-mbsrtowcs.c: Likewise.
44601 * wcsmbs/tst-wchar-h.c: Likewise.
44602 * wcsmbs/tst-wcpncpy.c: Likewise.
44603 * wcsmbs/tst-wcrtomb.c: Likewise.
44604 * wcsmbs/tst-wcsnlen.c: Likewise.
44605 * wcsmbs/tst-wcstof.c: Likewise.
44606
44607 2014-11-04 Joseph Myers <joseph@codesourcery.com>
44608
44609 [BZ #14132]
44610 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
44611 INTDEF.
44612 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
44613 declaration.
44614 (_dl_mcount): Use rtld_hidden_proto.
44615 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
44616 _dl_mcount.
44617 * elf/rtld.c (_rtld_global_ro): Likewise.
44618
44619 [BZ #14132]
44620 * elf/dl-init.c (_dl_init): Don't use INTDEF.
44621 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
44622 of _dl_init_internal.
44623 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
44624 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
44625 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
44626 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
44627 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
44628 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
44629 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
44630 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
44631 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
44632 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
44633 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
44634 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
44635 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44636 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44637 * sysdeps/tile/dl-start.S (_start): Likewise.
44638 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
44639 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
44640
44641 [BZ #14132]
44642 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
44643 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
44644 (rtld_progname): Make macro definition unconditional.
44645 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
44646 INTDEF.
44647 (dlmopen_doit): Do not use INTUSE with _dl_argv.
44648 (dl_main): Likewise.
44649 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
44650 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
44651 instead of _dl_argv_internal.
44652 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
44653 __GI__dl_argv instead of INTUSE(_dl_argv).
44654 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
44655 __GI__dl_argv instead of _dl_argv_internal.
44656
44657 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
44658 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
44659 macro.
44660 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
44661 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
44662 New macro.
44663 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
44664 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
44665 macro.
44666 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
44667 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
44668
44669 2014-11-04 Andreas Schwab <schwab@suse.de>
44670
44671 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
44672
44673 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44674
44675 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
44676 mtvsrd instruction in binary form.
44677
44678 2014-11-03 Andreas Schwab <schwab@suse.de>
44679
44680 [BZ #17522]
44681 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
44682 for less than MB_LEN_MAX use a local buffer of that size.
44683 * libio/tst-fputws.c: New file.
44684 * libio/Makefile (tests): Add tst-fputws.
44685
44686 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
44687
44688 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
44689 the size of the fpu_fr.fpu_dregs[] array.
44690
44691 2014-11-01 Joseph Myers <joseph@codesourcery.com>
44692
44693 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
44694 (__nanosleep): Do not define as alias.
44695 (nanosleep): Define as alias of __nanosleep.
44696 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
44697 __libc_nanosleep name.
44698
44699 2014-10-31 Joseph Myers <joseph@codesourcery.com>
44700
44701 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
44702 install.texi in comment.
44703
44704 2014-10-31 Torvald Riegel <triegel@redhat.com>
44705
44706 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
44707 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
44708 ... add here and use lwsync or sync ...
44709 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
44710 ... and add here using lwsync.
44711
44712 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
44713
44714 * elf/dl-machine-reject-phdr.h: New file.
44715 * elf/dl-load.c: #include that.
44716 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
44717 if that returned true.
44718
44719 2014-10-31 Roland McGrath <roland@hack.frob.com>
44720
44721 [BZ #17496]
44722 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
44723 gen-as-const-headers chunk. Add a big scare comment after the last
44724 safe place to touch before-compile.
44725
44726 2014-10-31 Joseph Myers <joseph@codesourcery.com>
44727
44728 * manual/install.texi (Tools for Compilation): Update autoconf
44729 version requirements.
44730 * INSTALL: Regenerated.
44731
44732 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
44733 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
44734 (__libc_pselect): Likewise.
44735
44736 [BZ #14138]
44737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
44738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44741
44742 2014-10-31 Torvald Riegel <triegel@redhat.com>
44743
44744 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
44745 correct barrier instruction.
44746 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
44747 Likewise.
44748 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
44749 Likewise.
44750
44751 2014-10-30 Roland McGrath <roland@hack.frob.com>
44752
44753 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
44754 after defining inlines. Instead, just use parens to defeat macro
44755 expansion of __isctype in its declaration.
44756
44757 2014-10-30 Joseph Myers <joseph@codesourcery.com>
44758
44759 * include/sys/uio.h (__libc_readv): Remove declaration.
44760 (__libc_writev): Likewise.
44761 * misc/readv.c (__libc_readv): Rename to __readv.
44762 (__readv): Do not define as alias.
44763 (readv): Define as alias of __readv.
44764 * misc/writev.c (__libc_writev): Rename to __writev.
44765 (__writev): Do not define as alias.
44766 (writev): Define as alias of __writev.
44767 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
44768 (__readv): Do not define as alias.
44769 (readv): Define unconditionally as alias of __readv.
44770 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
44771 (__writev): Do not define as alias.
44772 (writev): Define unconditionally as alias of __writev.
44773 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
44774 name.
44775 (writev): Do not define __libc_writev name.
44776
44777 2014-10-30 Roland McGrath <roland@hack.frob.com>
44778
44779 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
44780 (convert_charseq): New function, broken out of ...
44781 (use_from_charmap): ... here. Call it.
44782 (use_to_charmap): Use convert_charseq and free instead of duplicating
44783 its code with a variable-length stack struct.
44784
44785 2014-10-30 Joseph Myers <joseph@codesourcery.com>
44786
44787 * include/fcntl.h (__libc_creat): Remove declaration.
44788 * io/creat.c (__libc_creat): Rename to creat.
44789 (creat): Do not define as alias.
44790 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
44791 of creat instead of __libc_creat.
44792 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
44793 to creat.
44794 (creat): Do not define as alias.
44795 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
44796 __libc_creat.
44797 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
44798 __libc_creat name.
44799 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
44800 Likewise.
44801
44802 2014-10-29 Carlos O'Donell <carlos@redhat.com>
44803
44804 * manual/llio.texi: Add comments discussing why write() may be
44805 considered MT-unsafe on Linux.
44806
44807 2014-10-28 Carlos O'Donell <carlos@redhat.com>
44808
44809 * dl-load.c (local_strdup): Remove.
44810 (expand_dynamic_string_token): Use __strdup.
44811 (decompose_rpath): Likewise.
44812 (_dl_map_object): Likewise.
44813
44814 2014-10-28 Joseph Myers <joseph@codesourcery.com>
44815
44816 [BZ #14132]
44817 * sysdeps/generic/unwind-dw2-fde.c
44818 (__register_frame_info_bases_internal): Do not declare.
44819 (__register_frame_info_table_bases_internal): Likewise.
44820 (__deregister_frame_info_bases_internal): Likewise.
44821 (__register_frame_info_bases): Declare and use hidden_proto before
44822 definition. Use hidden_def instead of INTDEF.
44823 (__register_frame_info_table_bases): Likewise.
44824 (__deregister_frame_info_bases): Likewise.
44825 (__register_frame_info): Do not use INTUSE.
44826 (__register_frame): Likewise.
44827 (__register_frame_info_table): Likewise.
44828 (__register_frame_table): Likewise.
44829 (__deregister_frame_info): Likewise.
44830 (__deregister_frame): Likewise.
44831
44832 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
44833
44834 * sysdeps/unix/sysv/linux/arm/kernel-features.h
44835 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
44836 not undefine.
44837 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
44838 Likewise.
44839 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
44840 Likewise.
44841
44842 2014-10-27 Joseph Myers <joseph@codesourcery.com>
44843
44844 [BZ #14138]
44845 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
44846 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
44847 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
44848 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
44849 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
44850 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
44851 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
44852 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
44853 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
44854 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
44855 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
44856 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
44857 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
44858 syscall.
44859 (setfsuid): Likewise.
44860 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
44861 (setfsuid): Likewise.
44862 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
44863 (setfsuid): Likewise.
44864 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
44865 Likewise.
44866 (setfsuid): Likewise.
44867 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
44868 (setfsuid): Likewise.
44869 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
44870 Likewise.
44871 (setfsuid): Likewise.
44872
44873 2014-10-27 Andreas Schwab <schwab@suse.de>
44874
44875 [BZ #17501]
44876 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
44877 check for Slow_SSE4_2 feature bit.
44878 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
44879 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
44880 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
44881 Likewise. Fix check for Fast_Unaligned_Load feature bit.
44882
44883 2014-10-24 Roland McGrath <roland@hack.frob.com>
44884
44885 * configure.ac: Validate compiler version with a empirical test of
44886 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
44887 $CC -v output.
44888 * configure: Regenerated.
44889
44890 * inet/htons.c (htons): Prototypify.
44891 * inet/htonl.c (htonl): Likewise.
44892
44893 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44894
44895 * string/strncat.c (strncat): Improve performance by using strlen.
44896
44897 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44898
44899 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
44900
44901 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44902
44903 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
44904 Call libc_fetestexcept_aarch64.
44905
44906 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44907
44908 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
44909 Call libc_feholdexcept_aarch64.
44910
44911 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44912
44913 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
44914 Call get_rounding_mode.
44915
44916 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44917
44918 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
44919 Simplify logic.
44920
44921 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44922
44923 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
44924 Simplify logic.
44925
44926 2014-10-24 Joseph Myers <joseph@codesourcery.com>
44927
44928 [BZ #14138]
44929 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
44930 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
44931 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
44932 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
44933 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
44934 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
44935 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
44936 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
44937 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
44938 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
44939 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
44940 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
44941 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
44942 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
44943 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
44944 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
44945 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
44946 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
44947 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
44948 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
44949 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
44950 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
44951 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
44952 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
44953 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
44954 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
44955 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
44956 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
44957 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
44958 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
44959 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
44960 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
44961 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
44962 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
44963 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
44964 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
44965 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
44966 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
44967 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
44968 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
44969 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
44970 syscall.
44971 (geteuid): Likewise.
44972 (getgid): Likewise.
44973 (getuid): Likewise.
44974 (getresgid): Likewise.
44975 (getresuid): Likewise.
44976 (getgroups): Likewise.
44977 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
44978 (geteuid): Likewise.
44979 (getgid): Likewise.
44980 (getuid): Likewise.
44981 (getresgid): Likewise.
44982 (getresuid): Likewise.
44983 (getgroups): Likewise.
44984 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
44985 (geteuid): Likewise.
44986 (getgid): Likewise.
44987 (getuid): Likewise.
44988 (getresgid): Likewise.
44989 (getresuid): Likewise.
44990 (getgroups): Likewise.
44991 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
44992 Likewise.
44993 (geteuid): Likewise.
44994 (getgid): Likewise.
44995 (getuid): Likewise.
44996 (getresgid): Likewise.
44997 (getresuid): Likewise.
44998 (getgroups): Likewise.
44999 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
45000 (geteuid): Likewise.
45001 (getgid): Likewise.
45002 (getuid): Likewise.
45003 (getresgid): Likewise.
45004 (getresuid): Likewise.
45005 (getgroups): Likewise.
45006 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
45007 Likewise.
45008 (geteuid): Likewise.
45009 (getgid): Likewise.
45010 (getuid): Likewise.
45011 (getgroups): Likewise.
45012
45013 [BZ #14138]
45014 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
45015 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
45016 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
45017 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
45018 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
45019 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
45020 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
45021 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
45022 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
45023 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
45024 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
45025 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
45026 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
45027 __chown.
45028 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
45029 (lchown): Likewise.
45030 (fchown): Likewise.
45031 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
45032 Likewise.
45033 (lchown): Likewise.
45034 (fchown): Likewise.
45035 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
45036 (lchown): Likewise.
45037 (fchown): Likewise.
45038 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
45039 Likewise.
45040 (lchown): Likewise.
45041 (fchown): Likewise.
45042
45043 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45044
45045 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
45046 Simplify logic.
45047
45048 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45049
45050 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45051 Cleanup logic.
45052
45053 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45054
45055 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45056 Remove unused include.
45057
45058 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45059
45060 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
45061 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
45062 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
45063 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
45064
45065 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
45066 Helge Deller <deller@gmx.de>
45067
45068 [BZ #17508]
45069 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
45070 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
45071 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
45072
45073 2014-10-23 Joseph Myers <joseph@codesourcery.com>
45074
45075 [BZ #14132]
45076 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
45077 Remove macro definition.
45078 (__ashrdi3_v_glibc20): Likewise.
45079 (__lshrdi3_v_glibc20): Likewise.
45080 (__cmpdi2_v_glibc20): Likewise.
45081 (__ucmpdi2_v_glibc20): Likewise.
45082 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
45083 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
45084 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
45085 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
45086 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
45087 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
45088
45089 2014-10-22 Roland McGrath <roland@hack.frob.com>
45090
45091 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
45092 old GNU extension [0] syntax.
45093 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
45094 alloca rather than an array member with variable length.
45095 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
45096 * nscd/nscd.c (invalidate_db): New function, broken out of ...
45097 (parse_opt): ... here. Likewise use alloca there.
45098 Validate the -i argument before checking for rootness.
45099 (send_shutdown): New function, broken out of ...
45100 (parse_opt): ... here.
45101
45102 2014-10-22 Roland McGrath <roland@hack.frob.com>
45103
45104 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
45105 macro to get at the _rt_local_ro field.
45106 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
45107 ([PIC] case) or _dl_hwcap ([!PIC] case).
45108 * sysdeps/arm/setjmp.S: Likewise.
45109
45110 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
45111 * sysdeps/arm/configure.ac: New check to define it.
45112 * sysdeps/arm/configure: Regenerated.
45113 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
45114 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
45115 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
45116 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
45117 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
45118 Use move/movt pair instead of a load.
45119 (LDST_GLOBAL): Macro removed.
45120 (LDR_GLOBAL): New macro replaces it.
45121 (LDR_HIDDEN): New macro.
45122 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
45123 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
45124
45125 * setjmp/tst-setjmp-static.c: New file.
45126 * setjmp/Makefile (tests): Add it.
45127 (tests-static): New variable.
45128
45129 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
45130
45131 [BZ #17485]
45132 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
45133
45134 2014-10-21 Joseph Myers <joseph@codesourcery.com>
45135
45136 [BZ #14132]
45137 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
45138
45139 2014-10-21 Roland McGrath <roland@hack.frob.com>
45140
45141 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
45142
45143 2014-10-20 Roland McGrath <roland@hack.frob.com>
45144
45145 * io/fts.c (dirent_not_directory): New function.
45146 (fts_build): Call it.
45147
45148 2014-10-20 Roland McGrath <roland@hack.frob.com>
45149
45150 * nptl/version.c (__nptl_main): Use normal __write rather than
45151 INTERNAL_SYSCALL.
45152 (banner): Update copyright years.
45153
45154 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
45155 gettimeofday.
45156 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
45157 * nptl/pthread_cond_timedwait.c: Likewise.
45158 * nptl/pthread_mutex_timedlock.c: Likewise.
45159 * nptl/sem_timedwait.c: Likewise.
45160
45161 * sysdeps/nptl/bits/libc-lock.h
45162 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
45163 (__libc_lock_init_recursive): Return void, not 0.
45164 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
45165 (__libc_rwlock_init): Likewise.
45166 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
45167
45168 2014-10-20 Torvald Riegel <triegel@redhat.com>
45169
45170 [BZ #15215]
45171 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
45172 (__pthread_once_slow): ... here.
45173 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
45174 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
45175
45176 2014-10-20 Torvald Riegel <triegel@redhat.com>
45177
45178 [BZ #15215]
45179 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
45180 __PTHREAD_ONCE_FORK_GEN_INCR): New.
45181 * sysdeps/nptl/fork.c (__libc_fork): Use them.
45182 * nptl/pthread_once.c (__pthread_once): Likewise.
45183 Update comments.
45184
45185 2014-10-20 Joseph Myers <joseph@codesourcery.com>
45186
45187 [BZ #14138]
45188 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
45189 name.
45190 (writev): Use __libc_writev as strong name.
45191 * sysdeps/unix/sysv/linux/readv.c: Remove file.
45192 * sysdeps/unix/sysv/linux/writev.c: Likewise.
45193
45194 2014-10-17 Roland McGrath <roland@hack.frob.com>
45195
45196 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
45197
45198 * sysdeps/i386/nptl/tls.h
45199 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
45200 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
45201 New macros.
45202 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
45203 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
45204 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
45205 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
45206 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
45207 Call CHECK_THREAD_SYSINFO instead of doing an assert.
45208
45209 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
45210 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
45211 on [__NR_futex].
45212 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
45213 broken out of ...
45214 (__pthread_mutex_init): ... here. Call it.
45215 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
45216 Conditionalize PI cases on [__NR_futex].
45217 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
45218 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
45219 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
45220
45221 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
45222 conditional on [SIGSETXID].
45223 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
45224 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
45225 is defined. Likewise for SIGSETXID.
45226 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
45227 Conditionalize definitions on [SIGSETXID].
45228 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
45229 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
45230 unblocking on [SIGCANCEL].
45231
45232 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
45233 [__NR_set_robust_list].
45234
45235 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
45236
45237 * string/strcoll_l.c (get_next_seq): Fix up formatting.
45238 (do_compare): Likewise.
45239
45240 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
45241
45242 [BZ #15884]
45243 * string/strcoll_l.c: Don't include stdio.h.
45244 (coll_seq): Remove members idxarr and rulearr.
45245 (get_next_seq_cached): Remove function.
45246 (get_next_seq): Likewise.
45247 (get_next_seq_nocache): Rename to get_next_seq.
45248 (do_compare): Remove function.
45249 (do_compare_nocache): Rename to do_compare.
45250 (STRCOLL): Remove weight and rules cache.
45251
45252 2014-10-16 Roland McGrath <roland@hack.frob.com>
45253
45254 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
45255 * sysdeps/arm/sfp-machine.h: ... to here.
45256 * sysdeps/arm/Implies: Remove arm/soft-fp.
45257
45258 2014-10-14 Joseph Myers <joseph@codesourcery.com>
45259
45260 * conform/data/sys/utsname.h-data (*_t): Allow.
45261 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
45262 [POSIX] (WEXITED): Do not expect constant.
45263 [POSIX] (WSTOPPED): Likewise.
45264 [POSIX] (WNOHANG): Likewise.
45265 [POSIX] (WNOWAIT): Likewise.
45266 [POSIX] (siginfo_t): Do not expect type or elements.
45267 [POSIX] (pid_t): Do not expect type.
45268 [POSIX] (signal.h): Do not allow header.
45269 [POSIX] (sys/resource.h): Likewise.
45270 [POSIX] (si_*): Do not allow pattern.
45271 [POSIX] (W*): Likewise.
45272 [POSIX] (P_*): Likewise.
45273 [POSIX] (BUS_*): Likewise.
45274 [POSIX] (CLD_*): Likewise.
45275 [POSIX] (FPE_*): Likewise.
45276 [POSIX] (ILL_*): Likewise.
45277 [POSIX] (POLL_*): Likewise.
45278 [POSIX] (SEGV_*): Likewise.
45279 [POSIX] (SI_*): Likewise.
45280 [POSIX] (TRAP_*): Likewise.
45281 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
45282 variable.
45283
45284 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
45285
45286 [BZ #12926]
45287 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
45288 infinite loop when __recvmsg returns 0.
45289
45290 2014-10-10 Joseph Myers <joseph@codesourcery.com>
45291
45292 * CANCEL-FCT-WAIVE: Remove file.
45293 * CANCEL-FILE-WAIVE: Likewise.
45294
45295 [BZ #14132]
45296 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
45297 instead of INTVARDEF.
45298 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45299 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
45300 rtld_hidden_data_def instead of INTVARDEF.
45301 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45302 * elf/dl-deps.c (expand_dst): Likewise.
45303 * elf/dl-load.c (_dl_dst_count): Likewise.
45304 (_dl_dst_substitute): Likewise.
45305 (decompose_rpath): Likewise.
45306 (_dl_init_paths): Likewise.
45307 (open_path): Likewise.
45308 (_dl_map_object): Likewise.
45309 * elf/rtld.c (dl_main): Likewise.
45310 (process_dl_audit): Likewise.
45311 (process_envvars): Likewise.
45312 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
45313 Remove declaration.
45314 (__libc_enable_secure): Use rtld_hidden_proto.
45315
45316 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45317
45318 * elf/dl-load.c
45319 (add_path): New function broken out of _dl_rtld_di_serinfo.
45320 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
45321
45322 2014-10-09 Joseph Myers <joseph@codesourcery.com>
45323
45324 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
45325 parentheses around macro arguments.
45326 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
45327 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
45328 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
45329 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
45330 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
45331 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45332 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45333 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
45334 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
45335 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
45336 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
45337 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
45338 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
45339 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
45340 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
45341 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
45342 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
45343 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
45344 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
45345 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
45346 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
45347 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
45348 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
45349 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45350 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45351 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
45352 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
45353 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
45354 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
45355 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
45356 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
45357 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
45358 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
45359 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
45360 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
45361 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
45362 Likewise.
45363 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
45364 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45365 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45366 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
45367 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
45368 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
45369 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
45370 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
45371 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
45372 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
45373 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
45374 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
45375 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
45376 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
45377 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
45378 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45379 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45380 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
45381 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
45382 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
45383 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
45384 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
45385 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
45386 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
45387 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
45388 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
45389 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
45390 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
45391 (_FP_FRAC_SRS_1): Likewise.
45392 (_FP_FRAC_CLZ_1): Likewise.
45393 (_FP_MUL_MEAT_1_imm): Likewise.
45394 (_FP_MUL_MEAT_1_wide): Likewise.
45395 (_FP_MUL_MEAT_1_hard): Likewise.
45396 (_FP_SQRT_MEAT_1): Likewise.
45397 (_FP_FRAC_ASSEMBLE_1): Likewise.
45398 (_FP_FRAC_DISASSEMBLE_1): Likewise.
45399 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
45400 (__FP_CLZ_2): Likewise.
45401 (_FP_MUL_MEAT_2_wide): Likewise.
45402 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
45403 (_FP_MUL_MEAT_2_gmp): Likewise.
45404 (_FP_MUL_MEAT_2_120_240_double): Likewise.
45405 (_FP_SQRT_MEAT_2): Likewise.
45406 (_FP_FRAC_ASSEMBLE_2): Likewise.
45407 (_FP_FRAC_DISASSEMBLE_2): Likewise.
45408 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
45409 (_FP_FRAC_CLZ_4): Likewise.
45410 (_FP_MUL_MEAT_4_wide): Likewise.
45411 (_FP_MUL_MEAT_4_gmp): Likewise.
45412 (_FP_SQRT_MEAT_4): Likewise.
45413 (_FP_FRAC_ASSEMBLE_4): Likewise.
45414 (_FP_FRAC_DISASSEMBLE_4): Likewise.
45415 * soft-fp/op-common.h (_FP_CMP): Likewise.
45416 (_FP_CMP_EQ): Likewise.
45417 (_FP_CMP_UNORD): Likewise.
45418 (_FP_TO_INT): Likewise.
45419 (_FP_FROM_INT): Likewise.
45420 [!__FP_CLZ] (__FP_CLZ): Likewise.
45421 (_FP_DIV_HELP_imm): Likewise.
45422 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
45423 Likewise.
45424 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
45425 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
45426 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
45427 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
45428 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
45429 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45430 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45431 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
45432 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
45433 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
45434 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
45435 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
45436 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
45437 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
45438 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
45439 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
45440 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
45441 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
45442 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
45443 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
45444 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
45445 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
45446 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
45447 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45448 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45449 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
45450 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
45451 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
45452 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
45453 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
45454 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
45455 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
45456 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
45457 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
45458 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
45459 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
45460 (FP_UNPACK_RAW_SP): Likewise.
45461 (FP_PACK_RAW_S): Likewise.
45462 (FP_PACK_RAW_SP): Likewise.
45463 (FP_UNPACK_S): Likewise.
45464 (FP_UNPACK_SP): Likewise.
45465 (FP_UNPACK_SEMIRAW_S): Likewise.
45466 (FP_UNPACK_SEMIRAW_SP): Likewise.
45467 (FP_PACK_S): Likewise.
45468 (FP_PACK_SP): Likewise.
45469 (FP_PACK_SEMIRAW_S): Likewise.
45470 (FP_PACK_SEMIRAW_SP): Likewise.
45471 (_FP_SQRT_MEAT_S): Likewise.
45472 (FP_CMP_S): Likewise.
45473 (FP_CMP_EQ_S): Likewise.
45474 (FP_CMP_UNORD_S): Likewise.
45475 (FP_TO_INT_S): Likewise.
45476 (FP_FROM_INT_S): Likewise.
45477
45478 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
45479
45480 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
45481 (FP_EX_INVALID_IMZ): Likewise.
45482 (FP_EX_INVALID_IMZ_FMA): Likewise.
45483 (FP_EX_INVALID_ISI): Likewise.
45484 (FP_EX_INVALID_ZDZ): Likewise.
45485 (FP_EX_INVALID_IDI): Likewise.
45486 (FP_EX_INVALID_SQRT): Likewise.
45487 (FP_EX_INVALID_CVI): Likewise.
45488 (FP_EX_INVALID_VC): Likewise.
45489 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
45490 "invalid" exceptions.
45491 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
45492 (_FP_ADD_INTERNAL): Likewise.
45493 (_FP_MUL): Likewise.
45494 (_FP_FMA): Likewise.
45495 (_FP_DIV): Likewise.
45496 (_FP_CMP_CHECK_NAN): Likewise.
45497 (_FP_SQRT): Likewise.
45498 (_FP_TO_INT): Likewise.
45499 (FP_EXTEND): Likewise.
45500
45501 2014-10-09 Allan McRae <allan@archlinux.org>
45502
45503 * po/fr.po: Update French translation from translation project.
45504
45505 2014-10-09 Joseph Myers <joseph@codesourcery.com>
45506
45507 [BZ #14132]
45508 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
45509 of INTDEF.
45510 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
45511 (__cxa_atexit): Use libc_hidden_proto.
45512 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
45513
45514 [BZ #14132]
45515 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
45516 declaration.
45517 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
45518 [!_ISOMAC] (__iswspace_l_internal): Likewise.
45519 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
45520 [!_ISOMAC] (__iswctype_internal): Likewise.
45521 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
45522 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
45523 alias.
45524 (fcntl): Remove __fcntl_internal alias.
45525 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
45526 __connect_internal alias.
45527 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
45528 Likewise.
45529
45530 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
45531 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
45532 FP_DENORM_ZERO.
45533 (_FP_CHECK_FLUSH_ZERO): New macro.
45534 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
45535 (_FP_CMP): Likewise.
45536 (_FP_CMP_EQ): Likewise.
45537 (_FP_TO_INT): Do not set inexact for subnormal arguments if
45538 FP_DENORM_ZERO.
45539 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
45540 (FP_TRUNC): Likewise.
45541
45542 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
45543 treated as invalid conversion, not as normal exponent.
45544
45545 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
45546 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
45547 (_FP_CMP_EQ): Likewise.
45548 (_FP_CMP_UNORD): Likewise.
45549 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
45550 (FP_CMP_EQ_D): Likewise.
45551 (FP_CMP_UNORD_D): Likewise.
45552 * soft-fp/extended.h (FP_CMP_E): Likewise.
45553 (FP_CMP_EQ_E): Likewise.
45554 (FP_CMP_UNORD_E): Likewise.
45555 * soft-fp/quad.h (FP_CMP_Q): Likewise.
45556 (FP_CMP_EQ_Q): Likewise.
45557 (FP_CMP_UNORD_Q): Likewise.
45558 * soft-fp/single.h (FP_CMP_S): Likewise.
45559 (FP_CMP_EQ_S): Likewise.
45560 (FP_CMP_UNORD_S): Likewise.
45561 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
45562 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
45563 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
45564 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
45565 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
45566 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
45567 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
45568 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
45569 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
45570 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
45571 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
45572 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
45573 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
45574 to FP_CMP_Q.
45575 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
45576 FP_CMP_Q.
45577 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
45578 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
45579 FP_CMP_EQ_Q.
45580 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
45581 FP_CMP_Q.
45582 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
45583 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
45584 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
45585 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
45586 FP_CMP_EQ_Q.
45587 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
45588 FP_CMP_Q.
45589 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
45590 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
45591 FP_CMP_EQ_Q.
45592 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
45593 FP_CMP_Q.
45594 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
45595 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
45596 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
45597 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
45598 FP_CMP_EQ_Q.
45599
45600 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
45601 a subnormal result, set the underflow exception if trapping on
45602 underflow is enabled.
45603 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
45604 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
45605 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
45606 redefine to 0.
45607 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
45608 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45609 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45610 * soft-fp/extendxftf2.c (__extendxftf2): Use
45611 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
45612
45613 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
45614 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
45615 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45616 FP_HANDLE_EXCEPTIONS.
45617 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
45618 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45619 FP_HANDLE_EXCEPTIONS.
45620 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
45621 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45622 FP_HANDLE_EXCEPTIONS.
45623 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
45624 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45625 FP_HANDLE_EXCEPTIONS.
45626
45627 2014-10-08 Joseph Myers <joseph@codesourcery.com>
45628
45629 [BZ #14132]
45630 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
45631 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
45632 use INTUSE.
45633 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
45634 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
45635 Remove alias.
45636 (__adjtimex): Define using libc_hidden_ver.
45637 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
45638 Remove declaration.
45639 (ntp_gettime): Call __adjtimex directly.
45640 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
45641 Remove declaration.
45642 (ntp_gettimex): Call __adjtimex directly.
45643 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
45644 __adjtimex_internal alias.
45645
45646 2014-10-08 Roland McGrath <roland@hack.frob.com>
45647
45648 [BZ #17460]
45649 * nscd/nscd.c (more_help): Rewrite list of tables collection
45650 using xstrdup and asprintf.
45651
45652 * nscd/nscd_conf.c: Remove local xstrdup declaration.
45653
45654 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45655 Roland McGrath <roland@hack.frob.com>
45656
45657 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
45658 (do_lookup_unique): ... local function 'enter' here; update callers.
45659
45660 2014-10-06 Joseph Myers <joseph@codesourcery.com>
45661
45662 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
45663 compat_symbol calls on [SHARED].
45664 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
45665 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
45666 Remove.
45667 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45668 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
45669 (oldsetrlimit): Remove.
45670 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
45672 (lchown): New syscall entry.
45673 (oldsetrlimit): Remove.
45674 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45675 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
45676 (oldsetrlimit): Remove.
45677 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45678
45679 [BZ #14138]
45680 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
45681 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
45682 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
45683 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
45684 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
45685 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
45686 (fchown): Likewise.
45687 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
45688 (fchown): Likewise.
45689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
45690 Likewise.
45691
45692 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45693
45694 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
45695 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
45696 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
45697 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
45698 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
45699 Likewise.
45700 (__old_sem_post): Likewise.
45701
45702 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
45703
45704 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
45705 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
45706 HAVE_CLOCK_GETTIME_VSYSCALL macros.
45707 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
45708 Use INLINE_VSYSCALL macro.
45709 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
45710 __vdso_clock_gettime.
45711 * sysdeps/unix/sysv/linux/tile/init-first.c
45712 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
45713 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
45714 __vdso_clock_gettime.
45715
45716 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
45717 to set up frame more cleanly.
45718
45719 * sysdeps/tile/memcmp.c: New file.
45720
45721 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
45722
45723 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
45724 * sysdeps/tile/tilegx/strcasestr.c: New file.
45725 * sysdeps/tile/tilegx/strnlen.c: New file.
45726 * sysdeps/tile/tilegx/strstr.c: New file.
45727
45728 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
45729
45730 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
45731
45732 * nptl/tst-setuid3.c: Write errors to stdout.
45733
45734 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45735
45736 * elf/dl-deps.c
45737 (preload): New functions broken out of _dl_map_object_deps.
45738 (_dl_map_object_deps): Remove a nested function. Update call sites.
45739
45740 2014-10-01 Joseph Myers <joseph@codesourcery.com>
45741
45742 [BZ #14138]
45743 * sysdeps/unix/sysv/linux/execve.c: Remove file.
45744 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
45745
45746 2014-10-01 Steve Ellcey <sellcey@mips.com>
45747
45748 * sysdeps/mips/strcmp.S: New.
45749
45750 2014-09-30 Joseph Myers <joseph@codesourcery.com>
45751
45752 [BZ #14138]
45753 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
45754 (linkat): Likewise.
45755 (mkdirat): Likewise.
45756 (readlinkat): Likewise.
45757 (renameat): Likewise.
45758 (symlinkat): Likewise.
45759 (unlinkat): Likewise.
45760 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
45761 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
45762 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
45763 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
45764 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
45765 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
45766 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
45767
45768 2014-09-30 Will Newton <will.newton@linaro.org>
45769
45770 * math/math.h: Define long double math functions if
45771 _LIBC_TEST is defined.
45772 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
45773
45774 * localedata/Makefile: Move assignment to tests-special
45775 into an ifdef testing run-built-tests.
45776 * timezone/Makefile: Likewise.
45777
45778 2014-09-29 Joseph Myers <joseph@codesourcery.com>
45779
45780 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
45781 with $(BASH) not $(SHELL).
45782
45783 2014-09-29 Carlos O'Donell <carlos@redhat.com>
45784 Matthew LeGendre <legendre1@llnl.gov>
45785
45786 [BZ #17411]
45787 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
45788 l_reloc_result.
45789
45790 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45791
45792 * stdio-common/printf_fp.c
45793 (hack_digit): New function, broken out of ...
45794 (__printf_fp): ... local function here. Update call sites.
45795 hack_digit now takes an additional parameter that is a pointer
45796 to a struct of the referenced locals. Those locals moved inside
45797 the struct and references updated.
45798
45799 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
45800
45801 * aclocal.m4: Require autoconf 2.69.
45802 * configure: Regenerated.
45803 * sysdeps/aarch64/configure: Likewise.
45804 * sysdeps/alpha/configure: Likewise.
45805 * sysdeps/arm/armv7/configure: Likewise.
45806 * sysdeps/arm/configure: Likewise.
45807 * sysdeps/ia64/configure: Likewise.
45808 * sysdeps/mach/configure: Likewise.
45809 * sysdeps/mips/configure: Likewise.
45810 * sysdeps/s390/configure: Likewise.
45811 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
45812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
45813
45814 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
45815 file.
45816 * sysdeps/ia64/configure.ac: Likewise.
45817
45818 2014-09-26 Joseph Myers <joseph@codesourcery.com>
45819
45820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
45821 specify symbol version for ld.so. Do not include entry for
45822 libpthread.
45823 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
45824 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
45825 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
45826
45827 [BZ #14171]
45828 * Makeconfig [$(build-shared) = yes]
45829 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
45830 makefiles.
45831 [$(build-shared) = yes && $(soversions.mk-done) = t]
45832 ($(common-objpfx)gnu/lib-names.h): Remove rule.
45833 [$(build-shared) = yes && $(soversions.mk-done) = t]
45834 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
45835 to Makerules.
45836 [$(build-shared) = yes && $(soversions.mk-done) = t]
45837 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
45838 here.
45839 [$(build-shared) = yes && $(soversions.mk-done) = t]
45840 (common-generated): Don't append gnu/lib-names.h and
45841 gnu/lib-names.stmp here.
45842 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
45843 (lib-names-h-abi): New variable.
45844 [$(build-shared) = yes && $(soversions.mk-done) = t]
45845 (lib-names-stmp-abi): Likewise.
45846 [$(build-shared) = yes && $(soversions.mk-done) = t &&
45847 abi-variants] (before-compile): Append
45848 $(common-objpfx)$(lib-names-h-abi).
45849 [$(build-shared) = yes && $(soversions.mk-done) = t &&
45850 abi-variants] (common-generated): Append gnu/lib-names.h.
45851 [$(build-shared) = yes && $(soversions.mk-done) = t &&
45852 abi-variants] (install-others-nosubdir): Depend on
45853 $(inst_includedir)/$(lib-names-h-abi).
45854 [$(build-shared) = yes && $(soversions.mk-done) = t &&
45855 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
45856 [$(build-shared) = yes && $(soversions.mk-done) = t]
45857 ($(common-objpfx)$(lib-names-h-abi)): New rule.
45858 [$(build-shared) = yes && $(soversions.mk-done) = t]
45859 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
45860 [$(build-shared) = yes && $(soversions.mk-done) = t]
45861 (common-generated): Append $(lib-names-h-abi) and
45862 $(lib-names-stmp-abi).
45863 * scripts/lib-names.awk: Do not handle multi being set.
45864 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
45865 Remove variable.
45866 (abi-lp64_be-ld-soname): Likewise.
45867 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
45868 Likewise.
45869 (abi-hard-ld-soname): Likewise.
45870 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
45871 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
45872 Remove variable.
45873 (abi-o32_hard-ld-soname): Likewise.
45874 (abi-o32_soft_2008-ld-soname): Likewise.
45875 (abi-o32_hard_2008-ld-soname): Likewise.
45876 (abi-n32_soft-ld-soname): Likewise.
45877 (abi-n32_hard-ld-soname): Likewise.
45878 (abi-n32_soft_2008-ld-soname): Likewise.
45879 (abi-n32_hard_2008-ld-soname): Likewise.
45880 (abi-n64_soft-ld-soname): Likewise.
45881 (abi-n64_hard-ld-soname): Likewise.
45882 (abi-n64_soft_2008-ld-soname): Likewise.
45883 (abi-n64_hard_2008-ld-soname): Likewise.
45884 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
45885 Likewise.
45886 (abi-64-v2-ld-soname): Likewise.
45887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
45888 ld.so entries.
45889 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
45890 variable.
45891 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
45892 entry.
45893 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
45894 variable.
45895 (abi-64-ld-soname): Likewise.
45896 (abi-x32-ld-soname): Likewise.
45897 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
45898 entry.
45899 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
45900
45901 2014-09-23 Joseph Myers <joseph@codesourcery.com>
45902
45903 [BZ #14138]
45904 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
45905 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
45906 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
45907 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
45908 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
45909 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
45910 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
45911 syscall entry for GLIBC_2.2 symbol version.
45912 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
45913 Likewise.
45914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
45915 (setrlimit): Likewise.
45916 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
45917 Likewise.
45918
45919 2014-09-23 Will Newton <will.newton@linaro.org>
45920
45921 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
45922 _LINUX_ARM_SYSDEP_H include guard too.
45923 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
45924 define.
45925
45926 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
45927
45928 * sysdeps/unix/sysv/linux/eventfd.c:
45929 Make first argument unsigned.
45930 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
45931 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
45932
45933 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
45934
45935 [BZ #16852]
45936 * socket/recvmmsg.c (recvmmsg): Drop const argument.
45937 * socket/sys/socket.h: Likewise.
45938 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
45939
45940 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45941
45942 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
45943
45944 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
45945
45946 * time/tst-ftime.c: New test.
45947 * time/Makefile (tests): Add tst-ftime.
45948
45949 2014-09-17 Joseph Myers <joseph@codesourcery.com>
45950
45951 * soft-fp/extended.h: Fix comment formatting.
45952 * soft-fp/op-1.h: Likewise.
45953 * soft-fp/op-2.h: Likewise.
45954 * soft-fp/op-4.h: Likewise.
45955 * soft-fp/op-8.h: Likewise.
45956 * soft-fp/op-common.h: Likewise.
45957 * soft-fp/soft-fp.h: Likewise.
45958
45959 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
45960
45961 2014-09-16 Joseph Myers <joseph@codesourcery.com>
45962
45963 [BZ #6652]
45964 * Makeconfig (soversions-default-setname): Remove variable.
45965 ($(common-objpfx)soversions.i): Don't pass default_setname to
45966 soversions.awk.
45967 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
45968 oldest_abi to abi-versions.awk.
45969 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
45970 * config.make.in (oldest-abi): Remove variable.
45971 * configure.ac (--enable-oldest-abi): Remove configure option.
45972 * configure: Regenerated.
45973 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
45974 text.
45975 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
45976 * scripts/soversions.awk: Do not handle default_setname variable.
45977 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
45978 variable.
45979 * sysdeps/mach/hurd/configure: Regenerated.
45980 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
45981 variable.
45982 * sysdeps/unix/sysv/linux/configure: Regenerated.
45983
45984 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
45985
45986 * elf/Makefile (CFLAGS-interp.c): Remove.
45987 ($(elf-objpfx)runtime-linker.h): Generate header with linker
45988 path string.
45989 * elf/interp.c: Include generated runtime-linker.h
45990
45991 * Makerules (lib%.so): Don't include $(+interp) in
45992 prerequisites.
45993 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
45994 * dlfcn/eval.c: Remove file.
45995
45996 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
45997 macros.
45998
45999 [BZ #17266]
46000 * misc/sys/cdefs.h: Define __extern_always_inline for clang
46001 4.2 and newer.
46002
46003 [BZ #17370]
46004 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
46005
46006 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
46007 Jakub Jelinek <jakub@redhat.com>
46008
46009 [BZ #17266]
46010 * libio/stdio.h: Check definition of __fortify_function
46011 instead of __extern_always_inline to include bits/stdio2.h.
46012 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
46013 check if __extern_always_inline is defined.
46014 [__USE_MISC || __USE_XOPEN]: Likewise.
46015 [__USE_ISOC99] Likewise.
46016 * misc/sys/cdefs.h (__fortify_function): Define only if
46017 __extern_always_inline is defined.
46018 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
46019 __extern_always_inline and __extern_inline only for g++-4.3
46020 and newer or a compatible gcc.
46021
46022 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
46023
46024 [BZ #17371]
46025 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
46026 last change to handle zero prefix length.
46027
46028 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
46029
46030 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
46031 _SC_REGEX_VERSION.
46032
46033 * posix/getconf.c (vars): Add _POSIX_IPV6 and
46034 _POSIX_RAW_SOCKETS.
46035
46036 2014-09-13 Allan McRae <allan@archlinux.org>
46037
46038 * po/ru.po: Update Russian translation from translation project.
46039
46040 2014-09-12 Roland McGrath <roland@hack.frob.com>
46041
46042 * locale/programs/locale.c (show_locale_vars): Inline local function
46043 into its sole call site. Clean up some style nits.
46044 (print_item): New function, broken out of ...
46045 (show_info): ... local function here. Clean up style nits.
46046
46047 * locale/programs/ld-ctype.c (set_one_default): New function, broken
46048 out of ...
46049 (set_class_defaults): ... local function set_default here.
46050 Define set_default as a macro locally to pass constant parameters.
46051 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
46052 rather than a shared local.
46053
46054 * stdlib/rpmatch.c (try): New function, broken out of ...
46055 (rpmatch): ... local function here. Also, prototypify definition.
46056
46057 2014-09-12 Joseph Myers <joseph@codesourcery.com>
46058
46059 * scripts/soversions.awk: Do not handle configuration names.
46060 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
46061 vendor and os variables to soversions.awk.
46062 * configure.ac: Do not modify gnu-* host_os.
46063 * configure: Regenerated
46064 * shlib-versions: Remove first column with configuration names.
46065 * nptl/shlib-versions: Likewise.
46066 * nptl_db/shlib-versions: Likewise.
46067 * sysdeps/hppa/shlib-versions: Likewise.
46068 * sysdeps/m68k/shlib-versions: Likewise.
46069 * sysdeps/mach/hurd/shlib-versions: Likewise.
46070 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
46071 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
46072 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
46073 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
46074 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
46075 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
46076 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
46077 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
46078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46079 Likewise.
46080 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46081 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46082 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46083 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46084 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46085 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
46086 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
46087 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46088
46089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
46090 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
46091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
46092 Regenerated.
46093 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
46094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46095 Condition symbol version definitions on [HAVE_ELFV2_ABI].
46096
46097 * shlib-versions: Remove OS-specific entries. Moved to files in
46098 sysdeps.
46099 * sysdeps/mach/hurd/shlib-versions: New file.
46100 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46101
46102 * nptl/shlib-versions: Remove architecture-specific entries.
46103 Moved to files in sysdeps.
46104 * shlib-versions: Likewise.
46105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
46106 file.
46107 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46108 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46109 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46110 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46111
46112 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
46113 (UDP_NO_CHECK6_RX): Likewise.
46114
46115 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
46116
46117 * sysdeps/posix/sysconf.c (__sysconf): Spell
46118 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
46119
46120 2014-08-12 Florian Weimer <fweimer@redhat.com>
46121
46122 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
46123 loading.
46124 * iconv/Versions (__gconv_transliterate): Export for use from
46125 gconv modules.
46126 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
46127 (struct __gconv_trans_data, __gconv_trans_fct,
46128 __gconv_trans_context_fct, __gconv_trans_query_fct,
46129 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
46130 definitions.
46131 (struct __gconv_step_data): Remove __trans member.
46132 (__gconv_transliterate): Declaration moved from gconv_int.h. No
46133 longer hidden. Remove unused trans_data argument.
46134 * iconv/gconv_int.h (struct trans_struct): Remove definition.
46135 (__gconv_translit_find): Remove declaration.
46136 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
46137 prototype.
46138 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
46139 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
46140 trans_data argument. Add hidden definition.
46141 (__gconv_translit_find): Remove.
46142 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
46143 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
46144 * iconv/skeleton.c: Remove transliteration initialization.
46145 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
46146 __gconv_step_data initialization.
46147 * libio/iofwide.c (__libio_translit_): Remove.
46148 (_IO_fwide): Adjust struct __gconv_step_data initialization.
46149 * wcsmbs/btowc.c (__btowc): Likewise.
46150 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
46151 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
46152 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
46153 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
46154 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
46155 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
46156 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
46157 * wcsmbs/wctob.c (wctob): Likewise.
46158
46159 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
46160
46161 [BZ #16194]
46162 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
46163 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
46164 register usage.
46165 * sysdeps/x86/Makefile: Adjust.
46166
46167 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
46168 Roland McGrath <roland@hack.frob.com>
46169
46170 * locale/weight.h: Add include guard.
46171 (findidx): Make static rather than auto; take new parameters
46172 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
46173 * locale/weightwc.h: Likewise.
46174 * posix/fnmatch_loop.c
46175 (FCT): Change type of EXTRA from int32_t to wint_t.
46176 Don't include either header inside the function.
46177 Call FINDIDX rather than findidx, and pass new arguments.
46178 #undef FINDIDX at the end of the file.
46179 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
46180 FINDIDX before including fnmatch_loop.c for the non-wide version.
46181 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
46182 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
46183 for the wide version.
46184 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
46185 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
46186 Pass new arguments to findidx.
46187 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
46188 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
46189 Don't #include it inside the function. Pass new arguments to findidx.
46190 * posix/regex_internal.h
46191 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
46192 (re_string_elem_size_at): Don't #include it inside the function.
46193 Pass new arguments to findidx.
46194 * string/strcoll_l.c: #include WEIGHT_H at top level.
46195 (get_next_seq): Don't #include it inside the function.
46196 Pass new arguments to findidx.
46197 (get_next_seq_nocache): Likewise.
46198 * string/strxfrm_l.c: #include WEIGHT_H at top level.
46199 (STRXFRM): Don't #include it inside the function.
46200 Pass new arguments to findidx.
46201
46202 2014-09-11 Florian Weimer <fweimer@redhat.com>
46203
46204 [BZ #17344]
46205 * malloc/malloc.c (unlink): Turn asserts into a call to
46206 malloc_printerr.
46207
46208 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
46209
46210 [BZ #17370]
46211 * libio/wfileops (do_ftell_wide): Free OUT.
46212
46213 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
46214
46215 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
46216
46217 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46218
46219 [BZ #17363]
46220 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
46221 group if the current group is empty.
46222
46223 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46224
46225 * benchtests/bench-memset.c (test_main): Add more test from size
46226 from 32 to 512 bytes.
46227 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46228 Add POWER8 memset object.
46229 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46230 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
46231 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
46232 implementation.
46233 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
46234 Likewise.
46235 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
46236 multiarch POWER8 memset optimization.
46237 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
46238 POWER8 memset optimization.
46239
46240 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46241 Remove bzero multiarch objects.
46242 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
46243 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
46244 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
46245 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
46246 Remove define.
46247 [__bzero]: Redefine to specific name.
46248 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
46249 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
46250 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
46251 define.
46252 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46253 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46254
46255 2014-09-10 Florian Weimer <fweimer@redhat.com>
46256
46257 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
46258 warnings into errors.
46259
46260 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
46261 __cxa_thread_atexit_impl prototype.
46262
46263 2014-09-09 Steve Ellcey <sellcey@mips.com>
46264
46265 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
46266 Fix capitalization of error message.
46267
46268 2014-09-09 Steve Ellcey <sellcey@mips.com>
46269
46270 * sysdeps/mips/preconfigure: Modify ABI tests.
46271
46272 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
46273
46274 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
46275
46276 2014-09-07 Roland McGrath <roland@hack.frob.com>
46277 Carlos O'Donell <carlos@systemhalted.org>
46278
46279 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
46280 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
46281 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
46282 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
46283 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
46284 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
46285 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
46286 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
46287 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
46288 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
46289 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
46290 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
46291 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
46292 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
46293 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
46294 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
46295 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
46296 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
46297 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
46298 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
46299 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
46300 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
46301 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
46302 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
46303 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
46304 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
46305 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
46306 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
46307 Deconditionalize the code that was previously under [RESET_PID].
46308 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
46309 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
46310 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
46311 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
46312 include sysdep.h.
46313
46314 2014-09-08 Allan McRae <allan@archlinux.org>
46315
46316 * version.h (RELEASE): Set to "development".
46317 (VERSION): Set to "2.20.90"
46318
46319 2014-09-07 Allan McRae <allan@archlinux.org
46320
46321 * version.h (RELEASE): Set to "stable".
46322 (VERSION): Set to "2.20"
46323 * include/features.h (__GLIBC_MINOR__): Set to 20.
46324
46325 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
46326 Liebler.
46327
46328 * po/ko.po: Update Korean translation from translation project.
46329
46330 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
46331
46332 [BZ #17354]
46333 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
46334 macro for handling signed relocations.
46335
46336 2014-09-03 Florian Weimer <fweimer@redhat.com>
46337
46338 [BZ #17325]
46339 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
46340 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
46341 assert.
46342 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
46343 * iconvdata/ibm935.c (BODY): Likewise.
46344 * iconvdata/ibm937.c (BODY): Likewise.
46345 * iconvdata/ibm939.c (BODY): Likewise.
46346 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
46347 assert.
46348 * iconvdata/Makefile (iconv-test.out): Pass module list to test
46349 script.
46350 * iconvdata/run-iconv-test.sh: New test loop for checking for
46351 decoder crashers.
46352
46353 2014-09-02 Khem Raj <raj.khem@gmail.com>
46354
46355 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
46356 libm_hidden_ver.
46357
46358 2014-09-01 Allan McRae <allan@archlinux.org>
46359
46360 * po/eo.po: Update Esperanto translation from translation project.
46361
46362 * po/ca.po: Update Catalan translation from translation project.
46363
46364 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
46365
46366 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
46367 __proc_dostop call.
46368
46369 2014-08-27 Mark Wielaard <mjw@redhat.com>
46370
46371 [BZ #17319]
46372 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
46373 to call set_thread_area instead of hand written asm.
46374 (__NR_set_thread_area): Removed define.
46375 (TLS_FLAG_WRITABLE): Likewise.
46376 (__ASSUME_SET_THREAD_AREA): Remove check.
46377 (TLS_EBX_ARG): Remove define.
46378 (TLS_LOAD_EBX): Likewise.
46379
46380 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
46381
46382 Simplify atomicity of socket creation in bind.
46383
46384 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
46385 looking up the name after linking the file.
46386
46387 2014-08-27 Allan McRae <allan@archlinux.org>
46388
46389 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46390
46391 2014-08-26 Florian Weimer <fweimer@redhat.com>
46392
46393 [BZ #17187]
46394 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
46395 trans_compare, open_translit, __gconv_translit_find):
46396 Remove module loading code.
46397
46398 2014-08-26 Allan McRae <allan@archlinux.org>
46399
46400 * po/vi.po: Update Vietnamese translation from translation project.
46401
46402 * po/uk.po: Update Ukrainian translation from translation project.
46403
46404 * po/fr.po: Update French translation from translation project.
46405
46406 * po/ru.po: Update Russian translation from translation project.
46407
46408 * po/pl.po: Update Polish translation from translation project.
46409
46410 * po/cs.po: Update Czech translation from translation project.
46411
46412 * po/de.po: Update German translation from translation project.
46413
46414 * po/bg.po: Update Bulgarian translation from translation project.
46415
46416 * po/sv.po: Update Sweedish translation from translation project.
46417
46418 * po/nl.po: Update Dutch translation from translation project.
46419
46420 * po/es.po: Update Spanish translation from translation project.
46421
46422 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
46423
46424 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
46425
46426 * catgets/Makefile (CPPFLAGS-gencat): Remove.
46427 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
46428 (CPPFLAGS-iconvconfig): Likewise.
46429 * timezone/Makefile (CPPFLAGS-zic): Likewise.
46430
46431 * include/libc-symbols.h: Remove unnecessary check for
46432 NOT_IN_libc.
46433 * nptl/pthreadP.h: Likewise.
46434 * sysdeps/aarch64/setjmp.S: Likewise.
46435 * sysdeps/alpha/setjmp.S: Likewise.
46436 * sysdeps/arm/sysdep.h: Likewise.
46437 * sysdeps/i386/setjmp.S: Likewise.
46438 * sysdeps/m68k/setjmp.c: Likewise.
46439 * sysdeps/posix/getcwd.c: Likewise.
46440 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
46441 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
46442 * sysdeps/s390/s390-32/setjmp.S: Likewise.
46443 * sysdeps/s390/s390-64/setjmp.S: Likewise.
46444 * sysdeps/sh/sh3/setjmp.S: Likewise.
46445 * sysdeps/sh/sh4/setjmp.S: Likewise.
46446 * sysdeps/unix/alpha/sysdep.h: Likewise.
46447 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
46448 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46449 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
46450 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
46451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46453 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46454 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46455 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46456 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46457 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46458 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
46459 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46460 * sysdeps/x86_64/setjmp.S: Likewise.
46461
46462 2014-08-13 Joseph Myers <joseph@codesourcery.com>
46463
46464 [BZ #17263]
46465 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
46466 <stdint.h>.
46467 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
46468 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
46469
46470 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
46471
46472 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
46473
46474 [BZ #17262]
46475 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
46476 and __x86_64__ when disabling x87 inline functions.
46477
46478 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
46479
46480 [BZ #17259]
46481 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
46482 asm statement with __cpuid_count.
46483
46484 2014-08-12 Mike Frysinger <vapier@gentoo.org>
46485
46486 * configure.ac: Change __ehdr_start code to dereference the struct.
46487 Run readelf on the output to look for relocations.
46488 * configure: Regenerated.
46489
46490 2014-08-12 Joseph Myers <joseph@codesourcery.com>
46491
46492 [BZ #17261]
46493 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
46494 value to 0.
46495 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
46496
46497 2014-08-12 Roland McGrath <roland@hack.frob.com>
46498
46499 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
46500
46501 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
46502
46503 [BZ #16892]
46504 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
46505 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
46506
46507 2014-08-12 Sean Anderson <seanga2@gmail.com>
46508
46509 * malloc/malloc.c: Fix typo in comment.
46510
46511 2014-08-09 Allan McRae <allan@archlinux.org>
46512
46513 * Regenerate libc.po.
46514
46515 2014-08-08 Mike Frysinger <vapier@gentoo.org>
46516
46517 * intl/tst-gettext2.sh: Check every lang file for creation.
46518
46519 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
46520
46521 * sysdeps/aarch64/fpu/math_private.h
46522 (libc_feholdsetround_noex_aarch64_ctx): New function.
46523
46524 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
46525
46526 * sysdeps/arm/armv6/strcpy.S (strcpy):
46527 Fix performance issue in misaligned cases.
46528
46529 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46530
46531 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
46532 Move definition from termios.h.
46533 (struct termio): Likewise.
46534 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46535 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46536 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46537 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46538 Likewise.
46539 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
46540 Move definition to ioctl-types.h
46541 (struct termio): Likewise.
46542 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46543 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46544 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46545 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46546 Likewise.
46547
46548 2014-08-05 Richard Henderson <rth@redhat.com>
46549
46550 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
46551 exceptions.
46552 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
46553 Add fraiseexcpt.
46554 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
46555 Use __feraiseexcept.
46556 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
46557 Protect libm symbols with IS_IN_libm.
46558
46559 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
46560
46561 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
46562
46563 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
46564
46565 2014-08-04 Will Newton <will.newton@linaro.org>
46566
46567 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
46568 file.
46569
46570 2014-08-04 Mike Frysinger <vapier@gentoo.org>
46571
46572 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
46573 variants for each function.
46574
46575 2014-08-04 Roland McGrath <roland@hack.frob.com>
46576
46577 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
46578 appended ...
46579 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
46580 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
46581 appended ...
46582 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
46583 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
46584 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
46585 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
46586 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
46587 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
46588 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
46589 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
46590 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
46591 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
46592 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
46593 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
46594 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
46595 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
46596 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
46597 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
46598 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
46599 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
46600 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
46601 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
46602 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
46603 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
46604 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
46605 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
46606 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
46607 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
46608 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
46609 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
46610 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
46611 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
46612 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
46613 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
46614 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
46615 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
46616 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
46617 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
46618 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
46619 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
46620 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
46621 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
46622 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
46623 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
46624 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
46625 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
46626 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
46627 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
46628 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
46629 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
46630 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
46631 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
46632 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
46633 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
46634 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
46635 Update #include.
46636 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
46637 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
46638
46639 2014-08-04 Roland McGrath <roland@hack.frob.com>
46640
46641 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
46642 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
46643 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
46644 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
46645 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
46646 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
46647
46648 2014-08-04 Roland McGrath <roland@hack.frob.com>
46649
46650 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
46651 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
46652 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46653 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
46654
46655 2014-08-04 Roland McGrath <roland@hack.frob.com>
46656
46657 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
46658 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
46659 (__libc_vfork): Define function under this name.
46660 (__vfork): Define as an alias.
46661 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
46662 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
46663
46664 2014-08-04 Roland McGrath <roland@hack.frob.com>
46665
46666 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
46667 that was previously under [RESET_PID].
46668 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
46669
46670 2014-08-04 Andreas Schwab <schwab@suse.de>
46671
46672 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
46673
46674 2014-08-03 Mike Frysinger <vapier@gentoo.org>
46675
46676 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
46677 (main): Likewise.
46678
46679 2014-08-01 Roland McGrath <roland@hack.frob.com>
46680
46681 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
46682
46683 2014-08-01 Richard Henderon <rth@redhat.com>
46684
46685 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
46686 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
46687 typo in exact zero test.
46688 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46689 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46690 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46691
46692 2014-08-01 Roland McGrath <roland@hack.frob.com>
46693
46694 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
46695 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
46696 * sysdeps/arm/sysdep.h: ... here.
46697 [!__ASSEMBLER__]: Include <stdint.h>.
46698
46699 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
46700
46701 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
46702 (HAVE_WCTYPE_H): Likewise.
46703 (HAVE_ISWCTYPE): Likewise.
46704 (ENABLE_NLS): Likewise.
46705 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
46706 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
46707
46708 * posix/regex_internal.c: Check if DEBUG is defined and is
46709 set.
46710
46711 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
46712 (HAVE_MBSRTOWCS): Likewise.
46713 * posix/fnmatch.c: Include string.h unconditionally.
46714
46715 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
46716
46717 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
46718 reversal.
46719
46720 2014-07-31 Roland McGrath <roland@hack.frob.com>
46721
46722 * sysdeps/generic/safe-fatal.h: New file.
46723 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
46724 * nptl/forward.c: Include it.
46725 (__pthread_unwind): Use __safe_fatal as default action, rather
46726 than a bogus use of INTERNAL_SYSCALL that could never work.
46727
46728 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
46729 * configure.ac (libc_cv_builtin_trap): New test.
46730 * configure: Regenerated.
46731 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
46732 (ABORT_INSTRUCTION): Define using __builtin_trap.
46733
46734 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
46735 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
46736 * sysdeps/nptl/nptl-signals.h: New file.
46737 * nptl/pthreadP.h: Include <nptl-signals.h>.
46738
46739 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
46740
46741 * sysdeps/s390/s390-64/utf16-utf32-z9.c
46742 (ONE_DIRECTION): Define.
46743 * sysdeps/s390/s390-64/utf8-utf16-z9.c
46744 (ONE_DIRECTION): Define.
46745 * sysdeps/s390/s390-64/utf8-utf32-z9.c
46746 (ONE_DIRECTION): Define.
46747
46748 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
46749
46750 * sysdeps/s390/Makefile: Delete file.
46751 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
46752 * sysdeps/s390/__longjmp.c: Delete file.
46753 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
46754 Remove fields __flags and __reserved.
46755 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
46756 and add versioning.
46757 * sysdeps/s390/rtld-__longjmp.c: Delete file.
46758 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
46759 * sysdeps/s390/rtld-setjmp.S: Likewise.
46760 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
46761 * sysdeps/s390/s390-32/__longjmp.c: ... here.
46762 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
46763 * sysdeps/s390/s390-32/setjmp.S: ... here.
46764 Add versioning.
46765 (__sigsetjmp): Remove setting __flags field.
46766 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
46767 * sysdeps/s390/s390-64/__longjmp.c: ... here.
46768 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
46769 * sysdeps/s390/s390-64/setjmp.S: ... here.
46770 Add versioning.
46771 (__sigsetjmp): Remove setting __flags field.
46772 * sysdeps/s390/setjmp.S: Delete file.
46773 * sysdeps/s390/sigjmp.c: Likewise.
46774 * sysdeps/s390/v1-longjmp.c: Likewise.
46775 * sysdeps/s390/v1-setjmp.h: Likewise.
46776 * sysdeps/s390/v1-sigjmp.c: Likewise.
46777 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
46778 Remove v1-longjmp_chk.
46779 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
46780 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
46781 Include debug/longjmp_chk.c and add versioning.
46782 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
46783 Include nptl/pt-longjmp.c and add versioning.
46784 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
46785 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
46786 Include __longjmp.c.
46787 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
46788 Move to ...
46789 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
46790 (__getcontext): Remove setting __flags field.
46791 Add versioning.
46792 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
46793 Don't restore upper high grps.
46794 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
46795 Likewise.
46796 (__swapcontext): Remove setting uc_flags field.
46797 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
46798 Delete file.
46799 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
46800 Include __longjmp.c.
46801 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
46802 Move to ...
46803 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
46804 (__getcontext): Remove setting __flags field.
46805 Add versioning.
46806 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
46807 (__swapcontext): Remove setting uc_flags field.
46808 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
46809 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
46810 Remove fields uc_high_gprs and __reserved.
46811 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
46812 New file with reverted content.
46813 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
46814 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
46815 Regenerated.
46816 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
46817 Regenerated.
46818
46819 2014-07-31 Andreas Schwab <schwab@suse.de>
46820
46821 * config.h.in (HAVE_IFUNC): Define to 0.
46822 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
46823 definedness.
46824
46825 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
46826
46827 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46828 memmove-avx-unaligned, memcpy-avx-unaligned and
46829 mempcpy-avx-unaligned.
46830 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46831 Add tests for AVX memcpy functions.
46832 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
46833 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
46834 memcpy_chk.
46835 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
46836 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
46837 memmove_chk.
46838 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
46839 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
46840 mempcpy_chk.
46841 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
46842 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
46843 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
46844
46845 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46846
46847 [BZ #17213]
46848 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
46849 powerpc64le.
46850
46851 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
46852
46853 [BZ #16839]
46854 * manual/llio.texi: Add section about open file description locks.
46855 * manual/examples/ofdlocks.c: Example of open file description
46856 lock usage.
46857 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
46858 F_OFD_SETLK, and F_OFD_SETLKW.
46859
46860 2014-07-23 Allan McRae <allan@archlinux.org>
46861
46862 * po/es.po: Update Spanish translation from translation project.
46863
46864 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
46865
46866 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
46867
46868 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
46869
46870 [BZ #17078]
46871 * sysdeps/arm/dl-machine.h (elf_machine_rela)
46872 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
46873 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
46874
46875 2014-07-17 Joseph Myers <joseph@codesourcery.com>
46876
46877 [BZ #17088]
46878 * math/fesetenv.c (__fesetenv)
46879 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
46880 * math/feupdateenv.c (__feupdateenv)
46881 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
46882
46883 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
46884 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
46885 (__ASSUME_SOCKETCALL): Do not define.
46886
46887 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
46888 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
46889 (__ASSUME_SOCKETCALL): Do not define.
46890 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
46891 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
46892 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46893 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
46894 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46895 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
46896 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46897 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46898
46899 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
46900 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
46901 (__ASSUME_SOCKETCALL): Do not define.
46902 (__ASSUME_IPC64): Define unconditionally.
46903 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
46904 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46905 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
46906 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46907 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
46908 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46909 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
46910 Likewise.
46911
46912 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
46913 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
46914 (__ASSUME_SOCKETCALL): Do not define.
46915 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
46916 (__ASSUME_FUTEX_LOCK_PI): Likewise.
46917 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46918 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
46919 (__ASSUME_REQUEUE_PI): Define unconditionally.
46920 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
46921 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
46922 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46923 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
46924 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46925 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46926
46927 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
46928 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
46929 (__ASSUME_SOCKETCALL): Do not define.
46930 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
46931 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46932 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46933 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
46934 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46935 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46936
46937 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
46938 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
46939 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46940 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
46941 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46942 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
46943 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46944 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
46945 (__ASSUME_GETCPU_SYSCALL): Likewise.
46946
46947 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
46948 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
46949 cases for individual architectures.
46950 * sysdeps/gnu/configure: Regenerated.
46951 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
46952 LIBC_SLIBDIR_RTLDDIR.
46953 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
46954 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
46955 LIBC_SLIBDIR_RTLDDIR.
46956 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
46957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
46958 LIBC_SLIBDIR_RTLDDIR.
46959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
46960 Regenerated.
46961 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
46962 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
46963 file.
46964 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
46965 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
46966 file.
46967 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
46968 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
46969 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
46970 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
46971
46972 * sysdeps/aarch64/shlib-versions: Move to ...
46973 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
46974 * sysdeps/alpha/shlib-versions: Move to ...
46975 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
46976 * sysdeps/arm/shlib-versions: Move to ...
46977 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
46978 * sysdeps/hppa/shlib-versions: Move all contents except for
46979 libgcc_s entry to ...
46980 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
46981 entry from ...
46982 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
46983 * sysdeps/ia64/shlib-versions: Move to ...
46984 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
46985 entry from ...
46986 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
46987 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
46988 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
46989 * sysdeps/microblaze/shlib-versions: Move to ...
46990 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
46991 * sysdeps/mips/shlib-versions: Move to ...
46992 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
46993 entry from ...
46994 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
46995 * sysdeps/tile/shlib-versions: Move to ...
46996 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
46997 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
46998 from ...
46999 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
47000 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
47001 entry from ...
47002 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
47003
47004 2014-07-17 Will Newton <will.newton@linaro.org>
47005
47006 * sysdeps/arm/bits/atomic.h
47007 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
47008 (__arch_compare_and_exchange_bool_16_int): Likewise.
47009 (__arch_compare_and_exchange_bool_64_int): Likewise.
47010
47011 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
47012 into an #else block.
47013
47014 2014-07-16 Roland McGrath <roland@hack.frob.com>
47015
47016 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
47017 just Linux configurations. Test empirically that the compiler sets
47018 __ARM_EABI__, rather than using the tuple to decide.
47019 * sysdeps/arm/preconfigure: Regenerated.
47020 * sysdeps/unix/sysv/linux/arm/configure: File removed.
47021 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
47022 contents appended ...
47023 * sysdeps/arm/configure.ac: ... here.
47024 * sysdeps/arm/configure: Regenerated.
47025
47026 2014-07-15 Roland McGrath <roland@hack.frob.com>
47027
47028 * nptl/pthread_kill.c: New file.
47029 * nptl/pthread_sigmask.c: New file.
47030 * nptl/pthread_sigqueue.c: New file.
47031
47032 * sysdeps/nptl/lowlevellock.h: New file.
47033 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
47034 * sysdeps/nptl/lowlevellock-futex.h: New file.
47035
47036 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
47037 Remove dead declarations.
47038
47039 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
47040
47041 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
47042 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
47043 config-cflags-avx2.
47044 * sysdeps/x86_64/configure.ac: Likewise.
47045 * sysdeps/i386/configure: Regenerated.
47046 * sysdeps/x86_64/configure: Likewise.
47047 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47048 memset-avx2 only if config-cflags-avx2 is yes.
47049 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47050 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
47051 defined.
47052 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
47053 only if HAVE_AVX2_SUPPORT is defined.
47054 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47055
47056 2014-07-14 Alan Modra <amodra@gmail.com>
47057
47058 [BZ #17153]
47059 * elf/elf.h (DT_PPC64_NUM): Correct value.
47060 * NEWS: Add to fixed bug list.
47061
47062 2014-07-13 Jim Meyering <meyering@fb.com>
47063
47064 [BZ 17150]
47065 regex: don't deref NULL upon heap allocation failure
47066 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
47067 failure in one more place.
47068 To trigger the segfault, configure grep -with-included-regex,
47069 build it, and run these commands:
47070 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
47071
47072 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
47073
47074 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
47075
47076 2014-07-11 Richard Henderson <rth@redhat.com>
47077
47078 * sysdeps/aarch64/libm-test-ulps: Update.
47079
47080 2014-07-10 Florian Weimer <fweimer@redhat.com>
47081
47082 [BZ #17135]
47083 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
47084 * nptl/allocatestack.c (__nptl_setxid_error): New function.
47085 (__nptl_setxid): Initialize error member. Call
47086 __nptl_setxid_error.
47087 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
47088 * nptl/descr.h (struct xid_command): Add error member.
47089 * nptl/tst-setuid3.c: New file.
47090 * nptl/Makefile (tests): Add it.
47091
47092 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47093
47094 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
47095 New define.
47096 (__lll_trylock): Use __lll_base_trylock.
47097 (__lll_cond_trylock): Likewise.
47098
47099 2014-07-10 Roland McGrath <roland@hack.frob.com>
47100
47101 * nptl/pthread_create.c (start_thread): Use atomic_or and
47102 lll_futex_wake directly rather than lll_robust_dead.
47103 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47104 (lll_robust_dead): Macro removed.
47105 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
47106 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47107 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47108 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47109 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47110 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47111 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47112 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47113 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47114 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47115 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47116 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47117 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47118 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47119 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47120
47121 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
47122 Use atomic_compare_and_exchange_val_acq directly rather than
47123 lll_robust_trylock.
47124 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47125 (__lll_robust_trylock, lll_robust_trylock): Removed.
47126 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47127 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47128 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47129 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47130 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47131 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47132 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47133 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47134 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47135 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47136 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47137 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47138 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47139 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47140
47141 2014-07-02 Florian Weimer <fweimer@redhat.com>
47142
47143 * manual/locale.texi (Locale Names): New section documenting
47144 locale name syntax. Adjust menu and node chaining accordingly.
47145 (Choosing Locale): Reference Locale Names, Locale Categories.
47146 Mention setting LC_ALL=C. Reflect that name syntax is now
47147 documented.
47148 (Locale Categories): New section title. Reference Locale Names.
47149 LC_ALL is an environment variable, but not a category.
47150 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
47151 description, now in Locale Name. Reference that section. Locale
47152 name syntax is now documented.
47153
47154 2014-07-02 Florian Weimer <fweimer@redhat.com>
47155
47156 [BZ #17137]
47157 * locale/findlocale.c (name_present, valid_locale_name): New
47158 functions.
47159 (_nl_find_locale): Use the loc_name variable to store name
47160 candidates. Call name_present and valid_locale_name to check and
47161 validate locale names. Return an error if the locale is invalid.
47162
47163 2014-07-02 Florian Weimer <fweimer@redhat.com>
47164
47165 * locale/setlocale.c (setlocale): Use strdup for allocating
47166 composite name copy.
47167
47168 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
47169
47170 Sync up with gnulib.
47171 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
47172 [!_LIBC && ENABLE_NLS]: Include gettext.h.
47173 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
47174 and _GL_ARG_NONNULL.
47175 [USE_UNLOCKED_IO]: Include unlocked-io.h.
47176 [!_LIBC]: Include code for Windows and Cygwin.
47177 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
47178 Include prototype for int strerror_r.
47179 [!_LIBC] (is_open): New function.
47180 (flush_stdout): New function.
47181 (print_errno_message): Use it.
47182 (error): Likewise.
47183 (error_at_line): Likewise.
47184 (error_tail) Add function attribute macros. Use
47185 __builtin_expect.
47186
47187 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
47188
47189 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
47190
47191 * io/ftw.c: Include sys/param.h unconditionally.
47192
47193 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
47194
47195 [BZ #17125]
47196 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
47197 libc_freeres_ptr.
47198 (freecache): New function to free CACHE on exit.
47199
47200 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
47201 initialization.
47202
47203 2014-07-09 David S. Miller <davem@davemloft.net>
47204
47205 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47206
47207 * sysdeps/sparc/nptl/internaltypes.h: Delete.
47208 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
47209 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
47210 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
47211 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
47212 * sysdeps/sparc/nptl/sem_init.c: Likewise.
47213 * sysdeps/sparc/nptl/sem_post.c: Likewise.
47214 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
47215 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
47216 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
47217 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
47218 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
47219 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
47220
47221 2014-07-09 Andreas Schwab <schwab@suse.de>
47222
47223 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
47224 output.
47225 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
47226 (do_test): Likewise.
47227
47228 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47229
47230 2014-07-09 Will Newton <will.newton@linaro.org>
47231
47232 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
47233 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
47234 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
47235 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
47236 * sysdeps/hppa/start.S (_start): Likewise.
47237
47238 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
47239
47240 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
47241
47242 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
47243 defined.
47244
47245 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
47246
47247 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
47248 after checking that it is non-NULL.
47249
47250 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
47251
47252 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47253
47254 * sysdeps/powerpc/memmove.c: Remove file.
47255 * sysdeps/powerpc/powerpc32/power4/memcopy.h
47256 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
47257 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
47258 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
47259 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
47260 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
47261 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
47262 string memmove instead of removed powerpc one.
47263
47264 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
47265 [weak_alias]: Fix compiler warning due trailing data.
47266 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
47267 [weak_alias]: Likewise.
47268 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
47269 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
47270
47271 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47272 (__libc_ifunc_impl_list): Add memmove functions.
47273
47274 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
47275
47276 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
47277 Remove code.
47278 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
47279 Likewise.
47280 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
47281 Likewise.
47282 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
47283 Likewise.
47284 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
47285 Likewise.
47286 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
47287 Likewise.
47288 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
47289 Likewise.
47290 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
47291 Likewise.
47292 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
47293 Likewise.
47294 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
47295 Likewise.
47296 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
47297 Likewise.
47298 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
47299 Likewise.
47300 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
47301 Likewise.
47302 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
47303 Likewise.
47304 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
47305 Likewise.
47306 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
47307 Likewise.
47308 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
47309 Likewise.
47310
47311 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47312
47313 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
47314 to avoid alignment traps in non-cacheable memory.
47315 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47316
47317 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
47318 multiarch objects.
47319 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
47320 file: multiarch power7 memmove.
47321 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
47322 multiarch default memmove.
47323 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
47324 multiarch memove for powerpc32/power4.
47325
47326 * string/bcopy.c: Use full path to include memmove.c.
47327 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
47328 multiarch objects.
47329 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
47330 bcopy for powerpc64.
47331 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
47332 bcopy for powerpc64.
47333 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
47334 and memmove implementations.
47335 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
47336 optimized multiarch memmove for POWER7/powerpc64.
47337 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
47338 default multiarch memmove for powerpc64.
47339 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
47340 multiarch for powerpc64.
47341 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
47342 for POWER7/powerpc64.
47343 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
47344 memmove for POWER7/powerpc64.
47345
47346 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
47347 glibc default one.
47348
47349 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
47350 __ELF_NATIVE_CLASS equal to 64.
47351
47352 2014-07-07 Roland McGrath <roland@hack.frob.com>
47353
47354 * sysdeps/nptl/lowlevellock.h: File removed.
47355
47356 * NEWS: NPTL is no longer an add-on!
47357 * nptl/internaltypes.h: Moved ...
47358 * sysdeps/nptl/internaltypes.h: ... here.
47359 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
47360 * sysdeps/nptl/fork.c: Likewise.
47361 * sysdeps/nptl/gai_misc.h: Likewise.
47362 * sysdeps/nptl/librt-cancellation.c: Likewise.
47363 * sysdeps/nptl/jmp-unwind.c: Likewise.
47364 * sysdeps/nptl/setxid.h: Likewise.
47365 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
47366 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
47367 * sysdeps/unix/sysv/linux/arm/Implies: New file.
47368 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
47369 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
47370 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
47371 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
47372 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
47373 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
47374 * sysdeps/unix/sysv/linux/mips/Implies: New file.
47375 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
47376 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
47377 * sysdeps/unix/sysv/linux/sh/Implies: New file.
47378 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
47379 * sysdeps/unix/sysv/linux/tile/Implies: New file.
47380 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
47381 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
47382 * nptl/Makeconfig: Moved ...
47383 * sysdeps/nptl/Makeconfig: ... here.
47384 * nptl/configure: File removed.
47385 * nptl/ANNOUNCE: File removed.
47386 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
47387 * sysdeps/unix/sysv/linux/configure: Regenerated.
47388
47389 * nptl/Makefile (routines): Add libc_pthread_init,
47390 libc_multiple_threads, register-atfork and unregister-atfork.
47391 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
47392 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
47393 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
47394 pthread-pi-defines.sym, structsem.sym.
47395 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
47396 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
47397 [$(subdir) = nptl] (tests): Add tst-setgetname.
47398 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
47399 * sysdeps/unix/sysv/linux/sigaction.c: Just include
47400 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
47401 [!LIBC_SIGACTION]: Remove aliases.
47402 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
47403 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
47404 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
47405 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
47406 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
47407 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
47408 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47409 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47410 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
47411 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
47412 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
47413 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
47414 __libc_allocate_rtsig_private.
47415 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
47416 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
47417 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
47418 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
47419 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
47420 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
47421 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
47422 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
47423 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
47424 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
47425 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
47426 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
47427 * nptl/internaltypes.h: ... here.
47428 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
47429 * sysdeps/nptl/jmp-unwind.c: ... here.
47430 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
47431 * nptl/libc-lowlevellock.c: ... here.
47432 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
47433 * nptl/libc_multiple_threads.c: ... here.
47434 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
47435 * nptl/libc_pthread_init.c: ... here.
47436 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
47437 * nptl/lowlevelbarrier.sym: ... here.
47438 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
47439 * nptl/lowlevelcond.sym: ... here.
47440 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
47441 * nptl/lowlevellock.c: ... here.
47442 * nptl/lowlevellock.h: Moved ...
47443 * sysdeps/nptl/lowlevellock.h: ... here.
47444 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
47445 * nptl/lowlevelrobustlock.c: ... here.
47446 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
47447 * nptl/lowlevelrobustlock.sym: ... here.
47448 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
47449 * nptl/lowlevelrwlock.sym: ... here.
47450 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
47451 * nptl/pt-fork.c: ... here.
47452 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
47453 * nptl/pthread-pi-defines.sym: ... here.
47454 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
47455 * nptl/pthread_attr_getaffinity.c: ... here.
47456 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
47457 * nptl/pthread_attr_setaffinity.c: ... here.
47458 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
47459 * nptl/pthread_mutex_cond_lock.c: ... here.
47460 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
47461 Update #include.
47462 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
47463 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
47464 * nptl/pthread_once.c: ... here, replacing old file.
47465 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
47466 * nptl/pthread_yield.c: ... here.
47467 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
47468 * nptl/register-atfork.c: ... here.
47469 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
47470 * nptl/sem_post.c: ... here.
47471 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
47472 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
47473 * nptl/sem_timedwait.c: ... here.
47474 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
47475 * nptl/sem_trywait.c: ... here.
47476 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
47477 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
47478 * nptl/sem_wait.c: ... here.
47479 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
47480 * nptl/structsem.sym: ... here.
47481 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
47482 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
47483 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
47484 * nptl/unregister-atfork.c: ... here.
47485 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
47486 * nptl/unwindbuf.sym: ... here.
47487 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
47488 * sysdeps/nptl/fork.c: ... here.
47489 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
47490 * sysdeps/nptl/fork.h: ... here.
47491 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
47492 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
47493 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
47494 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
47495 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
47496 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
47497 * sysdeps/unix/sysv/linux/getpid.c: ... here.
47498 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
47499 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
47500 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
47501 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
47502 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
47503 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
47504 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
47505 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
47506 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
47507 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
47508 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
47509 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
47510 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
47511 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
47512 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
47513 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
47514 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
47515 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
47516 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
47517 * sysdeps/unix/sysv/linux/raise.c: ... here.
47518 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
47519 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
47520 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
47521 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
47522 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
47523 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
47524 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
47525 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
47526 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
47527 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
47528 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
47529 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
47530 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
47531 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
47532 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
47533
47534 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
47535
47536 * sysdeps/generic/memcopy.h: Add comment for
47537 MEMCPY_OK_FOR_FWD_MEMMOVE.
47538
47539 2014-07-04 Will Newton <will.newton@linaro.org>
47540
47541 * string/memchr.c: Merge from gnulib.
47542 [_LIBC]: Remove conditionals.
47543 (__ptr_t): Remove define.
47544 (LONG_MAX_32_BITS): Likewise.
47545 (LONG_MAX): Likewise.
47546 (MEMCHR): Use ANSI prototype and optimize algorithm.
47547
47548 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
47549
47550 2014-07-03 Roland McGrath <roland@hack.frob.com>
47551
47552 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
47553 (lll_futex_timed_wait_bitset): Fix syscall argument count.
47554
47555 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
47556 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
47557 in a bare environment with no <stdlib.h> installed.
47558 * sysdeps/nptl/configure: Regenerated.
47559
47560 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
47561
47562 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
47563 AC_EGREP_CPP for kernel header checks, so they only succeed if
47564 including <linux/version.h> actually works right.
47565 * sysdeps/unix/sysv/linux/configure: Regenerated.
47566
47567 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
47568 value so it's not diagnosed as unused.
47569
47570 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
47571 thing) with "ifeq ($(subdir),rt)".
47572
47573 2014-07-03 Richard Henderson <rth@redhat.com>
47574
47575 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
47576 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
47577 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
47578
47579 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
47580 (math_force_eval): New.
47581
47582 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
47583 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
47584
47585 * sysdeps/alpha/fpu/s_round.c: Remove file.
47586 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
47587
47588 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
47589 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
47590 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
47591 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
47592 (_dl_start, print_statistics): Likewise.
47593 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
47594 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
47595
47596 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47597 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47598 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47599 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47600 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47601 (HP_SMALL_TIMING_AVAIL): Define.
47602 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47603 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47604 (HP_SMALL_TIMING_AVAIL): Define.
47605 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47606 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47607
47608 * sysdeps/aarch64/hp-timing.h: New file.
47609
47610 * sysdeps/generic/hp-timing.h: Remove dead comment.
47611 * sysdeps/generic/hp-timing-common.h: New file.
47612 * sysdeps/alpha/hp-timing.h: Include it.
47613 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
47614 * sysdeps/i386/i686/hp-timing.h: Likewise.
47615 * sysdeps/ia64/hp-timing.h: Likewise.
47616 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47617 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47618 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47619 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47620 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
47621 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
47622 (hp_timing_t): New.
47623
47624 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
47625 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
47626 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
47627 * elf/rtld.c (_dl_start_final): Likewise.
47628 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
47629 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47630 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47631 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47632 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47633 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47634 (HP_TIMING_DIFF_INIT): Remove.
47635 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47636 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47637 (HP_TIMING_DIFF_INIT): Remove.
47638 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47639 * sysdeps/i386/i686/hp-timing.c: Remove file.
47640 * sysdeps/x86_64/hp-timing.c: Remove file.
47641 * sysdeps/ia64/hp-timing.c: Remove file.
47642 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
47643 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
47644 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
47645 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
47646
47647 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
47648 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
47649 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
47650 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47651 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47652 (HP_TIMING_ACCUM): Remove.
47653 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47654 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
47655 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47656
47657 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
47658 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
47659 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
47660 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
47661 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
47662 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47663 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
47664 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47665
47666 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
47667
47668 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
47669
47670 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
47671
47672 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47673
47674 Sync up with gettext.
47675 * intl/loadmsgcat.c: Define O_BINARY if not defined.
47676 [_MSC_VER]: Include malloc.h
47677 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
47678 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
47679 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
47680 TEMP_FAILURE_RETRY. Cast return of alloca.
47681 [!_LIBC] Call gl_rwlock_init.
47682 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
47683
47684 2014-07-02 Roland McGrath <roland@hack.frob.com>
47685
47686 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
47687 before checking its value.
47688
47689 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47690
47691 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
47692
47693 * debug/memcpy_chk.c: Don't include pagecopy.h.
47694 * debug/mempcpy_chk.c: Likewise.
47695 * string/memcpy.c: Likewise.
47696 * string/memmove.c: Likewise.
47697 * sysdeps/powerpc/memmove.c: Likewise.
47698 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
47699 definition of PAGE_COPY_FWD_MAYBE here...
47700 * sysdeps/generic/pagecopy.h: ... from here.
47701 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
47702
47703 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
47704 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47705
47706 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
47707 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
47708 optimizations.
47709 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47710 (__libc_ifunc_impl_list): Likewise.
47711 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
47712 multiarch strcat for PPC64.
47713 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
47714 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
47715
47716 2014-07-02 Roland McGrath <roland@hack.frob.com>
47717
47718 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
47719
47720 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47721
47722 * intl/loadmsgcat.c: Remove declaration of
47723 get_sysdep_segment_value.
47724 (get_sysdep_segment_value): Use ISO C style.
47725 (_nl_load_domain): Use ISO C style. Get rid of redundant
47726 semicolon. Fix typo and formatting in comment.
47727 (_nl_unload_domain): Use ISO C style.
47728
47729 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
47730
47731 2014-07-02 Will Newton <will.newton@linaro.org>
47732
47733 * malloc/obstack.c: Merge from gnulib master.
47734 [HAVE_CONFIG_H]: Remove conditional code.
47735 [!_LIBC]: Include config.h.
47736 [!ELIDE_CODE]: Don't include inttypes.h, include
47737 stdint.h unconditionally.
47738 (print_and_abort): Mark as _Noreturn.
47739 (_obstack_allocated_p): Mark as __attribute_pure__.
47740 (obstack_free): Rename to __obstack_free.
47741 [!__attribute__]: Remove conditional code.
47742 * malloc/obstack.h: Merge from gnulib master.
47743 [__cplusplus]: Move conditional down.
47744 [!__attribute_pure__]: Define __attribute_pure__ here
47745 if it is not already defined.
47746 (_obstack_memory_used): Mark as __attribute_pure__.
47747 [!__obstack_free]: Define as obstack_free.
47748 [__GNUC__]: Remove check for ancient NeXT gcc.
47749
47750 2014-07-02 Will Newton <will.newton@linaro.org>
47751 Paul Eggert <eggert@cs.ucla.edu>
47752
47753 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
47754
47755 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47756
47757 * resolv/gethnamaddr.c: Add comment warning that the file is
47758 not maintained.
47759
47760 2014-07-01 Carlos O'Donell <carlos@redhat.com>
47761
47762 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
47763 entries.
47764
47765 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
47766 entry for aio_cancel and aio_cancel64.
47767 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
47768 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
47769 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
47770 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
47771 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
47772 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
47773 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
47774 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
47775 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
47776 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
47777 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
47778 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
47779 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
47780
47781 2014-07-01 Roland McGrath <roland@hack.frob.com>
47782
47783 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
47784 * nptl/pthread_mutex_lock.c: Likewise.
47785 * nptl/pthread_mutex_timedlock.c: Likewise.
47786 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
47787
47788 2014-07-01 Richard henderson <rth@redhat.com>
47789
47790 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
47791 (__isnan, __isnanl): Remove.
47792 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
47793
47794 * sysdeps/alpha/fpu/libm-test-ulps: Update.
47795
47796 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
47797
47798 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47799
47800 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
47801
47802 * resolv/nss_dns/dns-host.c (getanswer_r)
47803 [MULTI_PTRS_ARE_ALIASES]: Remove code.
47804
47805 2014-07-01 Joseph Myers <joseph@codesourcery.com>
47806
47807 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47808 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
47809 undefine.
47810 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
47811 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
47812
47813 2014-07-01 Roland McGrath <roland@hack.frob.com>
47814
47815 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
47816 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
47817
47818 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
47819 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
47820
47821 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
47822 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
47823 ... here.
47824 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
47825 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
47826
47827 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
47828 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
47829 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
47830 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
47831
47832 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
47833 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
47834 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
47835 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
47836 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
47837 Moved ...
47838 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
47839 ... here.
47840 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
47841 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
47842 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
47843 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
47844 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
47845 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
47846 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
47847 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
47848 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
47849 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
47850 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
47851 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
47852 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
47853 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
47854 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
47855 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
47856 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
47857 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
47858 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
47859 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
47860 ... here.
47861 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
47862 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
47863 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
47864 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
47865 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
47866 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
47867 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
47868 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
47869
47870 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
47871
47872 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
47873 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
47874 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
47875 Add sysdep.
47876
47877 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47878
47879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47880
47881 2014-06-30 Joseph Myers <joseph@codesourcery.com>
47882
47883 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
47884 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
47885
47886 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47887
47888 * sysdeps/arm/libm-test-ulps: Regenerated.
47889
47890 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
47891 Roland McGrath <roland@hack.frob.com>
47892
47893 * test-skeleton.c (signal_handler): Kill the whole process group
47894 before killing the child individually.
47895 (main): Report any failure on `setpgid'.
47896
47897 2014-06-30 Roland McGrath <roland@hack.frob.com>
47898
47899 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
47900 from _TLS_H to _ARM_NPTL_TLS_H.
47901 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
47902 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
47903
47904 2014-06-30 Joseph Myers <joseph@codesourcery.com>
47905
47906 [BZ #16539]
47907 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
47908 (__expm1l): Return argument unchanged when small but not
47909 subnormal.
47910
47911 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
47912 include macro name.
47913 (_FP_UNPACK_RAW_1_P): Likewise.
47914 (_FP_PACK_RAW_1): Likewise.
47915 (_FP_PACK_RAW_1_P): Likewise.
47916 (_FP_MUL_MEAT_1_wide): Likewise.
47917 (_FP_MUL_MEAT_DW_1_hard): Likewise.
47918 (_FP_MUL_MEAT_1_hard): Likewise.
47919 (_FP_DIV_MEAT_1_imm): Likewise.
47920 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
47921 (_FP_DIV_MEAT_1_udiv): Likewise.
47922 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
47923 (_FP_UNPACK_RAW_2): Likewise.
47924 (_FP_UNPACK_RAW_2_P): Likewise.
47925 (_FP_PACK_RAW_2): Likewise.
47926 (_FP_PACK_RAW_2_P): Likewise.
47927 (_FP_MUL_MEAT_DW_2_wide): Likewise.
47928 (_FP_MUL_MEAT_2_wide): Likewise.
47929 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
47930 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
47931 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
47932 (_FP_MUL_MEAT_2_gmp): Likewise.
47933 (_FP_DIV_MEAT_2_udiv): Likewise.
47934 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
47935 (_FP_FRAC_SRL_4): Likewise.
47936 (_FP_FRAC_SRST_4): Likewise.
47937 (_FP_FRAC_SRS_4): Likewise.
47938 (_FP_UNPACK_RAW_4): Likewise.
47939 (_FP_UNPACK_RAW_4_P): Likewise.
47940 (_FP_PACK_RAW_4): Likewise.
47941 (_FP_PACK_RAW_4_P): Likewise.
47942 (_FP_MUL_MEAT_DW_4_wide): Likewise.
47943 (_FP_MUL_MEAT_4_wide): Likewise.
47944 (_FP_MUL_MEAT_4_gmp): Likewise.
47945 (umul_ppppmnnn): Likewise.
47946 (_FP_DIV_MEAT_4_udiv): Likewise.
47947 (__FP_FRAC_ADD_4): Likewise.
47948 (__FP_FRAC_SUB_3): Likewise.
47949 (__FP_FRAC_SUB_4): Likewise.
47950 (__FP_FRAC_DEC_3): Likewise.
47951 (__FP_FRAC_DEC_4): Likewise.
47952 (__FP_FRAC_ADDI_4): Likewise.
47953 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
47954 (_FP_FRAC_SRL_8): Likewise.
47955 (_FP_FRAC_SRS_8): Likewise.
47956
47957 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
47958 include macro name.
47959 (FP_UNPACK_RAW_EP): Likewise.
47960 (FP_PACK_RAW_E): Likewise.
47961 (FP_PACK_RAW_EP): Likewise.
47962 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
47963 (_FP_ISSIGNAN): Likewise.
47964 (_FP_ADD_INTERNAL): Likewise.
47965 (_FP_FMA): Likewise.
47966 (_FP_CMP): Likewise.
47967 (_FP_SQRT): Likewise.
47968 (_FP_TO_INT): Likewise.
47969 (_FP_FROM_INT): Likewise.
47970 (FP_EXTEND): Likewise.
47971 (_FP_DIV_MEAT_N_loop): Likewise.
47972
47973 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
47974
47975 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
47976 throughout.
47977
47978 2014-06-29 Joseph Myers <joseph@codesourcery.com>
47979
47980 [BZ #17097]
47981 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
47982 result with correct sign in case of exponents that produce
47983 overflow except for X very close to 1.
47984
47985 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
47986
47987 mktime: merge #if/#ifdef usage from glibc
47988 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
47989 as that works with both Glibc's and Gnulib's style.
47990 See thread starting at Siddhesh Poyarekar's bug report at:
47991 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
47992
47993 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
47994
47995 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
47996 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
47997 * sysdeps/tile/tilegx/memmove.c: Remove file.
47998
47999 2014-06-27 Joseph Myers <joseph@codesourcery.com>
48000
48001 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
48002 abi-name definition.
48003 * scripts/soversions.awk: Do not handle or generate ABI lines.
48004 * shlib-versions: Remove ABI entries.
48005 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
48006 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
48007
48008 2014-06-27 Roland McGrath <roland@hack.frob.com>
48009
48010 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
48011 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
48012 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
48013 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
48014 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
48015 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
48016 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
48017 Moved ...
48018 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
48019 ... here.
48020 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
48021 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
48022 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
48023 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
48024 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
48025 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
48026 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
48027 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
48028 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
48029 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
48030 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
48031 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
48032 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
48033 Moved ...
48034 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
48035 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
48036 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
48037 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
48038 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
48039 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
48040 Moved ...
48041 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
48042 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
48043 Moved ...
48044 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
48045 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
48046 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
48047 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
48048 Moved ...
48049 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
48050 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
48051 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
48052 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
48053 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
48054 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
48055 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
48056 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
48057 Moved ...
48058 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
48059 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
48060 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
48061 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
48062 Moved ...
48063 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
48064 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
48065 Moved ...
48066 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
48067 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
48068 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
48069 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
48070 Moved ...
48071 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
48072 ... here.
48073 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
48074 Identical file removed.
48075 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
48076 Moved ...
48077 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
48078 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
48079 Identical file removed.
48080 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
48081 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
48082 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
48083 Moved ...
48084 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
48085 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
48086 Identical file removed.
48087 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
48088 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
48089 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
48090 Identical file removed.
48091 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
48092 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
48093 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
48094 Identical file removed.
48095 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
48096 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
48097 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
48098 Identical file removed.
48099 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
48100 Moved ...
48101 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
48102 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
48103 Identical file removed.
48104 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
48105 Moved ...
48106 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
48107 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
48108 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
48109 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
48110 Identical file removed.
48111 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
48112 Moved ...
48113 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
48114 ... here.
48115 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
48116 Identical file removed.
48117 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
48118 Moved ...
48119 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
48120 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
48121 Identical file removed.
48122 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
48123 Moved ...
48124 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
48125 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
48126 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
48127 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
48128 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
48129 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
48130 Moved ...
48131 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
48132 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
48133 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
48134
48135 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
48136 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
48137 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
48138 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
48139 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
48140
48141 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
48142
48143 [BZ #17092]
48144 * nscd/nscd.c (monitor_child): Return exit status of child
48145 instead of return value from wait syscall.
48146
48147 2014-06-27 Joseph Myers <joseph@codesourcery.com>
48148
48149 * configure.ac (libc_commonpagesize): Remove variable.
48150 (libc_relro_required): Likewise.
48151 (libc_cv_z_relro): Remove configure test.
48152 * configure: Regenerated.
48153 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
48154 variable.
48155 (libc_relro_required): Likewise.
48156 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
48157 (libc_relro_required): Likewise.
48158 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
48159 (libc_relro_required): Likewise.
48160 * sysdeps/arm/preconfigure: Regenerated.
48161 * sysdeps/ia64/preconfigure: Remove file.
48162 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
48163 variable.
48164 (libc_relro_required): Likewise.
48165
48166 [BZ #16561]
48167 [BZ #16562]
48168 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
48169 (__ieee754_yn): Set FE_TONEAREST mode internally and then
48170 recompute overflowing results in original rounding mode.
48171 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
48172 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
48173 recompute overflowing results in original rounding mode.
48174 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
48175 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48176 recompute overflowing results in original rounding mode.
48177 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
48178 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48179 recompute overflowing results in original rounding mode.
48180 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
48181 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48182 recompute overflowing results in original rounding mode.
48183 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
48184 (libc_feholdsetround_ctx): New macro.
48185 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
48186 * sysdeps/i386/fpu/libm-test-ulps: Update.
48187 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
48188
48189 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48190
48191 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
48192 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
48193 corresponding .cpsetup call.
48194
48195 2014-06-26 Roland McGrath <roland@hack.frob.com>
48196
48197 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
48198 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
48199 * sysdeps/arm/Makefile [$(subdir) = csu]
48200 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
48201 (static-only-routines): Add aeabi_read_tp here.
48202 (shared-only-routines): Add libc-aeabi_read_tp here.
48203 (CFLAGS-libc-start.c): Add -fexceptions here.
48204 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
48205 (sysdep_routines, static-only-routines, shared-only-routines):
48206 Don't add to these here.
48207 (CFLAGS-libc-start.c): Likewise.
48208
48209 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
48210 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
48211 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
48212 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
48213 * sysdeps/arm/Makefile [$(subdir) = rt]
48214 (librt-sysdep_routines, librt-shared-only-routines):
48215 Append rt-aeabi_unwind_cpp_pr1 here.
48216 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
48217 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
48218 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
48219 (libpthread-sysdep_routines, libpthread-shared-only-routines):
48220 Append nptl-aeabi_unwind_cpp_pr1 here.
48221 (tests): Filter out tst-cleanupx4 here.
48222 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
48223 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
48224 Don't do those here.
48225
48226 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48227
48228 * scripts/list-sources.sh: Do not handle ports specially.
48229
48230 2014-06-26 Roland McGrath <roland@hack.frob.com>
48231
48232 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
48233 * sysdeps/arm/feupdateenv.c: Likewise.
48234
48235 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
48236
48237 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48238
48239 * manual/texinfo.tex: Update to version 2014-05-05.10 with
48240 trailing whitespace removed.
48241 * scripts/config.guess: Update to version 2014-03-23.
48242 * scripts/config.sub: Update to version 2014-05-01
48243 * scripts/install-sh: Update to version 2013-12-25.23.
48244 * scripts/move-if-change: Update from gnulib.
48245
48246 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48247
48248 * debug/memmove_chk.c: Remove pagecopy.h include.
48249
48250 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
48251
48252 * time/mktime.c (leapyear): Remove inline keyword. The code is now
48253 identical to gnulib mktime.
48254
48255 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48256
48257 * configure.ac: Do not test for machine being rs6000. Do not test
48258 for powerpc*-*soft.
48259 * configure: Regenerated.
48260
48261 [BZ #11505]
48262 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
48263 test.
48264 * configure: Regenerated.
48265 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
48266 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
48267 Remove configure test.
48268 * sysdeps/arm/configure: Regenerated.
48269 * sysdeps/nptl/configure.ac: Do not check
48270 libc_cv_asm_cfi_directives.
48271 * sysdeps/nptl/configure: Regenerated.
48272 * sysdeps/x86_64/nptl/configure.ac: Remove file.
48273 * sysdeps/x86_64/nptl/configure: Remove generated file.
48274 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
48275 unconditional.
48276 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
48277
48278 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48279
48280 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
48281 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
48282 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
48283 it is defined.
48284
48285 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
48286 instead of whether it is defined.
48287 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
48288 * sysdeps/hppa/dl-machine.h: Likewise.
48289 * sysdeps/ia64/dl-machine.h: Likewise.
48290 * sysdeps/m68k/dl-machine.h: Likewise.
48291 * sysdeps/microblaze/dl-machine.h: Likewise.
48292 * sysdeps/mips/dl-machine.: Likewise.
48293 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48294 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48295 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48296 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48297 * sysdeps/sh/dl-machine.h: Likewise.
48298 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48299 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48300 * sysdeps/tile/dl-machine.h: Likewise.
48301 * sysdeps/x86_64/dl-machine.h: Likewise.
48302
48303 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
48304 code.
48305 (verify_persistent_db): Likewise.
48306
48307 2014-06-26 Roland McGrath <roland@hack.frob.com>
48308
48309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
48310 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
48311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
48312 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
48313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48314 Moved ...
48315 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
48316 ... here.
48317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
48318 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
48319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
48320 Identical file removed.
48321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
48322 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
48323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
48324 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
48325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
48326 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
48327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
48328 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
48329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
48330 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
48331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48332 Moved ...
48333 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
48334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
48335 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
48336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
48337 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
48338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48339 Moved ...
48340 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
48341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
48342 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
48343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
48344 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
48345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48346 Identical file removed.
48347 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
48348 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
48349 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
48350 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
48351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48352 Moved ...
48353 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
48354 ... here.
48355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
48356 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
48357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
48358 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
48359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
48360 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
48361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
48362 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
48363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
48364 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
48365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48366 Moved ...
48367 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
48368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
48369 Moved ...
48370 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
48371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
48372 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
48373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48374 Moved ...
48375 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
48376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
48377 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
48378
48379 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
48380 folded into ...
48381 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
48382 * sysdeps/unix/sysv/linux/s390/Versions
48383 (libpthread: GLIBC_2.19): New version set.
48384 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
48385 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
48386 (librt: GLIBC_2.3.3): New version set.
48387 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
48388 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
48389 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
48390 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
48391 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
48392 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
48393 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
48394 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
48395 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
48396 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
48397 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
48398 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
48399 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
48400 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
48401 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
48402 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
48403 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
48404 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
48405 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
48406 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
48407 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
48408 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
48409 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
48410 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
48411 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
48412 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
48413 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
48414 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
48415 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
48416 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
48417 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
48418 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
48419 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
48420 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
48421 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
48422 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
48423 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
48424 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
48425 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
48426 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
48427 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
48428 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
48429 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
48430 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
48431 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
48432
48433 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
48434 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
48435 (__libc_vfork): Define the function under this name.
48436 [!NOT_IN_libc] (__vfork): Make this an alias.
48437 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48438 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
48439 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
48440 (__libc_vfork): Define the function under this name.
48441 [!NOT_IN_libc] (__vfork): Make this an alias.
48442 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48443 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
48444 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
48445 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
48446 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
48447 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48448
48449 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
48450 code that was previously under [RESET_PID].
48451 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
48452 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
48453 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
48454
48455 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
48456 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
48457 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
48458 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
48459 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
48460 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
48461 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
48462 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
48463 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
48464 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
48465 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
48466 Moved ...
48467 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
48468 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
48469 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
48470 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
48471 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
48472 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
48473 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
48474 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
48475 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
48476 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
48477 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
48478 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
48479 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
48480 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
48481 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
48482 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
48483 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
48484 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
48485 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
48486 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
48487 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
48488 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
48489 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
48490 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
48491 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
48492 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
48493 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
48494 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
48495 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
48496
48497 2014-06-25 Roland McGrath <roland@hack.frob.com>
48498
48499 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
48500 that was previously under [RESET_PID].
48501 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
48502
48503 2014-06-25 Joseph Myers <joseph@codesourcery.com>
48504
48505 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
48506 not undefine and redefine.
48507 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
48508 [O_CLOEXEC]: Make code unconditional.
48509 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
48510 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
48511 <kernel-features.h>.
48512 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
48513 conditional variable definition.
48514 (shm_open) [O_CLOEXEC]: Make code unconditional.
48515 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
48516 code.
48517
48518 * configure.ac (USE_REGPARMS): Don't define here.
48519 * configure: Regenerated.
48520 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
48521 * sysdeps/i386/configure: Regenerated.
48522
48523 * nptl/createthread.c: Don't include kernel-features.h.
48524 * nptl/pthread_cancel.c: Likewise.
48525 * nptl/pthread_condattr_setclock.c: Likewise.
48526 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
48527 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
48528 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
48529 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
48530 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
48531 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
48532 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
48533 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
48534 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
48535 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
48536 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
48537 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
48538 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
48539 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
48540 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
48541 * nscd/gai.c: Likewise.
48542 * nss/nss_db/db-open.c: Likewise.
48543 * sysdeps/generic/ldsodefs.h: Likewise.
48544 * sysdeps/sh/nptl/tls.h: Likewise.
48545 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
48546 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
48547 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
48548 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
48549 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
48550 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
48551 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
48552 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48553 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
48554 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
48555 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
48556 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
48557 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
48558 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
48559 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
48560 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
48561 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
48562 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
48563 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
48564 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
48565 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
48566 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
48567 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
48568 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
48569 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
48570 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
48571 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
48572 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
48573 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
48574 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
48575 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
48576 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
48577 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
48578 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48579 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48580 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
48581 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48582 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
48583 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
48584 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
48585 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48586 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
48587 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
48588 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48589 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
48590 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
48591 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
48592 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
48593 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
48594 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
48595 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
48596 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
48597 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
48598 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
48599 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
48600 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48601 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
48602 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
48603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
48604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
48605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
48606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
48607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
48608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
48609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
48610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
48611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
48612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
48613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
48614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
48615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
48616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
48617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
48618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
48623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
48624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
48625 * sysdeps/unix/sysv/linux/pread.c: Likewise.
48626 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
48627 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
48628 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
48629 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
48630 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
48631 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
48632 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
48633 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
48634 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
48635 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
48636 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
48637 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
48638 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
48639 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
48640 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
48641 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
48642 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
48643 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
48644 * sysdeps/unix/sysv/linux/system.c: Likewise.
48645 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
48646 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
48647 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
48648 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
48649 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
48650 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
48651 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
48652
48653 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
48654 * configure: Regenerated.
48655 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
48656
48657 * configure.ac (base_machine): Do not set specially for particular
48658 machines here.
48659 * configure: Regenerated.
48660 * sysdeps/powerpc/preconfigure: Move machine and base_machine
48661 settings from configure.ac.
48662 * sysdeps/i386/preconfigure: New file.
48663 * sysdeps/s390/preconfigure: Likewise.
48664 * sysdeps/sh/preconfigure: Likewise.
48665 * sysdeps/sparc/preconfigure: Likewise.
48666
48667 2014-06-25 Roland McGrath <roland@hack.frob.com>
48668
48669 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
48670 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
48671 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
48672 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
48673 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
48674 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
48675 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
48676 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
48677 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
48678 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
48679 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
48680 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
48681 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
48682 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
48683 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
48684 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
48685 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
48686 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
48687 * sysdeps/sparc/sparc64/Makefile: ... appended here.
48688
48689 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
48690 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
48691 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
48692 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
48693 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
48694 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
48695 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
48696 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
48697 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
48698 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
48699 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
48700 * sysdeps/sparc/sparc32/sem_post.c: ... here.
48701 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
48702 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
48703 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
48704 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
48705 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
48706 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
48707 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
48708 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
48709 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
48710 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
48711 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
48712 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
48713 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
48714 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
48715 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
48716 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
48717 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
48718 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
48719 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
48720 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
48721 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
48722 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
48723 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
48724 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
48725 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
48726 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
48727
48728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
48729 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
48730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
48731 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
48732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
48733 Moved ...
48734 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
48735 ... here.
48736 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
48737 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
48738 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
48739 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
48740 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
48741 Moved ...
48742 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
48743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
48744 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
48745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
48746 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
48747 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
48748 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
48749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48750 Moved ...
48751 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
48752 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
48753 Moved ...
48754 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
48755 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
48756 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
48757 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
48758 Moved ...
48759 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
48760 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
48761 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
48762 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
48763 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
48764 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
48765 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
48766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
48767 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
48768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
48769 Moved ...
48770 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
48771 ... here.
48772 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
48773 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
48774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
48775 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
48776 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
48777 Moved ...
48778 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
48779 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
48780 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
48781 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
48782 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
48783 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
48784 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
48785 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48786 Moved ...
48787 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
48788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
48789 Moved ...
48790 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
48791 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
48792 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
48793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
48794 Moved ...
48795 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
48796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
48797 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
48798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
48799 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
48800
48801 2014-06-25 Joseph Myers <joseph@codesourcery.com>
48802
48803 * timezone/checktab.awk: Update from tzcode 2014e.
48804 * timezone/private.h: Likewise.
48805 * timezone/tzfile.h: Likewise.
48806 * timezone/zdump.c: Likewise.
48807 * timezone/zic.c: Likewise.
48808
48809 * sysdeps/unix/sysv/linux/kernel-features.h
48810 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
48811 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
48812 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
48813 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
48814 Remove conditional code.
48815
48816 2014-06-25 Will Newton <will.newton@linaro.org>
48817
48818 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
48819 (_dl_arm_cap_flags): Add HWCAP2 values.
48820 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
48821 (_DL_HWCAP_COUNT): Increase to 37.
48822 (_DL_HWCAP_LAST): New define.
48823 (_DL_HWCAP2_LAST): New define.
48824 (_dl_procinfo): Add support for printing
48825 AT_HWCAP2 entries.
48826 (_dl_string_hwcap): Use _dl_hwcap_string.
48827
48828 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48829
48830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48831
48832 2014-06-25 Joseph Myers <joseph@codesourcery.com>
48833
48834 * README: Do not mention ports directory.
48835
48836 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
48837 Remove macro.
48838 * sysdeps/unix/sysv/linux/futimes.c: Do not include
48839 <kernel-features.h>.
48840 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
48841 conditional variable definition.
48842 (__futimes): Update comment.
48843 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
48844 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
48845
48846 [BZ #16560]
48847 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
48848 arguments close to 0.
48849 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
48850 Likewise.
48851 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
48852 Likewise.
48853 * math/auto-libm-test-in: Add more tests of exp10.
48854 * math/auto-libm-test-out: Regenerated.
48855 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48856
48857 * sysdeps/unix/sysv/linux/kernel-features.h
48858 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
48859 * sysdeps/unix/sysv/linux/readv.c: Do not include
48860 <kernel-features.h>.
48861 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
48862 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
48863 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
48864 unconditional.
48865 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
48866 conditional code.
48867 * sysdeps/unix/sysv/linux/writev.c: Do not include
48868 <kernel-features.h>.
48869 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
48870 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
48871 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
48872 unconditional.
48873 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
48874 conditional code.
48875
48876 2014-06-25 Will Newton <will.newton@linaro.org>
48877
48878 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
48879 comment changes throughout the file. Remove checks
48880 for HAVE_*_H definitions that are not required.
48881 (__gen_tempname): Call abort if an unknown kind value is
48882 passed.
48883
48884 2014-06-25 Andreas Schwab <schwab@suse.de>
48885
48886 [BZ #17086]
48887 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
48888 scalbln, scalblnf, scalblnl in libc.
48889
48890 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
48891
48892 [BZ #17086]
48893 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
48894 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
48895 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
48896
48897 2014-06-24 Roland McGrath <roland@hack.frob.com>
48898
48899 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
48900 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
48901 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
48902 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
48903 Update #include.
48904 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
48905 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
48906 Update #include.
48907 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
48908 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
48909 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
48910 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
48911 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
48912 * sysdeps/x86/bits/pthreadtypes.h: ... here.
48913 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
48914 * sysdeps/x86/bits/semaphore.h: ... here.
48915 * sysdeps/x86/nptl/elide.h: Moved ...
48916 * sysdeps/x86/elide.h: ... here.
48917 * sysdeps/x86_64/nptl/Implies: File removed.
48918 * sysdeps/i386/nptl/Implies: File removed.
48919
48920 2014-06-24 Joseph Myers <joseph@codesourcery.com>
48921
48922 [BZ #16539]
48923 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
48924 return the argument for normal arguments with exponent below -64.
48925 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
48926 Likewise.
48927 * math/auto-libm-test-in: Add another test of expm1.
48928 * math/auto-libm-test-out: Regenerated.
48929
48930 [BZ #16287]
48931 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
48932 calling __erfcl for arguments at least 16.
48933 * math/auto-libm-test-in: Add more tests of erf.
48934 * math/auto-libm-test-out: Regenerated.
48935
48936 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
48937 individual architectures.
48938 * sysdeps/unix/sysv/linux/configure: Regenerated.
48939 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
48940 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
48941 * sysdeps/unix/sysv/linux/powerpc/configure.ac
48942 (ldd_rewrite_script): Define variable.
48943 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
48944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
48945 file.
48946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
48947 generated file.
48948 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
48949 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
48950 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
48951 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
48952 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
48953 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
48954 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
48955 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
48956
48957 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
48958
48959 [BZ #17084]
48960 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
48961 Rename member __data.d to __data.__elision_data.
48962
48963 2014-06-24 Wilco <wdijkstr@arm.com>
48964
48965 * NEWS: Add 16918 to fixed bug list.
48966
48967 2014-06-24 Wilco <wdijkstr@arm.com>
48968
48969 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
48970
48971 2014-06-24 Wilco <wdijkstr@arm.com>
48972
48973 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
48974 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
48975 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
48976 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
48977 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
48978 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
48979 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
48980 Use _FPU_MASK_RM.
48981
48982 2014-06-24 Wilco <wdijkstr@arm.com>
48983
48984 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
48985
48986 2014-06-24 Wilco <wdijkstr@arm.com>
48987
48988 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
48989 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
48990 * sysdeps/arm/fesetround.c (fesetround): Remove space.
48991 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
48992
48993 2014-06-24 Wilco <wdijkstr@arm.com>
48994
48995 [BZ #16918]
48996 * sysdeps/arm/feupdateenv.c (feupdateenv):
48997 Rewrite to reduce FPSCR accesses and fix return value.
48998
48999 2014-06-24 Wilco <wdijkstr@arm.com>
49000
49001 * sysdeps/arm/fclrexcpt.c (feclearexcept):
49002 Optimize to avoid unnecessary FPSCR writes.
49003 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
49004 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
49005 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
49006 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
49007
49008 2014-06-24 Wilco <wdijkstr@arm.com>
49009
49010 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
49011 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
49012 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
49013 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
49014 Call libc_fetestexcept_vfp.
49015 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
49016 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
49017 __SOFTFP__ ifdef so that they can be built for softfp.
49018
49019 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
49020
49021 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
49022 argument type signed char.
49023
49024 * Makerules (check-abi): Dump diff of symlist if the test
49025 fails.
49026
49027 2014-06-23 Roland McGrath <roland@hack.frob.com>
49028
49029 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
49030 using abort.
49031
49032 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
49033 Remove unused variable ST.
49034
49035 2014-06-23 Joseph Myers <joseph@codesourcery.com>
49036
49037 [BZ #16354]
49038 [BZ #17061]
49039 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
49040 small arguments before calling __expm1.
49041 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
49042 small arguments before calling __expm1f.
49043 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
49044 small arguments before calling __expm1l.
49045 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
49046 Likewise.
49047 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
49048 * math/auto-libm-test-in: Add more cosh tests. Do not allow
49049 spurious underflow for some cosh tests.
49050 * math/auto-libm-test-out: Regenerated.
49051 * sysdeps/i386/fpu/libm-test-ulps: Update.
49052
49053 [BZ #17050]
49054 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
49055 (__ieee754_y1): Set errno if return value overflows.
49056 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
49057 (__ieee754_y1f): Set errno if return value overflows.
49058 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
49059 (__ieee754_y1l): Set errno if return value overflows.
49060 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
49061 (__ieee754_y1l): Set errno if return value overflows.
49062 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
49063 * math/auto-libm-test-out: Regenerated.
49064
49065 * math/gen-auto-libm-tests.c: Document use of
49066 ignore-zero-inf-sign.
49067 (input_flag_type): Add value flag_ignore_zero_inf_sign.
49068 (input_flags): Add ignore-zero-inf-sign.
49069 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
49070 * math/gen-libm-test.pl (generate_testfile): Handle
49071 ignore-zero-inf-sign.
49072 * math/auto-libm-test-in: Mark some cpow tests with
49073 ignore-zero-inf-sign and some with xfail-rounding.
49074 * math/auto-libm-test-out: Regenerated.
49075 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
49076 * sysdeps/i386/fpu/libm-test-ulps: Update.
49077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49078
49079 [BZ #16315]
49080 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
49081 overflowing or underflowing operations take place with sign of
49082 result.
49083 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49084 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
49085 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
49086 (__ieee754_pow): Recompute overflowing and underflowing results in
49087 original rounding mode.
49088 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
49089 (__powl_helper): Allow negative argument X and scale negated value
49090 as needed. Avoid passing value outside [-1, 1] to f2xm1.
49091 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
49092 overflowing or underflowing operations take place with sign of
49093 result.
49094 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
49095 Include <math.h>.
49096 * math/auto-libm-test-in: Add more tests of pow.
49097 * math/auto-libm-test-out: Regenerated.
49098 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
49099 (pow_tonearest_test_data): Remove.
49100 (pow_test_tonearest): Likewise.
49101 (pow_towardzero_test_data): Likewise.
49102 (pow_test_towardzero): Likewise.
49103 (pow_downward_test_data): Likewise.
49104 (pow_test_downward): Likewise.
49105 (pow_upward_test_data): Likewise.
49106 (pow_test_upward): Likewise.
49107 (main): Don't call removed functions.
49108 * sysdeps/i386/fpu/libm-test-ulps: Update.
49109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49110
49111 2014-06-23 Roland McGrath <roland@hack.frob.com>
49112
49113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
49114 Moved ...
49115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
49116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49117 Moved ...
49118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
49119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49120 Moved ...
49121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
49122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49123 Moved ...
49124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
49125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49126 File removed.
49127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49128 File removed.
49129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
49130 File removed.
49131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
49132 File removed.
49133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
49134 File removed.
49135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
49136 File removed.
49137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
49138 File removed.
49139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49140 File removed.
49141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
49142 File removed.
49143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49144 File removed.
49145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
49146 File removed.
49147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
49148 File removed.
49149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
49150 Moved ...
49151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
49152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
49153 Moved ...
49154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
49155 ... here.
49156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
49157 Moved ...
49158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
49159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
49160 Moved ...
49161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
49162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
49163 Moved ...
49164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
49165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
49166 Moved ...
49167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
49168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
49169 Moved ...
49170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
49171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
49172 Moved ...
49173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
49174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
49175 Moved ...
49176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
49177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
49178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
49179 ... here.
49180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
49181 Moved ...
49182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
49183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
49184 Moved ...
49185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
49186 ... here.
49187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
49188 Moved ...
49189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
49190 ... here.
49191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
49192 Moved ...
49193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
49194 ... here.
49195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49196 Moved ...
49197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
49198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
49199 Moved ...
49200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
49201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
49202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
49203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
49204 Moved ...
49205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
49206 ... here.
49207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49208 Moved ...
49209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
49210 ... here.
49211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
49212 Moved ...
49213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
49214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49215 Moved ...
49216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
49217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
49218 Moved ...
49219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
49220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49221 Moved ...
49222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
49223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
49224 Moved ...
49225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
49226 ... here.
49227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49228 Moved ...
49229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
49230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
49231 Moved ...
49232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
49233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49234 Moved ...
49235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
49236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
49237 Moved ...
49238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
49239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
49240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
49241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
49242 Moved ...
49243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
49244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49245 Moved ...
49246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
49247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
49248 Moved ...
49249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
49250 ... here.
49251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49252 Moved ...
49253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
49254 ... here.
49255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
49256 Moved ...
49257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
49258 ... here.
49259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49260 Moved ...
49261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
49262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
49263 Moved ...
49264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
49265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49266 Moved ...
49267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
49268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
49269 Moved ...
49270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
49271 ... here.
49272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49273 Moved ...
49274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
49275 ... here.
49276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
49277 Moved ...
49278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
49279 ... here.
49280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49281 Moved ...
49282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
49283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49284 Moved ...
49285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
49286
49287 2014-06-23 Will Newton <will.newton@linaro.org>
49288 Wilco <wdijkstr@arm.com>
49289
49290 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
49291 implementation. Include get-rounding-mode.h.
49292 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
49293 [!libc_feholdsetround_noex_ctx]: Define
49294 libc_feholdsetround_noex_ctx.
49295 [!libc_feholdsetround_noexf_ctx]: Define
49296 libc_feholdsetround_noexf_ctx.
49297 [!libc_feholdsetround_noexl_ctx]: Define
49298 libc_feholdsetround_noexl_ctx.
49299 (libc_feholdsetround_ctx): New function.
49300 (libc_feresetround_ctx): New function.
49301 (libc_feholdsetround_noex_ctx): New function.
49302 (libc_feresetround_noex_ctx): New function.
49303
49304 2014-06-23 Roland McGrath <roland@hack.frob.com>
49305
49306 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
49307 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
49308 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
49309 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
49310 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
49311 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
49312
49313 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
49314 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
49315 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
49316 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
49317 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
49318 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
49319 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
49320 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
49321 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
49322 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
49323 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
49324 Moved ...
49325 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
49326 ... here.
49327 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
49328 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
49329 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
49330 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
49331 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
49332 Moved ...
49333 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
49334 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
49335 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
49336 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
49337 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
49338 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
49339 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
49340 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
49341 Moved ...
49342 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
49343 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
49344 Moved ...
49345 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
49346 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
49347 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
49348 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
49349 Moved ...
49350 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
49351 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
49352 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
49353 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
49354 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
49355 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
49356 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
49357 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
49358 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
49359 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
49360 Moved ...
49361 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
49362 ... here.
49363 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
49364 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
49365 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
49366 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
49367 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
49368 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
49369 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
49370 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
49371 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
49372 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
49373 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
49374 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
49375 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
49376 Moved ...
49377 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
49378 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
49379 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
49380 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
49381 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
49382 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
49383 Moved ...
49384 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
49385 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
49386 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
49387 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
49388 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
49389
49390 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
49391 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
49392 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
49393 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
49394 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
49395 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
49396 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
49397 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
49398 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
49399 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
49400 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
49401 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
49402 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
49403 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
49404 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
49405 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
49406 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
49407 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
49408 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
49409 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
49410 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
49411 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
49412 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
49413 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
49414 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
49415 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
49416 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
49417 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
49418
49419 2014-06-23 Joseph Myers <joseph@codesourcery.com>
49420
49421 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
49422 (FALLOC_FL_COLLAPSE_RANGE): New macro.
49423 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
49424 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
49425 (IPV6_PMTUDISC_INTERFACE): Likewise.
49426 (IPV6_PMTUDISC_OMIT): Likewise.
49427
49428 2014-06-23 Andreas Schwab <schwab@suse.de>
49429
49430 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
49431 Remove unused errout label.
49432
49433 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49434
49435 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
49436 macro: hardware supports Vector Crypto instructions.
49437
49438 2014-06-23 Will Newton <will.newton@linaro.org>
49439
49440 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
49441 rather than __builtin_expect.
49442
49443 * elf/dl-lookup.c (undefined_msg): Remove variable.
49444 (_dl_lookup_symbol_x): Replace undefined_msg with string
49445 literal.
49446
49447 * elf/dl-lookup.c (do_lookup_unique): New function.
49448 (do_lookup_x): Move STB_GNU_UNIQUE handling code
49449 to a separate function.
49450
49451 2014-06-23 Andreas Schwab <schwab@suse.de>
49452
49453 [BZ #17079]
49454 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
49455 before reading the next line.
49456
49457 2014-06-23 Will Newton <will.newton@linaro.org>
49458
49459 * test-skeleton.c (signal_handler): Use printf and %m
49460 rather than perror. Use printf rather than fprintf to
49461 stderr. Use puts rather than fputs to stderr.
49462 (main): Likewise.
49463
49464 2014-06-22 Ludovic Courtès <ludo@gnu.org>
49465
49466 * nscd/nscd.c (thread_info_t): Remove typedef.
49467 (thread_info): Remove variable.
49468
49469 2014-06-21 Allan McRae <allan@archlinux.org>
49470
49471 * NEWS: Mention CVE-2014-4043.
49472
49473 2014-06-20 Roland McGrath <roland@hack.frob.com>
49474
49475 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
49476 * nptl/smp.h: ... here.
49477
49478 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
49479
49480 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
49481 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
49482 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
49483 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
49484
49485 * nptl/allocatestack.c: Include <stack-aliasing.h>.
49486 * nptl/stack-aliasing.h: New file.
49487 * sysdeps/i386/i686/stack-aliasing.h: New file.
49488 * sysdeps/i386/i686/nptl/Makefile: File removed.
49489 * sysdeps/x86_64/stack-aliasing.h: New file.
49490 * sysdeps/x86_64/nptl/Makefile
49491 (CFLAGS-pthread_create.c): Variable removed.
49492
49493 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
49494 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
49495 old file.
49496 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
49497 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
49498 old file.
49499
49500 2014-06-21 Joseph Myers <joseph@codesourcery.com>
49501
49502 * sysdeps/unix/sysv/linux/arm/kernel-features.h
49503 (__ASSUME_SIGFRAME_V2): Remove macro.
49504 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
49505 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
49506 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
49507 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
49508 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
49509 Declare as function. Remove conditional macro definitions.
49510 (__default_rt_sa_restorer): Likewise.
49511 (__default_sa_restorer_v1): Remove declaration.
49512 (__default_sa_restorer_v2): Likewise.
49513 (__default_rt_sa_restorer_v1): Likewise.
49514 (__default_rt_sa_restorer_v2): Likewise.
49515 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
49516 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
49517 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
49518
49519 2014-06-20 Roland McGrath <roland@hack.frob.com>
49520
49521 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
49522 (libpthread-routines): Add sysdep.
49523 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
49524 * sysdeps/unix/sysv/linux/sparc/Versions
49525 (libpthread: GLIBC_2.3.3): New version set.
49526 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
49527 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
49528 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
49529 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
49530 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
49531 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
49532 Moved ...
49533 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
49534 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
49535 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
49536 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
49537 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
49538 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
49539 * sysdeps/sparc/nptl/sem_init.c: ... here.
49540 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
49541 * sysdeps/sparc/nptl/sem_post.c: ... here.
49542 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
49543 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
49544 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
49545 * sysdeps/sparc/nptl/sem_wait.c: ... here.
49546 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
49547 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
49548 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
49549 (libpthread-routines): Add cpu_relax.
49550 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
49551 File removed.
49552 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
49553 (librt: GLIBC_2.3.3): New version set.
49554 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
49555 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
49556 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
49557 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
49558 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
49559 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
49560 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
49561 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
49562 Moved ...
49563 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
49564 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
49565 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
49566 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
49567 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
49568 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
49569 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
49570 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
49571 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
49572 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
49573 Moved ...
49574 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
49575 Update #include.
49576 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
49577 Moved ...
49578 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
49579 Update #include.
49580 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
49581 Moved ...
49582 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
49583 Update #include.
49584 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
49585 Moved ...
49586 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
49587 Update #include.
49588 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
49589 Moved ...
49590 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
49591 Update #include.
49592 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
49593 Moved ...
49594 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
49595 Update #include.
49596 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
49597 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
49598 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
49599 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
49600 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
49601 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
49602 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
49603 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
49604 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
49605 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
49606 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
49607 Moved ...
49608 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
49609 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
49610 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
49611 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
49612 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
49613
49614 2014-06-20 Joseph Myers <joseph@codesourcery.com>
49615
49616 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
49617 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
49618 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
49619 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
49620 * nscd/nscd.c: Likewise.
49621 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
49622 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
49623 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
49624 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
49625
49626 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
49627 <kernel-features.h>.
49628 (init_mq_netlink): Remove conditional have_sock_cloexec
49629 definitions. Remove code conditional on have_sock_cloexec < 0.
49630 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
49631 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
49632 * sysdeps/unix/sysv/linux/opensock.c: Do not include
49633 <kernel-features.h>.
49634 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
49635 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
49636
49637 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
49638
49639 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49640 Add tests for memset_chk and memset.
49641
49642 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
49643 with AVX2_Usable.
49644
49645 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
49646
49647 [BZ #16046]
49648 * elf/tst-dl-iter-static.c: New file.
49649 * elf/Makefile (tests-static): Add tst-dl-iter-static.
49650
49651 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
49652 error.
49653
49654 2014-06-20 Joseph Myers <joseph@codesourcery.com>
49655
49656 * sysdeps/unix/sysv/linux/kernel-features.h
49657 (__ASSUME_F_GETOWN_EX): Remove macro.
49658 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
49659 <kernel-features.h>.
49660 (miss_F_GETOWN_EX): Remove variable or macro.
49661 (do_fcntl): Do not check miss_F_GETOWN_EX.
49662 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
49663
49664 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
49665 Remove macro.
49666 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
49667 [!__ASSUME_AT_RANDOM]: Remove conditional code.
49668 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
49669
49670 * sysdeps/unix/sysv/linux/kernel-features.h
49671 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
49672 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
49673 [ADJ_OFFSET_SS_READ]: Make code unconditional.
49674 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
49675
49676 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
49677
49678 [BZ #17075]
49679 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
49680 Fix calculation of the symbol's value.
49681 * sysdeps/arm/tst-armtlsdescloc.c: New file.
49682 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
49683 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
49684 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
49685 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
49686 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
49687 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
49688 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
49689 (modules-names): Add `tst-armtlsdescmod',
49690 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
49691 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
49692 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
49693 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
49694 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
49695 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
49696 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
49697 ($(objpfx)tst-armtlsdescloc): New dependency.
49698 ($(objpfx)tst-armtlsdescextnow): Likewise.
49699 ($(objpfx)tst-armtlsdescextlazy): Likewise.
49700 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
49701 TLS scheme support.
49702 * sysdeps/arm/configure: Regenerate.
49703
49704 2014-06-20 Joseph Myers <joseph@codesourcery.com>
49705
49706 * include/fcntl.h (__atfct_seterrno): Remove prototype.
49707 (__atfct_seterrno_2): Likewise.
49708 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
49709 <kernel-features.h>.
49710 (__ASSUME_ATFCTS): Do not undefine and redefine.
49711 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
49712 (__have_atfcts): Remove conditional definition.
49713 (__fxstatat([__NR_fstatat64]: Make code unconditional.
49714 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
49715 unreachable if [__ASSUME_ATFCTS].
49716 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
49717 not undefine and redefine.
49718 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
49719 <kernel-features.h>.
49720 (faccessat) [__NR_faccessat]: Make code unconditional.
49721 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
49722 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
49723 <kernel-features.h>.
49724 (fchmodat) [__NR_fchmodat]: Make code unconditional.
49725 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
49726 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
49727 <kernel-features.h>.
49728 (fchownat) [__NR_fchownat]: Make code unconditional.
49729 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
49730 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
49731 <kernel-features.h>.
49732 (futimesat) [__NR_futimesat]: Make code unconditional.
49733 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
49734 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
49735 <kernel-features.h>.
49736 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
49737 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49738 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
49739 <kernel-features.h>.
49740 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
49741 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
49742 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
49743 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
49744 <kernel-features.h>.
49745 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
49746 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49747 * sysdeps/unix/sysv/linux/linkat.c: Do not include
49748 <kernel-features.h>.
49749 (linkat) [__NR_linkat]: Make code unconditional.
49750 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49751 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
49752 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
49753 <kernel-features.h>.
49754 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
49755 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
49756 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
49757 <kernel-features.h>.
49758 (mkdirat) [__NR_mkdirat]: Make code unconditional.
49759 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
49760 * sysdeps/unix/sysv/linux/openat.c: Do not include
49761 <kernel-features.h>.
49762 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
49763 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
49764 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
49765 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
49766 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
49767 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
49768 <kernel-features.h>.
49769 (readlinkat) [__NR_readlinkat]: Make code unconditional.
49770 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
49771 result of INLINE_SYSCALL directly, not via int variable.
49772 * sysdeps/unix/sysv/linux/renameat.c: Do not include
49773 <kernel-features.h>.
49774 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
49775 (renameat) [__NR_renameat]: Make code unconditional.
49776 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
49777 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
49778 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
49779 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
49780 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
49781 (__ASSUME_ATFCTS): Do not undefine and redefine.
49782 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
49783 <kernel-features.h>.
49784 (symlinkat) [__NR_symlinkat]: Make code unconditional.
49785 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49786 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
49787 <kernel-features.h>.
49788 (unlinkat) [__NR_unlinkat]: Make code unconditional.
49789 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49790 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
49791 (__ASSUME_ATFCTS): Do not undefine and redefine.
49792 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
49793 <kernel-features.h>.
49794 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
49795 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49796 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
49797 <kernel-features.h>.
49798 (__xmknodat) [__NR_mknodat]: Make code unconditional.
49799 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
49800
49801 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
49802
49803 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
49804
49805 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
49806
49807 [BZ #17069]
49808 * posix/regcomp.c (parse_reg_exp): Deallocate partially
49809 constructed tree before returning error.
49810 * posix/bug-regexp36.c: Expand test case.
49811
49812 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
49813
49814 [BZ #6803]
49815 * math/libm-test.inc (scalbln_test_date):
49816 Add errno expectations.
49817 * math/w_scalblnf.c: New File.
49818 Add wrapper which checks for setting errno to ERANGE.
49819 Add weak_alias for corresponding scalbln function.
49820 * math/w_scalbln.c: Likewise.
49821 * math/w_scalblnl.c: Likewise.
49822 * math/Makefile (libm-calls): Add w_scalbln.
49823 * sysdeps/ieee754/flt-32/s_scalblnf.c:
49824 Remove weak_alias for corresponding scalbln function.
49825 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49826 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
49827 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49828 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49829 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
49830 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
49831 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
49832 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
49833 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
49834 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
49835 Remove long_double_symbol for scalblnl function in libm, libc.
49836 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
49837 Add wrapper which checks for setting errno to ERANGE.
49838 Add long_double_symbol for scalblnl function in libm, libc.
49839 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
49840 Remove long_double_symbol for scalblnl in libm.
49841 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
49842 Add wrapper which checks for setting errno to ERANGE.
49843 Add long_double_symbol for scalblnl function in libm.
49844 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
49845 Do not use wrapper because of own implementation.
49846
49847 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
49848
49849 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
49850 3 bytes for __pad1 for x32.
49851 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
49852
49853 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
49854 H.J. Lu <hongjiu.lu@intel.com>
49855
49856 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
49857 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
49858 * sysdeps/x86_64/multiarch/memset.S: Likewise.
49859 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
49860 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
49861
49862 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
49863
49864 [BZ #17069]
49865 * posix/regcomp.c (parse_expression): Deallocate partially
49866 constructed tree before returning error.
49867 * posix/Makefile.c (tests): Add bug-regex36.
49868 (generated): Add bug-regex36.mtrace.
49869 (tests-special): Add $(objpfx)bug-regex36-mem.out
49870 (bug-regex36-ENV): New variable.
49871 ($(objpfx)bug-regex36-mem.out): New rule.
49872 * posix/bug-regex36.c: New file.
49873
49874 2014-06-19 Will Newton <will.newton@linaro.org>
49875
49876 * malloc/malloc.c (systrim): If extra is zero then return
49877 early.
49878
49879 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
49880
49881 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
49882
49883 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
49884
49885 * sysdeps/aarch64/strchr.S: New file.
49886
49887 2014-06-18 Joseph Myers <joseph@codesourcery.com>
49888
49889 [BZ #17022]
49890 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
49891 from arguments -2 or below.
49892 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
49893 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
49894
49895 2014-06-18 Andreas Schwab <schwab@suse.de>
49896
49897 [BZ #17062]
49898 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
49899 of a bracket expr not to run off the end of the string.
49900 * posix/Makefile (tests): Add tst-fnmatch3.
49901 * posix/tst-fnmatch3.c: New file.
49902
49903 2014-06-18 Joseph Myers <joseph@codesourcery.com>
49904
49905 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
49906 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
49907 [$(cross-compiling) = no]: Likewise.
49908 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
49909 [$(cross-compiling) = no]: Likewise.
49910
49911 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
49912
49913 [BZ #17031]
49914 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
49915 double, adjusted for any remainder from the high double.
49916 * math/libm-test.inc (nearbyint): Add tests.
49917 (rint): Likewise.
49918
49919 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49920
49921 * nptl/sysdeps/powerpc/Makefile: Moved ...
49922 * sysdeps/powerpc/nptl/Makefile: ... here.
49923 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
49924 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
49925 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
49926 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
49927 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
49928 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
49929 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
49930 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
49931 * nptl/sysdeps/powerpc/tls.h: Moved ...
49932 * sysdeps/powerpc/nptl/tls.h: ... here.
49933
49934 2014-06-16 Joseph Myers <joseph@codesourcery.com>
49935
49936 [BZ #16681]
49937 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
49938 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
49939 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
49940 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
49941 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
49942 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
49943 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
49944 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
49945 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
49946
49947 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
49948
49949 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
49950
49951 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
49952
49953 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
49954 defined operator.
49955
49956 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
49957 $TIMEOUTFACTOR.
49958
49959 2014-06-16 Florian Weimer <fweimer@redhat.com>
49960
49961 [BZ #17058]
49962 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
49963 non-executed part of the test.
49964
49965 2014-06-16 Andreas Schwab <schwab@suse.de>
49966
49967 * string/bits/string2.h (strdup, strndup): Update feature guard.
49968
49969 2014-06-14 David S. Miller <davem@davemloft.net>
49970
49971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49972
49973 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
49974
49975 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
49976 that was previously under [RESET_PID].
49977 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
49978
49979 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
49980 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
49981 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
49982 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49983 (__libc_vfork): New strong alias.
49984 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
49985
49986 2014-06-14 Andi Kleen <ak@linux.intel.com>
49987
49988 * sysdeps/generic/elide.h: New file.
49989
49990 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
49991
49992 * Makefile (installed-headers): Adjust path of pthread.h header.
49993
49994 2014-06-13 Roland McGrath <roland@hack.frob.com>
49995
49996 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
49997 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
49998 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
49999 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
50000
50001 * nptl/sysdeps/s390/Makefile: Moved ...
50002 * sysdeps/s390/nptl/Makefile: ... here.
50003 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
50004 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
50005 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
50006 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
50007 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
50008 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
50009 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
50010 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
50011 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
50012 * sysdeps/s390/nptl/pthreaddef.h: ... here.
50013 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
50014 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
50015 * nptl/sysdeps/s390/tls.h: Moved ...
50016 * sysdeps/s390/nptl/tls.h: ... here.
50017
50018 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
50019 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
50020
50021 2014-06-13 David S. Miller <davem@davemloft.net>
50022
50023 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
50024 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
50025 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
50026 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
50027 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
50028 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
50029 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
50030 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
50031 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
50032 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
50033 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
50034 Remove RESET_PID cpp guards.
50035 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
50036 Remove RESET_PID cpp guards.
50037 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
50038
50039 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
50040
50041 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
50042 __sp to uintptr_t.
50043
50044 2014-06-13 Andi Kleen <ak@linux.intel.com>
50045
50046 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
50047 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
50048 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
50049 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
50050 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
50051 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
50052 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
50053 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
50054 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
50055 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
50056 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
50057 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
50058 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
50059 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
50060 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
50061 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
50062 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
50063 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
50064 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
50065 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
50066
50067 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
50068 (pthread_rwlock_rdlock): Add elision.
50069 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
50070 (pthread_rwlock_wrlock): Add elision.
50071 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
50072 (pthread_rwlock_trywrlock): Add elision.
50073 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
50074 (pthread_rwlock_tryrdlock): Add elision.
50075 * nptl/pthread_rwlock_unlock.c: Include elide.h.
50076 (pthread_rwlock_tryrdlock): Add elision unlock.
50077 * nptl/sysdeps/pthread/pthread.h:
50078 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
50079 (PTHREAD_RWLOCK_INITIALIZER,
50080 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
50081 Handle new elision field.
50082 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
50083 * sysdeps/arm/nptl/bits/pthreadtypes.h
50084 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50085 * sysdeps/sh/nptl/bits/pthreadtypes.h
50086 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50087 * sysdeps/tile/nptl/bits/pthreadtypes.h
50088 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50089 * sysdeps/a/nptl/bits/pthreadtypes.h
50090 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50091 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
50092 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50093 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
50094 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50095 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
50096 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50097 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
50098 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50099 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
50100 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50101 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
50102 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50103 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
50104 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50105 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
50106 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50107 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
50108 (elision_init): Set try_xbegin to zero when no RTM.
50109 * sysdeps/x86/nptl/bits/pthreadtypes.h
50110 (pthread_rwlock_t): Change __pad1 to __rwelision.
50111 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50112
50113 2014-06-13 Andi Kleen <ak@linux.intel.com>
50114
50115 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
50116 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
50117 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
50118 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
50119
50120 2014-06-13 Meador Inge <meadori@codesourcery.com>
50121
50122 [BZ #16996]
50123 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
50124 that the cached result has been set before returning it.
50125
50126 2014-06-12 Roland McGrath <roland@hack.frob.com>
50127
50128 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
50129 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
50130 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
50131 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
50132 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
50133 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
50134
50135 * nptl/sysdeps/sparc/Makefile: Moved ...
50136 * sysdeps/sparc/nptl/Makefile: ... here.
50137 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
50138 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
50139 * nptl/sysdeps/sparc/tls.h: Moved ...
50140 * sysdeps/sparc/nptl/tls.h: ... here.
50141 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
50142 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
50143 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
50144 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
50145 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
50146 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
50147 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
50148 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
50149 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
50150 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
50151 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
50152 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
50153 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
50154 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
50155 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
50156 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
50157 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
50158 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
50159 Update #include.
50160 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
50161 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
50162 Update #include.
50163 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
50164 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
50165 Update #include.
50166 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
50167 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
50168 Update #include.
50169
50170 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50171
50172 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
50173 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
50174
50175 * sysdeps/pthread/posix-timer.h: Include <list.h>.
50176 (struct list_links): Type removed.
50177 (struct thread_node, struct timer_node): Replace struct list_links
50178 with struct list_head.
50179 (list_unlink_ip): Likewise.
50180 * sysdeps/pthread/timer_routines.c
50181 (timer_free_list, thread_free_list, thread_active_list): Likewise.
50182 (list_append, list_insbefore): Likewise.
50183 (list_init): Function removed.
50184 (thread_init, init_module): Use INIT_LIST_HEAD instead.
50185 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
50186 * sysdeps/pthread/Makefile: ... here, new file.
50187
50188 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
50189 * sysdeps/nptl/Implies: ... here.
50190 * sysdeps/unix/sysv/linux/Implies: Add nptl.
50191 * nptl/sysdeps/pthread/list.h: Moved ...
50192 * include/list.h: ... here.
50193 * nptl/sysdeps/pthread/createthread.c: Moved ...
50194 * nptl/createthread.c: ... here.
50195 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
50196 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
50197 * nptl/pt-longjmp.c: ... here.
50198 * nptl/sysdeps/pthread/Makefile: Moved ...
50199 * sysdeps/nptl/Makefile: ... here.
50200 * nptl/sysdeps/pthread/Subdirs: Moved ...
50201 * sysdeps/nptl/Subdirs: ... here.
50202 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
50203 * sysdeps/nptl/aio_misc.h: ... here.
50204 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
50205 * sysdeps/nptl/bits/libc-lock.h: ... here.
50206 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
50207 * sysdeps/nptl/bits/libc-lockP.h: ... here.
50208 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
50209 * sysdeps/nptl/bits/stdio-lock.h: ... here.
50210 * nptl/sysdeps/pthread/configure: Moved ...
50211 * sysdeps/nptl/configure: ... here.
50212 * nptl/sysdeps/pthread/configure.ac: Moved ...
50213 * sysdeps/nptl/configure.ac: ... here.
50214 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
50215 * sysdeps/nptl/gai_misc.h: ... here.
50216 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
50217 * sysdeps/nptl/librt-cancellation.c: ... here.
50218 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
50219 * sysdeps/nptl/malloc-machine.h: ... here.
50220 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
50221 * sysdeps/nptl/pthread-functions.h: ... here.
50222 * nptl/sysdeps/pthread/pthread.h: Moved ...
50223 * sysdeps/nptl/pthread.h: ... here.
50224 * nptl/sysdeps/pthread/setxid.h: Moved ...
50225 * sysdeps/nptl/setxid.h: ... here.
50226 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
50227 * sysdeps/nptl/sigfillset.c: ... here.
50228 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
50229 * sysdeps/nptl/tcb-offsets.h: ... here.
50230 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
50231 * sysdeps/nptl/tst-mqueue8x.c: ... here.
50232 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
50233 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
50234 * nptl/sysdeps/pthread/allocalim.h: Moved ...
50235 * sysdeps/pthread/allocalim.h: ... here.
50236 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
50237 * sysdeps/pthread/bits/sigthread.h: ... here.
50238 * nptl/sysdeps/pthread/flockfile.c: Moved ...
50239 * sysdeps/pthread/flockfile.c: ... here.
50240 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
50241 * sysdeps/pthread/ftrylockfile.c: ... here.
50242 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
50243 * sysdeps/pthread/funlockfile.c: ... here.
50244 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
50245 * sysdeps/pthread/posix-timer.h: ... here.
50246 * nptl/sysdeps/pthread/timer_create.c: Moved ...
50247 * sysdeps/pthread/timer_create.c: ... here.
50248 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
50249 * sysdeps/pthread/timer_delete.c: ... here.
50250 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
50251 * sysdeps/pthread/timer_getoverr.c: ... here.
50252 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
50253 * sysdeps/pthread/timer_gettime.c: ... here.
50254 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
50255 * sysdeps/pthread/timer_routines.c: ... here.
50256 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
50257 * sysdeps/pthread/timer_settime.c: ... here.
50258 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
50259 * sysdeps/pthread/tst-timer.c: ... here.
50260 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
50261 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
50262
50263 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
50264 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
50265
50266 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
50267 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
50268 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
50269 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
50270 Update #include target.
50271 * nptl/sysdeps/i386/i686/Makefile: Moved ...
50272 * sysdeps/i386/i686/nptl/Makefile: ... here.
50273 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
50274 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
50275 Update #include target.
50276 * nptl/sysdeps/i386/i686/tls.h: Moved ...
50277 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
50278 * nptl/sysdeps/i386/Makefile: Moved ...
50279 * sysdeps/i386/nptl/Makefile: ... here.
50280 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
50281 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
50282 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
50283 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
50284 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
50285 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
50286 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
50287 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
50288 * sysdeps/i386/nptl/pthreaddef.h: ... here.
50289 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
50290 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
50291 * nptl/sysdeps/i386/tls.h: Moved ...
50292 * sysdeps/i386/nptl/tls.h: ... here.
50293
50294 * sysdeps/sh/Makefile [$(subdir) = csu]
50295 (gen-as-const-headers): Add tcb-offsets.sym.
50296 * nptl/sysdeps/sh/Makefile: File removed.
50297 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
50298 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
50299 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
50300 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
50301 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
50302 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
50303 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
50304 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
50305 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
50306 * sysdeps/sh/nptl/pthreaddef.h: ... here.
50307 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
50308 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
50309 * nptl/sysdeps/sh/tls.h: Moved ...
50310 * sysdeps/sh/nptl/tls.h: ... here.
50311 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
50312 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
50313 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
50314 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
50315 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
50316 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
50317 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
50318 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
50319 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
50320 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
50321 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
50322 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
50323 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
50324 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
50325 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
50326 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
50327 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
50328 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
50329 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
50330 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
50331 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
50332 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
50333 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
50334 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
50335 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
50336 Moved ...
50337 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
50338 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
50339 Moved ...
50340 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
50341 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
50342 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
50343 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
50344 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
50345 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
50346 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
50347 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
50348 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
50349 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
50350 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
50351 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
50352 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
50353 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
50354 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
50355 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
50356 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
50357 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
50358 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
50359
50360 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
50361
50362 * posix/spawn_faction_addopen.c: Include string.h.
50363
50364 2014-06-11 Roland McGrath <roland@hack.frob.com>
50365
50366 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
50367 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
50368 * nptl/sysdeps/x86_64/Makefile: Moved ...
50369 * sysdeps/x86_64/nptl/Makefile: ... here.
50370 * nptl/sysdeps/x86_64/configure: Moved ...
50371 * sysdeps/x86_64/nptl/configure: ... here.
50372 * nptl/sysdeps/x86_64/configure.ac: Moved ...
50373 * sysdeps/x86_64/nptl/configure.ac: ... here.
50374 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
50375 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
50376 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
50377 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
50378 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
50379 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
50380 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
50381 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
50382 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
50383 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
50384 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
50385 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
50386 * nptl/sysdeps/x86_64/tls.h: Moved ...
50387 * sysdeps/x86_64/nptl/tls.h: ... here.
50388 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
50389 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
50390 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
50391 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
50392
50393 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
50394
50395 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50396
50397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50398
50399 2014-06-11 Joseph Myers <joseph@codesourcery.com>
50400
50401 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
50402 type.
50403 [POSIX] (off_t): Likewise.
50404 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
50405 [POSIX] (S_ISBLK): Require macro.
50406 [POSIX] (S_ISCHR): Likewise.
50407 [POSIX] (S_ISDIR): Likewise.
50408 [POSIX] (S_ISFIFO): Likewise.
50409 [POSIX] (S_ISREG): Likewise.
50410 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
50411 optional-macro.
50412 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
50413 type.
50414 [POSIX] (time_t): Likewise.
50415 [POSIX] (timer_t): Likewise.
50416
50417 2014-06-11 Florian Weimer <fweimer@redhat.com>
50418
50419 [BZ #17048]
50420 * posix/spawn_int.h (struct __spawn_action): Make the path string
50421 non-const to support deallocation.
50422 * posix/spawn_faction_addopen.c
50423 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
50424 * posix/spawn_faction_destroy.c
50425 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
50426 path in all spawn_do_open actions.
50427 * posix/tst-spawn.c (do_test): Exercise the copy operation in
50428 posix_spawn_file_actions_addopen.
50429
50430 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
50431
50432 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
50433 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
50434 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
50435 conditional code always true.
50436 (__libc_vfork): New alias.
50437
50438 2014-06-11 Roland McGrath <roland@hack.frob.com>
50439
50440 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50441 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
50442
50443 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
50444
50445 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50446 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
50447
50448 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50449 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
50450
50451 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50452 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
50453
50454 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
50455
50456 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
50457 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
50458 multiarch strcmp for PPC64.
50459 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
50460 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
50461 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
50462 multiarch optimizations.
50463 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50464 (__libc_ifunc_impl_list): Likewise.
50465
50466 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
50467
50468 * benchtests/scripts/validate_benchout.py: New script.
50469 * benchtests/Makefile (bench-func): Call it.
50470 * benchtests/scripts/benchout.schema.json: New file.
50471
50472 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
50473
50474 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
50475 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
50476 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
50477 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
50478 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
50479 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
50480 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
50481 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
50482 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
50483 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
50484 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
50485 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
50486 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
50487 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
50488 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
50489 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
50490 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
50491 Moved ...
50492 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
50493 ... here.
50494 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
50495 Moved ...
50496 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
50497 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
50498 Moved ...
50499 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
50500 ... here.
50501 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
50502 Moved ...
50503 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
50504 ... here.
50505 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
50506 Moved ...
50507 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
50508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
50509 Moved ...
50510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
50511 ... here.
50512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
50513 Moved ...
50514 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
50515 ... here.
50516 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
50517 Moved ...
50518 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
50519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
50520 Moved ...
50521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
50522 ... here.
50523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
50524 Moved ...
50525 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
50526 ... here.
50527 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
50528 Moved ...
50529 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
50530 ... here.
50531 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
50532 Moved ...
50533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
50534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
50535 Moved ...
50536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
50537 ... here.
50538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
50539 Moved ...
50540 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
50541 ... here.
50542 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
50543 Moved ...
50544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
50545 ... here.
50546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
50547 Moved ...
50548 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
50549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
50550 Moved ...
50551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
50552 ... here.
50553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
50554 Moved ...
50555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
50556 ... here.
50557 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
50558 Moved ...
50559 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
50560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
50561 Moved ...
50562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
50563 ... here.
50564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
50565 Moved ...
50566 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
50567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
50568 Moved ...
50569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
50570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
50571 Moved ...
50572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
50573 ... here.
50574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
50575 Moved ...
50576 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
50577 ... here.
50578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
50579 Moved ...
50580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
50581 ... here.
50582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
50583 Moved ...
50584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
50585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
50586 Moved ...
50587 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
50588 ... here.
50589 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
50590 Moved ...
50591 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
50592 ... here.
50593 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
50594 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
50595 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
50596 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
50597 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
50598 Moved ...
50599 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
50600 ... here.
50601 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
50602 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
50603 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
50604 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
50605 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
50606 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
50607 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
50608 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
50609 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
50610 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
50611 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
50612 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
50613 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
50614 Moved ...
50615 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
50616 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
50617 Moved ...
50618 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
50619 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
50620 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
50621 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
50622 Moved ...
50623 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
50624 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
50625 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
50626 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
50627 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
50628 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
50629 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
50630
50631 2014-06-10 Wilco <wdijkstr@arm.com>
50632
50633 * math/test-fenv-return.c: New file.
50634 * math/Makefile: Add new test test-fenv-return.
50635
50636 2014-06-10 Joseph Myers <joseph@codesourcery.com>
50637
50638 [BZ #17042]
50639 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
50640 when x - 1 is zero.
50641 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
50642 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
50643 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
50644 0.0L for an argument of 1.0L.
50645 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
50646 Likewise.
50647 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
50648 value when x - 1 is zero.
50649 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
50650 * sysdeps/i386/fpu/libm-test-ulps: Update.
50651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50652
50653 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
50654
50655 [BZ #15119]
50656 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
50657
50658 2014-06-09 Roland McGrath <roland@hack.frob.com>
50659
50660 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
50661 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
50662
50663 2014-06-09 Roland McGrath <roland@hack.frob.com>
50664
50665 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50666 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
50667
50668 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50669 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
50670
50671 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50672 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
50673
50674 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50675 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
50676
50677 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
50678 if not already defined.
50679 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
50680 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
50681 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
50682 (TLS_INIT_TP): Use it.
50683 (TLS_DEFINE_INIT_TP): New macro.
50684 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
50685
50686 2014-06-09 Joseph Myers <joseph@codesourcery.com>
50687
50688 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
50689 constant.
50690 [POSIX] (IXANY): Likewise.
50691 [POSIX] (OLCUC): Likewise.
50692 [POSIX || POSIX2008] (CBAUD): Do not allow.
50693 [POSIX || POSIX2008] (DEFECHO): Likewise.
50694 [POSIX || POSIX2008] (ECHOCTL): Likewise.
50695 [POSIX || POSIX2008] (ECHOKE): Likewise.
50696 [POSIX || POSIX2008] (ECHOPRT): Likewise.
50697 [POSIX || POSIX2008] (EXTA): Likewise.
50698 [POSIX || POSIX2008] (EXTB): Likewise.
50699 [POSIX || POSIX2008] (FLUSHO): Likewise.
50700 [POSIX || POSIX2008] (LOBLK): Likewise.
50701 [POSIX || POSIX2008] (PENDIN): Likewise.
50702 [POSIX || POSIX2008] (SWTCH): Likewise.
50703 [POSIX || POSIX2008] (VDISCARD): Likewise.
50704 [POSIX || POSIX2008] (VDSUSP): Likewise.
50705 [POSIX || POSIX2008] (VLNEXT): Likewise.
50706 [POSIX || POSIX2008] (VREPRINT): Likewise.
50707 [POSIX || POSIX2008] (VSTATUS): Likewise.
50708 [POSIX || POSIX2008] (VWERASE): Likewise.
50709 (B*): Change to B[0123456789]*.
50710 * conform/data/time.h-data [POSIX || UNIX98]
50711 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
50712 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
50713 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
50714 [POSIX] (tm_*): Do not allow.
50715
50716 2014-06-07 Joseph Myers <joseph@codesourcery.com>
50717
50718 * Makefile (install): Don't set LANGUAGE.
50719 * Makefile.in (install): Likewise.
50720 * assert/Makefile (test-assert-ENV): Remove variable.
50721 (test-assert-perr-ENV): Likewise.
50722 * elf/Makefile (neededtest4-ENV): Likewise.
50723 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50724 [$(cross-compiling) = no]: Don't set LANGUAGE.
50725 * io/ftwtest-sh (LANG): Remove variable.
50726 * libio/Makefile (tst-widetext-ENV): Likewise.
50727 * manual/install.texi (Running make install): Don't refer to
50728 environment settings for make install.
50729 * INSTALL: Regenerated.
50730 * nptl/tst-tls6.sh: Don't set LANG.
50731 * posix/globtest.sh (LANG): Remove variable.
50732 * string/Makefile (tester-ENV): Likewise.
50733 (inl-tester-ENV): Likewise.
50734 (noinl-tester-ENV): Likewise.
50735 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50736 [$(cross-compiling) = no]: Don't set LANGUAGE.
50737 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
50738 without explicit environment settings.
50739
50740 2014-06-06 Roland McGrath <roland@hack.frob.com>
50741
50742 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
50743 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
50744 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
50745 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
50746
50747 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
50748
50749 * crypt/crypt-private.h [DOS]: Add some includes taken from the
50750 other files in the crypt directory.
50751 * crypt/crypt.c: Remove duplicate includes.
50752 * crypt/crypt-entry.c: Likewise.
50753 * crypt/crypt_util.c: Likewise.
50754
50755 2014-06-06 Joseph Myers <joseph@codesourcery.com>
50756
50757 * Makeconfig (run-program-env): New variable.
50758 (run-program-prefix-before-env): Likewise.
50759 (run-program-prefix-after-env): Likewise.
50760 (run-program-prefix): Define in terms of new variables.
50761 (built-program-cmd-before-env): New variable.
50762 (built-program-cmd-after-env): Likewise.
50763 (built-program-cmd): Define in terms of new variables.
50764 (test-program-prefix-before-env): New variable.
50765 (test-program-prefix-after-env): Likewise.
50766 (test-program-prefix): Define in terms of new variables.
50767 (test-program-cmd-before-env): New variable.
50768 (test-program-cmd-after-env): Likewise.
50769 (test-program-cmd): Define in terms of new variables.
50770 * Rules (make-test-out): Use $(run-program-env).
50771 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
50772 (help): Do not mention environment variables. Mention
50773 --timeoutfactor option.
50774 (timeoutfactor): New variable.
50775 (blacklist_exports): Remove function.
50776 (exports): Remove variable.
50777 (command): Do not include ${exports}.
50778 * manual/install.texi (Configuring and compiling): Do not mention
50779 test wrappers preserving environment variables. Mention that last
50780 assignment to a variable must take precedence.
50781 * INSTALL: Regenerated.
50782 * benchtests/Makefile (run-bench): Use $(run-program-env).
50783 * catgets/Makefile ($(objpfx)test1.cat): Use
50784 $(built-program-cmd-before-env), $(run-program-env) and
50785 $(built-program-cmd-after-env).
50786 ($(objpfx)test2.cat): Do not specify environment variables
50787 explicitly.
50788 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
50789 $(run-program-env) and $(built-program-cmd-after-env).
50790 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
50791 $(run-program-env) and $(test-program-cmd-after-env).
50792 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
50793 explicitly.
50794 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
50795 run_program_env and test_program_cmd_after_env arguments.
50796 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
50797 * elf/tst-pathopt.sh: Use run_program_env argument.
50798 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
50799 $(test-wrapper-env) and $(run-program-env).
50800 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
50801 run_program_env arguments.
50802 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
50803 * intl/Makefile ($(objpfx)tst-gettext.out): Use
50804 $(test-program-prefix-before-env), $(run-program-env) and
50805 $(test-program-prefix-after-env).
50806 ($(objpfx)tst-gettext2.out): Likewise.
50807 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
50808 run_program_env and test_program_prefix_after_env arguments.
50809 * intl/tst-gettext2.sh: Likewise.
50810 * intl/tst-gettext4.sh: Do not set environment variables
50811 explicitly.
50812 * intl/tst-gettext6.sh: Likewise.
50813 * intl/tst-translit.sh: Likewise.
50814 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
50815 $(test-program-prefix-before-env), $(run-program-env) and
50816 $(test-program-prefix-after-env).
50817 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
50818 run_program_env and test_program_prefix_after_env arguments.
50819 * math/Makefile (run-regen-ulps): Use $(run-program-env).
50820 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
50821 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
50822 explicitly with each use of ${test_wrapper_env}.
50823 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
50824 $(test-program-prefix-before-env), $(run-program-env) and
50825 $(test-program-prefix-after-env).
50826 * posix/tst-getconf.sh: Do not set environment variables
50827 explicitly.
50828 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
50829 run_program_env and test_program_prefix_after_env arguments.
50830 * stdio-common/tst-printf.sh: Do not set environment variables
50831 explicitly.
50832 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
50833 $(test-program-prefix-before-env), $(run-program-env) and
50834 $(test-program-prefix-after-env).
50835 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
50836 run_program_env and test_program_prefix_after_env arguments.
50837 Split $test calls into $test_pre and $test.
50838 * timezone/Makefile (build-testdata): Use
50839 $(built-program-cmd-before-env), $(run-program-env) and
50840 $(built-program-cmd-after-env).
50841
50842 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50843
50844 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
50845 strlen for non SHARED builds.
50846
50847 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
50848
50849 * nptl/allocatestack.c (check_list): Inlined function...
50850 (__reclaim_stacks): ... here.
50851
50852 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
50853
50854 [BZ #15698]
50855 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
50856 memory overrun.
50857
50858 2014-06-05 Joseph Myers <joseph@codesourcery.com>
50859
50860 * Rules (make-test-out): Include
50861 LOCPATH=$(common-objpfx)localedata in default environment.
50862 * debug/Makefile (tst-chk1-ENV): Remove variable.
50863 (tst-chk2-ENV): Likewise.
50864 (tst-chk3-ENV): Likewise.
50865 (tst-chk4-ENV): Likewise.
50866 (tst-chk5-ENV): Likewise.
50867 (tst-chk6-ENV): Likewise.
50868 (tst-lfschk1-ENV): Likewise.
50869 (tst-lfschk2-ENV): Likewise.
50870 (tst-lfschk3-ENV): Likewise.
50871 (tst-lfschk4-ENV): Likewise.
50872 (tst-lfschk5-ENV): Likewise.
50873 (tst-lfschk6-ENV): Likewise.
50874 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
50875 (tst-iconv7-ENV): Likewise.
50876 * intl/Makefile (LOCPATH-ENV): Likewise.
50877 (tst-codeset-ENV): Likewise.
50878 (tst-gettext3-ENV): Likewise.
50879 (tst-gettext5-ENV): Likewise.
50880 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
50881 (tst-fopenloc-ENV): Likewise.
50882 (tst-fgetws-ENV): Remove variable.
50883 (tst-ungetwc1-ENV): Likewise.
50884 (tst-ungetwc2-ENV): Likewise.
50885 (bug-ungetwc2-ENV): Likewise.
50886 (tst-swscanf-ENV): Likewise.
50887 (bug-ftell-ENV): Likewise.
50888 (tst-fgetwc-ENV): Likewise.
50889 (tst-fseek-ENV): Likewise.
50890 (tst-ftell-partial-wide-ENV): Likewise.
50891 (tst-ftell-active-handler-ENV): Likewise.
50892 (tst-ftell-append-ENV): Likewise.
50893 * posix/Makefile (tst-fnmatch-ENV): Likewise.
50894 (tst-regexloc-ENV): Likewise.
50895 (bug-regex1-ENV): Likewise.
50896 (tst-regex-ENV): Likewise.
50897 (tst-regex2-ENV): Likewise.
50898 (bug-regex5-ENV): Likewise.
50899 (bug-regex6-ENV): Likewise.
50900 (bug-regex17-ENV): Likewise.
50901 (bug-regex18-ENV): Likewise.
50902 (bug-regex19-ENV): Likewise.
50903 (bug-regex20-ENV): Likewise.
50904 (bug-regex22-ENV): Likewise.
50905 (bug-regex23-ENV): Likewise.
50906 (bug-regex25-ENV): Likewise.
50907 (bug-regex26-ENV): Likewise.
50908 (bug-regex30-ENV): Likewise.
50909 (bug-regex32-ENV): Likewise.
50910 (bug-regex33-ENV): Likewise.
50911 (bug-regex34-ENV): Likewise.
50912 (bug-regex35-ENV): Likewise.
50913 (tst-rxspencer-ENV): Likewise.
50914 (tst-rxspencer-no-utf8-ENV): Likewise.
50915 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
50916 (tst-sscanf-ENV): Likewise.
50917 (tst-swprintf-ENV): Likewise.
50918 (tst-swscanf-ENV): Likewise.
50919 (test-vfprintf-ENV): Likewise.
50920 (scanf13-ENV): Likewise.
50921 (bug14-ENV): Likewise.
50922 (tst-grouping-ENV): Likewise.
50923 * stdlib/Makefile (tst-strtod-ENV): Likewise.
50924 (tst-strtod3-ENV): Likewise.
50925 (tst-strtod4-ENV): Likewise.
50926 (tst-strtod5-ENV): Likewise.
50927 (testmb2-ENV): Likewise./
50928 * string/Makefile (tst-strxfrm-ENV): Likewise.
50929 (tst-strxfrm2-ENV): Likewise.
50930 (bug-strcoll1-ENV): Likewise.
50931 (test-strcasecmp-ENV): Likewise.
50932 (test-strncasecmp-ENV): Likewise.
50933 * time/Makefile (tst-strptime-ENV): Likewise.
50934 (tst-ftime_l-ENV): Likewise.
50935 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
50936 (tst-mbrtowc-ENV): Likewise.
50937 (tst-wcrtomb-ENV): Likewise.
50938 (tst-mbrtowc2-ENV): Likewise.
50939 (tst-c16c32-1-ENV): Likewise.
50940 (tst-mbsnrtowcs-ENV): Likewise.
50941
50942 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
50943
50944 * manual/resource.texi (How to get information about the memory
50945 subsystem?): Fix typo.
50946 Reported by Peon de la Parra Ivan <peon@keba.com>
50947
50948 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
50949
50950 [BZ #16882]
50951 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
50952 (pthread_spin_lock): Branch out of spin loop to proper location.
50953 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
50954 (pthread_spin_lock): Likewise.
50955
50956 * nptl/tst-spin4.c: New test.
50957 * nptl/Makefile (tests): Add tst-spin4.
50958
50959 2014-06-03 Andreas Schwab <schwab@suse.de>
50960
50961 [BZ #15946]
50962 * resolv/res_send.c (send_dg): Reload file descriptor after
50963 calling reopen.
50964
50965 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
50966
50967 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50968
50969 2014-06-03 Richard Henderson <rth@redhat.com>
50970
50971 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
50972 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
50973 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
50974 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
50975 in the SAVE_PID block.
50976 (__libc_vfork): New alias.
50977 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
50978
50979 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
50980 child in registers, not on the stack. Remove RESET_PID conditionals.
50981 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
50982
50983 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
50984
50985 * sysdeps/aarch64/libm-test-ulps: Regenerate.
50986
50987 2014-06-03 Wilco <wdijkstr@arm.com>
50988
50989 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
50990 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
50991 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
50992 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
50993 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
50994 Likewise.
50995
50996 2014-06-03 Wilco <wdijkstr@arm.com>
50997
50998 * sysdeps/aarch64/fpu/math_private.h
50999 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
51000 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
51001 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
51002 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51003 Fix declarations.
51004
51005 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
51006
51007 * crypt/crypt-private.h: Include ufc-crypt.h.
51008 (__b64_from_24bit): Declare extern.
51009 * crypt/crypt_util.c(__b64_from_24bit): New function.
51010 (b64t): New static const variable.
51011 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
51012 (b64t): Remove variable.
51013 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
51014 * crypt/sha256-crypt.c: Include crypt-private.h.
51015 (b64t): Remove variable.
51016 (__sha256_crypt_r): Remove b64_from_24bit and replace
51017 with __b64_from_24bit.
51018 * crypt/sha512-crypt.c: Likewise.
51019
51020 2014-06-02 Roland McGrath <roland@hack.frob.com>
51021
51022 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
51023 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
51024 Label the code __libc_vfork rather than __vfork.
51025 [!NOT_IN_libc] (vfork): Define as weak alias.
51026 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
51027 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
51028 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
51029
51030 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
51031
51032 * malloc/malloc.c (malloc_info): Fix format specifier for
51033 n_mmaps.
51034
51035 2014-06-02 Wilco <wdijkstr@arm.com>
51036
51037 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
51038 FPCR write.
51039
51040 2014-06-02 Wilco <wdijkstr@arm.com>
51041
51042 [BZ #17009]
51043 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
51044 Rewrite to reduce FPCR/FPSR accesses.
51045
51046 2014-06-01 David S. Miller <davem@davemloft.net>
51047
51048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51049
51050 2014-05-31 David S. Miller <davem@davemloft.net>
51051
51052 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
51053 to occur in round to nearest mode when |x| >= 2.0
51054
51055 2014-05-30 Richard Henderson <rth@twiddle.net>
51056
51057 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
51058 (PSEUDO_RET_NOERRNO): Remove.
51059 (ret): Don't redefine.
51060 (ret_NOERRNO): Define in terms of ret.
51061 (ret_ERRVAL): Likewise.
51062
51063 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
51064 use of PSEUDO_RET; perform the error check directly.
51065
51066 2014-05-30 Marko Myllynen <myllynen@redhat.com>
51067
51068 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
51069 with __int128_t.
51070
51071 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51072
51073 * malloc/malloc (malloc_info): Fix formatting.
51074
51075 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51076 Roland McGrath <roland@hack.frob.com>
51077
51078 * malloc/malloc (malloc_info): Also print mmapped statistics.
51079
51080 2014-05-30 Roland McGrath <roland@hack.frob.com>
51081
51082 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
51083 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
51084
51085 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
51086
51087 * malloc/malloc.c (malloc_info): Inline mi_arena.
51088
51089 2014-05-29 Richard Henderson <rth@twiddle.net>
51090
51091 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
51092 Remove comma before expanding ASM_ARGS_##nr.
51093 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
51094 Make _x0 a strict output; make _x8 a strict input; adjust expansion
51095 of ASM_ARGS_##nr.
51096 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
51097 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
51098 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
51099 (ASM_ARGS_1): Add leading comma.
51100
51101 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
51102 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
51103 to __errno_location.
51104 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
51105 Remove the expected plt for __errno_location.
51106
51107 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51108 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
51109 call to __read_tp.
51110
51111 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51112 Always allocate 64 bytes of stack frame. Use ldp/stp to create
51113 it and break it down.
51114 (DOCARGS_0, DOCARGS_1): Do nothing.
51115 (DOCARGS_2): Update to store into the new stack frame.
51116 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
51117 (UNDOCARGS_1): Update to restore from the new stack frame.
51118 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
51119 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
51120
51121 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51122 (SINGLE_THREAD_P): New parameter for result regno.
51123 (PSEUDO): Update to match; use cbz instead of beq.
51124
51125 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51126 Use ENTRY to define the _nocancel entry point. Share the syscall
51127 and syscall error check paths with the cancel path.
51128 (PSEUDO_END): New.
51129
51130 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
51131 whitespace; tabs before and after asm mnemonics.
51132
51133 2014-05-29 Eric Wong <normalperson@yhbt.net>
51134
51135 [BZ #15132]
51136 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51137 Call fstat64 or stat64 internally, depending on arguments passed.
51138 Replace stat buffer argument with file descriptor argument.
51139 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
51140 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
51141 Pass fd to __internal_statvfs instead of calling fstat64.
51142 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
51143 Pass fd to __internal_statvfs64 instead of calling fstat64.
51144 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
51145 Pass -1 to __internal_statvfs instead of calling stat64.
51146 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
51147 Pass -1 to __internal_statvfs64 instead of calling stat64.
51148
51149 2014-05-28 Roland McGrath <roland@hack.frob.com>
51150
51151 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
51152 that was previously under [RESET_PID].
51153 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
51154
51155 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
51156 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
51157
51158 2014-05-27 Roland McGrath <roland@hack.frob.com>
51159
51160 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
51161
51162 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
51163 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
51164
51165 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
51166
51167 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
51168
51169 2014-05-27 Andreas Schwab <schwab@suse.de>
51170
51171 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
51172 TLS_INIT_TP macro.
51173 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
51174 * elf/rtld.c (init_tls, dl_main): Likewise.
51175 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
51176 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
51177 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
51178 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
51179 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
51180 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
51181 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
51182 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
51183 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
51184 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
51185 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
51186 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
51187 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
51188 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
51189 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
51190 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
51191 * sysdeps/generic/tls.h: Update description.
51192
51193 2014-05-27 Will Newton <will.newton@linaro.org>
51194
51195 [BZ #16990]
51196 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
51197 and restore r2 rather than just restoring.
51198
51199 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
51200
51201 [BZ #16724]
51202 * libio/tst-ftell-append.c: New test case.
51203 * libio/Makefile (tests): Add test case.
51204 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
51205 append mode.
51206 * libio/wfileops.c (do_ftell_wide): Likewise.
51207
51208 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51209
51210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51211
51212 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
51213 ...
51214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
51215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
51216 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
51217 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
51218 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
51219 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
51220 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
51221 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
51222 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
51223 Moved ...
51224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
51225 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
51226 Moved ...
51227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
51228 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
51229 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
51230 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
51231 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
51232 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
51233 ...
51234 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
51235 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
51236 Moved ...
51237 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
51238 here.
51239 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
51240 ...
51241 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
51242 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
51243 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
51244
51245 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
51246 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
51247 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
51248 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
51249
51250 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
51251 merge into ...
51252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
51253 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
51254 ...
51255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
51256 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
51257 ...
51258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
51259 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
51260 Moved ...
51261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
51262 here.
51263 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
51264 Moved ...
51265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
51266 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
51267 Moved ...
51268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
51269
51270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
51271 conditional [RESET_PID].
51272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
51273 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
51274 removed.
51275 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
51276 removed.
51277
51278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
51279 <tcb-offsets.h>.
51280 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51281 (__libc_vfork): New strong alias.
51282 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
51283 removed.
51284 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
51285 Removed.
51286
51287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
51288 <tcb-offsets.h>.
51289 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
51290 (__libc_vfork): New strong alias.
51291 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
51292 removed.
51293 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
51294 removed.
51295
51296 2014-05-26 Carlos O'Donell <carlos@redhat.com>
51297
51298 * malloc/malloc.c (mi_arena): New function.
51299 (malloc_info): Remove nested function mi_arena. Call non-nosted
51300 function mi_arena.
51301
51302 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51303
51304 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
51305 by insrwi.
51306 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
51307 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
51308 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
51309 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
51310 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
51311 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
51312 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
51313
51314 2014-05-26 Andreas Schwab <schwab@suse.de>
51315
51316 [BZ #16984]
51317 * locale/programs/repertoire.c (repertoire_read): Add slash
51318 between I18NPATH element and file name.
51319 * locale/programs/locfile.c (locfile_read): Likewise.
51320
51321 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
51322
51323 * nptl/pthread_mutexattr_settype.c
51324 (__pthread_mutexattr_settype):
51325 Disable lock elision for PTHREAD_MUTEX_NORMAL.
51326
51327 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
51328
51329 * nptl/tst-mutex5 (do_test):
51330 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
51331
51332 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51333
51334 * benchtests/README: Document 'init' directive.
51335 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
51336 BENCH_INIT.
51337 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
51338 (parse_file): Recognize 'init' directive.
51339
51340 2014-05-26 Kyle McMartin <kyle@redhat.com>
51341
51342 [BZ #16796]
51343 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
51344 alignment of struct pthread.
51345
51346 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51347
51348 [BZ #16878]
51349 * nscd/netgroupcache.c (addgetnetgrentX): Look for
51350 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51351 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
51352 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51353
51354 2014-05-25 Richard Henderson <rth@twiddle.net>
51355
51356 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51357 (SINGLE_THREAD_P_PIC): Remove.
51358 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
51359 (SINGLE_THREAD_P_PIC): Remove.
51360
51361 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
51362 branch to syscall error ...
51363 (PSEUDO): ... here.
51364 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
51365 from __local_syscall_error to .Lsyscall_error.
51366 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
51367 (SYSCALL_ERROR): Update label name.
51368
51369 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51370 Do not use DOARGS/UNDOARGS.
51371 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
51372 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
51373 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
51374 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
51375 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
51376
51377 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
51378 block comment.
51379
51380 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
51381 define if !NOT_IN_libc.
51382 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
51383 define with non-default symbol versions.
51384
51385 2014-05-23 Richard Henderson <rth@twiddle.net>
51386
51387 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
51388 (vfork, __vfork): Define via compat_symbol.
51389
51390 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
51391 [!HAVE_IFUNC] (vfork_compat): Remove.
51392 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
51393
51394 2014-05-23 Joseph Myers <joseph@codesourcery.com>
51395
51396 [BZ #16978]
51397 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
51398 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
51399 variable.
51400
51401 2014-05-23 Richard Henderson <rth@twiddle.net>
51402
51403 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
51404 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
51405 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
51406 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
51407
51408 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
51409 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
51410 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
51411 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
51412 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
51413 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
51414 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
51415 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
51416 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
51417 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
51418 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
51419 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
51420 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
51421 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
51422 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
51423 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
51424 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
51425 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
51426 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
51427 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
51428 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
51429 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
51430 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
51431 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
51432 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
51433 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
51434 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
51435 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
51436 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
51437 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
51438 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
51439 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
51440 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
51441 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
51442 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
51443 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
51444 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
51445 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
51446 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
51447 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
51448 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
51449 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
51450 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
51451 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
51452 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
51453 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
51454 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
51455 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
51456 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
51457 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
51458 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
51459 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
51460 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
51461 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
51462 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
51463 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
51464
51465 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
51466 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
51467 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
51468 before exiting on error.
51469 (__libc_vfork): New strong alias.
51470 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
51471 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
51472
51473 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
51474 that was previously under [RESET_PID].
51475 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
51476
51477 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
51478
51479 2014-05-23 Joseph Myers <joseph@codesourcery.com>
51480
51481 [BZ #16977]
51482 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
51483 value when x - 1 is zero.
51484 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
51485 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
51486 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
51487 0.0L for an argument of 1.0L.
51488 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
51489 Likewise.
51490 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
51491 value when x - 1 is zero.
51492 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
51493 * sysdeps/i386/fpu/libm-test-ulps: Update.
51494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51495
51496 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
51497
51498 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
51499 alphasort and versionsort.
51500
51501 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51502
51503 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
51504 macro.
51505 [copysignf]: Likewise.
51506
51507 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
51508
51509 * crypt/md5-crypt.c: Fix formatting.
51510
51511 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
51512
51513 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
51514 (b64_from_24bit): New function.
51515
51516 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51517
51518 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
51519 libc_hidden_builtin_def to ifunc.
51520 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
51521 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
51522
51523 2014-05-21 Roland McGrath <roland@hack.frob.com>
51524
51525 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
51526 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
51527
51528 2014-05-21 Joseph Myers <joseph@codesourcery.com>
51529
51530 * nscd/Depend (linuxthreads): Remove.
51531 (nptl): Add.
51532 * resolv/Depend (linuxthreads): Remove.
51533 * rt/Depend (linuxthreads): Remove.
51534
51535 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
51536 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
51537 $(common-objpfx)elf/.
51538 (link-libc-before-gnulib): Likewise.
51539 (elfobjdir): Remove variable.
51540 * Makefile (install): Use $(elf-objpfx) instead of
51541 $(common-objpfx)elf/.
51542 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
51543 $(elfobjdir)/.
51544 (link-libc-deps): Likewise.
51545 ($(common-objpfx)libc.so): Likewise.
51546 ($(common-objpfx)linkobj/libc.so): Likewise.
51547 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
51548 instead of $(common-objpfx)elf/.
51549 (symbolic-link-list): Likewise.
51550 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
51551 [$(cross-compiling) = no]: Likewise.
51552 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
51553 $(elfobjdir)/.
51554 (static-gnulib-arch): Likewise.
51555 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
51556 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
51557 $(common-objpfx)elf/.
51558
51559 2014-05-21 Richard Henderson <rth@redhat.com>
51560
51561 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51562 (SINGLE_THREAD_P): Use the correct width load. Fold
51563 into the ldr offset.
51564
51565 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
51566 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
51567
51568 2014-05-20 Joseph Myers <joseph@codesourcery.com>
51569
51570 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
51571 (libgcc_s_resume): Use __attribute_used__.
51572 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
51573 Likewise.
51574
51575 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51576
51577 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
51578 optimization when used with float constants.
51579
51580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51581
51582 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
51583
51584 [BZ #16915]
51585 * locale/nl_langinfo_l.c: Make direct reference to every
51586 _nl_current_CATEGORY symbol.
51587 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
51588 (tests-static): Add tst-langinfo-static.
51589 (tests-special): Add tst-langinfo-static.out.
51590 ($(objpfx)tst-langinfo.out): Redirect output.
51591 ($(objpfx)tst-langinfo-static.out): New.
51592 * localedata/tst-langinfo.sh: Send output to stdout.
51593 * localedata/tst-langinfo-static.c: New file.
51594
51595 [BZ #16965]
51596 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
51597 when the shift amount is modulo the limb size.
51598
51599 2014-05-20 Richard Henderson <rth@redhat.com>
51600
51601 [BZ #16967]
51602 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
51603 Change type of sa_flags from unsigned int to int.
51604
51605 [BZ #16966]
51606 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
51607
51608 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
51609
51610 2014-05-20 Will Newton <will.newton@linaro.org>
51611
51612 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51613 Test the return value of the system call in the nocancel case.
51614
51615 2014-05-20 Will Newton <will.newton@linaro.org>
51616 Yvan Roux <yvan.roux@linaro.org>
51617
51618 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
51619 #include of asm/ptrace.h.
51620 (PTRACE_GET_THREAD_AREA): Remove #undef.
51621 (PTRACE_GETHBPREGS): Likewise.
51622 (PTRACE_SETHBPREGS): Likewise.
51623 (struct user_regs_struct): New structure.
51624 (struct user_fpsimd_struct): New structure.
51625 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
51626 #include of asm/ptrace.h and second #include of sys/user.h.
51627 (PTRACE_GET_THREAD_AREA): Remove #undef.
51628 (PTRACE_GETHBPREGS): Likewise.
51629 (PTRACE_SETHBPREGS): Likewise.
51630 (ELF_NGREG): Use new struct user_regs_struct.
51631 (elf_fpregset_t): Use new struct user_fpsimd_struct.
51632
51633 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51634
51635 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
51636 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
51637
51638 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
51639
51640 [BZ #16958]
51641 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
51642 membar to avoid block loads/stores to overlap previous stores.
51643
51644 2014-05-17 Richard Henderson <rth@redhat.com>
51645
51646 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
51647 Create the __##syscall_name##_nocancel entry point.
51648 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
51649 Remove; let the sysdep-cancel.h code create it.
51650
51651 2014-05-17 David S. Miller <davem@davemloft.net>
51652
51653 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
51654 Protect with __USE_GNU.
51655 (TIOCSET_TEMPT): Likewise.
51656 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
51657 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
51658 these are already provided in bits/ioctl-types.h
51659
51660 2014-05-16 Roland McGrath <roland@hack.frob.com>
51661
51662 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
51663 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
51664
51665 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
51666 Use wait4 regardless of [__NR_waitpid].
51667
51668 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
51669
51670 PR libgcc/60166
51671 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
51672 (_FP_NANSIGN_Q): Set the quiet bit.
51673
51674 2014-05-16 Joseph Myers <joseph@codesourcery.com>
51675
51676 * benchtests/Makefile
51677 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
51678 not $(common-objpfx)math/libm.so.
51679 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
51680 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
51681 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
51682 $(common-objpfx)dlfcn/libdl.so.
51683 ($(objpfx)tst-audit8): Depend on $(libm), not
51684 $(common-objpfx)math/libm.so.
51685 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
51686 not $(common-objpfx)dlfcn/libdl.so.
51687 * math/Makefile
51688 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
51689 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
51690 [$(build-shared) = yes].
51691 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
51692 $(common-objpfx)nptl/libpthread.so.
51693 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
51694 $(common-objpfx)math/libm.so$(libm.so-version) or
51695 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
51696 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
51697 $(common-objpfx)dlfcn/libdl.so.
51698 * setjmp/Makefile (link-libm): Remove variable.
51699 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
51700 * stdio-common/Makefile (link-libm): Remove variable.
51701 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
51702 * stdlib/Makefile (link-libm): Remove variable.
51703 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
51704 ($(objpfx)tst-strtod-round): Likewise.
51705 ($(objpfx)tst-tininess): Likewise.
51706 ($(objpfx)tst-strtod-underflow): Likewise.
51707 ($(objpfx)tst-strtod6): Likewise.
51708 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
51709 $(libdl), not $(common-objpfx)nptl/libpthread.so and
51710 $(common-objpfx)dlfcn/libdl.so.
51711
51712 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51713
51714 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
51715 BSD terminal modes definitions.
51716
51717 2014-05-16 Roland McGrath <roland@hack.frob.com>
51718
51719 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
51720 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
51721
51722 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
51723 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
51724 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
51725 Don't do #include_next.
51726 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
51727 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
51728 Don't do #include_next.
51729 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
51730 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
51731 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
51732 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
51733
51734 2014-05-16 Allan McRae <allan@archlinux.org>
51735
51736 * po/sv.po: Update Swedish translation from translation project.
51737
51738 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
51739 in sed expression.
51740
51741 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
51742
51743 [BZ #16917]
51744 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
51745 errno if the TIOCGPTN ioctl fails with an error different than
51746 EINVAL.
51747 * login/tst-ptsname.c: New file.
51748 * login/Makefile (tests): Add tst-ptsname.
51749
51750 [BZ #16943]
51751 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
51752 and prlimit64.
51753
51754 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
51755
51756 [BZ #16849]
51757 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
51758 herrno to return EAI_AGAIN.
51759
51760 2014-05-14 Roland McGrath <roland@hack.frob.com>
51761
51762 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
51763 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
51764 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
51765 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
51766 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
51767 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
51768 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
51769 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
51770 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
51771 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
51772 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
51773 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
51774 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
51775 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
51776 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
51777 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
51778 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
51779 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
51780 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
51781 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
51782 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
51783 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
51784 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
51785 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
51786 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
51787 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
51788 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
51789 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
51790 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
51791 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
51792 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
51793 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
51794 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
51795 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
51796 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
51797 Moved ...
51798 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
51799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
51800 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
51801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
51802 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
51803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
51804 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
51805 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
51806 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
51807 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
51808 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
51809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
51810 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
51811 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
51812 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
51813 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
51814 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
51815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
51816 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
51817 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
51818 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
51819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
51820 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
51821 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
51822 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
51823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
51824 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
51825 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
51826 Moved ...
51827 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
51828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
51829 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
51830 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
51831 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
51832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
51833 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
51834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
51835 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
51836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
51837 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
51838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
51839 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
51840 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
51841 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
51842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
51843 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
51844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
51845 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
51846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
51847 Moved ...
51848 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
51849 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
51850 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
51851
51852 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
51853 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
51854 (libpthread-sysdep_routines): Add elision-related stuff here instead.
51855 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
51856 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
51857 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
51858 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
51859 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
51860 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
51861 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
51862 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
51863 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
51864 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
51865 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
51866 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
51867 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
51868 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
51869 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
51870 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
51871 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
51872 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
51873 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
51874 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
51875 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
51876 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
51877 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
51878 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
51879 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
51880 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
51881 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
51882 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
51883
51884 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
51885 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
51886
51887 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
51888 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
51889 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
51890 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
51891 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
51892 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
51893 Moved ...
51894 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
51895 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
51896 Moved ...
51897 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
51898 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
51899 Moved ...
51900 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
51901 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
51902 Moved ...
51903 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
51904 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
51905 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
51906 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
51907 Moved ...
51908 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
51909 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
51910 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
51911 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
51912 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
51913 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
51914 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
51915 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
51916 Moved ...
51917 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
51918 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
51919 Moved ...
51920 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
51921 ... here.
51922 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
51923 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
51924 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
51925 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
51926 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
51927 Moved ...
51928 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
51929 ... here.
51930 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
51931 Moved ...
51932 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
51933 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
51934 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
51935 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
51936 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
51937 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
51938 Moved ...
51939 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
51940 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
51941 Moved ...
51942 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
51943 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
51944 Moved ...
51945 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
51946 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
51947 Moved ...
51948 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
51949 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
51950 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
51951 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
51952 Moved ...
51953 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
51954 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
51955 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
51956 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
51957 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
51958 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
51959 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
51960 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
51961 Moved ...
51962 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
51963 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
51964 Moved ...
51965 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
51966 ... here.
51967 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
51968 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
51969 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
51970 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
51971 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
51972 Moved ...
51973 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
51974 ... here.
51975 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
51976 Moved ...
51977 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
51978 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
51979 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
51980 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
51981 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
51982 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
51983 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
51984 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
51985 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
51986 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
51987 Moved ...
51988 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
51989 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
51990 Moved ...
51991 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
51992 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
51993 Moved ...
51994 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
51995 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
51996 Moved ...
51997 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
51998 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
51999 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
52000 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
52001 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
52002 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
52003 Moved ...
52004 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
52005 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
52006 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
52007 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
52008 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
52009 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
52010 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
52011 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
52012 Moved ...
52013 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
52014 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52015 Moved ...
52016 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52017 ... here.
52018 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
52019 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
52020 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
52021 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
52022 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52023 Moved ...
52024 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52025 ... here.
52026 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
52027 Moved ...
52028 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
52029 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
52030 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
52031 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
52032 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
52033 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
52034 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
52035 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
52036 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
52037 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
52038 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
52039
52040 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
52041 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
52042
52043 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
52044 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
52045
52046 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
52047 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
52048 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
52049 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
52050 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
52051 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
52052 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
52053 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
52054 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
52055 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
52056 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
52057 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
52058 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
52059 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
52060 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
52061 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
52062 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
52063 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
52064 Moved ...
52065 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
52066 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
52067 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
52068 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
52069 Moved ...
52070 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
52071 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
52072 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
52073 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
52074 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
52075 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
52076 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
52077 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
52078 Moved ...
52079 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
52080 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
52081 Moved ...
52082 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
52083 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
52084 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
52085 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
52086 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
52087 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
52088 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
52089 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
52090 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
52091 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
52092 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
52093 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
52094 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
52095 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
52096 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
52097 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
52098 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
52099
52100 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
52101 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
52102 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
52103 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
52104 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
52105
52106 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
52107 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
52108 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
52109 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
52110 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
52111 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
52112 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
52113 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
52114 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
52115 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
52116
52117 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
52118 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
52119
52120 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
52121 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
52122 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
52123 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
52124 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
52125 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
52126 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
52127 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
52128 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
52129 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
52130 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
52131 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
52132 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
52133 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
52134 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
52135 Update #include.
52136 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
52137 Likewise.
52138 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
52139 Likewise.
52140 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
52141 Likewise.
52142 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
52143 Likewise.
52144 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
52145 Likewise.
52146 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
52147 Likewise.
52148 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
52149 Likewise.
52150 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
52151 Likewise.
52152 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
52153 Likewise.
52154 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
52155 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
52156 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
52157 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
52158 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
52159 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
52160 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
52161 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
52162 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
52163 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
52164 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
52165 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
52166 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
52167 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
52168 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
52169
52170 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
52171 that was previously under [RESET_PID].
52172 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
52173 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
52174 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
52175
52176 * sysdeps/i386/nptl/Implies: New file.
52177 * sysdeps/x86_64/nptl/Implies: New file.
52178 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
52179 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
52180 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
52181 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
52182
52183 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
52184 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52185 (__libc_vfork): New strong alias.
52186 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
52187 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
52188
52189 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
52190 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52191 (__libc_vfork): New strong alias.
52192 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
52193 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
52194
52195 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
52196 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52197 (__libc_vfork): New strong alias.
52198 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
52199 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
52200 * nptl/pt-vfork.c: New file.
52201 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
52202 (libpthread: GLIBC_2.20): New version set (empty).
52203
52204 2014-05-14 Will Newton <will.newton@linaro.org>
52205
52206 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
52207 rather than #if.
52208
52209 2014-05-14 Joseph Myers <joseph@codesourcery.com>
52210
52211 [BZ #16564]
52212 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
52213 arguments with exponent 65 or above.
52214 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
52215 arguments 0x1p113L or above.
52216 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
52217 to arguments 0x1p107L or above.
52218 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
52219 positive arguments with exponent 65 or above.
52220 * math/auto-libm-test-in: Add more tests of log1p.
52221 * math/auto-libm-test-out: Regenerated.
52222
52223 [BZ #16928]
52224 * math/s_cacos.c (__cacos): Ensure zero real part of result from
52225 non-finite arguments is +0.
52226 * math/s_cacosf.c (__cacosf): Likewise.
52227 * math/s_cacosl.c (__cacosl): Likewise.
52228 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
52229 * sysdeps/i386/fpu/libm-test-ulps: Update.
52230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52231
52232 [BZ #16927]
52233 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
52234 value.
52235 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
52236 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
52237 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
52238 for explicit high bit of mantissa when testing for argument equal
52239 to 1.
52240 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
52241 * sysdeps/i386/fpu/libm-test-ulps: Update.
52242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52243
52244 [BZ #16516]
52245 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
52246 (__erf): Scale by 16 instead of 8 in potentially underflowing
52247 case. Ensure exception if result actually underflows.
52248 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
52249 (__erff): Scale by 16 instead of 8 in potentially underflowing
52250 case. Ensure exception if result actually underflows.
52251 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
52252 (efx8): Remove variable.
52253 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52254 case. Ensure exception if result actually underflows.
52255 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
52256 (efx8): Remove variable.
52257 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52258 case. Ensure exception if result actually underflows.
52259 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
52260 (efx8): Remove variable.
52261 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52262 case. Ensure exception if result actually underflows.
52263 * math/auto-libm-test-in: Add more tests of erf.
52264 * math/auto-libm-test-out: Regenerated.
52265
52266 2014-05-14 Andreas Schwab <schwab@suse.de>
52267
52268 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
52269 Remove code conditionalized on USE___THREAD.
52270
52271 * config.h.in (HAVE_PT_CHOWN): Define as 0.
52272 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
52273 not definedness.
52274
52275 2014-05-14 Joseph Myers <joseph@codesourcery.com>
52276
52277 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
52278 Define unconditionally.
52279 (__ASSUME_O_CLOEXEC): Likewise.
52280 (__ASSUME_SOCK_CLOEXEC): Likewise.
52281 (__ASSUME_IN_NONBLOCK): Likewise.
52282 (__ASSUME_PIPE2): Likewise.
52283 (__ASSUME_EVENTFD2): Likewise.
52284 (__ASSUME_SIGNALFD4): Likewise.
52285 (__ASSUME_DUP3): Likewise.
52286 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52287 (__ASSUME_DUP3): Do not define.
52288 (__ASSUME_EVENTFD2): Likewise.
52289 (__ASSUME_IN_NONBLOCK): Likewise.
52290 (__ASSUME_O_CLOEXEC): Likewise.
52291 (__ASSUME_PIPE2): Likewise.
52292 (__ASSUME_SIGNALFD4): Likewise.
52293 (__ASSUME_SOCK_CLOEXEC): Likewise.
52294 (__ASSUME_UTIMES): Undefine.
52295 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52296 (__ASSUME_UTIMES): Do not define.
52297 (__ASSUME_O_CLOEXEC): Likewise.
52298 (__ASSUME_SOCK_CLOEXEC): Likewise.
52299 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
52300 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
52301 0x020621].
52302 (__ASSUME_PIPE2): Likewise.
52303 (__ASSUME_EVENTFD2): Likewise.
52304 (__ASSUME_SIGNALFD4): Likewise.
52305 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
52306 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
52307 Do not define.
52308 (__ASSUME_EVENTFD2): Likewise.
52309 (__ASSUME_SIGNALFD4): Likewise.
52310 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
52311 (__ASSUME_32BITUIDS): Likewise.
52312 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
52313 (__ASSUME_IPC64): Likewise.
52314 (__ASSUME_ST_INO_64_BIT): Likewise.
52315 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
52316 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
52317 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52318 (__ASSUME_UTIMES): Do not define.
52319 (__ASSUME_PSELECT): Likewise.
52320 (__ASSUME_PPOLL): Likewise.
52321 (__ASSUME_O_CLOEXEC): Likewise.
52322 (__ASSUME_SOCK_CLOEXEC): Likewise.
52323 (__ASSUME_IN_NONBLOCK): Likewise.
52324 (__ASSUME_PIPE2): Likewise.
52325 (__ASSUME_EVENTFD2): Likewise.
52326 (__ASSUME_SIGNALFD4): Likewise.
52327 (__ASSUME_DUP3): Likewise.
52328 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52329 (__ASSUME_UTIMES): Likewise.
52330 (__ASSUME_O_CLOEXEC): Likewise.
52331 (__ASSUME_SOCK_CLOEXEC): Likewise.
52332 (__ASSUME_IN_NONBLOCK): Likewise.
52333 (__ASSUME_PIPE2): Likewise.
52334 (__ASSUME_EVENTFD2): Likewise.
52335 (__ASSUME_SIGNALFD4): Likewise.
52336 (__ASSUME_DUP3): Likewise.
52337 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52338 (__ASSUME_UTIMES): Likewise.
52339 (__ASSUME_O_CLOEXEC): Likewise.
52340 (__ASSUME_SOCK_CLOEXEC): Likewise.
52341 (__ASSUME_IN_NONBLOCK): Likewise.
52342 (__ASSUME_PIPE2): Likewise.
52343 (__ASSUME_EVENTFD2): Likewise.
52344 (__ASSUME_SIGNALFD4): Likewise.
52345 (__ASSUME_DUP3): Likewise.
52346 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
52347 Likewise.
52348 (__ASSUME_UTIMES): Likewise.
52349 (__ASSUME_EVENTFD2): Likewise.
52350 (__ASSUME_SIGNALFD4): Likewise.
52351 * sysdeps/unix/sysv/linux/tile/kernel-features.h
52352 (__ASSUME_O_CLOEXEC): Likewise.
52353 (__ASSUME_SOCK_CLOEXEC): Likewise.
52354 (__ASSUME_IN_NONBLOCK): Likewise.
52355 (__ASSUME_PIPE2): Likewise.
52356 (__ASSUME_EVENTFD2): Likewise.
52357 (__ASSUME_SIGNALFD4): Likewise.
52358 (__ASSUME_DUP3): Likewise.
52359 (__ASSUME_UTIMES): Undefine.
52360
52361 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
52362 feclearexcept. Remove symbol versioning code.
52363 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
52364 symbol versioning code.
52365 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
52366 symbol versioning code.
52367 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
52368 feupdateenv. Remove symbol versioning code.
52369 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
52370 fegetexceptflag. Remove symbol versioning code.
52371 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
52372 fesetexceptflag. Remove symbol versioning code.
52373 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
52374 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
52375 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
52376 (__posix_fadvise64_l32): Remove prototype.
52377 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
52378 code.
52379
52380 2014-05-13 Roland McGrath <roland@hack.frob.com>
52381
52382 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
52383 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
52384 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
52385 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
52386
52387 2014-05-13 Sami Kerola <kerolasa@iki.fi>
52388
52389 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
52390 current working directory
52391
52392 2014-05-13 Roland McGrath <roland@hack.frob.com>
52393
52394 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
52395 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
52396 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
52397 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
52398 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
52399 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
52400 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
52401 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
52402 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
52403 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
52404 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
52405 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
52406 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
52407 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
52408 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
52409 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
52410 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
52411 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
52412 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
52413 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
52414 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
52415 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
52416 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
52417 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
52418 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
52419 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
52420 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
52421 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
52422 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
52423 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
52424 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
52425 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
52426 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
52427 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
52428 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
52429 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
52430 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
52431 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
52432 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
52433 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
52434 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
52435 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
52436
52437 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
52438 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
52439
52440 * sysdeps/unix/sysv/linux/arm/Makefile
52441 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
52442 Add rt-aeabi_unwind_cpp_pr1.
52443 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
52444 Add nptl-aeabi_unwind_cpp_pr1.
52445 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
52446 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
52447 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
52448 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
52449 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
52450 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
52451
52452 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
52453 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
52454 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
52455 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
52456
52457 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
52458 Deconditionalize the code that was previously under [RESET_PID].
52459 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
52460
52461 * sysdeps/generic/exit-thread.h: New file.
52462 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
52463 * include/unistd.h (__exit_thread): Remove declaration.
52464 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
52465 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
52466 * csu/libc-start.c: Include <exit-thread.h>.
52467 (LIBC_START_MAIN): Pass no argument to __exit_thread.
52468 * nptl/pthread_create.c: Include <exit-thread.h>.
52469 (start_thread): Call __exit_thread in place of __exit_thread_inline.
52470 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
52471 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
52472 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
52473 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
52474 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
52475 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
52476 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
52477 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
52478 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
52479 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
52480 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
52481 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
52482 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
52483 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
52484 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
52485 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
52486
52487 2014-05-13 Andreas Schwab <schwab@suse.de>
52488
52489 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
52490
52491 2014-05-12 Joseph Myers <joseph@codesourcery.com>
52492
52493 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
52494 (__ASSUME_UTIMES): Do not condition on kernel version.
52495 (__ASSUME_PSELECT): Define unconditionally.
52496 (__ASSUME_PPOLL): Likewise.
52497 (__ASSUME_ATFCTS): Likewise.
52498 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
52499 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
52500 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
52501 (__ASSUME_UTIMENSAT): Define unconditionally.
52502 (__ASSUME_PRIVATE_FUTEX): Likewise.
52503 (__ASSUME_FALLOCATE): Likewise.
52504 (__ASSUME_O_CLOEXEC): Likewise.
52505 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
52506 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
52507 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
52508 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
52509 (__ASSUME_IN_NONBLOCK): Likewise.
52510 (__ASSUME_PIPE2): Likewise.
52511 (__ASSUME_EVENTFD2): Likewise.
52512 (__ASSUME_SIGNALFD4): Likewise.
52513 (__ASSUME_DUP3): Likewise.
52514 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52515 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
52516 (__ASSUME_AT_RANDOM): Likewise.
52517 (__ASSUME_PREADV): Likewise.
52518 (__ASSUME_PWRITEV): Likewise.
52519 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
52520 (__ASSUME_F_GETOWN_EX): Define unconditionally.
52521 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
52522 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
52523 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
52524 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52525 (__ASSUME_O_CLOEXEC): Define unconditionally.
52526 (__ASSUME_PSELECT): Do not undefine conditionally.
52527 (__ASSUME_PPOLL): Likewise.
52528 (__ASSUME_ATFCTS): Likewise.
52529 (__ASSUME_SET_ROBUST_LIST): Likewise.
52530 (__ASSUME_UTIMENSAT): Likewise.
52531 (__ASSUME_FDATASYNC): Define unconditionally.
52532 * sysdeps/unix/sysv/linux/arm/kernel-features.h
52533 (__ASSUME_SIGFRAME_V2): Likewise.
52534 )__ASSUME_EVENTFD2): Likewise.
52535 (__ASSUME_SIGNALFD4): Likewise.
52536 (__ASSUME_PSELECT): Do not undefine conditionally.
52537 (__ASSUME_PPOLL): Likewise.
52538 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52539 (__ASSUME_PSELECT): Define unconditionally.
52540 (__ASSUME_PPOLL): Likewise.
52541 (__ASSUME_O_CLOEXEC): Likewise.
52542 (__ASSUME_SOCK_CLOEXEC): Likewise.
52543 (__ASSUME_IN_NONBLOCK): Likewise.
52544 (__ASSUME_PIPE2): Likewise.
52545 (__ASSUME_EVENTFD2): Likewise.
52546 (__ASSUME_SIGNALFD4): Likewise.
52547 (__ASSUME_DUP3): Likewise.
52548 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52549 (__ASSUME_O_CLOEXEC): Likewise.
52550 (__ASSUME_SOCK_CLOEXEC): Likewise.
52551 (__ASSUME_IN_NONBLOCK): Likewise.
52552 (__ASSUME_PIPE2): Likewise.
52553 (__ASSUME_EVENTFD2): Likewise.
52554 (__ASSUME_SIGNALFD4): Likewise.
52555 (__ASSUME_DUP3): Likewise.
52556 * sysdeps/unix/sysv/linux/mips/kernel-features.h
52557 (__ASSUME_EVENTFD2): Likewise.
52558 (__ASSUME_SIGNALFD4): Likewise.
52559 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52560
52561 2014-05-12 Andreas Schwab <schwab@suse.de>
52562
52563 [BZ #16932]
52564 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
52565 (_nss_nis_gethostbyname4_r): Return error if item length is larger
52566 than maximum RPC packet size.
52567 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
52568 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
52569 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
52570 (_nss_nis_getservbyport_r): Likewise.
52571
52572 2014-05-12 Will Newton <will.newton@linaro.org>
52573
52574 * malloc/Makefile (tests): Add tst-mallopt.
52575 * malloc/tst-mallopt.c: New file.
52576
52577 2014-05-09 Roland McGrath <roland@hack.frob.com>
52578
52579 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
52580 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
52581
52582 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52583
52584 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
52585 (tst-tlsmod6.so): Likewise.
52586
52587 2014-05-09 Roland McGrath <roland@hack.frob.com>
52588
52589 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
52590
52591 2014-05-09 Joseph Myers <joseph@codesourcery.com>
52592
52593 [BZ #16064]
52594 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
52595 and <dl-procinfo.h>.
52596 (__fegetenv): Save SSE state in envp->__eip if supported.
52597 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
52598 envp->__eip if supported.
52599 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
52600 and <dl-procinfo.h>.
52601 (__fesetenv): Always set __eip, __cs_selector, __opcode,
52602 __data_offset and __data_selector in environment to 0. Set SSE
52603 state if supported.
52604 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
52605 test-fenv-sse.
52606 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
52607 -mfpmath=sse.
52608 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
52609
52610 2014-05-09 Will Newton <will.newton@linaro.org>
52611
52612 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
52613 and libc_relro_required for ARM.
52614 * sysdeps/arm/preconfigure: Regenerate.
52615
52616 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
52617 Stefan Liebler <stli@linux.vnet.ibm.com>
52618
52619 * config.make.in (enable-lock-elision): New Makefile variable.
52620 * configure.ac: Likewise.
52621 * configure: Regenerate.
52622 * sysdeps/s390/configure.ac:
52623 Add check for gcc transactions support.
52624 * sysdeps/s390/configure: Regenerate.
52625 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
52626 Build elision files if enabled.
52627 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
52628 Add lock elision support for s390.
52629 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
52630 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
52631 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
52632 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
52633 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
52634 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
52635 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
52636 Likewise.
52637 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
52638 Likewise.
52639 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
52640 Likewise.
52641 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
52642 Likewise.
52643 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
52644 (__lll_timedlock_elision, __lll_lock_elision)
52645 (__lll_unlock_elision, __lll_trylock_elision)
52646 (lll_timedlock_elision, lll_lock_elision)
52647 (lll_unlock_elision, lll_trylock_elision): Add.
52648 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52649 (pthread_mutex_t): Add lock elision support for s390.
52650
52651 2014-05-14 Wilco <wdijkstr@arm.com>
52652
52653 * sysdeps/arm/fclrexcpt.c: Cleanup.
52654 * sysdeps/arm/fedisblxcpt.c: Cleanup.
52655 * sysdeps/arm/feenablxcpt.c: Cleanup.
52656 * sysdeps/arm/fegetenv.c: Cleanup.
52657 * sysdeps/arm/fegetexcept.c: Cleanup.
52658 * sysdeps/arm/fegetround.c: Cleanup.
52659 * sysdeps/arm/feholdexcpt.c: Cleanup.
52660 * sysdeps/arm/fesetenv.c: Cleanup.
52661 * sysdeps/arm/fesetround.c: Cleanup.
52662 * sysdeps/arm/feupdateenv.c: Cleanup.
52663 * sysdeps/arm/fgetexcptflg.c: Cleanup.
52664 * sysdeps/arm/fraiseexcpt.c: Cleanup.
52665 * sysdeps/arm/fsetexcptflg.c: Cleanup.
52666 * sysdeps/arm/ftestexcept.c: Cleanup.
52667 * sysdeps/arm/get-rounding-mode.h: Cleanup.
52668 * sysdeps/arm/setfpucw.c: Cleanup.
52669
52670 2014-05-09 Will Newton <will.newton@linaro.org>
52671
52672 * sysdeps/arm/armv7/strcmp.S: New file.
52673 * NEWS: Mention addition of ARMv7 optimized strcmp.
52674
52675 2014-05-08 Roland McGrath <roland@hack.frob.com>
52676
52677 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
52678 look for %.ac rather than %.in.
52679
52680 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
52681 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
52682 * sysdeps/mach/hurd/configure: Regenerated.
52683 * sysdeps/unix/sysv/linux/configure: Regenerated.
52684
52685 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
52686
52687 2014-05-07 Steve Ellcey <sellcey@mips.com>
52688
52689 [BZ #16922]
52690 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
52691 (LONG_SUB): Ditto.
52692 (PTR_SUB): Ditto.
52693
52694 2014-05-07 Andreas Schwab <schwab@suse.de>
52695
52696 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
52697 when skipping over non-matching result from nscd.
52698
52699 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
52700
52701 [BZ #16876]
52702 * nptl/sockperf.c (client): Check socket return value.
52703
52704 [BZ #16877]
52705 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
52706 nscd security class.
52707
52708 2014-05-06 Roland McGrath <roland@hack.frob.com>
52709
52710 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
52711 * sysdeps/arm/unwind.h: ... here.
52712
52713 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
52714
52715 [BZ #16916]
52716 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
52717 Define.
52718
52719 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
52720
52721 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
52722 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
52723 multiarch strncpy for PPC64.
52724 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
52725 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
52726 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
52727 multiarch optimizations.
52728 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52729 (__libc_ifunc_impl_list): Likewise.
52730 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
52731 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
52732 multiarch stpncpy for PPC64.
52733 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
52734 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
52735
52736 2014-05-06 Andreas Schwab <schwab@suse.de>
52737
52738 [BZ #16912]
52739 * gmon/mcount.c (_MCOUNT_DECL): Use
52740 atomic_compare_and_exchange_bool_acq instead of
52741 catomic_compare_and_exchange_bool_acq.
52742
52743 2014-05-05 Roland McGrath <roland@hack.frob.com>
52744
52745 * elf/Makefile (others, install-bin): Remove pldd.
52746 (pldd-modules): Variable removed.
52747 ($(objpfx)pldd): Target removed.
52748 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
52749 (others, install-bin): Append pldd here.
52750 ($(objpfx)pldd): New target.
52751
52752 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
52753 to 0, so the first #if test emitted later doesn't see it undefined.
52754 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
52755 * sysdeps/gnu/errlist.c: Regenerated.
52756
52757 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52758
52759 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
52760 [libc_hidden_builtin_def]: Define to empty value.
52761 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
52762 [libc_hidden_builtin_def]: Likewise.
52763 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
52764 [libc_hidden_builtin_def]: Likewise.
52765 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
52766 [libc_hidden_builtin_def]: Likewise.
52767 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
52768 __redirect_memcpy and define ifunc as default hidden symbol.
52769 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
52770 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
52771
52772 2014-05-04 Adam Conrad <adconrad@0c3.net>
52773
52774 * locale/iso-4217.def: Reintroduce XDR currency.
52775
52776 2014-05-04 Allan McRae <allan@archlinux.org>
52777
52778 * po/eo.po: Update Esperanto translation from translation project.
52779
52780 2014-05-02 Carlos O'Donell <carlos@redhat.com>
52781
52782 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
52783 and FEATURE_INDEX_MAX to 1.
52784 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
52785
52786 2014-05-01 Steve Ellcey <sellcey@mips.com>
52787
52788 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
52789 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
52790 * iconvdata/big5.c (ONE_DIRECTION): Define.
52791 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
52792 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
52793 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
52794 * iconvdata/cp932.c (ONE_DIRECTION): Define.
52795 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
52796 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
52797 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
52798 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
52799 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
52800 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
52801 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
52802 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
52803 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
52804 * iconvdata/gbk.c (ONE_DIRECTION): Define.
52805 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
52806 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
52807 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
52808 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
52809 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
52810 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
52811 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
52812 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
52813 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
52814 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
52815 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
52816 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
52817 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
52818 * iconvdata/iso646.c (ONE_DIRECTION): Define.
52819 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
52820 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
52821 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
52822 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
52823 * iconvdata/johab.c (ONE_DIRECTION): Define.
52824 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
52825 * iconvdata/sjis.c (ONE_DIRECTION): Define.
52826 * iconvdata/t.61.c (ONE_DIRECTION): Define.
52827 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
52828 * iconvdata/tscii.c (ONE_DIRECTION): Define.
52829 * iconvdata/uhc.c (ONE_DIRECTION): Define.
52830 * iconvdata/unicode.c (ONE_DIRECTION): Define.
52831 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
52832 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
52833 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
52834
52835 2014-05-01 Roland McGrath <roland@hack.frob.com>
52836
52837 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
52838 (_IO_JUMPS_OFFSET): Define to 0.
52839
52840 * nptl/sysdeps/pthread/bits/libc-lock.h
52841 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
52842 (__libc_lock_define_initialized_recursive): Always define using
52843 initializer. Modern compilers treat uninitialized (implicit zero) and
52844 explicit zero initializers the same (i.e. put the datum in bss).
52845
52846 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
52847
52848 * nscd/nscd-client.h: Include <string.h>.
52849
52850 2014-05-01 David S. Miller <davem@davemloft.net>
52851
52852 [BZ #16885]
52853 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
52854 multiple zero bytes exist at the end of a string.
52855 Reported by Aurelien Jarno <aurelien@aurel32.net>
52856
52857 * string/test-strcmp.c (check): Add explicit test for situations where
52858 there are multiple zero bytes after the first.
52859
52860 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
52861
52862 [BZ #16890]
52863 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
52864 when compiling wprintf.
52865 * stdio-common/tstdiomisc.c (t3): New function.
52866 (main): Call it.
52867
52868 2014-05-01 Steve Ellcey <sellcey@mips.com>
52869
52870 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
52871 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
52872 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
52873 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
52874
52875 2014-05-01 Steve Ellcey <sellcey@mips.com>
52876
52877 * stdlib/longlong.h: Updated from GCC.
52878
52879 2014-05-01 Will Newton <will.newton@linaro.org>
52880 Bernard Ogden <bernie.ogden@linaro.org>
52881
52882 * NEWS: Update fixed bug list.
52883
52884 [BZ #15119]
52885 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
52886
52887 2014-04-30 David S. Miller <davem@davemloft.net>
52888
52889 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
52890 (libc_feholdexcept_setround_sparc_ctx): New function.
52891 (libc_fesetenv_sparc_ctx): Likewise.
52892 (libc_feupdateenv_sparc_ctx): Likewise.
52893 (libc_feholdsetround_sparc_ctx): Likewise.
52894 (libc_feholdexcept_setround_ctx): Define.
52895 (libc_feholdexcept_setroundf_ctx): Likewise.
52896 (libc_feholdexcept_setroundl_ctx): Likewise.
52897 (libc_fesetenv_ctx): Likewise.
52898 (libc_fesetenvf_ctx): Likewise.
52899 (libc_fesetenvl_ctx): Likewise.
52900 (libc_feupdateenv_ctx): Likewise.
52901 (libc_feupdateenvf_ctx): Likewise.
52902 (libc_feupdateenvl_ctx): Likewise.
52903 (libc_feresetround_ctx): Likewise.
52904 (libc_feresetroundf_ctx): Likewise.
52905 (libc_feresetroundl_ctx): Likewise.
52906 (libc_feholdsetround_ctx): Likewise.
52907 (libc_feholdsetroundf_ctx): Likewise.
52908 (libc_feholdsetroundl_ctx): Likewise.
52909
52910 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
52911 with __USE_GNU instead of XOPEN cpp guards.
52912
52913 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
52914 0.
52915
52916 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
52917 with XOPEN cpp guards.
52918
52919 2014-04-30 Julian Brown <julian@codesourcery.com>
52920
52921 [BZ #16888]
52922 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
52923 handling.
52924
52925 2014-04-30 Joseph Myers <joseph@codesourcery.com>
52926
52927 [BZ #9894]
52928 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
52929 Change to 2.6.32.
52930 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
52931 * sysdeps/unix/sysv/linux/configure: Regenerated.
52932 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
52933 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
52934 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
52935 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
52936 * README: Update reference to required Linux kernel version.
52937 * manual/install.texi (Linux): Update reference to required Linux
52938 kernel headers version.
52939 * INSTALL: Regenerated.
52940
52941 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
52942 header inclusion.
52943 [POSIX] (limits.h): Likewise.
52944 [POSIX] (math.h): Likewise.
52945 [POSIX] (sys/wait.h): Likewise.
52946 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
52947 function.
52948 [POSIX] (stddef.h): Do not allow header inclusion.
52949
52950 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52951
52952 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
52953
52954 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
52955
52956 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
52957 Return immediately after lll_futex_wake.
52958
52959 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
52960
52961 [BZ #16791]
52962 * nscd/nscd-client.h (datahead_init_common): Initialize entire
52963 structure.
52964 (datahead_init_pos): Call datahead_init_common early.
52965 (datahead_init_neg): Likewise.
52966
52967 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
52968 datahead_init_neg): New functions.
52969 * nscd/aicache.c (addhstaiX): Use them.
52970 * nscd/grpcache.c (cache_addgr): Likewise.
52971 * nscd/hstcache.c (cache_addhst): Likewise.
52972 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52973 * nscd/netgroupcache.c (do_notfound): Likewise.
52974 (addgetnetgrentX): Likewise.
52975 (addinnetgrX): Likewise.
52976 * nscd/pwdcache.c (cache_addpw): Likewise.
52977 * nscd/servicescache.c (cache_addserv): Likewise.
52978
52979 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
52980 Atsushi Onoe <atsushi@onoe.org>
52981
52982 [BZ #14308]
52983 [BZ #12994]
52984 [BZ #13651]
52985 * resolv/res_query.c (__libc_res_nsearch): Return if at least
52986 one response is valid.
52987 * resolv/res_send.c (send_dg): Check for validity of other
52988 response if the current response is a referral.
52989
52990 2014-04-29 Steve Ellcey <sellcey@mips.com>
52991
52992 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
52993
52994 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
52995
52996 [BZ #16823]
52997 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
52998 Always divide by positive zero when computing -Inf result.
52999 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
53000 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
53001
53002 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53003
53004 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
53005 FPSCR if value do not change.
53006 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
53007 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
53008 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
53009 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
53010 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
53011 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
53012 function.
53013
53014 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
53015
53016 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
53017 * sysdeps/unix/sysv/linux/hppa: Move directory from
53018 ports/systeps/unix/sysv/linux/hppa.
53019 * README: Update listing for hppa-*-linux-gnu.
53020
53021 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
53022
53023 [BZ #16754]
53024 * manual/stdio.texi (Hook functions): Fix types of stream hook
53025 functions.
53026 [BZ #16854]
53027 * socket/sys/socket.h: Fix typo in comment.
53028
53029 2014-04-28 Wilco <wdijkstr@arm.com>
53030
53031 * sysdeps/arm/fenv_private.h: New file.
53032 * sysdeps/arm/math_private.h: New file.
53033 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
53034
53035 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
53036
53037 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
53038 with __int128_t.
53039 (La_x86_64_retval): Likewise.
53040
53041 2014-04-24 Ian Bolton <ian.bolton@arm.com>
53042
53043 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
53044 fpsr if value didn't change.
53045 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
53046 to fpcr if value didn't change.
53047 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
53048 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
53049 fpsr or fpcr if value didn't change.
53050 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
53051 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
53052 fpcr if value didn't change.
53053 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
53054 to fpsr if value didn't change.
53055
53056 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
53057
53058 * nptl/tst-sem3.c: Use test-skeleton.c
53059 (main): Rename to do_test. Use return instead of
53060 exit.
53061 * nptl/tst-sem4.c: Use test-skeleton.c
53062 (main): Rename to do_test.
53063
53064 2014-04-22 David S. Miller <davem@davemloft.net>
53065
53066 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
53067 (struct sigaction): New struct member __glibc_reserved0, change
53068 type of sa_flags to int.
53069
53070 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
53071
53072 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
53073 (COUNT_LEADING_ZEROS_0): Define for AArch64.
53074
53075 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
53076
53077 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
53078 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
53079
53080 2014-04-22 Will Newton <will.newton@linaro.org>
53081 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
53082
53083 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
53084 (__longjmp): Add longjmp and longjmp_target SystemTap
53085 probes.
53086 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
53087 (__sigsetjmp): Add setjmp SystemTap probe.
53088
53089 2014-04-17 Carlos O'Donell <carlos@redhat.com>
53090
53091 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
53092 match manual order.
53093
53094 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53095
53096 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
53097
53098 * sysdeps/powerpc/fpu/fenv_private.h
53099 (libc_feholdexcept_setroundl_ctx): Define to
53100 libc_feholdexcept_setround_ppc_ctx.
53101 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
53102 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
53103 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
53104 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
53105
53106 2014-04-17 Ian Bolton <ian.bolton@arm.com>
53107
53108 * sysdeps/aarch64/math-tests.h: New file.
53109
53110 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
53111
53112 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
53113 New.
53114 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53115 Check and set bit_AVX2_Usable.
53116 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
53117 macro.
53118 (bit_AVX2): Likewise.
53119 (index_AVX2_Usable): Likewise.
53120 (CPUID_AVX2): Likewise.
53121 (HAS_AVX2): Likewise.
53122
53123 2014-04-17 Will Newton <will.newton@linaro.org>
53124
53125 * manual/setjmp.texi (System V contexts): Add note that
53126 calling setcontext on a context created by a call to a
53127 signal handler is undefined. Update text to note that
53128 setcontext from a signal handler is possible but not
53129 recommended.
53130
53131 [BZ #16629]
53132 * stdlib/tst-setcontext.c: Include signal.h.
53133 (main): Check that the signal stack before and
53134 after swapcontext is the same.
53135
53136 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
53137 Re-implement to restore registers in user code and avoid
53138 rt_sigreturn system call.
53139
53140 2014-04-17 Wilco <wdijkstr@arm.com>
53141
53142 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
53143 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
53144 * math/test-fenv.c: Skip exception trap tests on targets which only
53145 support non-stop mode.
53146
53147 2014-04-17 Ian Bolton <ian.bolton@arm.com>
53148 Wilco Dijkstra <wilco.dijkstra@arm.com>
53149
53150 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
53151 (libc_feholdsetround_aarch64_ctx)
53152 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
53153 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
53154 (libc_feresetround_ctx, libc_feresetroundf_ctx)
53155 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
53156 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
53157 (libc_feresetround_noexl_ctx): Define.
53158
53159 2014-04-16 Richard Henderson <rth@redhat.com>
53160
53161 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
53162
53163 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
53164 unwind tables.
53165
53166 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
53167 const from the non-libc, non-ldso copy.
53168
53169 * sysdeps/alpha/libm-test-ulps: Regenerate.
53170
53171 2014-04-16 Ian Bolton <ian.bolton@arm.com>
53172 Wilco Dijkstra <wilco.dijkstra@arm.com>
53173
53174 * sysdeps/aarch64/fpu/math_private.h: New file.
53175
53176 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
53177
53178 * sysdeps/aarch64/libm-test-ulps: Regenerate.
53179
53180 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
53181
53182 [BZ #16275]
53183 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
53184 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
53185 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
53186 Intel MPX bound registers before _dl_profile_fixup.
53187 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
53188 registers after _dl_profile_fixup. Save and restore bound
53189 registers bnd0/bnd1 when calling _dl_call_pltexit.
53190 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
53191 (LR_BND_OFFSET): Likewise.
53192 (LRV_BND0_OFFSET): Likewise.
53193 (LRV_BND1_OFFSET): Likewise.
53194
53195 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53196
53197 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
53198 to...
53199 * sysdeps/mach/hurd/i386/tls.h: ... here.
53200 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
53201 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
53202 fields.
53203
53204 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53205
53206 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
53207
53208 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
53209
53210 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
53211
53212 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
53213
53214 [BZ #14770]
53215 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
53216 * sysdeps/s390/configure: Regenerate.
53217
53218 [BZ #16824]
53219 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
53220 Set round-to-nearest internally to reduce error accumulation.
53221
53222 2014-04-16 Alan Modra <amodra@gmail.com>
53223
53224 [BZ #16740]
53225 [BZ #16619]
53226 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
53227 * math/libm-test.inc (frexp_test_data): Add tests.
53228 * NEWS: Update fixed bug list.
53229
53230 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
53231
53232 * benchtests/Makefile: Depend on libraries in build directory.
53233 (bench-math): Separate out math tests.
53234 (bench-pthread): Separate out pthread tests.
53235 (bench): Include math and pthread tests.
53236
53237 2014-04-14 Carlos O'Donell <carlos@redhat.com>
53238
53239 [BZ #16831]
53240 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
53241 _dl_debug_initialize.
53242
53243 * configure.ac: Remove SELinux header check.
53244 * configure: Regenerate.
53245 * nscd/selinux.c (perms): Array of const char* to permission names.
53246 (nscd_request_avc_has_perm): Call security_deny_unknown to find
53247 default policy. Call string_to_security_class and string_to_av_perm to
53248 translate strings. Enforce default policy and call avs_has_perm with
53249 results of translated strings.
53250
53251 2014-04-13 David S. Miller <davem@davemloft.net>
53252
53253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53254
53255 2014-04-12 Allan McRae <allan@archlinux.org>
53256
53257 [BZ #16838]
53258 * manual/string.texi (Collation Functions): Fix qsort argument
53259 order in example.
53260 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
53261
53262 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
53263
53264 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
53265 Make the test a no-op if there are no exceptions defined.
53266
53267 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
53268
53269 * elf/Makefile (tests): make tst-dlopen-aout conditional on
53270 enable-hardcoded-path-in-tests
53271
53272 2014-04-11 Will Newton <will.newton@linaro.org>
53273
53274 * benchtests/Makefile (extra-objs): Add json-lib.o.
53275 (bench-func): Tidy up JSON output.
53276 * benchtests/bench-skeleton.c: Include json-lib.h.
53277 (main): Use JSON library functions to do output of
53278 benchmark results.
53279 * benchtests/bench-timing-type.c (main): Output the
53280 timing type simply, leaving formatting to the user.
53281 * benchtests/json-lib.c: New file.
53282 * benchtests/json-lib.h: Likewise.
53283
53284 2014-04-11 Torvald Riegel <triegel@redhat.com>
53285
53286 [BZ #15215]
53287 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
53288 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
53289 memory barriers. Add comments.
53290 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
53291 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
53292 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
53293 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
53294 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
53295 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
53296
53297 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
53298
53299 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
53300 * sysdeps/s390/s390-64/configure.ac: ... this ...
53301 * sysdeps/s390/configure.ac: ... to here.
53302 * sysdeps/s390/s390-32/configure: Delete file.
53303 * sysdeps/s390/s390-64/configure: Delete file.
53304 * sysdeps/s390/configure: Regenerate.
53305
53306 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
53307
53308 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
53309
53310 2014-04-11 Will Newton <will.newton@linaro.org>
53311
53312 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
53313 to zero if it is not defined elsewhere. (mtrim): Test
53314 the value of MALLOC_DEBUG with #if rather than #ifdef.
53315
53316 2014-04-10 Torvald Riegel <triegel@redhat.com>
53317
53318 * benchtests/pthread_once-inputs: New file.
53319 * benchtests/pthread_once-source.c: New file.
53320 * benchtests/README: Update documentation.
53321
53322 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
53323 H.J. Lu <hongjiu.lu@intel.com>
53324
53325 [BZ #16275]
53326 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
53327 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
53328 * sysdeps/x86_64/configure: Regenerated.
53329 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
53330 macro.
53331 (REGISTER_SAVE_RAX): Likewise.
53332 (REGISTER_SAVE_RCX): Likewise.
53333 (REGISTER_SAVE_RDX): Likewise.
53334 (REGISTER_SAVE_RSI): Likewise.
53335 (REGISTER_SAVE_RDI): Likewise.
53336 (REGISTER_SAVE_R8): Likewise.
53337 (REGISTER_SAVE_R9): Likewise.
53338 (REGISTER_SAVE_BND0): Likewise.
53339 (REGISTER_SAVE_BND1): Likewise.
53340 (REGISTER_SAVE_BND2): Likewise.
53341 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
53342 bound registers when calling _dl_fixup.
53343
53344 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53345
53346 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
53347 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
53348 of its definition.
53349 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
53350 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
53351 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
53352 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
53353 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
53354 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
53355 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
53356
53357 2014-04-09 Peter Brett <peter@peter-b.co.uk>
53358
53359 [BZ #15514]
53360 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
53361 pathconf(_PC_NAME_MAX).
53362
53363 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53364
53365 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
53366 Remove macro usage.
53367 (__PTHREAD_SPINS): Move definition to ...
53368 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
53369 (__PTHREAD_SPINS): ... here.
53370 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53371 (__PTHREAD_SPIN): Likewise.
53372 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
53373 (__PTHREAD_SPIN): Likewise.
53374 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
53375 (__PTHREAD_SPIN): Likewise.
53376 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
53377 (__PTHREAD_SPIN): Likewise.
53378 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
53379 (__PTHREAD_SPIN): Likewise.
53380 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
53381 (__PTHREAD_SPIN): Likewise.
53382 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
53383 (__PTHREAD_SPIN): Likewise.
53384 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
53385 (__PTHREAD_SPIN): Likewise.
53386 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
53387 (__PTHREAD_SPIN): Likewise.
53388 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
53389 (__PTHREAD_SPIN): Likewise.
53390 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
53391 (__PTHREAD_SPIN): Likewise.
53392 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
53393 (__PTHREAD_SPIN): Likewise.
53394
53395 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
53396 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
53397 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
53398 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
53399 imply folder.
53400 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
53401 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
53402 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
53403 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
53404 correct imply path.
53405 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
53406 strlen symbol for non multi-arch builds.
53407 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
53408 missing hidden_def and weak_alias.
53409
53410 2014-04-08 Carlos O'Donell <carlos@redhat.com>
53411
53412 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
53413
53414 2014-04-07 Will Newton <will.newton@linaro.org>
53415
53416 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
53417 and contents. [!_LIBC] Remove #ifndef and contents.
53418 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
53419 * string/memccpy.c (__memccpy): Use ANSI prototype.
53420 * string/memfrob.c (memfrob): Likewise.
53421 * string/strcoll.c (STRCOLL): Likewise.
53422 * string/strlen.c (strlen): Likewise.
53423 * string/strtok.c (STRTOK): Likewise.
53424 * string/strcat.c: Remove unused #include of memcopy.h.
53425 (strcat): Use ANSI prototype.
53426 * string/strchr.c: Remove unused #include of memcopy.h.
53427 (strchr): Use ANSI prototype.
53428 * string/strcmp.c: Remove unused #include of memcopy.h.
53429 (strcmp): Use ANSI prototype.
53430 * string/strcpy.c: Remove unused #include of memcopy.h.
53431 (strcpy): Use ANSI prototype.
53432
53433 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53434
53435 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
53436 * config.make.in (config-extra-cppflags): Set it from
53437 libc_extra_cppflags.
53438 * configure.ac (libc_extra_cflags): Make it accumulate over
53439 configure fragments.
53440 (libc_extra_cppflags): New flag.
53441 * configure. Regenerate.
53442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
53443 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
53444 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
53445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
53446
53447 [BZ #16815]
53448 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
53449 result for FE_DOWNWARD rounding mode.
53450 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
53451 Likewise.
53452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53453
53454 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
53455
53456 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
53457 in function argument name.
53458
53459 2014-04-03 David Svoboda <svoboda@cert.org>
53460
53461 [BZ #5666]
53462 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
53463 explicitly.
53464
53465 2014-04-03 Roland McGrath <roland@hack.frob.com>
53466
53467 * elf/dl-unmap-segments.h: New file.
53468 * sysdeps/generic/ldsodefs.h
53469 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
53470 * elf/dl-close.c: Include <dl-unmap-segments.h>.
53471 * elf/dl-fptr.c: Likewise.
53472 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
53473 * sysdeps/aarch64/tlsdesc.c: Likewise.
53474 * sysdeps/arm/tlsdesc.c: Likewise.
53475 * sysdeps/i386/tlsdesc.c: Likewise.
53476 * sysdeps/tile/dl-runtime.c: Likewise.
53477 * sysdeps/x86_64/tlsdesc.c: Likewise.
53478 * elf/dl-load.h: New file.
53479 * elf/dl-load.c: Include it.
53480 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
53481 Macros moved to dl-load.h.
53482 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
53483 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
53484 Use _dl_unmap_segments in place of __munmap.
53485 Break out segment-mapping loop into ...
53486 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
53487
53488 2014-04-03 Will Newton <will.newton@linaro.org>
53489
53490 * elf/dl-lookup.c (do_lookup_x): Remove comment
53491 referring to nested function and move variable
53492 declarations down to before first use.
53493
53494 2014-04-02 Joseph Myers <joseph@codesourcery.com>
53495
53496 [BZ #16799]
53497 [BZ #16800]
53498 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
53499 with 0 numerator.
53500 * math/s_catanf.c (__catanf): Likewise.
53501 * math/s_catanh.c (__catanh): Likewise.
53502 * math/s_catanhf.c (__catanhf): Likewise.
53503 * math/s_catanhl.c (__catanhl): Likewise.
53504 * math/s_catanl.c (__catanl): Likewise.
53505 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
53506 by positive zero when computing -Inf result.
53507 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
53508 (catanh_test): Likewise.
53509 * sysdeps/i386/fpu/libm-test-ulps: Update.
53510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53511
53512 [BZ #16789]
53513 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
53514 instead of using underflowing value in computing result.
53515 * math/s_clog10.c (__clog10): Likewise.
53516 * math/s_clog10f.c (__clog10f): Likewise.
53517 * math/s_clog10l.c (__clog10l): Likewise.
53518 * math/s_clogf.c (__clogf): Likewise.
53519 * math/s_clogl.c (__clogl): Likewise.
53520 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
53521 (clog10_test): Likewise.
53522 * sysdeps/i386/fpu/libm-test-ulps: Update.
53523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53524
53525 2014-04-02 Alan Modra <amodra@gmail.com>
53526
53527 [BZ #16739]
53528 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
53529 output when value is near a power of two. Use int64_t for lx and
53530 remove casts. Use decimal rather than hex exponent constants.
53531 Don't use long double multiplication when double will suffice.
53532 * math/libm-test.inc (nextafter_test_data): Add tests.
53533 * NEWS: Add 16739 and 16786 to bug list.
53534
53535 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
53536
53537 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
53538
53539 2014-04-01 Will Newton <will.newton@linaro.org>
53540
53541 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
53542 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
53543
53544 2014-04-01 Florian Weimer <fweimer@redhat.com>
53545
53546 [BZ #13347]
53547 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
53548 * nptl/tst-setuid2.c: New file.
53549 * nptl/Makefile (xtests): Add tst-setuid2.
53550
53551 2014-04-01 Alan Modra <amodra@gmail.com>
53552
53553 [BZ #16786]
53554 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
53555
53556 2014-03-31 Joseph Myers <joseph@codesourcery.com>
53557
53558 [BZ #6803]
53559 [BZ #6804]
53560 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
53561 set errno as appropriate.
53562 * math/w_scalbf.c (__scalbf): Likewise.
53563 * math/w_scalbl.c (__scalbl): Likewise.
53564 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
53565 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
53566 * math/libm-test.inc (scalb_test_data): Add errno expectations.
53567 Add more NaN tests.
53568
53569 [BZ #16349]
53570 * math/w_atan2.c: Include <errno.h>.
53571 (__atan2): Set errno for result underflowing to zero.
53572 * math/w_atan2f.c: Include <errno.h>.
53573 (__atan2f): Set errno for result underflowing to zero.
53574 * math/w_atan2l.c: Include <errno.h>.
53575 (__atan2l): Set errno for result underflowing to zero.
53576 * math/auto-libm-test-in: Don't allow missing errno for some atan2
53577 tests.
53578 * math/auto-libm-test-out: Regenerated.
53579
53580 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53581
53582 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
53583 Encode instruction correctly in little endian.
53584 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
53585 Likewise.
53586 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
53587 Likewise.
53588 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
53589 Likewise.
53590 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
53591 Likewise.
53592
53593 2014-03-31 Joseph Myers <joseph@codesourcery.com>
53594
53595 [BZ #9894]
53596 * sysdeps/unix/sysv/linux/kernel-features.h
53597 [__sparc__ && !__arch64__ && !__sparc_v9__]
53598 (__ASSUME_SET_ROBUST_LIST): Do not define.
53599 [__sparc__ && !__arch64__ && !__sparc_v9__]
53600 (__ASSUME_FUTEX_LOCK_PI): Likewise.
53601 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
53602 Likewise.
53603 * sysdeps/unix/sysv/linux/arm/kernel-features.h
53604 (__ASSUME_FUTEX_LOCK_PI): Undefine.
53605 (__ASSUME_REQUEUE_PI): Likewise.
53606 (__ASSUME_SET_ROBUST_LIST): Likewise.
53607 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
53608 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
53609 Undefine.
53610 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53611 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
53612 Likewise.
53613 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
53614 Likewise.
53615 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
53616 Likewise.
53617 * sysdeps/unix/sysv/linux/mips/kernel-features.h
53618 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
53619 Undefine.
53620 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
53621 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
53622 Likewise.
53623
53624 [BZ #16648]
53625 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53626 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
53627 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
53628
53629 2014-03-31 Will Newton <will.newton@linaro.org>
53630
53631 * benchtests/Makefile (bench): Add ffs and ffsll to list
53632 of tests.
53633 * benchtests/ffs-inputs: New file.
53634 * benchtests/ffsll-inputs: Likewise.
53635
53636 2014-03-29 Joseph Myers <joseph@codesourcery.com>
53637
53638 [BZ #16770]
53639 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
53640 too large before casting to int.
53641 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
53642 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
53643 * math/libm-test.inc (scalb_test_data): Add more tests.
53644
53645 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
53646
53647 * benchtests/Makefile (DETAILED_OPT): New make option.
53648 (bench-func): Run benchmark program with -d if DETAILED_OPT is
53649 set.
53650 * benchtests/bench-skeleton.c: Include stdbool.h.
53651 (main): Store and print timings per input.
53652 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
53653 member to each argument value.
53654 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
53655 (_print_arg_data): Initialize per-input timing to 0.
53656
53657 * benchtests/Makefile (timing-type): New binary.
53658 (bench-clean): Also remove bench-timing-type.
53659 (bench): New target for timing-type.
53660 (bench-func): Print output in JSON format.
53661 * benchtests/bench-skeleton.c (main): Print output in JSON
53662 format.
53663 * benchtests/bench-timing-type.c: New file.
53664 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
53665 (TIMING_PRINT_STATS): Remove.
53666 * benchtests/scripts/bench.py (_print_arg_data): Store variant
53667 name separately.
53668
53669 * benchtests/bench-modf.c: Remove.
53670 * benchtests/modf-inputs: New inputs file.
53671
53672 2014-03-28 Joseph Myers <joseph@codesourcery.com>
53673
53674 [BZ #16362]
53675 * math/s_clog10.c (M_PI_LOG10E): New macro.
53676 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
53677 imaginary parts are 0.
53678 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
53679 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
53680 imaginary parts are 0.
53681 * math/s_clog10l.c (M_PI_LOG10El): New macro.
53682 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
53683 imaginary parts are 0.
53684 * math/libm-test.inc (clog10_test_data): Update expected results
53685 for when real and imaginary parts are 0.
53686
53687 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
53688
53689 * elf/dl-load.c: Finish conversion of __builtin_expect into
53690 __glibc_{un}likely.
53691
53692 2014-03-27 Joseph Myers <joseph@codesourcery.com>
53693
53694 [BZ #16348]
53695 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
53696 1+x for argument with exponent below -67.
53697 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
53698 Likewise.
53699 * math/auto-libm-test-in: Add more tests of exp.
53700 * math/auto-libm-test-out: Regenerated.
53701
53702 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
53703
53704 [BZ #16759]
53705 * inet/getnetgrent_r.c (get_nonempty_val): New function.
53706 (nscd_getnetgrent): Use it.
53707
53708 [BZ #16760]
53709 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
53710 of stpcpy.
53711
53712 2014-03-27 Andi Kleen <ak@linux.intel.com>
53713
53714 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
53715 (lll_robust_lock, lll_cond_lock, lll_timedlock)
53716 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
53717 (lll_robust_unlock): Remove out of line section. Use cfi
53718 intrinsics.
53719 (LLL_STUB_UNWIND_INFO*): Remove.
53720 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
53721 (lll_robust_lock, lll_cond_lock, lll_timedlock)
53722 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
53723 (lll_robust_unlock): Remove out of line section. Use cfi
53724 intrinsics.
53725 (LLL_STUB_UNWIND_INFO*): Remove.
53726
53727 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
53728
53729 [BZ #16758]
53730 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
53731 blank values.
53732
53733 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
53734
53735 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
53736
53737 2014-03-26 Joseph Myers <joseph@codesourcery.com>
53738
53739 [BZ #16198]
53740 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
53741 fnstenv.
53742 * math/test-fenv-preserve.c: New file.
53743 * math/Makefile (tests): Add test-fenv-preserve.
53744
53745 2014-03-26 Will Newton <will.newton@linaro.org>
53746
53747 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
53748
53749 2014-03-25 Roland McGrath <roland@hack.frob.com>
53750
53751 * scripts/versionlist.awk: Partition the version sets and emit all
53752 GLIBC_* (sorted) before all others (sorted).
53753
53754 2014-03-25 Joseph Myers <joseph@codesourcery.com>
53755
53756 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
53757 GLIBC_2.2.5 version.
53758
53759 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53760
53761 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
53762 calls.
53763
53764 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
53765 previous change.
53766
53767 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53768
53769 2014-03-25 Andreas Schwab <schwab@suse.de>
53770
53771 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
53772 label to be used after in6ailist is initialized.
53773
53774 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53775
53776 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
53777 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
53778
53779 2014-03-25 Joseph Myers <joseph@codesourcery.com>
53780
53781 [BZ #16357]
53782 [BZ #16599]
53783 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
53784 min_plus_half.
53785 (fp_formats): Update initializers.
53786 (init_fp_formats): Initialize new field.
53787 (output_for_one_input_case): Allow underflow for results up to
53788 min_plus_half.
53789 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
53790 * math/auto-libm-test-in: Don't mark some underflows from asin and
53791 atanh as spurious.
53792 * math/auto-libm-test-out: Regenerated.
53793 * sysdeps/i386/fpu/libm-test-ulps: Update.
53794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53795
53796 2014-03-25 Andreas Schwab <schwab@suse.de>
53797
53798 * libio/Makefile (tst-ftell-partial-wide-ENV)
53799 (tst-ftell-active-handler-ENV): Define.
53800
53801 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
53802
53803 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
53804
53805 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
53806
53807 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
53808
53809 2014-03-24 Joseph Myers <joseph@codesourcery.com>
53810
53811 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
53812 * sysdeps/x86_64/fpu/multiarch/e_exp.c
53813 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
53814
53815 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
53816
53817 [BZ #16634]
53818 * elf/dl-load.c (open_verify): Add mode parameter.
53819 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
53820 (open_path): Change from boolean 'secure' to complete flag 'mode'
53821 (_dl_map_object): Adjust.
53822 * elf/Makefile (tests): Add tst-dlopen-aout.
53823 * elf/tst-dlopen-aout.c: New test.
53824
53825 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
53826
53827 [BZ #16714]
53828 * sysdeps/unix/sysv/linux/s390/bits/stat.h
53829 (struct stat): Rename member pad0 to __glibc_reserved0.
53830
53831 [BZ #16712]
53832 * sysdeps/s390/s390-32/bits/wordsize.h
53833 (__WORDSIZE32_SIZE_ULONG): New define.
53834 * sysdeps/s390/s390-64/bits/wordsize.h
53835 (__WORDSIZE32_SIZE_ULONG): Likewise.
53836 * sysdeps/generic/stdint.h (SIZE_MAX):
53837 Define as UL if __WORDSIZE32_SIZE_ULONG.
53838
53839 [BZ #16713]
53840 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
53841 (__glibc_reserved0): New variable.
53842 (sa_flags): Change type to int.
53843
53844 * posix/Makefile (before-compile): Use += before-compile instead
53845 of a :=.
53846
53847 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53848 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
53849
53850 2014-03-20 Andreas Schwab <schwab@suse.de>
53851
53852 [BZ #16743]
53853 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
53854 non-matching result from nscd.
53855
53856 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
53857
53858 * scripts/bench.py: Moved to ...
53859 * benchtests/scripts/bench.py: ... here.
53860 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
53861
53862 2014-03-24 Andreas Schwab <schwab@suse.de>
53863
53864 [BZ #16002]
53865 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
53866 alloca_account and account alloca use for struct in6ailist.
53867
53868 2014-03-24 Joseph Myers <joseph@codesourcery.com>
53869
53870 [BZ #16284]
53871 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
53872 rounding mode to recompute results that overflow to infinity or
53873 underflow to zero.
53874 * math/auto-libm-test-in: Don't mark tests as expected to fail for
53875 bug 16284.
53876 * math/auto-libm-test-out: Regenerated.
53877 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
53878 (ccosh_test): Likewise.
53879 (csin_test_data): Use plus_oflow.
53880 (csin_test): Use ALL_RM_TEST.
53881 (csinh_test_data): Use plus_oflow.
53882 (csinh_test): Use ALL_RM_TEST.
53883 * sysdeps/i386/fpu/libm-test-ulps: Update.
53884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53885
53886 2014-03-21 Joseph Myers <joseph@codesourcery.com>
53887
53888 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
53889 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
53890 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
53891
53892 [BZ #16731]
53893 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
53894 when x - 1 is zero.
53895 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
53896 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
53897 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
53898 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
53899 argument is 1.
53900 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
53901 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
53902 zero.
53903 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
53904 * sysdeps/i386/fpu/libm-test-ulps: Update.
53905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53906
53907 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
53908
53909 * scripts/bench.pl: Remove file.
53910 * scripts/bench.py: New benchmark script.
53911 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
53912 * benchtests/README: Mention python dependency.
53913 * scripts/pylintrc: New file.
53914 * scripts/pylint: New file.
53915
53916 * bits/mathdef.h: Use #ifdef instead of #if.
53917 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
53918 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
53919 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
53920 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
53921 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
53922 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
53923
53924 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53925 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
53926
53927 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
53928 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
53929 and strpbrk-ppc64 objects.
53930 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53931 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
53932 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
53933 multiarch strpbrk for POWER7.
53934 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
53935 multiarch strpbrk for PPC64.
53936 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
53937 ifunc selector.
53938 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
53939 strpbrk for POWER7.
53940
53941 2014-03-20 Joseph Myers <joseph@codesourcery.com>
53942
53943 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
53944 (atan_test): Likewise.
53945 (atanh_test_data): Use NO_TEST_INLINE for two tests.
53946 (atanh_test): Use ALL_RM_TEST.
53947 (atan2_test_data): Likewise.
53948 (cabs_test): Likewise.
53949 (cacosh_test): Likewise.
53950 (carg_test): Likewise.
53951 (casin_test): Likewise.
53952 (casinh_test): Likewise.
53953 (cbrt_test): Likewise.
53954 (csqrt_test): Likewise.
53955 (erf_test): Likewise.
53956 (erfc_test): Likewise.
53957 (pow10_test): Likewise.
53958 (exp2_test): Likewise.
53959 (hypot_test): Likewise.
53960 (j0_test): Likewise.
53961 (j1_test): Likewise.
53962 (lgamma_test): Likewise.
53963 (gamma_test): Likewise.
53964 (sincos_test): Likewise.
53965 (tanh_test): Likewise.
53966 (y0_test): Likewise.
53967 (y1_test): Likewise.
53968 * sysdeps/i386/fpu/libm-test-ulps: Update.
53969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53970
53971 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53972
53973 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
53974 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
53975 and strcspn-ppc64 objects.
53976 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53977 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
53978 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
53979 multiarch strcspn for POWER7.
53980 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
53981 multiarch strcspn for PPC64.
53982 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
53983 ifunc selector.
53984 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
53985 strcspn for POWER7.
53986
53987 2014-03-20 Joseph Myers <joseph@codesourcery.com>
53988
53989 * math/gen-libm-test.pl (generate_testfile): Expect only function
53990 name as argument to AUTO_TESTS_* and pass results for all rounding
53991 modes to parse_args.
53992 (parse_auto_input): Separate inputs of automatic tests from
53993 outputs before storing in %auto_tests.
53994 * math/libm-test.inc (acos_test_data): Update call to
53995 AUTO_TESTS_f_f.
53996 (acos_test): Use ALL_RM_TEST.
53997 (acos_tonearest_test_data): Remove.
53998 (acos_test_tonearest): Likewise.
53999 (acos_towardzero_test_data): Likewise.
54000 (acos_test_towardzero): Likewise.
54001 (acos_downward_test_data): Likewise.
54002 (acos_test_downward): Likewise.
54003 (acos_upward_test_data): Likewise.
54004 (acos_test_upward): Likewise.
54005 (acosh_test_data): Update call to AUTO_TESTS_f_f.
54006 (asin_test_data): Likewise.
54007 (asin_test): Use ALL_RM_TEST.
54008 (asin_tonearest_test_data): Remove.
54009 (asin_test_tonearest): Likewise.
54010 (asin_towardzero_test_data): Likewise.
54011 (asin_test_towardzero): Likewise.
54012 (asin_downward_test_data): Likewise.
54013 (asin_test_downward): Likewise.
54014 (asin_upward_test_data): Likewise.
54015 (asin_test_upward): Likewise.
54016 (asinh_test_data): Update call to AUTO_TESTS_f_f.
54017 (atan_test_data): Likewise.
54018 (atanh_test_data): Likewise.
54019 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
54020 (cabs_test_data): Update call to AUTO_TESTS_c_f.
54021 (carg_test_data): Likewise.
54022 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
54023 (ccos_test_data): Update call to AUTO_TESTS_c_c.
54024 (ccosh_test_data): Likewise.
54025 (cexp_test_data): Likewise.
54026 (clog_test_data): Likewise.
54027 (clog10_test_data): Likewise.
54028 (cos_test_data): Update call to AUTO_TESTS_f_f.
54029 (cos_test): Use ALL_RM_TEST.
54030 (cos_tonearest_test_data): Remove.
54031 (cos_test_tonearest): Likewise.
54032 (cos_towardzero_test_data): Likewise.
54033 (cos_test_towardzero): Likewise.
54034 (cos_downward_test_data): Likewise.
54035 (cos_test_downward): Likewise.
54036 (cos_upward_test_data): Likewise.
54037 (cos_test_upward): Likewise.
54038 (cosh_test_data): Update call to AUTO_TESTS_f_f.
54039 (cosh_test): Use ALL_RM_TEST.
54040 (cosh_tonearest_test_data): Remove.
54041 (cosh_test_tonearest): Likewise.
54042 (cosh_towardzero_test_data): Likewise.
54043 (cosh_test_towardzero): Likewise.
54044 (cosh_downward_test_data): Likewise.
54045 (cosh_test_downward): Likewise.
54046 (cosh_upward_test_data): Likewise.
54047 (cosh_test_upward): Likewise.
54048 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
54049 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
54050 (ctan_test_data): Likewise.
54051 (ctan_test): Use ALL_RM_TEST.
54052 (ctan_tonearest_test_data): Remove.
54053 (ctan_test_tonearest): Likewise.
54054 (ctan_towardzero_test_data): Likewise.
54055 (ctan_test_towardzero): Likewise.
54056 (ctan_downward_test_data): Likewise.
54057 (ctan_test_downward): Likewise.
54058 (ctan_upward_test_data): Likewise.
54059 (ctan_test_upward): Likewise.
54060 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
54061 (ctanh_test): Use ALL_RM_TEST.
54062 (ctanh_tonearest_test_data): Remove.
54063 (ctanh_test_tonearest): Likewise.
54064 (ctanh_towardzero_test_data): Likewise.
54065 (ctanh_test_towardzero): Likewise.
54066 (ctanh_downward_test_data): Likewise.
54067 (ctanh_test_downward): Likewise.
54068 (ctanh_upward_test_data): Likewise.
54069 (ctanh_test_upward): Likewise.
54070 (erf_test_data): Update call to AUTO_TESTS_f_f.
54071 (erfc_test_data): Likewise.
54072 (exp_test_data): Likewise.
54073 (exp_test): Use ALL_RM_TEST.
54074 (exp_tonearest_test_data): Remove.
54075 (exp_test_tonearest): Likewise.
54076 (exp_towardzero_test_data): Likewise.
54077 (exp_test_towardzero): Likewise.
54078 (exp_downward_test_data): Likewise.
54079 (exp_test_downward): Likewise.
54080 (exp_upward_test_data): Likewise.
54081 (exp_test_upward): Likewise.
54082 (exp10_test_data): Update call to AUTO_TESTS_f_f.
54083 (exp10_test): Use ALL_RM_TEST.
54084 (exp10_tonearest_test_data): Remove.
54085 (exp10_test_tonearest): Likewise.
54086 (exp10_towardzero_test_data): Likewise.
54087 (exp10_test_towardzero): Likewise.
54088 (exp10_downward_test_data): Likewise.
54089 (exp10_test_downward): Likewise.
54090 (exp10_upward_test_data): Likewise.
54091 (exp10_test_upward): Likewise.
54092 (exp2_test_data): Update call to AUTO_TESTS_f_f.
54093 (expm1_test_data): Likewise.
54094 (expm1_test): Use ALL_RM_TEST.
54095 (expm1_tonearest_test_data): Remove.
54096 (expm1_test_tonearest): Likewise.
54097 (expm1_towardzero_test_data): Likewise.
54098 (expm1_test_towardzero): Likewise.
54099 (expm1_downward_test_data): Likewise.
54100 (expm1_test_downward): Likewise.
54101 (expm1_upward_test_data): Likewise.
54102 (expm1_test_upward): Likewise.
54103 (fma_test_data): Update call to AUTO_TESTS_fff_f.
54104 (fma_test): Use ALL_RM_TEST.
54105 (fma_towardzero_test_data): Remove.
54106 (fma_test_towardzero): Likewise.
54107 (fma_downward_test_data): Likewise.
54108 (fma_test_downward): Likewise.
54109 (fma_upward_test_data): Likewise.
54110 (fma_test_upward): Likewise.
54111 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
54112 (j0_test_data): Update call to AUTO_TESTS_f_f.
54113 (j1_test_data): Likewise.
54114 (jn_test_data): Update call to AUTO_TESTS_if_f.
54115 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
54116 (log_test_data): Update call to AUTO_TESTS_f_f.
54117 (log10_test_data): Likewise.
54118 (log1p_test_data): Likewise.
54119 (log2_test_data): Likewise.
54120 (pow_test_data): Update call to AUTO_TESTS_ff_f.
54121 (pow_tonearest_test_data): Likewise.
54122 (sin_test_data): Update call to AUTO_TESTS_f_f.
54123 (sin_test): Use ALL_RM_TEST.
54124 (sin_tonearest_test_data): Remove.
54125 (sin_test_tonearest): Likewise.
54126 (sin_towardzero_test_data): Likewise.
54127 (sin_test_towardzero): Likewise.
54128 (sin_downward_test_data): Likewise.
54129 (sin_test_downward): Likewise.
54130 (sin_upward_test_data): Likewise.
54131 (sin_test_upward): Likewise.
54132 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
54133 (sinh_test_data): Update call to AUTO_TESTS_f_f.
54134 (sinh_test): Use ALL_RM_TEST.
54135 (sinh_tonearest_test_data): Remove.
54136 (sinh_test_tonearest): Likewise.
54137 (sinh_towardzero_test_data): Likewise.
54138 (sinh_test_towardzero): Likewise.
54139 (sinh_downward_test_data): Likewise.
54140 (sinh_test_downward): Likewise.
54141 (sinh_upward_test_data): Likewise.
54142 (sinh_test_upward): Likewise.
54143 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
54144 (sqrt_test): Use ALL_RM_TEST.
54145 (sqrt_tonearest_test_data): Remove.
54146 (sqrt_test_tonearest): Likewise.
54147 (sqrt_towardzero_test_data): Likewise.
54148 (sqrt_test_towardzero): Likewise.
54149 (sqrt_downward_test_data): Likewise.
54150 (sqrt_test_downward): Likewise.
54151 (sqrt_upward_test_data): Likewise.
54152 (sqrt_test_upward): Likewise.
54153 (tan_test_data): Update call to AUTO_TESTS_f_f.
54154 (tan_test): Use ALL_RM_TEST.
54155 (tan_tonearest_test_data): Remove.
54156 (tan_test_tonearest): Likewise.
54157 (tan_towardzero_test_data): Likewise.
54158 (tan_test_towardzero): Likewise.
54159 (tan_downward_test_data): Likewise.
54160 (tan_test_downward): Likewise.
54161 (tan_upward_test_data): Likewise.
54162 (tan_test_upward): Likewise.
54163 (tanh_test_data): Update call to AUTO_TESTS_f_f.
54164 (tgamma_test_data): Likewise.
54165 (y0_test_data): Likewise.
54166 (y1_test_data): Likewise.
54167 (yn_test_data): Update call to AUTO_TESTS_if_f.
54168 (main): Do not call removed functions.
54169
54170 2014-03-19 Joseph Myers <joseph@codesourcery.com>
54171
54172 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
54173 (ldexp_test_data): Remove.
54174 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
54175 scalbn_test_data.
54176 (scalb_test): Use ALL_RM_TEST.
54177
54178 2014-03-19 Andreas Schwab <schwab@suse.de>
54179
54180 * nscd/nscd.service: Also invalidate netgroup cache on reload.
54181
54182 2014-03-19 Joseph Myers <joseph@codesourcery.com>
54183
54184 [BZ #16649]
54185 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54186 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
54187 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
54188 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54189 (__ASSUME_PREADV): Undefine.
54190 (__ASSUME_PWRITEV): Likewise.
54191
54192 2014-03-18 Roland McGrath <roland@hack.frob.com>
54193
54194 * bits/mman-linux.h: Add comment about non-Linux use.
54195 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
54196 bits/mman-linux.h resting place.
54197
54198 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
54199 * bits/mman-linux.h: ... here.
54200
54201 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54202
54203 * conform/conformtest.pl: Add standard definition when calling C
54204 preprocessor on data files.
54205 (checknamespace): Remove unused variable.
54206
54207 2014-03-18 Joseph Myers <joseph@codesourcery.com>
54208
54209 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
54210 minus_oflow, plus_uflow and minus_uflow in expected results.
54211 * math/libm-test.inc (scalbn_test_data): Add more tests of
54212 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
54213 minus_uflow.
54214 (scalbn_test): Use ALL_RM_TEST.
54215 (scalbln_test_data): Add more tests of negative arguments. Use
54216 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
54217 (scalbln_test): Use ALL_RM_TEST.
54218
54219 2014-03-18 Roland McGrath <roland@hack.frob.com>
54220
54221 * scripts/abilist.awk: Ignore symbols marked with .hidden.
54222
54223 2014-03-18 Will Newton <will.newton@linaro.org>
54224
54225 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
54226 inaccurate comment.
54227
54228 2014-03-18 Joseph Myers <joseph@codesourcery.com>
54229
54230 * Makerules [!subdir] (check-abi): Exit with error status if a
54231 test failed.
54232
54233 2014-03-17 Joseph Myers <joseph@codesourcery.com>
54234
54235 * math/libm-test.inc (nearbyint_test_data): Include all tests used
54236 for rint. Include results for all rounding modes.
54237 (nearbyint_test): Use ALL_RM_TEST.
54238 (rint_test_data): Include all tests used for nearbyint.
54239
54240 2014-03-17 Will Newton <will.newton@linaro.org>
54241
54242 * nptl/sysdeps/pthread/pthread.h: Revert previous
54243 change.
54244
54245 * sysdeps/generic/ldsodefs.h: Revert previous
54246 change.
54247
54248 * libio/genops.c: Revert previous change.
54249 * libio/libioP.h: Likewise.
54250 * stdio-common/vfprintf.c: Likewise.
54251
54252 * sysdeps/generic/math_private.h: Revert previous
54253 change.
54254
54255 * sysdeps/generic/math_private.h: Check whether
54256 HAVE_RM_CTX is defined with #ifdef rather
54257 than #if.
54258
54259 * argp/argp-fmtstream.h: Check whether
54260 __STRICT_ANSI__ is defined with #ifdef rather
54261 than #if.
54262 * argp/argp.h: Likewise.
54263
54264 * libio/genops.c: Check whether
54265 _IO_JUMPS_OFFSET is defined with #ifdef rather
54266 than #if.
54267 * libio/libioP.h: Likewise.
54268 * stdio-common/vfprintf.c: Likewise.
54269
54270 * sysdeps/generic/ldsodefs.h: Check whether
54271 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
54272 than #if.
54273
54274 * nptl/sysdeps/pthread/pthread.h: Check
54275 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
54276 its value.
54277
54278 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
54279
54280 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
54281 setting O_APPEND.
54282 * libio/tst-ftell-active-handler.c (do_append_test): Add a
54283 test case.
54284
54285 [BZ #16680]
54286 * libio/fileops.c (_IO_file_open): Seek to end of file but
54287 don't cache the offset.
54288 (get_file_offset): Remove function.
54289 (do_ftell): Use cached offset when available.
54290 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
54291 don't cache the offset.
54292 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
54293 case.
54294 (do_one_test): Call it.
54295 (do_ftell_test): Fix up expected old offset for a+ mode.
54296 * libio/wfileops.c (do_ftell_wide): Used cached offset when
54297 available.
54298
54299 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
54300 up test status with function return status.
54301 (do_write_test): Likewise.
54302 (do_append_test): Likewise.
54303
54304 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
54305 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
54306 Remove.
54307
54308 2014-03-17 Joseph Myers <joseph@codesourcery.com>
54309
54310 * math/gen-libm-test.pl (parse_args): Handle results specified for
54311 each rounding mode separately.
54312 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
54313 tests and results from lrint_tonearest_test_data,
54314 lrint_towardzero_test_data, lrint_downward_test_data and
54315 lrint_upward_test_data.
54316 (lrint_test): Use ALL_RM_TEST.
54317 (lrint_tonearest_test_data): Remove.
54318 (lrint_test_tonearest): Likewise.
54319 (lrint_towardzero_test_data): Likewise.
54320 (lrint_test_towardzero): Likewise.
54321 (lrint_downward_test_data): Likewise.
54322 (lrint_test_downward): Likewise.
54323 (lrint_upward_test_data): Likewise.
54324 (lrint_test_upward): Likewise.
54325 (llrint_test_data): Merge in per-rounding-mode tests and results
54326 from llrint_tonearest_test_data, llrint_towardzero_test_data,
54327 llrint_downward_test_data and llrint_upward_test_data.
54328 (llrint_test): Use ALL_RM_TEST.
54329 (llrint_tonearest_test_data): Remove.
54330 (llrint_test_tonearest): Likewise.
54331 (llrint_towardzero_test_data): Likewise.
54332 (llrint_test_towardzero): Likewise.
54333 (llrint_downward_test_data): Likewise.
54334 (llrint_test_downward): Likewise.
54335 (llrint_upward_test_data): Likewise.
54336 (llrint_test_upward): Likewise.
54337 (rint_test_data): Merge in per-rounding-mode tests and results
54338 from rint_tonearest_test_data, rint_towardzero_test_data,
54339 rint_downward_test_data and rint_upward_test_data. Add
54340 per-rounding-mode results for tests not in those arrays.
54341 (rint_test): Use ALL_RM_TEST.
54342 (rint_tonearest_test_data): Remove.
54343 (rint_test_tonearest): Likewise.
54344 (rint_towardzero_test_data): Likewise.
54345 (rint_test_towardzero): Likewise.
54346 (rint_downward_test_data): Likewise.
54347 (rint_test_downward): Likewise.
54348 (rint_upward_test_data): Likewise.
54349 (rint_test_upward): Likewise.
54350 (main): Don't call removed functions.
54351
54352 2014-03-14 Roland McGrath <roland@hack.frob.com>
54353
54354 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
54355 "Compiled on ..." crapola. It is anti-useful.
54356
54357 2014-03-14 Joseph Myers <joseph@codesourcery.com>
54358
54359 * scripts/evaluate-test.sh: Handle fourth argument to determine
54360 whether test run should stop on failure.
54361 * Makeconfig (stop-on-test-failure): New variable.
54362 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
54363 $(stop-on-test-failure).
54364 * Makefile (tests): Give a summary of results from testing and
54365 exit with failure status if they include an ERROR or FAIL.
54366 (xtests): Likewise.
54367 * manual/install.texi (Configuring and compiling): Mention
54368 stop-on-test-failure=y.
54369 * INSTALL: Regenerated.
54370
54371 2014-03-14 Roland McGrath <roland@hack.frob.com>
54372
54373 * scripts/versionlist.awk: New file.
54374 * Makerules [$(build-shared) = yes]
54375 (postclean-generated): Add Versions.def, not Versions.def.v and
54376 Versions.def.v.i.
54377 ($(common-objpfx)Versions.def.v.i): Target removed.
54378 ($(common-objpfx)Versions.def): New target.
54379 ($(common-objpfx)Versions.all): Depend on that rather that
54380 $(common-objpfx)Versions.def.v.
54381 * Versions.def: File removed.
54382
54383 * Makeconfig (+gccwarn): Add -Wundef.
54384 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
54385 a dl-sysdep.h breaking its contract.
54386 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
54387 * include/stackinfo.h: New file.
54388 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
54389 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
54390 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
54391 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
54392 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
54393 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
54394 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54395 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54396 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54397 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54398 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54399 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
54400 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54401 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54402 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54403
54404 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54405
54406 [BZ #16707]
54407 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
54408 implementation.
54409 * math/libm-test.inc (round_test_data): Add more tests.
54410
54411 [BZ #16706]
54412 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
54413 implementation.
54414 * math/libm-test.inc (nearbyint_test_data): Add more tests.
54415
54416 [BZ #16701]
54417 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
54418 implementation.
54419 * math/libm-test.inc (ceil_test_data): Add more tests.
54420
54421 * math/libm-test.inc (trunc_test_data): Add more tests related to
54422 BZ#16414.
54423
54424 2014-03-14 Roland McGrath <roland@hack.frob.com>
54425
54426 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
54427 with #if rather than #ifdef.
54428 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
54429
54430 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
54431
54432 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
54433 first. Disable AVX-512 GCC support if assembler doesn't support
54434 it.
54435 * sysdeps/x86_64/configure: Regenerated.
54436
54437 2014-03-13 Carlos O'Donell <carlos@redhat.com>
54438
54439 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
54440 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
54441 (__old_pthread_attr_setstack): Likewise.
54442 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
54443 [!_STACK_GROWS_DOWN]: Likewise.
54444
54445 2014-03-13 Mike Frysinger <vapier@gentoo.org>
54446
54447 * config.make.in (have-bash2): Delete.
54448 * configure.ac (libc_cv_have_bash2): Delete.
54449 * configure: Regenerate.
54450 * elf/Makefile (common-ldd-rewrite): Rename to ...
54451 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
54452 (sh-ldd-rewrite): Delete.
54453 (bash-ldd-rewrite): Delete.
54454 (have-bash2): Delete checks.
54455 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
54456 ldd-rewrite.
54457
54458 * config.make.in (have-ksh): Delete.
54459 (KSH): Delete.
54460 * configure.ac (libc_cv_have_ksh): Delete.
54461 * configure: Regenerate.
54462
54463 * elf/Makefile: Delete $(have-ksh) check.
54464 ($(objpfx)sotruss): Change KSH to BASH.
54465 * elf/sotruss.ksh: Rename to ...
54466 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
54467 function style to match POSIX. Drop ksh vim mode setting.
54468
54469 * manual/time.texi (Specifying the Time Zone with TZ): Change
54470 Tuesday to Thursday.
54471
54472 * debug/tst-longjmp_chk2.c: Update header comment.
54473 (stackoverflow_handler): Add comment. Call assert on pass value.
54474
54475 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
54476
54477 [BZ #16194]
54478 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
54479 (HAVE_AVX512_ASM_SUPPORT): Likewise.
54480 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
54481 (La_x86_64_vector): Add zmm.
54482 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
54483 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
54484 ($(objpfx)tst-audit10): New target.
54485 ($(objpfx)tst-audit10.out): Likewise.
54486 (tst-audit10-ENV): New.
54487 (AVX512-CFLAGS): Likewise.
54488 (CFLAGS-tst-audit10.c): Likewise.
54489 (CFLAGS-tst-auditmod10a.c): Likewise.
54490 (CFLAGS-tst-auditmod10b.c): Likewise.
54491 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
54492 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
54493 * sysdeps/x86_64/configure: Regenerated.
54494 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
54495 AVX-512 zmm register support.
54496 (_dl_x86_64_save_sse): Likewise.
54497 (_dl_x86_64_restore_sse): Likewise.
54498 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
54499 size vector registers.
54500 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
54501 (ZMM_SIZE): Likewise.
54502 * sysdeps/x86_64/tst-audit10.c: New file.
54503 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
54504 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
54505
54506 2014-03-13 Roland McGrath <roland@hack.frob.com>
54507
54508 * configure.ac (HAVE_EHDR_START): New check.
54509 * configure: Regenerated.
54510 * config.h.in (HAVE_EHDR_START): New #undef.
54511 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
54512 assuming the lowest-addressed segment maps the start of the file.
54513
54514 2014-03-13 Joseph Myers <joseph@codesourcery.com>
54515
54516 * INSTALL: Regenerated.
54517
54518 2014-03-13 Will Newton <will.newton@linaro.org>
54519
54520 * manual/setjmp.texi (System V contexts): Improve
54521 clarity and grammar of documentation.
54522
54523 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
54524
54525 [BZ #16381]
54526 * elf/Makefile (tests): Add tst-pie2.
54527 (tests-pie): Add tst-pie2.
54528 * elf/tst-pie2.c: New file.
54529 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
54530 for ET_EXEC.
54531 * elf/rtld.c (map_doit): Load executable as lt_executable.
54532 (dl_main): Likewise.
54533
54534 2014-03-12 Joseph Myers <joseph@codesourcery.com>
54535
54536 [BZ #16642]
54537 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54538 (__ASSUME_PSELECT): Undefine.
54539
54540 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54541
54542 [BZ #16689]
54543 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
54544 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
54545 static build.
54546 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
54547 selector for static builds.
54548
54549 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
54550
54551 [BZ #16695]
54552 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
54553 key in the buffer.
54554
54555 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54556
54557 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
54558 IFUNC selector for static builds.
54559
54560 2014-03-11 Joseph Myers <joseph@codesourcery.com>
54561
54562 * sysdeps/mips/math_private.h [__mips_hard_float]
54563 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
54564 libc_feresetround_mips_ctx.
54565 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
54566 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
54567 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
54568
54569 [BZ #16677]
54570 * math/s_nextafter.c (__nextafter): Do not return value from
54571 overflowing computation.
54572 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
54573 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
54574 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
54575 Likewise.
54576 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
54577 Likewise.
54578 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
54579 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
54580
54581 2014-03-11 Roland McGrath <roland@hack.frob.com>
54582
54583 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
54584 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
54585 Move sfi_sp use from the load-multiple (that no longer sets sp) to
54586 the new mov targetting sp.
54587
54588 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54589
54590 [BZ #16683]
54591 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
54592 Define it for static builds as well.
54593 (NO_BZERO_IMPL): Likewise.
54594
54595 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
54596
54597 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
54598 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
54599 multiarch strspn for PPC64.
54600 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
54601 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
54602 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54603 (__libc_ifunc_impl_list): Likewise.
54604 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
54605 multiarch optimizations
54606 * string/strspn.c (strspn): Using macro to redefine symbol name.
54607
54608 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
54609 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54610
54611 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
54612 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
54613 multiarch strncat for PPC64.
54614 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
54615 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
54616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54617 (__libc_ifunc_impl_list): Likewise.
54618 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
54619 multiarch optimizations
54620
54621 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54622
54623 [BZ #16639]
54624 * nscd/nscd.service: Make service type forking.
54625
54626 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54627
54628 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
54629 sign in non default rounding modes.
54630 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
54631
54632 2014-03-08 Joseph Myers <joseph@codesourcery.com>
54633
54634 * math/libm-test.inc (ALL_RM_TEST): New macro.
54635 (ceil_test): Use ALL_RM_TEST.
54636 (cimag_test): Likewise.
54637 (conj_test): Likewise.
54638 (copysign_test): Likewise.
54639 (cproj_test): Likewise.
54640 (creal_test): Likewise.
54641 (fabs_test): Likewise.
54642 (floor_test): Likewise.
54643 (fmax_test): Likewise.
54644 (fmin_test): Likewise.
54645 (fmod_test): Likewise.
54646 (fpclassify_test): Likewise.
54647 (frexp_test): Likewise.
54648 (ilogb_test): Likewise.
54649 (isfinite_test): Likewise.
54650 (finite_test): Likewise.
54651 (isgreater_test): Likewise.
54652 (isgreaterequal_test): Likewise.
54653 (isinf_test): Likewise.
54654 (isless_test): Likewise.
54655 (islessequal_test): Likewise.
54656 (islessgreater_test): Likewise.
54657 (isnan_test): Likewise.
54658 (isnormal_test): Likewise.
54659 (issignaling_test): Likewise.
54660 (isunordered_test): Likewise.
54661 (logb_test): Likewise.
54662 (logb_downward_test_data): Remove.
54663 (logb_test_downward): Likewise.
54664 (lround_test): Use ALL_RM_TEST.
54665 (llround_test): Likewise.
54666 (modf_test): Likewise.
54667 (nexttoward_test): Likewise.
54668 (remainder_test): Likewise.
54669 (drem_test): Likewise.
54670 (remainder_tonearest_test_data): Likewise.
54671 (remainder_test_tonearest): Likewise.
54672 (drem_test_tonearest): Likewise.
54673 (remainder_towardzero_test_data): Likewise.
54674 (remainder_test_towardzero): Likewise.
54675 (drem_test_towardzero): Likewise.
54676 (remainder_downward_test_data): Likewise.
54677 (remainder_test_downward): Likewise.
54678 (drem_test_downward): Likewise.
54679 (remainder_upward_test_data): Likewise.
54680 (remainder_test_upward): Likewise.
54681 (drem_test_upward): Likewise.
54682 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
54683 (round_test): Use ALL_RM_TEST.
54684 (signbit_test): Likewise.
54685 (trunc_test): Likewise.
54686 (significand_test): Likewise.
54687 (main): Don't call removed functions.
54688
54689 2014-03-07 Joseph Myers <joseph@codesourcery.com>
54690
54691 [BZ #16674]
54692 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
54693 || __USE_XOPEN2K8].
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 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54715 (TRAP_TRACE): Likewise.
54716 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54717 __USE_XOPEN2K8].
54718 (CLD_KILLED): Likewise.
54719 (CLD_DUMPED): Likewise.
54720 (CLD_TRAPPED): Likewise.
54721 (CLD_STOPPED): Likewise.
54722 (CLD_CONTINUED): Likewise.
54723 (POLL_IN): Likewise.
54724 (POLL_OUT): Likewise.
54725 (POLL_MSG): Likewise.
54726 (POLL_ERR): Likewise.
54727 (POLL_PRI): Likewise.
54728 (POLL_HUP): Likewise.
54729 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
54730 Likewise.
54731 (ILL_ILLOPN): Likewise.
54732 (ILL_ILLADR): Likewise.
54733 (ILL_ILLTRP): Likewise.
54734 (ILL_PRVOPC): Likewise.
54735 (ILL_PRVREG): Likewise.
54736 (ILL_COPROC): Likewise.
54737 (ILL_BADSTK): Likewise.
54738 (FPE_INTDIV): Likewise.
54739 (FPE_INTOVF): Likewise.
54740 (FPE_FLTDIV): Likewise.
54741 (FPE_FLTOVF): Likewise.
54742 (FPE_FLTUND): Likewise.
54743 (FPE_FLTRES): Likewise.
54744 (FPE_FLTINV): Likewise.
54745 (FPE_FLTSUB): Likewise.
54746 (SEGV_MAPERR): Likewise.
54747 (SEGV_ACCERR): Likewise.
54748 (BUS_ADRALN): Likewise.
54749 (BUS_ADRERR): Likewise.
54750 (BUS_OBJERR): Likewise.
54751 (BUS_MCEERR_AR): Likewise.
54752 (BUS_MCEERR_AO): Likewise.
54753 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54754 (TRAP_TRACE): Likewise.
54755 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54756 __USE_XOPEN2K8].
54757 (CLD_KILLED): Likewise.
54758 (CLD_DUMPED): Likewise.
54759 (CLD_TRAPPED): Likewise.
54760 (CLD_STOPPED): Likewise.
54761 (CLD_CONTINUED): Likewise.
54762 (POLL_IN): Likewise.
54763 (POLL_OUT): Likewise.
54764 (POLL_MSG): Likewise.
54765 (POLL_ERR): Likewise.
54766 (POLL_PRI): Likewise.
54767 (POLL_HUP): Likewise.
54768 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
54769 (ILL_ILLOPN): Likewise.
54770 (ILL_ILLADR): Likewise.
54771 (ILL_ILLTRP): Likewise.
54772 (ILL_PRVOPC): Likewise.
54773 (ILL_PRVREG): Likewise.
54774 (ILL_COPROC): Likewise.
54775 (ILL_BADSTK): Likewise.
54776 (FPE_INTDIV): Likewise.
54777 (FPE_INTOVF): Likewise.
54778 (FPE_FLTDIV): Likewise.
54779 (FPE_FLTOVF): Likewise.
54780 (FPE_FLTUND): Likewise.
54781 (FPE_FLTRES): Likewise.
54782 (FPE_FLTINV): Likewise.
54783 (FPE_FLTSUB): Likewise.
54784 (SEGV_MAPERR): Likewise.
54785 (SEGV_ACCERR): Likewise.
54786 (BUS_ADRALN): Likewise.
54787 (BUS_ADRERR): Likewise.
54788 (BUS_OBJERR): Likewise.
54789 (BUS_MCEERR_AR): Likewise.
54790 (BUS_MCEERR_AO): Likewise.
54791 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54792 (TRAP_TRACE): Likewise.
54793 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54794 __USE_XOPEN2K8].
54795 (CLD_KILLED): Likewise.
54796 (CLD_DUMPED): Likewise.
54797 (CLD_TRAPPED): Likewise.
54798 (CLD_STOPPED): Likewise.
54799 (CLD_CONTINUED): Likewise.
54800 (POLL_IN): Likewise.
54801 (POLL_OUT): Likewise.
54802 (POLL_MSG): Likewise.
54803 (POLL_ERR): Likewise.
54804 (POLL_PRI): Likewise.
54805 (POLL_HUP): Likewise.
54806 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
54807 Likewise.
54808 (ILL_ILLOPN): Likewise.
54809 (ILL_ILLADR): Likewise.
54810 (ILL_ILLTRP): Likewise.
54811 (ILL_PRVOPC): Likewise.
54812 (ILL_PRVREG): Likewise.
54813 (ILL_COPROC): Likewise.
54814 (ILL_BADSTK): Likewise.
54815 (ILL_BADIADDR): Likewise.
54816 (ILL_BREAK): Likewise.
54817 (FPE_INTDIV): Likewise.
54818 (FPE_INTOVF): Likewise.
54819 (FPE_FLTDIV): Likewise.
54820 (FPE_FLTOVF): Likewise.
54821 (FPE_FLTUND): Likewise.
54822 (FPE_FLTRES): Likewise.
54823 (FPE_FLTINV): Likewise.
54824 (FPE_FLTSUB): Likewise.
54825 (FPE_DECOVF): Likewise.
54826 (FPE_DECDIV): Likewise.
54827 (FPE_DECERR): Likewise.
54828 (FPE_INVASC): Likewise.
54829 (FPE_INVDEC): Likewise.
54830 (SEGV_MAPERR): Likewise.
54831 (SEGV_ACCERR): Likewise.
54832 (SEGV_PSTKOVF): Likewise.
54833 (BUS_ADRALN): Likewise.
54834 (BUS_ADRERR): Likewise.
54835 (BUS_OBJERR): Likewise.
54836 (BUS_MCEERR_AR): Likewise.
54837 (BUS_MCEERR_AO): Likewise.
54838 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54839 (TRAP_TRACE): Likewise.
54840 (TRAP_BRANCH): Likewise.
54841 (TRAP_HWBKPT): Likewise.
54842 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54843 __USE_XOPEN2K8].
54844 (CLD_KILLED): Likewise.
54845 (CLD_DUMPED): Likewise.
54846 (CLD_TRAPPED): Likewise.
54847 (CLD_STOPPED): Likewise.
54848 (CLD_CONTINUED): Likewise.
54849 (POLL_IN): Likewise.
54850 (POLL_OUT): Likewise.
54851 (POLL_MSG): Likewise.
54852 (POLL_ERR): Likewise.
54853 (POLL_PRI): Likewise.
54854 (POLL_HUP): Likewise.
54855 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
54856 (ILL_ILLOPN): Likewise.
54857 (ILL_ILLADR): Likewise.
54858 (ILL_ILLTRP): Likewise.
54859 (ILL_PRVOPC): Likewise.
54860 (ILL_PRVREG): Likewise.
54861 (ILL_COPROC): Likewise.
54862 (ILL_BADSTK): Likewise.
54863 (FPE_INTDIV): Likewise.
54864 (FPE_INTOVF): Likewise.
54865 (FPE_FLTDIV): Likewise.
54866 (FPE_FLTOVF): Likewise.
54867 (FPE_FLTUND): Likewise.
54868 (FPE_FLTRES): Likewise.
54869 (FPE_FLTINV): Likewise.
54870 (FPE_FLTSUB): Likewise.
54871 (SEGV_MAPERR): Likewise.
54872 (SEGV_ACCERR): Likewise.
54873 (BUS_ADRALN): Likewise.
54874 (BUS_ADRERR): Likewise.
54875 (BUS_OBJERR): Likewise.
54876 (BUS_MCEERR_AR): Likewise.
54877 (BUS_MCEERR_AO): Likewise.
54878 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54879 (TRAP_TRACE): Likewise.
54880 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54881 __USE_XOPEN2K8].
54882 (CLD_KILLED): Likewise.
54883 (CLD_DUMPED): Likewise.
54884 (CLD_TRAPPED): Likewise.
54885 (CLD_STOPPED): Likewise.
54886 (CLD_CONTINUED): Likewise.
54887 (POLL_IN): Likewise.
54888 (POLL_OUT): Likewise.
54889 (POLL_MSG): Likewise.
54890 (POLL_ERR): Likewise.
54891 (POLL_PRI): Likewise.
54892 (POLL_HUP): Likewise.
54893 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
54894 (ILL_ILLOPN): Likewise.
54895 (ILL_ILLADR): Likewise.
54896 (ILL_ILLTRP): Likewise.
54897 (ILL_PRVOPC): Likewise.
54898 (ILL_PRVREG): Likewise.
54899 (ILL_COPROC): Likewise.
54900 (ILL_BADSTK): Likewise.
54901 (FPE_INTDIV): Likewise.
54902 (FPE_INTOVF): Likewise.
54903 (FPE_FLTDIV): Likewise.
54904 (FPE_FLTOVF): Likewise.
54905 (FPE_FLTUND): Likewise.
54906 (FPE_FLTRES): Likewise.
54907 (FPE_FLTINV): Likewise.
54908 (FPE_FLTSUB): Likewise.
54909 (SEGV_MAPERR): Likewise.
54910 (SEGV_ACCERR): Likewise.
54911 (BUS_ADRALN): Likewise.
54912 (BUS_ADRERR): Likewise.
54913 (BUS_OBJERR): Likewise.
54914 (BUS_MCEERR_AR): Likewise.
54915 (BUS_MCEERR_AO): Likewise.
54916 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54917 (TRAP_TRACE): Likewise.
54918 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54919 __USE_XOPEN2K8].
54920 (CLD_KILLED): Likewise.
54921 (CLD_DUMPED): Likewise.
54922 (CLD_TRAPPED): Likewise.
54923 (CLD_STOPPED): Likewise.
54924 (CLD_CONTINUED): Likewise.
54925 (POLL_IN): Likewise.
54926 (POLL_OUT): Likewise.
54927 (POLL_MSG): Likewise.
54928 (POLL_ERR): Likewise.
54929 (POLL_PRI): Likewise.
54930 (POLL_HUP): Likewise.
54931 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
54932 (ILL_ILLOPN): Likewise.
54933 (ILL_ILLADR): Likewise.
54934 (ILL_ILLTRP): Likewise.
54935 (ILL_PRVOPC): Likewise.
54936 (ILL_PRVREG): Likewise.
54937 (ILL_COPROC): Likewise.
54938 (ILL_BADSTK): Likewise.
54939 (FPE_INTDIV): Likewise.
54940 (FPE_INTOVF): Likewise.
54941 (FPE_FLTDIV): Likewise.
54942 (FPE_FLTOVF): Likewise.
54943 (FPE_FLTUND): Likewise.
54944 (FPE_FLTRES): Likewise.
54945 (FPE_FLTINV): Likewise.
54946 (FPE_FLTSUB): Likewise.
54947 (SEGV_MAPERR): Likewise.
54948 (SEGV_ACCERR): Likewise.
54949 (BUS_ADRALN): Likewise.
54950 (BUS_ADRERR): Likewise.
54951 (BUS_OBJERR): Likewise.
54952 (BUS_MCEERR_AR): Likewise.
54953 (BUS_MCEERR_AO): Likewise.
54954 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54955 (TRAP_TRACE): Likewise.
54956 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54957 __USE_XOPEN2K8].
54958 (CLD_KILLED): Likewise.
54959 (CLD_DUMPED): Likewise.
54960 (CLD_TRAPPED): Likewise.
54961 (CLD_STOPPED): Likewise.
54962 (CLD_CONTINUED): Likewise.
54963 (POLL_IN): Likewise.
54964 (POLL_OUT): Likewise.
54965 (POLL_MSG): Likewise.
54966 (POLL_ERR): Likewise.
54967 (POLL_PRI): Likewise.
54968 (POLL_HUP): Likewise.
54969 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
54970 (ILL_ILLOPN): Likewise.
54971 (ILL_ILLADR): Likewise.
54972 (ILL_ILLTRP): Likewise.
54973 (ILL_PRVOPC): Likewise.
54974 (ILL_PRVREG): Likewise.
54975 (ILL_COPROC): Likewise.
54976 (ILL_BADSTK): Likewise.
54977 (ILL_DBLFLT): Likewise.
54978 (ILL_HARDWALL): Likewise.
54979 (FPE_INTDIV): Likewise.
54980 (FPE_INTOVF): Likewise.
54981 (FPE_FLTDIV): Likewise.
54982 (FPE_FLTOVF): Likewise.
54983 (FPE_FLTUND): Likewise.
54984 (FPE_FLTRES): Likewise.
54985 (FPE_FLTINV): Likewise.
54986 (FPE_FLTSUB): Likewise.
54987 (SEGV_MAPERR): Likewise.
54988 (SEGV_ACCERR): Likewise.
54989 (BUS_ADRALN): Likewise.
54990 (BUS_ADRERR): Likewise.
54991 (BUS_OBJERR): Likewise.
54992 (BUS_MCEERR_AR): Likewise.
54993 (BUS_MCEERR_AO): Likewise.
54994 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54995 (TRAP_TRACE): Likewise.
54996 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54997 __USE_XOPEN2K8].
54998 (CLD_KILLED): Likewise.
54999 (CLD_DUMPED): Likewise.
55000 (CLD_TRAPPED): Likewise.
55001 (CLD_STOPPED): Likewise.
55002 (CLD_CONTINUED): Likewise.
55003 (POLL_IN): Likewise.
55004 (POLL_OUT): Likewise.
55005 (POLL_MSG): Likewise.
55006 (POLL_ERR): Likewise.
55007 (POLL_PRI): Likewise.
55008 (POLL_HUP): Likewise.
55009 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
55010 (ILL_ILLOPN): Likewise.
55011 (ILL_ILLADR): Likewise.
55012 (ILL_ILLTRP): Likewise.
55013 (ILL_PRVOPC): Likewise.
55014 (ILL_PRVREG): Likewise.
55015 (ILL_COPROC): Likewise.
55016 (ILL_BADSTK): Likewise.
55017 (FPE_INTDIV): Likewise.
55018 (FPE_INTOVF): Likewise.
55019 (FPE_FLTDIV): Likewise.
55020 (FPE_FLTOVF): Likewise.
55021 (FPE_FLTUND): Likewise.
55022 (FPE_FLTRES): Likewise.
55023 (FPE_FLTINV): Likewise.
55024 (FPE_FLTSUB): Likewise.
55025 (SEGV_MAPERR): Likewise.
55026 (SEGV_ACCERR): Likewise.
55027 (BUS_ADRALN): Likewise.
55028 (BUS_ADRERR): Likewise.
55029 (BUS_OBJERR): Likewise.
55030 (BUS_MCEERR_AR): Likewise.
55031 (BUS_MCEERR_AO): Likewise.
55032 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55033 (TRAP_TRACE): Likewise.
55034 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55035 __USE_XOPEN2K8].
55036 (CLD_KILLED): Likewise.
55037 (CLD_DUMPED): Likewise.
55038 (CLD_TRAPPED): Likewise.
55039 (CLD_STOPPED): Likewise.
55040 (CLD_CONTINUED): Likewise.
55041 (POLL_IN): Likewise.
55042 (POLL_OUT): Likewise.
55043 (POLL_MSG): Likewise.
55044 (POLL_ERR): Likewise.
55045 (POLL_PRI): Likewise.
55046 (POLL_HUP): Likewise.
55047 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
55048 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55049
55050 [BZ #16670]
55051 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
55052 before #include of <time.h>.
55053 [!__USE_XOPEN2K] (__need_timespec): Likewise.
55054 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
55055 (test-xfail-UNIX98/sched.h/conform): Likewise.
55056
55057 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
55058
55059 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
55060 error absence of trapping exception support.
55061 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
55062
55063 2014-03-07 Joseph Myers <joseph@codesourcery.com>
55064
55065 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
55066 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
55067 * timezone/Makefile (testdata): Move definition above include of
55068 Rules.
55069 (test-zones): New variable.
55070 (tests-special): Add zone files.
55071 (build-testdata): Use $(evaluate-test).
55072
55073 * elf/Makefile (tests-special): Rename tests to end with .out.
55074 ($(objpfx)noload-mem): Likewise.
55075 ($(objpfx)tst-leaks1-mem): Likewise.
55076 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
55077 * iconv/Makefile (xtests-special): Change test-iconvconfig to
55078 $(objpfx)test-iconvconfig.out.
55079 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
55080 set -e inside subshell and redirect output to file.
55081 * iconvdata/Makefile (generated): Rename tests to end with .out.
55082 Correct type.
55083 (tests-special): Rename tests to end with .out.
55084 ($(objpfx)mtrace-tst-loading): Likewise.
55085 * intl/Makefile (generated): Likewise.
55086 (tests-special): Likewise.
55087 ($(objpfx)mtrace-tst-gettext): Likewise.
55088 * misc/Makefile (generated): Likewise.
55089 (tests-special): Likewise.
55090 ($(objpfx)tst-error1-mem): Likewise.
55091 * nptl/Makefile (tests-special): Likewise.
55092 ($(objpfx)tst-stack3-mem): Likewise.
55093 (generated): Likewise.
55094 * posix/Makefile (generated): Likewise.
55095 (tests-special): Likewise.
55096 (xtests-special): Likewise.
55097 ($(objpfx)tst-fnmatch-mem): Likewise.
55098 ($(objpfx)bug-regex2-mem): Likewise.
55099 ($(objpfx)bug-regex14-mem): Likewise.
55100 ($(objpfx)bug-regex21-mem): Likewise.
55101 ($(objpfx)bug-regex31-mem): Likewise.
55102 ($(objpfx)tst-vfork3-mem): Likewise.
55103 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
55104 ($(objpfx)tst-pcre-mem): Likewise.
55105 ($(objpfx)tst-boost-mem): Likewise.
55106 ($(objpfx)bug-ga2-mem): Likewise.
55107 ($(objpfx)bug-glob2-mem): Likewise.
55108 * resolv/Makefile (generate): Likewise.
55109 (tests-special): Likewise.
55110 (xtests-special): Likewise.
55111 (generated): Likewise.
55112 ($(objpfx)mtrace-tst-leaks): Likewise.
55113 ($(objpfx)mtrace-tst-leaks2): Likewise.
55114
55115 * scripts/merge-test-results.sh: New file.
55116 * Makefile (tests-special-notdir): New variable.
55117 (tests): Run merge-test-results.sh.
55118 (xtests): Likewise.
55119 * Rules (tests-special-notdir): New variable.
55120 (xtests-special-notdir): Likewise.
55121 (tests): Run merge-test-results.sh
55122 (xtests): Likewise.
55123
55124 * Makeconfig (test-xfail-name): New variable.
55125 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
55126 compute variable name for expected failures.
55127 * conform/Makefile (conformtest-headers-data): New variable.
55128 (conformtest-standards): Likewise.
55129 (conformtest-headers-ISO): Likewise.
55130 (conformtest-headers-ISO99): Likewise.
55131 (conformtest-headers-ISO11): Likewise.
55132 (conformtest-headers-POSIX): Likewise.
55133 (conformtest-headers-XPG3): Likewise.
55134 (conformtest-headers-XPG4): Likewise.
55135 (conformtest-headers-UNIX98): Likewise.
55136 (conformtest-headers-XOPEN2K): Likewise.
55137 (conformtest-headers-POSIX2008): Likewise.
55138 (conformtest-headers-XOPEN2K8): Likewise.
55139 (conformtest-header-list-base): Likewise.
55140 (conformtest-header-list-tests): Likewise.
55141 (conformtest-header-base): Likewise.
55142 (conformtest-header-tests): Likewise.
55143 (tests-special): Add $(conformtest-header-list-tests). If
55144 [$(fast-check) && !$(cross-compiling)], add
55145 $(conformtest-header-tests) instead of
55146 $(objpfx)run-conformtest.out.
55147 (generated): Add $(conformtest-header-list-base). If
55148 [$(fast-check) && !$(cross-compiling)], add
55149 $(conformtest-header-base). Remove previous setting.
55150 ($(conformtest-header-list-tests)): New target.
55151 (test-xfail-run-conformtest): Remove variable.
55152 ($(objpfx)run-conformtest.out): Remove target.
55153 (test-xfail-ISO11/complex.h/conform): New variable.
55154 (test-xfail-ISO11/stdalign.h/conform): Likewise.
55155 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
55156 (test-xfail-XPG3/varargs.h/conform): Likewise.
55157 (test-xfail-XPG4/varargs.h/conform): Likewise.
55158 (test-xfail-UNIX98/varargs.h/conform): Likewise.
55159 (test-xfail-XPG4/ndbm.h/conform): Likewise.
55160 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
55161 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
55162 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
55163 (test-xfail-XPG3/fcntl.h/conform): Likewise.
55164 (test-xfail-XPG3/ftw.h/conform): Likewise.
55165 (test-xfail-XPG3/grp.h/conform): Likewise.
55166 (test-xfail-XPG3/langinfo.h/conform): Likewise.
55167 (test-xfail-XPG3/limits.h/conform): Likewise.
55168 (test-xfail-XPG3/pwd.h/conform): Likewise.
55169 (test-xfail-XPG3/search.h/conform): Likewise.
55170 (test-xfail-XPG3/signal.h/conform): Likewise.
55171 (test-xfail-XPG3/stdio.h/conform): Likewise.
55172 (test-xfail-XPG3/stdlib.h/conform): Likewise.
55173 (test-xfail-XPG3/string.h/conform): Likewise.
55174 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
55175 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
55176 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
55177 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
55178 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
55179 (test-xfail-XPG3/sys/types.h/conform): Likewise.
55180 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
55181 (test-xfail-XPG3/termios.h/conform): Likewise.
55182 (test-xfail-XPG3/time.h/conform): Likewise.
55183 (test-xfail-XPG3/unistd.h/conform): Likewise.
55184 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
55185 (test-xfail-XPG4/fcntl.h/conform): Likewise.
55186 (test-xfail-XPG4/langinfo.h/conform): Likewise.
55187 (test-xfail-XPG4/netdb.h/conform): Likewise.
55188 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
55189 (test-xfail-XPG4/signal.h/conform): Likewise.
55190 (test-xfail-XPG4/stdio.h/conform): Likewise.
55191 (test-xfail-XPG4/stdlib.h/conform): Likewise.
55192 (test-xfail-XPG4/stropts.h/conform): Likewise.
55193 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
55194 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
55195 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
55196 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
55197 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
55198 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
55199 (test-xfail-XPG4/sys/time.h/conform): Likewise.
55200 (test-xfail-XPG4/sys/types.h/conform): Likewise.
55201 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
55202 (test-xfail-XPG4/termios.h/conform): Likewise.
55203 (test-xfail-XPG4/ucontext.h/conform): Likewise.
55204 (test-xfail-XPG4/unistd.h/conform): Likewise.
55205 (test-xfail-XPG4/utmpx.h/conform): Likewise.
55206 (test-xfail-POSIX/sched.h/conform): Likewise.
55207 (test-xfail-POSIX/signal.h/conform): Likewise.
55208 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55209 (test-xfail-POSIX/tar.h/conform): Likewise.
55210 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
55211 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
55212 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
55213 (test-xfail-UNIX98/netdb.h/conform): Likewise.
55214 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
55215 (test-xfail-UNIX98/sched.h/conform): Likewise.
55216 (test-xfail-UNIX98/signal.h/conform): Likewise.
55217 (test-xfail-UNIX98/stdio.h/conform): Likewise.
55218 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
55219 (test-xfail-UNIX98/stropts.h/conform): Likewise.
55220 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
55221 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
55222 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
55223 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
55224 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
55225 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
55226 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
55227 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
55228 (test-xfail-UNIX98/unistd.h/conform): Likewise.
55229 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
55230 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
55231 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
55232 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
55233 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
55234 (test-xfail-XOPEN2K/math.h/conform): Likewise.
55235 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
55236 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
55237 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
55238 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
55239 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
55240 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
55241 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
55242 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
55243 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
55244 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
55245 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
55246 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
55247 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
55248 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
55249 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
55250 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
55251 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
55252 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
55253 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
55254 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
55255 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
55256 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
55257 (test-xfail-POSIX2008/signal.h/conform): Likewise.
55258 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
55259 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
55260 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
55261 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
55262 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
55263 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
55264 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
55265 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
55266 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
55267 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
55268 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
55269 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
55270 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
55271 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
55272 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
55273 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
55274 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
55275 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
55276 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
55277 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
55278 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
55279 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
55280 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
55281 (conformtest-cc-flags): Likewise.
55282 ($(conformtest-header-tests): New target.
55283 * conform/check-header-lists.sh: New file.
55284 * conform/run-conformtest.sh: Remove.
55285
55286 * conform/conformtest.pl: Allow ' and \ in values given for
55287 constants.
55288 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
55289 inclusion.
55290 [POSIX] (sys/types.h): Likewise.
55291 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
55292 inclusion.
55293 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
55294 inclusion.
55295 * conform/data/signal.h-data (SIGIO): Remove expectation.
55296 [XPG3] (SIGBUS): Do not expect.
55297 [POSIX || XPG3] (SIGPOLL): Likewise.
55298 [POSIX || XPG3] (SIGPROF): Likewise.
55299 [POSIX || XPG3] (SIGSYS): Likewise.
55300 [XPG3] (SIGTRAP): Likewise.
55301 [POSIX || XPG3] (SIGURG): Likewise.
55302 [POSIX || XPG3] (SIGVTALRM): Likewise.
55303 [POSIX || XPG3] (SIGXCPU): Likewise.
55304 [POSIX || XPG3] (SIGXFSZ): Likewise.
55305 [POSIX] (SA_SIGINFO): Expect.
55306 [XPG3] (siginfo_t): Do not expect type or contents.
55307 [POSIX] (si_pid): Do not expect element.
55308 [POSIX] (si_uid): Likewise.
55309 [POSIX] (si_addr): Likewise.
55310 [POSIX] (si_status): Likewise.
55311 [POSIX] (si_band): Likewise.
55312 [XPG4] (si_value): Likewise.
55313 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
55314 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
55315 [POSIX || XPG3] (ILL_ILLADR): Likewise.
55316 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
55317 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
55318 [POSIX || XPG3] (ILL_PRVREG): Likewise.
55319 [POSIX || XPG3] (ILL_COPROC): Likewise.
55320 [POSIX || XPG3] (ILL_BADSTK): Likewise.
55321 [POSIX || XPG3] (FPE_INTDIV): Likewise.
55322 [POSIX || XPG3] (FPE_INTOVF): Likewise.
55323 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
55324 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
55325 [POSIX || XPG3] (FPE_FLTUND): Likewise.
55326 [POSIX || XPG3] (FPE_FLTRES): Likewise.
55327 [POSIX || XPG3] (FPE_FLTINV): Likewise.
55328 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
55329 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
55330 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
55331 [POSIX || XPG3] (BUS_ADRALN): Likewise.
55332 [POSIX || XPG3] (BUS_ADRERR): Likewise.
55333 [POSIX || XPG3] (BUS_OBJERR): Likewise.
55334 [POSIX || XPG3] (CLD_EXITED): Likewise.
55335 [POSIX || XPG3] (CLD_KILLED): Likewise.
55336 [POSIX || XPG3] (CLD_DUMPED): Likewise.
55337 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
55338 [POSIX || XPG3] (CLD_STOPPED): Likewise.
55339 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
55340 [POSIX || XPG3] (POLL_IN): Likewise.
55341 [POSIX || XPG3] (POLL_OUT): Likewise.
55342 [POSIX || XPG3] (POLL_MSG): Likewise.
55343 [POSIX || XPG3] (POLL_ERR): Likewise.
55344 [POSIX || XPG3] (POLL_PRI): Likewise.
55345 [POSIX || XPG3] (POLL_HUP): Likewise.
55346 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
55347 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
55348 (SIG*): Do not allow.
55349 [XPG3] (si_*): Likewise.
55350 [XPG3] (SI_*): Likewise.
55351 [XPG3 || XPG4] (sigev_*): Likewise.
55352 [XPG3 || XPG4] (SIGEV_*): Likewise.
55353 [XPG3 || XPG4] (sival_*): Likewise.
55354 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
55355 [POSIX || XPG3] (BUS_*): Likewise.
55356 [POSIX || XPG3] (CLD_*): Likewise.
55357 [POSIX || XPG3] (FPE_*): Likewise.
55358 [POSIX || XPG3] (ILL_*): Likewise.
55359 [POSIX || XPG3] (POLL_*): Likewise.
55360 [POSIX || XPG3] (SEGV_*): Likewise.
55361 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
55362 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
55363 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
55364 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
55365 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
55366 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
55367 Specify type and value.
55368 (TVERSLEN): Likewise.
55369 (REGTYPE): Likewise.
55370 (AREGTYPE): Likewise.
55371 (LNKTYPE): Likewise.
55372 (SYMTYPE): Likewise.
55373 (CHRTYPE): Likewise.
55374 (BLKTYPE): Likewise.
55375 (DIRTYPE): Likewise.
55376 (FIFOTYPE): Likewise.
55377 (CONTTYPE): Likewise.
55378 (TSUID): Likewise.
55379 (TSGID): Likewise.
55380 (TSVTX): Likewise.
55381 (TUREAD): Likewise.
55382 (TUWRITE): Likewise.
55383 (TUEXEC): Likewise.
55384 (TGREAD): Likewise.
55385 (TGWRITE): Likewise.
55386 (TGEXEC): Likewise.
55387 (TOREAD): Likewise.
55388 (TOWRITE): Likewise.
55389 (TOEXEC): Likewise.
55390 [POSIX] (TSVTX): Expect constant.
55391
55392 2014-03-06 Joseph Myers <joseph@codesourcery.com>
55393
55394 * Makefile (tests): Change dependencies to ....
55395 (tests-special): ... additions to this variable.
55396 (tests): Depend on $(tests-special).
55397 * Makerules (check-abi-list): New variable.
55398 (check-abi): Depend on $(check-abi-list).
55399 [$(subdir) = elf] (tests-special): Add
55400 $(objpfx)check-abi-libc.out.
55401 [$(build-shared) = yes && subdir] (tests-special): Add
55402 $(check-abi-list).
55403 [$(build-shared) = yes && subdir] (tests): Do not depend on
55404 check-abi.
55405 * Rules (tests): Depend on $(tests-special).
55406 (xtests): Depend on $(xtests-special).
55407 * catgets/Makefile (tests): Change dependencies to ....
55408 (tests-special): ... additions to this variable.
55409 * conform/Makefile (tests): Change dependencies to ....
55410 (tests-special): ... additions to this variable.
55411 * elf/Makefile (tests): Change dependencies to ....
55412 (tests-special): ... additions to this variable.
55413 * grp/Makefile (tests): Change dependencies to ....
55414 (tests-special): ... additions to this variable.
55415 * iconv/Makefile (xtests): Change dependencies to ....
55416 (xtests-special): ... additions to this variable.
55417 * iconvdata/Makefile (tests): Change dependencies to ....
55418 (tests-special): ... additions to this variable.
55419 * intl/Makefile (tests): Change dependencies to ....
55420 (tests-special): ... additions to this variable. Also add
55421 $(objpfx)tst-gettext.out.
55422 * io/Makefile (tests): Change dependencies to ....
55423 (tests-special): ... additions to this variable.
55424 * libio/Makefile (tests): Change dependencies to ....
55425 (tests-special): ... additions to this variable.
55426 * malloc/Makefile (tests): Change dependencies to ....
55427 (tests-special): ... additions to this variable.
55428 * misc/Makefile (tests): Change dependencies to ....
55429 (tests-special): ... additions to this variable.
55430 * nptl/Makefile (tests): Change dependencies to ....
55431 (tests-special): ... additions to this variable.
55432 * nptl_db/Makefile (tests): Change dependencies to ....
55433 (tests-special): ... additions to this variable.
55434 * posix/Makefile (tests): Change dependencies to ....
55435 (tests-special): ... additions to this variable.
55436 (xtests): Change dependencies to ....
55437 (xtests-special): ... additions to this variable.
55438 * resolv/Makefile (tests): Change dependencies to ....
55439 (tests-special): ... additions to this variable.
55440 (xtests): Change dependencies to ....
55441 (xtests-special): ... additions to this variable.
55442 * stdio-common/Makefile (tests): Change dependencies to ....
55443 (tests-special): ... additions to this variable.
55444 (do-tst-unbputc): Remove target.
55445 (do-tst-printf): Likewise.
55446 * stdlib/Makefile (tests): Change dependencies to ....
55447 (tests-special): ... additions to this variable.
55448 * string/Makefile (tests): Change dependencies to ....
55449 (tests-special): ... additions to this variable.
55450 * sysdeps/x86/Makefile (tests): Change dependencies to ....
55451 (tests-special): ... additions to this variable.
55452
55453 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
55454 whole file.
55455 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
55456 whole file.
55457 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
55458 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
55459
55460 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
55461 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
55462 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
55463 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
55464 * conform/data/libgen.h-data [XPG3]: Likewise.
55465 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
55466 * conform/data/ndbm.h-data [XPG3]: Likewise.
55467 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55468 * conform/data/netdb.h-data [XPG3]: Likewise.
55469 * conform/data/netinet/in.h-data [XPG3]: Likewise.
55470 * conform/data/poll.h-data [XPG3]: Likewise.
55471 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55472 * conform/data/strings.h-data [XPG3]: Likewise.
55473 * conform/data/stropts.h-data [XPG3]: Likewise.
55474 * conform/data/sys/mman.h-data [XPG3]: Likewise.
55475 * conform/data/sys/resource.h-data [XPG3]: Likewise.
55476 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
55477 Likewise.
55478 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
55479 * conform/data/sys/time.h-data [XPG3]: Likewise.
55480 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
55481 * conform/data/sys/uio.h-data [XPG3]: Likewise.
55482 * conform/data/sys/un.h-data [XPG3]: Likewise.
55483 * conform/data/syslog.h-data [XPG3]: Likewise.
55484 * conform/data/ucontext.h-data [XPG3]: Likewise.
55485 * conform/data/utmpx.h-data [XPG3]: Likewise.
55486 * conform/data/varargs.h-data [UNIX98]: Enable file.
55487
55488 * manual/Makefile (INSTALL_INFO): Remove variable setting.
55489
55490 * math/libm-test.inc (struct test_f_f_data): Move expected results
55491 into structure for each rounding mode.
55492 (struct test_ff_f_data): Likewise.
55493 (struct test_ff_f_data_nexttoward): Likewise.
55494 (struct test_fi_f_data): Likewise.
55495 (struct test_fl_f_data): Likewise.
55496 (struct test_if_f_data): Likewise.
55497 (struct test_fff_f_data): Likewise.
55498 (struct test_c_f_data): Likewise.
55499 (struct test_f_f1_data): Likewise.
55500 (struct test_fF_f1_data): Likewise.
55501 (struct test_ffI_f1_data): Likewise.
55502 (struct test_c_c_data): Likewise.
55503 (struct test_cc_c_data): Likewise.
55504 (struct test_f_i_data): Likewise.
55505 (struct test_ff_i_data): Likewise.
55506 (struct test_f_l_data): Likewise.
55507 (struct test_f_L_data): Likewise.
55508 (struct test_fFF_11_data): Likewise.
55509 (RM_): New macro.
55510 (RM_FE_DOWNWARD): Likewise.
55511 (RM_FE_TONEAREST): Likewise.
55512 (RM_FE_TOWARDZERO): Likewise.
55513 (RM_FE_UPWARD): Likewise.
55514 (RUN_TEST_LOOP_f_f): Update references to expected results.
55515 (RUN_TEST_LOOP_2_f): Likewise.
55516 (RUN_TEST_LOOP_fff_f): Likewise.
55517 (RUN_TEST_LOOP_c_f): Likewise.
55518 (RUN_TEST_LOOP_f_f1): Likewise.
55519 (RUN_TEST_LOOP_fF_f1): Likewise.
55520 (RUN_TEST_LOOP_fI_f1): Likewise.
55521 (RUN_TEST_LOOP_ffI_f1): Likewise.
55522 (RUN_TEST_LOOP_c_c): Likewise.
55523 (RUN_TEST_LOOP_cc_c): Likewise.
55524 (RUN_TEST_LOOP_f_i): Likewise.
55525 (RUN_TEST_LOOP_f_i_tg): Likewise.
55526 (RUN_TEST_LOOP_ff_i_tg): Likewise.
55527 (RUN_TEST_LOOP_f_b): Likewise.
55528 (RUN_TEST_LOOP_f_b_tg): Likewise.
55529 (RUN_TEST_LOOP_f_l): Likewise.
55530 (RUN_TEST_LOOP_f_L): Likewise.
55531 (RUN_TEST_LOOP_fFF_11): Likewise.
55532 * math/gen-libm-test.pl (parse_args): Output four copies of
55533 expected results for each test.
55534
55535 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55536 (__ASSUME_UTIMES): Remove.
55537 * sysdeps/unix/sysv/linux/tile/kernel-features.h
55538 (__ASSUME_UTIMES): Likewise.
55539
55540 * math/gen-auto-libm-tests.c: Update comment on output format.
55541 (output_for_one_input_case): Generate before-rounding and
55542 after-rounding information as conditions on output flags not
55543 floating-point format.
55544 * math/auto-libm-test-out: Regenerated.
55545 * math/gen-libm-test.pl (cond_value): New function.
55546 (or_cond_value): Use cond_value.
55547 (generate_testfile): Handle conditional exceptions.
55548
55549 2014-03-05 Joseph Myers <joseph@codesourcery.com>
55550
55551 * math/libm-test.inc (max_valid_error): New variable.
55552 (init_max_error): Take new argument specifying whether function
55553 results are exactly determined. Set max_valid_error and bound
55554 other variables for errors based on this argument.
55555 (set_max_error): Do not record results above max_valid_error.
55556 (check_float_internal): Only accept errors of up to 0.5ulps if
55557 also at most max_valid_error.
55558 (START): Take new argument EXACT and pass it to init_max_error.
55559 (acos_test): Update call to START.
55560 (acos_test_tonearest): Likewise.
55561 (acos_test_towardzero): Likewise.
55562 (acos_test_downward): Likewise.
55563 (acos_test_upward): Likewise.
55564 (acosh_test): Likewise.
55565 (asin_test): Likewise.
55566 (asin_test_tonearest): Likewise.
55567 (asin_test_towardzero): Likewise.
55568 (asin_test_downward): Likewise.
55569 (asin_test_upward): Likewise.
55570 (asinh_test): Likewise.
55571 (atan_test): Likewise.
55572 (atanh_test): Likewise.
55573 (atan2_test): Likewise.
55574 (cabs_test): Likewise.
55575 (cacos_test): Likewise.
55576 (cacosh_test): Likewise.
55577 (carg_test): Likewise.
55578 (casin_test): Likewise.
55579 (casinh_test): Likewise.
55580 (catan_test): Likewise.
55581 (catanh_test): Likewise.
55582 (cbrt_test): Likewise.
55583 (ccos_test): Likewise.
55584 (ccosh_test): Likewise.
55585 (ceil_test): Likewise.
55586 (cexp_test): Likewise.
55587 (cimag_test): Likewise.
55588 (clog_test): Likewise.
55589 (clog10_test): Likewise.
55590 (conj_test): Likewise.
55591 (copysign_test): Likewise.
55592 (cos_test): Likewise.
55593 (cos_test_tonearest): Likewise.
55594 (cos_test_towardzero): Likewise.
55595 (cos_test_downward): Likewise.
55596 (cos_test_upward): Likewise.
55597 (cosh_test): Likewise.
55598 (cosh_test_tonearest): Likewise.
55599 (cosh_test_towardzero): Likewise.
55600 (cosh_test_downward): Likewise.
55601 (cosh_test_upward): Likewise.
55602 (cpow_test): Likewise.
55603 (cproj_test): Likewise.
55604 (creal_test): Likewise.
55605 (csin_test): Likewise.
55606 (csinh_test): Likewise.
55607 (csqrt_test): Likewise.
55608 (ctan_test): Likewise.
55609 (ctan_test_tonearest): Likewise.
55610 (ctan_test_towardzero): Likewise.
55611 (ctan_test_downward): Likewise.
55612 (ctan_test_upward): Likewise.
55613 (ctanh_test): Likewise.
55614 (ctanh_test_tonearest): Likewise.
55615 (ctanh_test_towardzero): Likewise.
55616 (ctanh_test_downward): Likewise.
55617 (ctanh_test_upward): Likewise.
55618 (erf_test): Likewise.
55619 (erfc_test): Likewise.
55620 (exp_test): Likewise.
55621 (exp_test_tonearest): Likewise.
55622 (exp_test_towardzero): Likewise.
55623 (exp_test_downward): Likewise.
55624 (exp_test_upward): Likewise.
55625 (exp10_test): Likewise.
55626 (exp10_test_tonearest): Likewise.
55627 (exp10_test_towardzero): Likewise.
55628 (exp10_test_downward): Likewise.
55629 (exp10_test_upward): Likewise.
55630 (pow10_test): Likewise.
55631 (exp2_test): Likewise.
55632 (expm1_test): Likewise.
55633 (expm1_test_tonearest): Likewise.
55634 (expm1_test_towardzero): Likewise.
55635 (expm1_test_downward): Likewise.
55636 (expm1_test_upward): Likewise.
55637 (fabs_test): Likewise.
55638 (fdim_test): Likewise.
55639 (floor_test): Likewise.
55640 (fma_test): Likewise.
55641 (fma_test_towardzero): Likewise.
55642 (fma_test_downward): Likewise.
55643 (fma_test_upward): Likewise.
55644 (fmax_test): Likewise.
55645 (fmin_test): Likewise.
55646 (fmod_test): Likewise.
55647 (fpclassify_test): Likewise.
55648 (frexp_test): Likewise.
55649 (hypot_test): Likewise.
55650 (ilogb_test): Likewise.
55651 (isfinite_test): Likewise.
55652 (finite_test): Likewise.
55653 (isgreater_test): Likewise.
55654 (isgreaterequal_test): Likewise.
55655 (isinf_test): Likewise.
55656 (isless_test): Likewise.
55657 (islessequal_test): Likewise.
55658 (islessgreater_test): Likewise.
55659 (isnan_test): Likewise.
55660 (isnormal_test): Likewise.
55661 (issignaling_test): Likewise.
55662 (isunordered_test): Likewise.
55663 (j0_test): Likewise.
55664 (j1_test): Likewise.
55665 (jn_test): Likewise.
55666 (ldexp_test): Likewise.
55667 (lgamma_test): Likewise.
55668 (gamma_test): Likewise.
55669 (lrint_test): Likewise.
55670 (lrint_test_tonearest): Likewise.
55671 (lrint_test_towardzero): Likewise.
55672 (lrint_test_downward): Likewise.
55673 (lrint_test_upward): Likewise.
55674 (llrint_test): Likewise.
55675 (llrint_test_tonearest): Likewise.
55676 (llrint_test_towardzero): Likewise.
55677 (llrint_test_downward): Likewise.
55678 (llrint_test_upward): Likewise.
55679 (log_test): Likewise.
55680 (log10_test): Likewise.
55681 (log1p_test): Likewise.
55682 (log2_test): Likewise.
55683 (logb_test): Likewise.
55684 (logb_test_downward): Likewise.
55685 (lround_test): Likewise.
55686 (llround_test): Likewise.
55687 (modf_test): Likewise.
55688 (nearbyint_test): Likewise.
55689 (nextafter_test): Likewise.
55690 (nexttoward_test): Likewise.
55691 (pow_test): Likewise.
55692 (pow_test_tonearest): Likewise.
55693 (pow_test_towardzero): Likewise.
55694 (pow_test_downward): Likewise.
55695 (pow_test_upward): Likewise.
55696 (remainder_test): Likewise.
55697 (drem_test): Likewise.
55698 (remainder_test_tonearest): Likewise.
55699 (drem_test_tonearest): Likewise.
55700 (remainder_test_towardzero): Likewise.
55701 (drem_test_towardzero): Likewise.
55702 (remainder_test_downward): Likewise.
55703 (drem_test_downward): Likewise.
55704 (remainder_test_upward): Likewise.
55705 (drem_test_upward): Likewise.
55706 (remquo_test): Likewise.
55707 (rint_test): Likewise.
55708 (rint_test_tonearest): Likewise.
55709 (rint_test_towardzero): Likewise.
55710 (rint_test_downward): Likewise.
55711 (rint_test_upward): Likewise.
55712 (round_test): Likewise.
55713 (scalb_test): Likewise.
55714 (scalbn_test): Likewise.
55715 (scalbln_test): Likewise.
55716 (signbit_test): Likewise.
55717 (sin_test): Likewise.
55718 (sin_test_tonearest): Likewise.
55719 (sin_test_towardzero): Likewise.
55720 (sin_test_downward): Likewise.
55721 (sin_test_upward): Likewise.
55722 (sincos_test): Likewise.
55723 (sinh_test): Likewise.
55724 (sinh_test_tonearest): Likewise.
55725 (sinh_test_towardzero): Likewise.
55726 (sinh_test_downward): Likewise.
55727 (sinh_test_upward): Likewise.
55728 (sqrt_test): Likewise.
55729 (sqrt_test_tonearest): Likewise.
55730 (sqrt_test_towardzero): Likewise.
55731 (sqrt_test_downward): Likewise.
55732 (sqrt_test_upward): Likewise.
55733 (tan_test): Likewise.
55734 (tan_test_tonearest): Likewise.
55735 (tan_test_towardzero): Likewise.
55736 (tan_test_downward): Likewise.
55737 (tan_test_upward): Likewise.
55738 (tanh_test): Likewise.
55739 (tgamma_test): Likewise.
55740 (trunc_test): Likewise.
55741 (y0_test): Likewise.
55742 (y1_test): Likewise.
55743 (yn_test): Likewise.
55744 (significand_test): Likewise.
55745
55746 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
55747 individual tests in comment.
55748 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
55749 (prev_max_error): New variable.
55750 (prev_real_max_error): Likewise.
55751 (prev_imag_max_error): Likewise.
55752 (compare_ulp_data): Don't refer to test names in comment.
55753 (find_test_ulps): Remove function.
55754 (find_function_ulps): Likewise.
55755 (find_complex_function_ulps): Likewise.
55756 (init_max_error): Take function name as argument. Look up ulps
55757 for that function.
55758 (print_ulps): Remove function.
55759 (print_max_error): Use prev_max_error instead of calling
55760 find_function_ulps.
55761 (print_complex_max_error): Use prev_real_max_error and
55762 prev_imag_max_error instead of calling find_complex_function_ulps.
55763 (check_float_internal): Take max_ulp parameter instead of calling
55764 find_test_ulps. Don't call print_ulps.
55765 (check_float): Update call to check_float_internal.
55766 (check_complex): Update calls to check_float_internal.
55767 (START): Pass argument to init_max_error.
55768 * math/gen-libm-test.pl (%results): Don't include "kind"
55769 information.
55770 (parse_ulps): Don't handle ulps of individual tests.
55771 (print_ulps_file): Likewise.
55772 (output_ulps): Likewise.
55773 * math/README.libm-test: Update.
55774 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
55775 individual tests.
55776 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
55777 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
55778 * sysdeps/arm/libm-test-ulps: Likewise.
55779 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
55780 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
55781 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
55782 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
55783 * sysdeps/microblaze/libm-test-ulps: Likewise.
55784 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
55785 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
55786 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55787 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
55788 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55789 * sysdeps/sh/libm-test-ulps: Likewise.
55790 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55791 * sysdeps/tile/libm-test-ulps: Likewise.
55792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55793
55794 2014-03-04 Joseph Myers <joseph@codesourcery.com>
55795
55796 * math/libm-test.inc (print_complex_max_error): Check separately
55797 whether real and imaginary errors are within allowed range and
55798 pass 0 to print_complex_function_ulps instead of value within
55799 allowed range.
55800
55801 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
55802
55803 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
55804 formatting.
55805 (get_handles_fopen): Likewise.
55806 (do_write_test): Likewise.
55807
55808 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
55809
55810 * libio/fileops.c (do_ftell): Use cached offset when
55811 available.
55812 * libio/iofwide.c (do_ftell_wide): Likewise.
55813 * libio/iofdopen.c (_IO_new_fdopen): Don't use
55814 _IO_file_attach.
55815 * libio/wfileops.c (_IO_fwide): Don't cache offset.
55816
55817 [BZ #16532]
55818 * libio/libioP.h (get_file_offset): New function.
55819 * libio/fileops.c (get_file_offset): Likewise.
55820 (do_ftell): Likewise.
55821 (_IO_new_file_seekoff): Split out ftell logic.
55822 * libio/wfileops.c (do_ftell_wide): Likewise.
55823 (_IO_wfile_seekoff): Split out ftell logic.
55824 * libio/tst-ftell-active-handler.c: New test case.
55825 * libio/Makefile (tests): Add it.
55826
55827 2014-03-03 Roland McGrath <roland@hack.frob.com>
55828
55829 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
55830 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
55831
55832 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
55833
55834 [BZ #16639]
55835 * nscd/connections.c (nscd_init): Call do_exit.
55836 (start_threads): Call do_exit and notify_parent.
55837 (begin_drop_privileges): Call do_exit.
55838 (finish_drop_privileges): Likewise.
55839 * nscd/selinux.c (preserve_capabilities): Likewise.
55840 (install_real_capabilities): Likewise.
55841 (nscd_selinux_enabled): Likewise.
55842 (avc_create_thread): Likewise.
55843 (avc_alloc_lock): Likewise.
55844 (nscd_avc_init): Likewise.
55845 * nscd/nscd.c (parent_fd): New static variable.
55846 (main): Create a pipe between parent and child processes.
55847 Skip closing parent_fd.
55848 (monitor_child): New function.
55849 (do_exit): Likewise.
55850 (notify_parent): Likewise.
55851 * nscd/nscd.h (notify_parent): Likewise.
55852 (do_exit): Likewise.
55853
55854 2014-03-03 Carlos O'Donell <carlos@redhat.com>
55855
55856 * malloc/malloc.c (__libc_calloc): Revert last change.
55857
55858 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55859
55860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55861
55862 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
55863
55864 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
55865 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
55866 implementation.
55867 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
55868 (__libc_ifunc_impl_list): Likewise.
55869 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
55870 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
55871 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
55872 * string/strrchr.c: Define STRRCHR.
55873
55874 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
55875
55876 * benchtest/bench-strtok.c (simple_strtok): Delete.
55877 (strtok_string): Use as benchmark.
55878 * string/strtok (STRTOK): New macro.
55879
55880 2014-02-28 Carlos O'Donell <carlos@redhat.com>
55881
55882 * manual/threads.texi: Add header and standard comments to all
55883 functions.
55884
55885 * elf/dl-lookup.c (check_match): New function.
55886 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
55887 (do_lookup_x): Remove nested function check_match. Use non-nested
55888 function check_match.
55889
55890 2014-02-28 Roland McGrath <roland@hack.frob.com>
55891
55892 * csu/Makefile (generated, before-compile): Use += rather than =.
55893 * catgets/Makefile (generated, generated-dirs): Likewise.
55894 * debug/Makefile (generated): Likewise.
55895 * dlfcn/Makefile (generated): Likewise.
55896 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
55897 * iconvdata/Makefile (before-compile, generated): Likewise.
55898 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
55899 * libio/Makefile (generated): Likewise.
55900 * malloc/Makefile (generated): Likewise.
55901 * manual/Makefile (generated, generated-dirs): Likewise.
55902 * misc/Makefile (generated): Likewise.
55903 * posix/Makefile (generated): Likewise.
55904 * resolv/Makefile (generated): Likewise.
55905 * sunrpc/Makefile (generated, generated-dirs): Likewise.
55906 * timezone/Makefile (generated, generated-dirs): Likewise.
55907
55908 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
55909
55910 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55911
55912 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
55913 power8 implementation.
55914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
55915 file: POWER8 llround ifunc implementation.
55916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
55917 (__lllround): Add POWER8 implementation.
55918 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
55919 POWER8 llround implementation.
55920
55921 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
55922 power8 implementation.
55923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
55924 file: POWER8 llrint ifunc implementation.
55925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
55926 Add POWER8 implementation.
55927 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
55928 POWER8 llrint implementation.
55929
55930 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
55931 power8 implementation.
55932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
55933 file: POWER8 finite ifunc implementation.
55934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
55935 Add POWER8 implementation.
55936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
55937 Likewise.
55938 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
55939 POWER8 finite implementation.
55940 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
55941
55942 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
55943 power8 implementation.
55944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
55945 file: POWER8 isinf ifunc implementation.
55946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
55947 POWER8 implementation.
55948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
55949 Likewise.
55950 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
55951 isinf implementation.
55952 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
55953
55954 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
55955 (INIT_ARCH): Add hwcap2 initialization.
55956 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
55957 power8 implementation.
55958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
55959 file: POWER8 isnan ifunc implementation.
55960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
55961 POWER8 implementation.
55962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
55963 Likewise.
55964 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
55965 isnan implementation.
55966 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
55967
55968 2014-02-27 Joey Ye <joey.ye@arm.com>
55969
55970 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
55971 (_FP_NANFRAC_Q): Set to zero.
55972
55973 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
55974
55975 [BZ #16623]
55976 * math/auto-libm-test-in: New test inputs.
55977 * math/auto-libm-test-out: Regenerate.
55978 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
55979 and DA.
55980 (__cos): Likewise.
55981 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
55982
55983 2014-02-27 Joseph Myers <joseph@codesourcery.com>
55984
55985 * scripts/evaluate-test.sh: Take new argument indicating whether
55986 failure is expected.
55987 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
55988 indicating whether failure is expected.
55989 * conform/Makefile (test-xfail-run-conformtest): New variable.
55990 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
55991 level.
55992 * posix/Makefile (test-xfail-annexc): New variable.
55993 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
55994
55995 2014-02-26 Joseph Myers <joseph@codesourcery.com>
55996
55997 * argp/Makefile: Include Makeconfig immediately after defining
55998 subdir.
55999 * assert/Makefile: Likewise.
56000 * benchtests/Makefile: Likewise.
56001 * catgets/Makefile: Likewise.
56002 * conform/Makefile: Likewise.
56003 * crypt/Makefile: Likewise.
56004 * csu/Makefile: Likewise.
56005 (all): Remove target.
56006 * ctype/Makefile: Include Makeconfig immediately after defining
56007 subdir.
56008 * debug/Makefile: Likewise.
56009 * dirent/Makefile: Likewise.
56010 * dlfcn/Makefile: Likewise.
56011 * gmon/Makefile: Likewise.
56012 * gnulib/Makefile: Likewise.
56013 * grp/Makefile: Likewise.
56014 * gshadow/Makefile: Likewise.
56015 * hesiod/Makefile: Likewise.
56016 * hurd/Makefile: Likewise.
56017 (all): Remove target.
56018 * iconvdata/Makefile: Include Makeconfig immediately after
56019 defining subdir.
56020 * inet/Makefile: Likewise.
56021 * intl/Makefile: Likewise.
56022 * io/Makefile: Likewise.
56023 * libio/Makefile: Likewise.
56024 (all): Remove target.
56025 * locale/Makefile: Include Makeconfig immediately after defining
56026 subdir.
56027 * login/Makefile: Likewise.
56028 * mach/Makefile: Likewise.
56029 (all): Remove target.
56030 * malloc/Makefile: Include Makeconfig immediately after defining
56031 subdir.
56032 (all): Remove target.
56033 * manual/Makefile: Include Makeconfig immediately after defining
56034 subdir.
56035 * math/Makefile: Likewise.
56036 * misc/Makefile: Likewise.
56037 * nis/Makefile: Likewise.
56038 * nss/Makefile: Likewise.
56039 * po/Makefile: Likewise.
56040 (all): Remove target.
56041 * posix/Makefile: Include Makeconfig immediately after defining
56042 subdir.
56043 * pwd/Makefile: Likewise.
56044 * resolv/Makefile: Likewise.
56045 * resource/Makefile: Likewise.
56046 * rt/Makefile: Likewise.
56047 * setjmp/Makefile: Likewise.
56048 * shadow/Makefile: Likewise.
56049 * signal/Makefile: Likewise.
56050 * socket/Makefile: Likewise.
56051 * soft-fp/Makefile: Likewise.
56052 * stdio-common/Makefile: Likewise.
56053 * stdlib/Makefile: Likewise.
56054 * streams/Makefile: Likewise.
56055 * string/Makefile: Likewise.
56056 * sunrpc/Makefile: Likewise.
56057 (all): Remove target.
56058 * sysvipc/Makefile: Include Makeconfig immediately after defining
56059 subdir.
56060 * termios/Makefile: Likewise.
56061 * time/Makefile: Likewise.
56062 * timezone/Makefile: Likewise.
56063 (all): Remove target.
56064 * wcsmbs/Makefile: Include Makeconfig immediately after defining
56065 subdir.
56066 * wctype/Makefile: Likewise.
56067
56068 2014-02-26 Steve Ellcey <sellcey@mips.com>
56069
56070 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
56071 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
56072 (libc_feholdexcept_setround_mips): Ditto.
56073 (libc_feholdsetround): New.
56074 (libc_feholdsetroundf): New.
56075 (libc_feholdsetroundl): New.
56076 (libc_feupdateenv_test_mips): New.
56077 (libc_feupdateenv_test): New.
56078 (libc_feupdateenv_testf): New.
56079 (libc_feupdateenv_testl): New.
56080 (libc_feresetround): New.
56081 (libc_feresetroundf): New.
56082 (libc_feresetroundl): New.
56083 (libc_fetestexcept_mips): New.
56084 (libc_fetestexcept): New.
56085 (libc_fetestexceptf): New.
56086 (libc_fetestexceptl): New.
56087 (HAVE_RM_CTX): New.
56088 (libc_feholdexcept_setround_mips_ctx): New.
56089 (libc_feholdexcept_setround_ctx): New.
56090 (libc_feholdexcept_setroundf_ctx): New.
56091 (libc_feholdexcept_setroundl_ctx): New.
56092 (libc_fesetenv_mips_ctx): New.
56093 (libc_fesetenv_ctx): New.
56094 (libc_fesetenv_ctxf): New.
56095 (libc_fesetenv_ctxl): New.
56096 (libc_feupdateenv_mips_ctx): New.
56097 (libc_feupdateenv_ctx): New.
56098 (libc_feupdateenvf_ctx): New.
56099 (libc_feupdateenvl_ctx): New.
56100 (libc_feholdsetround_mips_ctx): New.
56101 (libc_feholdsetround_ctx): New.
56102 (libc_feholdsetroundf_ctx): New.
56103 (libc_feholdsetroundl_ctx): New.
56104 (libc_feresetround_mips_ctx): New.
56105 (libc_feresetround_ctx): New.
56106 (libc_feresetroundf_ctx): New.
56107 (libc_feresetroundl_ctx): New.
56108
56109 2014-02-26 Carlos O'Donell <carlos@redhat.com>
56110
56111 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
56112
56113 * manual/ipc.texi: New file.
56114 * manual/Makefile (chapters): Add ipc.
56115 * manual/job.texi: Add "Inter-Process Communication" to next.
56116 * manual/process.texi: Add "Inter-Process Communication" to prev.
56117
56118 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56119
56120 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56121
56122 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
56123
56124 * malloc/malloc.c (__libc_calloc): Simplify implementation.
56125
56126 * manual/arith.texi: Fix spaces after sentences.
56127 * manual/charset.texi: Likewise.
56128 * manual/errno.texi: Likewise.
56129 * manual/install.texi: Likewise.
56130 * manual/llio.texi: Likewise.
56131 * manual/locale.texi: Likewise.
56132 * manual/maint.texi: Likewise.
56133 * manual/math.texi: Likewise.
56134 * manual/memory.texi: Likewise.
56135 * manual/message.texi: Likewise.
56136 * manual/probes.texi: Likewise.
56137 * manual/resource.texi: Likewise.
56138 * manual/signal.texi: Likewise.
56139 * manual/socket.texi: Likewise.
56140 * manual/stdio.texi: Likewise.
56141 * manual/string.texi: Likewise.
56142 * manual/time.texi: Likewise.
56143 * manual/users.texi: Likewise.
56144
56145 2014-02-25 Carlos O'Donell <carlos@redhat.com>
56146
56147 [BZ #16632]
56148 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
56149 _DEFAULT_SOURCE is defined.
56150
56151 2014-02-25 Ulrich Drepper <drepper@gmail.com>
56152 Carlos O'Donell <carlos@redhat.com>
56153
56154 [BZ #16613]
56155 * elf/dl-tls.c (_dl_count_modids): New function.
56156 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
56157 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
56158 audit library and increment generation counter.
56159 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
56160 * elf/tst-audit9.c: New file.
56161 * elf/tst-auditmod9a.c: New file.
56162 * elf/tst-auditmod9b.c: New file.
56163 * elf/Makefile: Add rules to build and run tst-audit9.
56164
56165 2014-02-25 Florian Weimer <fweimer@redhat.com>
56166
56167 [BZ #15347]
56168 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
56169
56170 2014-02-25 Will Newton <will.newton@linaro.org>
56171
56172 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
56173 (__longjmp): Restore sp and lr before restoring callee
56174 saved registers. Add longjmp and longjmp_target
56175 SystemTap probe point.
56176 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
56177 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
56178 Define to zero to match jmpbuf layout.
56179 * sysdeps/arm/setjmp.S: Include stap-probe.h.
56180 (__sigsetjmp): Save sp and lr before saving callee
56181 saved registers. Add setjmp SystemTap probe point.
56182
56183 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
56184
56185 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
56186
56187 2014-02-24 Andreas Schwab <schwab@suse.de>
56188
56189 [BZ #15804]
56190 * elf/pldd.c (wait_for_ptrace_stop): New function.
56191 (main): Call it after attaching.
56192
56193 2014-02-22 Roland McGrath <roland@hack.frob.com>
56194
56195 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
56196 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
56197 Versions files is now verboten.
56198 * hurd/Versions (libc: GLIBC_2.0):
56199 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
56200 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
56201 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
56202 * mach/Versions: Likewise.
56203
56204 * csu/Versions: Remove unused %include.
56205 * resolv/Versions: Likewise.
56206
56207 2014-02-21 Joseph Myers <joseph@codesourcery.com>
56208
56209 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
56210 ($(objpfx)check-local-headers.out): Likewise.
56211 ($(objpfx)begin-end-check.out): Likewise.
56212 * Makerules (check-abi-%.out): Likewise.
56213 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
56214 ($(objpfx)test2.cat): Likewise.
56215 ($(objpfx)de/libc.cat): Likewise.
56216 ($(objpfx)test-gencat.out): Likewise.
56217 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
56218 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
56219 ($(objpfx)noload-mem): Likewise.
56220 ($(objpfx)tst-pathopt.out): Likewise.
56221 ($(objpfx)tst-rtld-load-self.out): Likewise.
56222 ($(objpfx)tst-array1-cmp.out): Likewise.
56223 ($(objpfx)tst-array1-static-cmp.out): Likewise.
56224 ($(objpfx)tst-array2-cmp.out): Likewise.
56225 ($(objpfx)tst-array3-cmp.out): Likewise.
56226 ($(objpfx)tst-array4-cmp.out): Likewise.
56227 ($(objpfx)tst-array5-cmp.out): Likewise.
56228 ($(objpfx)tst-array5-static-cmp.out): Likewise.
56229 ($(objpfx)check-textrel.out): Likewise.
56230 ($(objpfx)check-execstack.out): Likewise.
56231 ($(objpfx)check-localplt.out): Likewise.
56232 ($(objpfx)order2-cmp.out): Likewise.
56233 ($(objpfx)tst-leaks1-mem): Likewise.
56234 ($(objpfx)tst-leaks1-static-mem): Likewise.
56235 ($(objpfx)tst-initorder-cmp.out): Likewise.
56236 ($(objpfx)tst-initorder2-cmp.out): Likewise.
56237 ($(objpfx)tst-unused-dep.out): Likewise.
56238 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
56239 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
56240 * iconv/Makefile (test-iconvconfig): Likewise.
56241 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
56242 ($(objpfx)iconv-test.out): Likewise.
56243 ($(objpfx)tst-tables.out): Likewise.
56244 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
56245 ($(objpfx)tst-gettext.out): Likewise.
56246 ($(objpfx)tst-translit.out): Likewise.
56247 ($(objpfx)tst-gettext2.out): Likewise.
56248 ($(objpfx)tst-gettext4.out): Likewise.
56249 ($(objpfx)tst-gettext6.out): Likewise.
56250 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
56251 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
56252 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
56253 ($(objpfx)tst-fopenloc-mem.out): Likewise.
56254 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
56255 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
56256 * posix/Makefile ($(objpfx)globtest.out): Likewise.
56257 ($(objpfx)wordexp-tst.out): Likewise.
56258 ($(objpfx)annexc.out): Likewise.
56259 ($(objpfx)tst-fnmatch-mem): Likewise.
56260 ($(objpfx)bug-regex2-mem): Likewise.
56261 ($(objpfx)bug-regex14-mem): Likewise.
56262 ($(objpfx)bug-regex21-mem): Likewise.
56263 ($(objpfx)bug-regex31-mem): Likewise.
56264 ($(objpfx)tst-vfork3-mem): Likewise.
56265 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
56266 ($(objpfx)tst-pcre-mem): Likewise.
56267 ($(objpfx)tst-boost-mem): Likewise.
56268 ($(objpfx)tst-getconf.out): Likewise.
56269 ($(objpfx)bug-ga2-mem): Likewise.
56270 ($(objpfx)bug-glob2-mem): Likewise.
56271 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
56272 ($(objpfx)mtrace-tst-leaks2): Likewise.
56273 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
56274 ($(objpfx)tst-printf.out): Likewise.
56275 ($(objpfx)tst-setvbuf1.out): Likewise.
56276 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
56277 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
56278 ($(objpfx)tst-fmtmsg.out): Likewise.
56279 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
56280 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
56281
56282 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
56283 * bits/sigaction.h [__USE_MISC]: Likewise.
56284 * bits/waitstatus.h: Update #endif comments.
56285 * ctype/ctype.h: Likewise.
56286 * dirent/dirent.h: Likewise.
56287 [__USE_MISC]: Remove redundant conditionals.
56288 * grp/grp.h: Update #endif comments.
56289 [__USE_GNU]: Remove redundant conditionals.
56290 [__USE_MISC]: Likewise.
56291 * inet/netinet/in.h [__USE_GNU]: Likewise.
56292 * io/sys/stat.h [__USE_MISC]: Likewise.
56293 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
56294 * libio/bits/stdio.h: Update #endif comments.
56295 [__USE_MISC]: Remove redundant conditionals.
56296 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
56297 * libio/stdio.h: Update #endif comments.
56298 [__USE_MISC]: Remove redundant conditionals.
56299 * math/bits/math-finite.h [__USE_MISC]: Likewise.
56300 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
56301 * math/math.h: Update #else and #endif comments.
56302 [__USE_MISC]: Remove redundant conditionals.
56303 * misc/sys/uio.h: Update #endif comments.
56304 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
56305 * posix/glob.h [__USE_MISC]: Likewise.
56306 * posix/sys/types.h: Update #endif comments.
56307 [__USE_MISC]: Remove redundant conditionals.
56308 * posix/sys/wait.h: Update #endif comments.
56309 [__USE_MISC]: Remove redundant conditionals.
56310 * posix/unistd.h: Update #endif comments.
56311 [__USE_MISC]: Remove redundant conditionals.
56312 * pwd/pwd.h [__USE_GNU]: Likewise.
56313 [__USE_MISC]: Likewise.
56314 * resolv/netdb.h [__USE_GNU]: Likewise.
56315 * signal/signal.h: Update #endif comments.
56316 [__USE_MISC]: Remove redundant conditionals.
56317 * stdlib/stdlib.h: Update #else and #endif comments.
56318 [__USE_MISC]: Remove redundant conditionals.
56319 [__USE_GNU]: Likewise.
56320 * string/bits/string2.h [__USE_MISC]: Likewise.
56321 * string/string.h: Update #endif comments.
56322 [__USE_MISC]: Remove redundant conditionals.
56323 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
56324 Likewise.
56325 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
56326 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
56327 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
56328 Likewise.
56329 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
56330 Likewise.
56331 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
56332 comments.
56333 [__USE_MISC]: Remove redundant conditionals.
56334 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
56335 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
56336 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
56337 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
56338 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
56339 Likewise.
56340 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
56341 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
56342 Likewise.
56343 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
56344 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
56345 Likewise.
56346 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
56347 Likewise.
56348 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
56349 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
56350 Likewise.
56351 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
56352 Likewise.
56353 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
56354 * sysdeps/x86/bits/string.h: Update #endif comments.
56355 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
56356 conditionals.
56357 * time/sys/time.h: Update #endif comments.
56358 * time/time.h: Likewise.
56359 [__USE_MISC]: Remove redundant conditionals.
56360
56361 2014-02-21 Yury Gribov <y.gribov@samsung.com>
56362
56363 [BZ #16600]
56364 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
56365
56366 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
56367
56368 * Versions.def (librt): Add GLIBC_2.17.
56369
56370 2014-02-21 Adam Conrad <adconrad@0c3.net>
56371
56372 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
56373 synonym for _SYS_AUXV_H to allow direct inclusion.
56374 * sysdeps/sparc/bits/hwcap.h: Likewise.
56375 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
56376 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
56377 * sysdeps/sparc/sysdep.h: Likewise.
56378
56379 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
56380
56381 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
56382
56383 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
56384
56385 * benchtests/bench-strrchr.c: Print length instead of position.
56386
56387 2014-02-20 Joseph Myers <joseph@codesourcery.com>
56388
56389 [BZ #16611]
56390 * sysdeps/unix/sysv/linux/kernel-features.h
56391 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
56392 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
56393 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
56394 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
56395 Likewise.
56396 [__i386__ || __powerpc__ || __sh__ || __sparc__]
56397 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56398 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
56399 (__ASSUME_SENDMMSG): Define instead of using previous
56400 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
56401 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56402 (__ASSUME_SENDMMSG_SYSCALL): Define.
56403 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56404 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
56405 Likewise.
56406 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56407 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56408 Likewise.
56409 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56410 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56411 Likewise.
56412 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
56413 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56414 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56415 [__ASSUME_SENDMMSG]: Change conditionals to
56416 [__ASSUME_SENDMMSG_SOCKETCALL].
56417 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56418 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
56419 Define.
56420 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56421 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
56422 Likewise.
56423 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
56424 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56425 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56426 [!__ASSUME_SENDMMSG]: Change conditional to
56427 [!__ASSUME_SENDMMSG_SOCKETCALL].
56428 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56429 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56430 Define.
56431
56432 [BZ #16610]
56433 * sysdeps/unix/sysv/linux/kernel-features.h
56434 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
56435 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
56436 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
56437 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
56438 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
56439 [__i386__ || __sparc__]
56440 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56441 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
56442 (__ASSUME_RECVMMSG): Define instead of using previous
56443 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
56444 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56445 (__ASSUME_RECVMMSG_SYSCALL): Define.
56446 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56447 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56448 Likewise.
56449 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56450 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56451 Likewise.
56452 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56453 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56454 Likewise.
56455 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
56456 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56457 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56458 [__ASSUME_RECVMMSG]: Change condition to
56459 [__ASSUME_RECVMMSG_SOCKETCALL].
56460 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56461 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56462 Define.
56463 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56464 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56465 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56466 Likewise.
56467 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
56468 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56469 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56470 [!__ASSUME_RECVMMSG]: Change condition to
56471 [!__ASSUME_RECVMMSG_SOCKETCALL].
56472 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56473 (__ASSUME_RECVMMSG_SYSCALL): Define.
56474
56475 [BZ #16609]
56476 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
56477 __powerpc__ || __s390__ || __sh__ || __sparc__]
56478 (__ASSUME_SOCKETCALL): Define.
56479 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
56480 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
56481 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
56482 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
56483 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
56484 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
56485 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
56486 (__ASSUME_ACCEPT4): Define instead of using previous
56487 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
56488 __powerpc__ || __sparc__ || __s390__)] condition.
56489 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56490 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56491 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
56492 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56493 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56494 [!__ASSUME_ACCEPT4]: Change condition to
56495 [!__ASSUME_ACCEPT4_SOCKETCALL].
56496 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56497 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
56498 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
56499 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56500 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
56501 __ASSUME_ACCEPT4_SYSCALL.
56502 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
56503 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
56504 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56505 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
56506 __ASSUME_ACCEPT4_SYSCALL.
56507 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
56508 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56509 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56510 [__ASSUME_ACCEPT4]: Change condition to
56511 [__ASSUME_ACCEPT4_SOCKETCALL].
56512 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
56513 (__ASSUME_SOCKETCALL): Define.
56514 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
56515 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56516 (__ASSUME_SOCKETCALL): Define.
56517 (__ASSUME_ACCEPT4): Remove.
56518 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
56519 Define.
56520 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56521 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
56522 Likewise.
56523 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56524 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56525
56526 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
56527 macro.
56528 (HWCAP_ARM_LPAE): Likewise.
56529 (HWCAP_ARM_EVTSTRM): Likewise.
56530 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
56531 Add vpfd32, lpae and evtstrm.
56532 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
56533 Increase to 22.
56534
56535 2014-02-19 Joseph Myers <joseph@codesourcery.com>
56536
56537 * math/auto-libm-test-in: Add tests of clog10.
56538 * math/auto-libm-test-out: Regenerated.
56539 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
56540 * sysdeps/i386/fpu/libm-test-ulps: Update.
56541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56542
56543 2014-02-18 Andreas Schwab <schwab@suse.de>
56544
56545 [BZ #16574]
56546 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
56547 Store non-zero if the second buffer was newly allocated.
56548 (send_dg): Likewise.
56549 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
56550 to send_vc and send_dg.
56551 (res_nsend): Pass NULL for ansp2_malloced.
56552 * resolv/res_query.c (__libc_res_nquery): Add parameter
56553 answerp2_malloced and pass it down to __libc_res_nsend.
56554 (res_nquery): Pass additional NULL to __libc_res_nquery.
56555 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
56556 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
56557 second answer buffer if answerp2_malloced was set.
56558 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
56559 (__libc_res_nquerydomain): Add parameter
56560 answerp2_malloced and pass it down to __libc_res_nquery.
56561 (res_nquerydomain): Pass additional NULL to
56562 __libc_res_nquerydomain.
56563 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
56564 additional NULL to __libc_res_nsend and __libc_res_nquery.
56565 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
56566 additional NULL to __libc_res_nsearch.
56567 (_nss_dns_gethostbyname4_r): Revert last change. Use new
56568 parameter of __libc_res_nsearch to check for separately allocated
56569 second buffer.
56570 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
56571 __libc_res_nquery.
56572 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
56573 additional NULL to __libc_res_nquery.
56574 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
56575 __libc_res_nsearch.
56576 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
56577 * include/resolv.h: Update prototypes of __libc_res_nquery,
56578 __libc_res_nsearch, __libc_res_nsend.
56579
56580 2014-02-18 Joseph Myers <joseph@codesourcery.com>
56581
56582 * math/auto-libm-test-in: Add tests of fma.
56583 * math/auto-libm-test-out: Regenerated.
56584 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
56585 (fma_towardzero_test_data): Likewise.
56586 (fma_downward_test_data): Likewise.
56587 (fma_upward_test_data): Likewise.
56588 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
56589 mpc_mode.
56590 (rounding_modes): Add values for new field.
56591 (func_calc_method): Add value mpfr_fff_f.
56592 (func_calc_desc): Add mpfr_fff_f union field.
56593 (test_function): Add field exact_args.
56594 (FUNC): Add macro argument EXACT_ARGS.
56595 (FUNC_mpfr_f_f): Update call to FUNC.
56596 (FUNC_mpfr_f_f): Likewise.
56597 (FUNC_mpfr_ff_f): Likewise.
56598 (FUNC_mpfr_if_f): Likewise.
56599 (FUNC_mpc_c_f): Likewise.
56600 (FUNC_mpc_c_c): Likewise.
56601 (test_functions): Add fma. Update calls to FUNC.
56602 (handle_input_arg): Add argument exact_args.
56603 (add_test): Update call to handle_input_arg.
56604 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
56605 (output_for_one_input_case): Update call to calc_generic_results.
56606 Recalculate exact zero results in each rounding mode.
56607
56608 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
56609 non-negative before setting low bit.
56610 * math/auto-libm-test-in: Mark one asin test possibly having
56611 spurious underflow.
56612 * math/auto-libm-test-out: Regenerated.
56613 * sysdeps/i386/fpu/libm-test-ulps: Update.
56614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56615
56616 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
56617
56618 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
56619 * sysdeps/unix/sysv/linux/microblaze: Move directory from
56620 ports/sysdeps/unix/sysv/linux/microblaze.
56621 * README: Add missing listing for microblaze*-*-linux-gnu.
56622
56623 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
56624
56625 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
56626 duplicate code
56627
56628 2014-02-16 Mike Frysinger <vapier@gentoo.org>
56629
56630 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
56631 * sysdeps/unix/sysv/linux/ia64: Move directory from
56632 ports/sysdeps/unix/sysv/linux/ia64.
56633 * README: Update listing for ia64-*-linux-gnu.
56634
56635 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
56636 Joseph Myers <joseph@codesourcery.com>
56637
56638 * Makeconfig (test-name): New variable.
56639 (evaluate-test): Likewise.
56640 * Makerules (do-test-clean): Remove .test-result files.
56641 (common-mostlyclean): Likewise.
56642 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
56643 * scripts/evaluate-test.sh: New file.
56644
56645 2014-02-14 Joseph Myers <joseph@codesourcery.com>
56646
56647 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
56648 separate $(objpfx)tst-fopenloc-cmp.out and
56649 $(objpfx)tst-fopenloc-mem.out targets.
56650 (tests): Update dependencies.
56651 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
56652 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
56653 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
56654 (tst-rxspencer-no-utf8-ARGS): New variable.
56655 (tst-rxspencer-no-utf8-ENV): Likewise.
56656 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
56657 instead of $(objpfx)tst-rxspencer-mem.
56658 ($(objpfx)tst-rxspencer-mem): Change target to
56659 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
56660 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
56661 * posix/tst-rxspencer-no-utf8.c: New file.
56662
56663 * elf/Makefile ($(objpfx)order.out): Remove rule.
56664 [$(run-built-tests) = yes] (tests): Depend on
56665 $(objpfx)order-cmp.out.
56666 ($(objpfx)order-cmp.out): New rule.
56667 [$(run-built-tests) = yes] (tests): Depend on
56668 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
56669 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
56670 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
56671 $(objpfx)tst-array5-static-cmp.out.
56672 ($(objpfx)tst-array1.out): Remove rule.
56673 ($(objpfx)tst-array1-cmp.out): New rule.
56674 ($(objpfx)tst-array1-static.out): Remove rule.
56675 ($(objpfx)tst-array1-static-cmp.out): New rule.
56676 ($(objpfx)tst-array2.out): Remove rule.
56677 ($(objpfx)tst-array2-cmp.out): New rule.
56678 ($(objpfx)tst-array3.out): Remove rule.
56679 ($(objpfx)tst-array3-cmp.out): New rule.
56680 ($(objpfx)tst-array4.out): Remove rule.
56681 ($(objpfx)tst-array4-cmp.out): New rule.
56682 ($(objpfx)tst-array5.out): Remove rule.
56683 ($(objpfx)tst-array5-cmp.out): New rule.
56684 ($(objpfx)tst-array5-static.out): Remove rule.
56685 ($(objpfx)tst-array5-static-cmp.out): New rule.
56686 [$(run-built-tests) = yes] (tests): Depend on
56687 $(objpfx)order2-cmp.out.
56688 ($(objpfx)order2.out): Remove rule.
56689 ($(objpfx)order2-cmp.out): New rule.
56690 ($(objpfx)tst-initorder.out): Remove rule.
56691 [$(run-built-tests) = yes] (tests): Depend on
56692 $(objpfx)tst-initorder-cmp.out.
56693 ($(objpfx)tst-initorder-cmp.out): New rule.
56694 ($(objpfx)tst-initorder2.out): Remove rule.
56695 [$(run-built-tests) = yes] (tests): Depend on
56696 $(objpfx)tst-initorder2-cmp.out.
56697 ($(objpfx)tst-initorder2-cmp.out): New rule.
56698 [$(run-built-tests) = yes] (tests): Depend on
56699 $(objpfx)tst-unused-dep-cmp.out.
56700 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
56701 ($(objpfx)tst-unused-dep-cmp.out): New rule.
56702 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
56703 on $(objpfx)tst-setvbuf1-cmp.out.
56704 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
56705 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
56706 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
56707 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
56708 ($(objpfx)tst-svc.out): Remove rule.
56709 ($(objpfx)tst-svc-cmp.out): New rule.
56710
56711 2014-02-13 Joseph Myers <joseph@codesourcery.com>
56712
56713 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
56714 * ctype/ctype.h [__USE_MISC]: Likewise.
56715 * dirent/dirent.h [__USE_MISC]: Likewise.
56716 * grp/grp.h [__USE_MISC]: Likewise.
56717 * io/fcntl.h [__USE_MISC]: Likewise.
56718 * io/sys/stat.h [__USE_MISC]: Likewise.
56719 * libio/stdio.h [__USE_MISC]: Likewise.
56720 * posix/unistd.h [__USE_MISC]: Likewise.
56721 * pwd/pwd.h [__USE_MISC]: Likewise.
56722 * stdlib.h [__USE_MISC]: Likewise.
56723 * string/bits/string2.h [__USE_MISC]: Likewise.
56724 * string/string.h [__USE_MISC]: Likewise.
56725 * time/time.h [__USE_MISC]: Likewise.
56726
56727 2014-02-13 Andreas Schwab <schwab@suse.de>
56728
56729 [BZ #16574]
56730 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
56731 second answer buffer if it was separately allocated.
56732
56733 2014-02-12 Joseph Myers <joseph@codesourcery.com>
56734
56735 * sysdeps/mips/math-tests.h: Include <features.h>.
56736 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
56737 (ROUNDING_TESTS_long_double): Do not define.
56738 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
56739 (EXCEPTION_TESTS_long_double): Likewise.
56740 * sysdeps/mips/mips64/libm-test-ulps: Update.
56741
56742 * include/features.h (__USE_BSD): Remove macro definitions.
56743 (__USE_SVID): Likewise.
56744 (_BSD_SOURCE): Likewise.
56745 (_SVID_SOURCE): Likewise.
56746 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
56747 from definition of _DEFAULT_SOURCE.
56748 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
56749 [_DEFAULT_SOURCE].
56750 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
56751 * bits/mman.h [__USE_BSD]: Likewise.
56752 * bits/termios.h [__USE_BSD]: Likewise.
56753 * bits/waitstatus.h [__USE_BSD]: Likewise.
56754 * ctype/ctype.h [__USE_SVID]: Likewise.
56755 * dirent/dirent.h [__USE_BSD]: Likewise.
56756 * grp/grp.h [__USE_SVID]: Likewise.
56757 [__USE_BSD]: Likewise.
56758 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
56759 * io/fcntl.h [__USE_BSD]: Likewise.
56760 * io/ftw.h [__USE_BSD]: Likewise.
56761 * io/sys/stat.h [__USE_BSD]: Likewise.
56762 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
56763 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
56764 * libio/stdio.h [__USE_SVID]: Likewise.
56765 [__USE_BSD]: Likewise.
56766 * math/math.h [__USE_SVID]: Likewise.
56767 [__USE_BSD]: Likewise.
56768 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
56769 * misc/bits/syslog.h [__USE_BSD]: Likewise.
56770 * misc/search.h [__USE_SVID]: Likewise.
56771 * misc/sys/mman.h [__USE_BSD]: Likewise.
56772 * misc/sys/syslog.h [__USE_BSD]: Likewise.
56773 * misc/sys/uio.h [__USE_BSD]: Likewise.
56774 * posix/bits/unistd.h [__USE_BSD]: Likewise.
56775 * posix/glob.h [__USE_BSD]: Likewise.
56776 * posix/regex.h [__USE_BSD]: Likewise.
56777 * posix/sys/types.h [__USE_BSD]: Likewise.
56778 [__USE_SVID]: Likewise.
56779 * posix/sys/utsname.h [__USE_SVID]: Likewise.
56780 * posix/sys/wait.h [__USE_BSD]: Likewise.
56781 [__USE_SVID]: Likewise.
56782 * posix/unistd.h [__USE_BSD]: Likewise.
56783 [__USE_SVID]: Likewise.
56784 * pwd/pwd.h [__USE_SVID]: Likewise.
56785 * resolv/netdb.h [__USE_BSD]: Likewise.
56786 * setjmp/setjmp.h [__USE_BSD]: Likewise.
56787 * signal/signal.h [__USE_BSD]: Likewise.
56788 [__USE_SVID]: Likewise.
56789 * socket/sys/socket.h [__USE_BSD]: Likewise.
56790 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
56791 * stdlib/stdlib.h [__USE_BSD]: Likewise.
56792 [__USE_SVID]: Likewise.
56793 * string/bits/string2.h [__USE_BSD]: Likewise.
56794 [__USE_SVID]: Likewise.
56795 * string/bits/string3.h [__USE_BSD]: Likewise.
56796 * string/endian.h [__USE_BSD]: Likewise.
56797 * string/string.h [__USE_SVID]: Likewise.
56798 [__USE_BSD]: Likewise.
56799 * string/strings.h [__USE_BSD]: Likewise.
56800 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
56801 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
56802 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
56803 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
56804 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
56805 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
56806 Likewise.
56807 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
56808 Likewise.
56809 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
56810 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
56811 Likewise.
56812 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
56813 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
56814 Likewise.
56815 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
56816 Likewise.
56817 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
56818 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
56819 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
56820 Likewise.
56821 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
56822 Likewise.
56823 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
56824 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
56825 * termios/termios.h [__USE_BSD]: Likewise.
56826 * time/sys/time.h [__USE_BSD]: Likewise.
56827 * time/time.h [__USE_BSD]: Likewise.
56828 [__USE_SVID]: Likewise.
56829
56830 * Makefile (subdir_targets): Remove subdir_lint.out.
56831
56832 * stdio-common/Makefile (do-tst-unbputc): Remove target.
56833 (do-tst-printf): Likewise.
56834 (tests): Depend directly on $(objpfx)tst-unbputc.out and
56835 $(objpfx)tst-printf.out.
56836
56837 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
56838
56839 * Makerules (check-abi-%): Change target to
56840 $(objpfx)check-abi-%.out.
56841 (check-abi target): Update dependencies.
56842 (check-abi-pattern variable): Redirect output of diff to $@.
56843 (check-abi variable): Likewise.
56844 * elf/Makefile (check-abi): Update dependencies.
56845
56846 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
56847 unused.
56848 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
56849 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
56850 subnormal range.
56851 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
56852 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
56853 value has largest subnormal exponent.
56854 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
56855 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
56856 * sysdeps/aarch64/soft-fp/sfp-machine.h
56857 (_FP_TININESS_AFTER_ROUNDING): New macro.
56858 * sysdeps/alpha/soft-fp/sfp-machine.h
56859 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56860 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56861 Likewise.
56862 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
56863 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56864 * sysdeps/mips/soft-fp/sfp-machine.h
56865 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56866 * sysdeps/powerpc/soft-fp/sfp-machine.h
56867 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56868 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56869 Likewise.
56870 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
56871 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56872 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
56873 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56874 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56875 Likewise.
56876
56877 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
56878
56879 [BZ #16545]
56880 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
56881 model 1.
56882
56883 2014-02-12 Richard Henderson <rth@redhat.com>
56884
56885 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
56886 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
56887 * sysdeps/unix/sysv/linux/alpha: Move directory from
56888 ports/sysdeps/unix/sysv/linux/alpha.
56889 * README: Update listing for alpha-*-linux-gnu.
56890
56891 2014-02-11 Joseph Myers <joseph@codesourcery.com>
56892
56893 * include/features.h: Update comment documenting feature test
56894 macros.
56895 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
56896 _DEFAULT_SOURCE.
56897 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
56898 (_SVID_SOURCE): Likewise.
56899 (_DEFAULT_SOURCE): Update description of default features.
56900 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
56901 with _GNU_SOURCE.
56902 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
56903 (S_ISVTX): Likewise.
56904 * manual/math.texi (Mathematical Constants): Likewise.
56905 * manual/signal.texi (Interrupted Primitives): Likewise.
56906 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
56907 * math/test-matherr.c (_SVID_SOURCE): Do not define.
56908 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
56909 Don't refer to _SVID_SOURCE in warning text.
56910
56911 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56912
56913 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
56914 already defined.
56915 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
56916 * sysdeps/mips/dl-lookup.c: Remove.
56917 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
56918
56919 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
56920
56921 [BZ #16447]
56922 * math/auto-libm-test-in: Add testcase for expl.
56923 * math/auto-libm-test-out: Regenerate.
56924 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
56925 calculation of unsafe.
56926 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
56927
56928 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
56929
56930 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
56931 * sysdeps/unix/sysv/linux/aarch64: Move directory from
56932 ports/sysdeps/unix/sysv/linux/aarch64.
56933 * README: Update listing for aarch64*-*-linux-gnu.
56934
56935 2014-02-11 Will Newton <will.newton@linaro.org>
56936
56937 * manual/probes.texi (Mathematical Function Probes): Use
56938 "triggered" instead of "hit".
56939
56940 * manual/probes.texi (Internal Probes): Add documentation
56941 of setjmp, longjmp and longjmp_target probes.
56942
56943 * include/stap-probe.h: Add comment about probe argument
56944 format.
56945
56946 * malloc/mtrace.c (attribute_hidden): Remove unused macro
56947 definition. (tr_where, tr_freehook, tr_mallochook,
56948 tr_reallochook, tr_memalignhook): Use ANSI protoype.
56949
56950 2014-02-11 David S. Miller <davem@davemloft.net>
56951
56952 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
56953 processing int_tests.
56954
56955 2014-02-10 Joseph Myers <joseph@codesourcery.com>
56956
56957 * sysdeps/mips: Move directory from ports/sysdeps/mips.
56958 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
56959 * sysdeps/unix/sysv/linux/mips: Move directory from
56960 ports/sysdeps/unix/sysv/linux/mips.
56961 * README: Update listing for mips-*-linux-gnu and
56962 mips64-*-linux-gnu.
56963
56964 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
56965
56966 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
56967 * sysdeps/unix/sysv/linux/m68k: Move directory from
56968 ports/sysdeps/unix/sysv/linux/m68k.
56969 * README: Update listing for m68k-*-linux-gnu.
56970
56971 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
56972
56973 * sysdeps/tile: Move directory from ports/sysdeps/tile.
56974 * sysdeps/unix/sysv/linux/generic: Move directory from
56975 ports/sysdeps/unix/sysv/linux/generic.
56976 * sysdeps/unix/sysv/linux/tile: Move directory from
56977 ports/sysdeps/unix/sysv/linux/tile.
56978 * README: Update listing for tile*-*-linux-gnu.
56979
56980 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
56981
56982 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
56983 __builtin_expect.
56984 * benchtests/bench-memmem.c (simple_memmem): Likewise.
56985 * catgets/open_catalog.c (__open_catalog): Likewise.
56986 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
56987 * debug/confstr_chk.c: Likewise.
56988 * debug/fread_chk.c (__fread_chk): Likewise.
56989 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
56990 * debug/getgroups_chk.c: Likewise.
56991 * debug/mbsnrtowcs_chk.c: Likewise.
56992 * debug/mbsrtowcs_chk.c: Likewise.
56993 * debug/mbstowcs_chk.c: Likewise.
56994 * debug/memcpy_chk.c: Likewise.
56995 * debug/memmove_chk.c: Likewise.
56996 * debug/mempcpy_chk.c: Likewise.
56997 * debug/memset_chk.c: Likewise.
56998 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
56999 * debug/strcat_chk.c (__strcat_chk): Likewise.
57000 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
57001 * debug/strncat_chk.c (__strncat_chk): Likewise.
57002 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
57003 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
57004 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
57005 * debug/wcpncpy_chk.c: Likewise.
57006 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
57007 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
57008 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
57009 * debug/wcsncpy_chk.c: Likewise.
57010 * debug/wcsnrtombs_chk.c: Likewise.
57011 * debug/wcsrtombs_chk.c: Likewise.
57012 * debug/wcstombs_chk.c: Likewise.
57013 * debug/wmemcpy_chk.c: Likewise.
57014 * debug/wmemmove_chk.c: Likewise.
57015 * debug/wmempcpy_chk.c: Likewise.
57016 * debug/wmemset_chk.c: Likewise.
57017 * dirent/scandirat.c (SCANDIRAT): Likewise.
57018 * dlfcn/dladdr1.c (dladdr1): Likewise.
57019 * dlfcn/dladdr.c (dladdr): Likewise.
57020 * dlfcn/dlclose.c (dlclose_doit): Likewise.
57021 * dlfcn/dlerror.c (__dlerror): Likewise.
57022 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
57023 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
57024 * dlfcn/dlopen.c (dlopen_doit): Likewise.
57025 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
57026 * dlfcn/dlsym.c (dlsym_doit): Likewise.
57027 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
57028 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
57029 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
57030 Likewise.
57031 * elf/dl-conflict.c: Likewise.
57032 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
57033 * elf/dl-dst.h: Likewise.
57034 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
57035 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
57036 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
57037 * elf/dl-init.c (call_init, _dl_init): Likewise.
57038 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57039 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
57040 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
57041 Likewise.
57042 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
57043 Likewise.
57044 * elf/dl-minimal.c (__libc_memalign): Likewise.
57045 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
57046 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
57047 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
57048 * elf/dl-sym.c (do_sym): Likewise.
57049 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
57050 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
57051 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
57052 * elf/dl-writev.h (_dl_writev): Likewise.
57053 * elf/ldconfig.c (search_dir): Likewise.
57054 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
57055 (dl_main): Likewise.
57056 * elf/setup-vdso.h (setup_vdso): Likewise.
57057 * grp/compat-initgroups.c (compat_call): Likewise.
57058 * grp/fgetgrent.c (fgetgrent): Likewise.
57059 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
57060 * grp/putgrent.c (putgrent): Likewise.
57061 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
57062 Likewise.
57063 * hurd/hurdinit.c: Likewise.
57064 * iconvdata/8bit-gap.c (struct): Likewise.
57065 * iconvdata/ansi_x3.110.c : Likewise.
57066 * iconvdata/big5.c : Likewise.
57067 * iconvdata/big5hkscs.c : Likewise.
57068 * iconvdata/cp1255.c: Likewise.
57069 * iconvdata/cp1258.c : Likewise.
57070 * iconvdata/cp932.c : Likewise.
57071 * iconvdata/euc-cn.c: Likewise.
57072 * iconvdata/euc-jisx0213.c : Likewise.
57073 * iconvdata/euc-jp.c: Likewise.
57074 * iconvdata/euc-jp-ms.c : Likewise.
57075 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
57076 * iconvdata/gb18030.c : Likewise.
57077 * iconvdata/gbbig5.c (const): Likewise.
57078 * iconvdata/gbgbk.c: Likewise.
57079 * iconvdata/gbk.c : Likewise.
57080 * iconvdata/ibm1364.c : Likewise.
57081 * iconvdata/ibm930.c : Likewise.
57082 * iconvdata/ibm932.c: Likewise.
57083 * iconvdata/ibm933.c : Likewise.
57084 * iconvdata/ibm935.c : Likewise.
57085 * iconvdata/ibm937.c : Likewise.
57086 * iconvdata/ibm939.c : Likewise.
57087 * iconvdata/ibm943.c: Likewise.
57088 * iconvdata/iso_11548-1.c: Likewise.
57089 * iconvdata/iso-2022-cn.c : Likewise.
57090 * iconvdata/iso-2022-cn-ext.c : Likewise.
57091 * iconvdata/iso-2022-jp-3.c: Likewise.
57092 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
57093 * iconvdata/iso-2022-kr.c : Likewise.
57094 * iconvdata/iso646.c (gconv_end): Likewise.
57095 * iconvdata/iso_6937-2.c : Likewise.
57096 * iconvdata/iso_6937.c : Likewise.
57097 * iconvdata/iso8859-1.c: Likewise.
57098 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
57099 * iconvdata/shift_jisx0213.c : Likewise.
57100 * iconvdata/sjis.c : Likewise.
57101 * iconvdata/t.61.c : Likewise.
57102 * iconvdata/tcvn5712-1.c : Likewise.
57103 * iconvdata/tscii.c: Likewise.
57104 * iconvdata/uhc.c : Likewise.
57105 * iconvdata/unicode.c (gconv_end): Likewise.
57106 * iconvdata/utf-16.c (gconv_end): Likewise.
57107 * iconvdata/utf-32.c (gconv_end): Likewise.
57108 * iconvdata/utf-7.c (base64): Likewise.
57109 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
57110 * iconv/gconv_close.c (__gconv_close): Likewise.
57111 * iconv/gconv_open.c (__gconv_open): Likewise.
57112 * iconv/gconv_simple.c (internal_ucs4_loop_single)
57113 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
57114 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
57115 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
57116 (ucs4le_internal_loop_single): Likewise.
57117 * iconv/iconv.c (iconv): Likewise.
57118 * iconv/iconv_close.c: Likewise.
57119 * iconv/loop.c (SINGLE): Likewise.
57120 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
57121 * include/atomic.h: Likewise.
57122 * inet/inet6_option.c (option_alloc): Likewise.
57123 * intl/bindtextdom.c (set_binding_values): Likewise.
57124 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
57125 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
57126 * intl/localealias.c (read_alias_file): Likewise.
57127 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57128 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
57129 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
57130 * libio/fmemopen.c (fmemopen): Likewise.
57131 * libio/iofgets.c (_IO_fgets): Likewise.
57132 * libio/iofgets_u.c (fgets_unlocked): Likewise.
57133 * libio/iofgetws.c (fgetws): Likewise.
57134 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
57135 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57136 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
57137 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
57138 * locale/findlocale.c (_nl_find_locale): Likewise.
57139 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
57140 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
57141 Likewise.
57142 * locale/setlocale.c (setlocale): Likewise.
57143 * login/programs/pt_chown.c (main): Likewise.
57144 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
57145 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57146 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
57147 (mmap, mmap64, mremap, munmap): Likewise.
57148 * math/e_exp2l.c: Likewise.
57149 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
57150 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
57151 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
57152 * math/s_catan.c (__catan): Likewise.
57153 * math/s_catanf.c (__catanf): Likewise.
57154 * math/s_catanh.c (__catanh): Likewise.
57155 * math/s_catanhf.c (__catanhf): Likewise.
57156 * math/s_catanhl.c (__catanhl): Likewise.
57157 * math/s_catanl.c (__catanl): Likewise.
57158 * math/s_ccosh.c (__ccosh): Likewise.
57159 * math/s_ccoshf.c (__ccoshf): Likewise.
57160 * math/s_ccoshl.c (__ccoshl): Likewise.
57161 * math/s_cexp.c (__cexp): Likewise.
57162 * math/s_cexpf.c (__cexpf): Likewise.
57163 * math/s_cexpl.c (__cexpl): Likewise.
57164 * math/s_clog10.c (__clog10): Likewise.
57165 * math/s_clog10f.c (__clog10f): Likewise.
57166 * math/s_clog10l.c (__clog10l): Likewise.
57167 * math/s_clog.c (__clog): Likewise.
57168 * math/s_clogf.c (__clogf): Likewise.
57169 * math/s_clogl.c (__clogl): Likewise.
57170 * math/s_csin.c (__csin): Likewise.
57171 * math/s_csinf.c (__csinf): Likewise.
57172 * math/s_csinh.c (__csinh): Likewise.
57173 * math/s_csinhf.c (__csinhf): Likewise.
57174 * math/s_csinhl.c (__csinhl): Likewise.
57175 * math/s_csinl.c (__csinl): Likewise.
57176 * math/s_csqrt.c (__csqrt): Likewise.
57177 * math/s_csqrtf.c (__csqrtf): Likewise.
57178 * math/s_csqrtl.c (__csqrtl): Likewise.
57179 * math/s_ctan.c (__ctan): Likewise.
57180 * math/s_ctanf.c (__ctanf): Likewise.
57181 * math/s_ctanh.c (__ctanh): Likewise.
57182 * math/s_ctanhf.c (__ctanhf): Likewise.
57183 * math/s_ctanhl.c (__ctanhl): Likewise.
57184 * math/s_ctanl.c (__ctanl): Likewise.
57185 * math/w_pow.c: Likewise.
57186 * math/w_powf.c: Likewise.
57187 * math/w_powl.c: Likewise.
57188 * math/w_scalb.c (sysv_scalb): Likewise.
57189 * math/w_scalbf.c (sysv_scalbf): Likewise.
57190 * math/w_scalbl.c (sysv_scalbl): Likewise.
57191 * misc/error.c (error_tail): Likewise.
57192 * misc/pselect.c (__pselect): Likewise.
57193 * nis/nis_callback.c (__nis_create_callback): Likewise.
57194 * nis/nis_call.c (__nisfind_server): Likewise.
57195 * nis/nis_creategroup.c (nis_creategroup): Likewise.
57196 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
57197 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
57198 * nis/nis_getservlist.c (nis_getservlist): Likewise.
57199 * nis/nis_lookup.c (nis_lookup): Likewise.
57200 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57201 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
57202 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
57203 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57204 * nis/nss_compat/compat-grp.c (getgrent_next_file)
57205 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
57206 * nis/nss_compat/compat-initgroups.c (add_group)
57207 (internal_getgrent_r): Likewise.
57208 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
57209 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
57210 * nis/nss_compat/compat-spwd.c (getspent_next_file)
57211 (internal_getspnam_r): Likewise.
57212 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
57213 (_nss_nis_getaliasbyname_r): Likewise.
57214 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
57215 (_nss_nis_getntohost_r): Likewise.
57216 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
57217 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
57218 (_nss_nis_getgrgid_r): Likewise.
57219 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
57220 (internal_nis_gethostent_r, internal_gethostbyname2_r)
57221 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
57222 (_nss_nis_gethostbyname4_r): Likewise.
57223 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
57224 (initgroups_netid): Likewise.
57225 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57226 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
57227 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
57228 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
57229 (_nss_nis_getprotobynumber_r): Likewise.
57230 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
57231 (_nss_nis_getsecretkey): Likewise.
57232 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
57233 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
57234 (_nss_nis_getpwuid_r): Likewise.
57235 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
57236 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
57237 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
57238 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
57239 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
57240 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
57241 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
57242 Likewise.
57243 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
57244 (_nss_nisplus_getntohost_r): Likewise.
57245 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
57246 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
57247 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
57248 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
57249 Likewise.
57250 * nis/nss_nisplus/nisplus-initgroups.c
57251 (_nss_nisplus_initgroups_dyn): Likewise.
57252 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
57253 (_nss_nisplus_getnetbyaddr_r): Likewise.
57254 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
57255 (_nss_nisplus_getprotobynumber_r): Likewise.
57256 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
57257 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
57258 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
57259 Likewise.
57260 * nis/nss_nisplus/nisplus-service.c
57261 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
57262 (_nss_nisplus_getservbyport_r): Likewise.
57263 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
57264 (_nss_nisplus_getspnam_r): Likewise.
57265 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
57266 Likewise.
57267 * nscd/aicache.c (addhstaiX): Likewise.
57268 * nscd/cache.c (cache_search, prune_cache): Likewise.
57269 * nscd/connections.c (register_traced_file, send_ro_fd)
57270 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
57271 (main_loop_epoll): Likewise.
57272 * nscd/grpcache.c (addgrbyX): Likewise.
57273 * nscd/hstcache.c (addhstbyX): Likewise.
57274 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57275 * nscd/mem.c (gc, mempool_alloc): Likewise.
57276 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
57277 (addinnetgrX): Likewise.
57278 * nscd/nscd-client.h (__nscd_acquire_maplock)
57279 (__nscd_drop_map_ref): Likewise.
57280 * nscd/nscd_getai.c (__nscd_getai): Likewise.
57281 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
57282 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
57283 Likewise.
57284 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
57285 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57286 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
57287 (__nscd_get_map_ref): Likewise.
57288 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57289 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
57290 Likewise.
57291 * nscd/pwdcache.c (addpwbyX): Likewise.
57292 * nscd/selinux.c (preserve_capabilities): Likewise.
57293 * nscd/servicescache.c (addservbyX): Likewise.
57294 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
57295 * posix/fnmatch.c (fnmatch): Likewise.
57296 * posix/getopt.c (_getopt_internal_r): Likewise.
57297 * posix/glob.c (glob, glob_in_dir): Likewise.
57298 * posix/wordexp.c (exec_comm_child): Likewise.
57299 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
57300 (getanswer_r, gaih_getanswer_slice): Likewise.
57301 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
57302 * resolv/res_init.c: Likewise.
57303 * resolv/res_mkquery.c (res_nmkquery): Likewise.
57304 * resolv/res_query.c (__libc_res_nquery): Likewise.
57305 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
57306 Likewise.
57307 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
57308 * stdio-common/perror.c (perror): Likewise.
57309 * stdio-common/printf_fp.c (___printf_fp): Likewise.
57310 * stdio-common/tmpnam.c (tmpnam): Likewise.
57311 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
57312 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57313 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
57314 Likewise.
57315 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
57316 * stdlib/putenv.c (putenv): Likewise.
57317 * stdlib/setenv.c (__add_to_environ): Likewise.
57318 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
57319 * stdlib/strtol_l.c (INTERNAL): Likewise.
57320 * string/memmem.c (memmem): Likewise.
57321 * string/strerror.c (strerror): Likewise.
57322 * string/strnlen.c (__strnlen): Likewise.
57323 * string/test-memmem.c (simple_memmem): Likewise.
57324 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
57325 * sunrpc/pm_getport.c (__get_socket): Likewise.
57326 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
57327 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57328 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
57329 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
57330 Likewise.
57331 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
57332 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
57333 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
57334 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
57335 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57336 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
57337 Likewise.
57338 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
57339 Likewise.
57340 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
57341 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
57342 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57343 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
57344 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
57345 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
57346 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
57347 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
57348 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
57349 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
57350 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57351 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
57352 Likewise.
57353 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
57354 Likewise.
57355 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
57356 Likewise.
57357 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
57358 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57359 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
57360 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
57361 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
57362 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
57363 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
57364 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
57365 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
57366 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
57367 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
57368 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57369 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
57370 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
57371 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57372 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
57373 Likewise.
57374 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
57375 Likewise.
57376 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
57377 Likewise.
57378 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
57379 Likewise.
57380 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57381 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57382 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
57383 Likewise.
57384 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
57385 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
57386 * sysdeps/posix/opendir.c (__opendirat): Likewise.
57387 * sysdeps/posix/sleep.c: Likewise.
57388 * sysdeps/posix/tempname.c: Likewise.
57389 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
57390 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57391 Likewise.
57392 * sysdeps/powerpc/powerpc32/dl-machine.h
57393 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
57394 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
57395 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57396 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
57397 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
57398 Likewise.
57399 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57400 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
57401 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57402 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
57403 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57404 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
57405 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
57406 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
57407 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57408 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57409 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
57410 (elf_machine_lazy_rel): Likewise.
57411 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57412 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
57413 (elf_machine_lazy_rel): Likewise.
57414 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
57415 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
57416 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
57417 * sysdeps/unix/grantpt.c (grantpt): Likewise.
57418 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
57419 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
57420 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
57421 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57422 Likewise.
57423 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
57424 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
57425 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
57426 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
57427 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
57428 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
57429 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
57430 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
57431 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
57432 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
57433 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57434 Likewise.
57435 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
57436 (__posix_fallocate64_l64): Likewise.
57437 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
57438 (posix_fallocate): Likewise.
57439 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
57440 Likewise.
57441 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57442 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
57443 (getifaddrs_internal): Likewise.
57444 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
57445 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
57446 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
57447 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
57448 * sysdeps/unix/sysv/linux/posix_fallocate64.c
57449 (__posix_fallocate64_l64): Likewise.
57450 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
57451 Likewise.
57452 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57453 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
57454 (__get_clockfreq): Likewise.
57455 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
57456 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
57457 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
57458 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57459 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57460 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
57461 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
57462 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
57463 Likewise.
57464 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
57465 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
57466 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
57467 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
57468 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57469 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
57470 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
57471 Likewise.
57472 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57473 (posix_fallocate): Likewise.
57474 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57475 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
57476 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57477 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
57478 (elf_machine_rela, elf_machine_rela_relative)
57479 (elf_machine_lazy_rel): Likewise.
57480 * time/asctime.c (asctime_internal): Likewise.
57481 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
57482 * time/tzset.c (__tzset_parse_tz): Likewise.
57483 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
57484 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
57485 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
57486 * wcsmbs/wcsmbsload.h: Likewise.
57487
57488 [BZ #15894]
57489 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
57490
57491 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
57492 (arena_get2): Remove THREAD_STATS conditionals.
57493 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
57494 (__malloc_stats, int): Likewise.
57495
57496 2014-02-08 Mike Frysinger <vapier@gentoo.org>
57497
57498 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
57499 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
57500
57501 * manual/setjmp.texi: Fix typos/grammar errors.
57502
57503 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
57504 Only return early when n is <= 0. Delete unused return statement.
57505
57506 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
57507 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
57508 * debug/tst-longjmp_chk3.c: New file.
57509
57510 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
57511 (test_main): Replace code with set_fortify_handler call.
57512 * debug/test-strcpy_chk.c: Likewise.
57513 * debug/tst-chk1.c: Likewise.
57514 * debug/tst-longjmp_chk.c: Likewise.
57515 * test-skeleton.c: Include fcntl.h & paths.h
57516 (set_fortify_handler): Define.
57517
57518 * debug/tst-longjmp_chk.c: Add header comment and include
57519 ../test-skeleton.c.
57520 (do_test): Mark static.
57521 (TEST_FUNCTION): Define.
57522
57523 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
57524 (IP_PMTUDISC_INTERFACE): Likewise.
57525 (IP_MULTICAST_IF): Likewise.
57526 (IP_MULTICAST_TTL): Likewise.
57527 (IP_MULTICAST_LOOP): Likewise.
57528 (IP_ADD_MEMBERSHIP): Likewise.
57529 (IP_DROP_MEMBERSHIP): Likewise.
57530 (IP_UNBLOCK_SOURCE): Likewise.
57531 (IP_BLOCK_SOURCE): Likewise.
57532 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
57533 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
57534 (IP_MSFILTER): Likewise.
57535 (MCAST_JOIN_GROUP): Likewise.
57536 (MCAST_BLOCK_SOURCE): Likewise.
57537 (MCAST_UNBLOCK_SOURCE): Likewise.
57538 (MCAST_LEAVE_GROUP): Likewise.
57539 (MCAST_JOIN_SOURCE_GROUP): Likewise.
57540 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
57541 (MCAST_MSFILTER): Likewise.
57542 (IP_MULTICAST_ALL): Likewise.
57543 (IP_UNICAST_IF): Likewise.
57544
57545 * timezone/Makefile: Delete $(have-ksh) check.
57546 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
57547 * timezone/tzselect.ksh: Add +x mode bits.
57548
57549 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
57550 (ANON_INODE_FS_MAGIC): Likewise.
57551 (BDEVFS_MAGIC): Likewise.
57552 (BINFMTFS_MAGIC): Likewise.
57553 (BTRFS_TEST_MAGIC): Likewise.
57554 (CRAMFS_MAGIC_WEND): Likewise.
57555 (DEBUGFS_MAGIC): Likewise.
57556 (ECRYPTFS_SUPER_MAGIC): Likewise.
57557 (EXT3_SUPER_MAGIC): Likewise.
57558 (EXT4_SUPER_MAGIC): Likewise.
57559 (FUTEXFS_SUPER_MAGIC): Likewise.
57560 (HOSTFS_SUPER_MAGIC): Likewise.
57561 (HUGETLBFS_MAGIC): Likewise.
57562 (MINIX3_SUPER_MAGIC): Likewise.
57563 (MTD_INODE_FS_MAGIC): Likewise.
57564 (NILFS_SUPER_MAGIC): Likewise.
57565 (OPENPROM_SUPER_MAGIC): Likewise.
57566 (PIPEFS_MAGIC): Likewise.
57567 (PSTOREFS_MAGIC): Likewise.
57568 (QNX6_SUPER_MAGIC): Likewise.
57569 (RAMFS_MAGIC): Likewise.
57570 (REISERFS_SUPER_MAGIC_STRING): Likewise.
57571 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
57572 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
57573 (SECURITYFS_MAGIC): Likewise.
57574 (SELINUX_MAGIC): Likewise.
57575 (SMACK_MAGIC): Likewise.
57576 (SOCKFS_MAGIC): Likewise.
57577 (SQUASHFS_MAGIC): Likewise.
57578 (STACK_END_MAGIC): Likewise.
57579 (TMPFS_MAGIC): Likewise.
57580 (USBDEVICE_SUPER_MAGIC): Likewise.
57581 (V9FS_MAGIC): Likewise.
57582 (XENFS_SUPER_MAGIC): Likewise.
57583 (CRAMFS_MAGIC): Fix typo in comment.
57584 (EXT2_SUPER_MAGIC): Update comment.
57585 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
57586
57587 2014-02-08 Joseph Myers <joseph@codesourcery.com>
57588
57589 * sysdeps/arm: Move directory from ports/sysdeps/arm.
57590 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
57591 * sysdeps/unix/sysv/linux/arm: Move directory from
57592 ports/sysdeps/unix/sysv/linux/arm.
57593 * README: Update listing for arm-*-linux-gnueabi.
57594
57595 * README: Remove mention of am33.
57596
57597 2014-02-07 Roland McGrath <roland@hack.frob.com>
57598
57599 * bits/sigset.h (__sigemptyset): Use a statement expression rather
57600 than the comma operator, to avoid "rhs of comma has no effect"
57601 compiler warnings.
57602 (__sigfillset, __sigandset, __sigorset): Likewise.
57603 * include/signal.h (__sigemptyset): Likewise.
57604 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
57605
57606 2014-02-07 Allan McRae <allan@archlinux.org>
57607
57608 * version.h (RELEASE): Set to "development".
57609 (VERSION): Set to "2.19.90"
57610 * NEWS: Add 2.20 section.
57611
57612 2014-02-06 Carlos O'Donell <carlos@redhat.com>
57613
57614 [BZ #16529]
57615 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
57616
57617 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
57618
57619 * manual/contrib.texi: Update entry for Carlos O'Donell,
57620 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
57621
57622 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
57623
57624 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
57625
57626 * sysdeps/unix/sysv/linux/kernel-features.h
57627 [__LINUX_KERNEL_VERSION >= 0x020621]
57628 (__ASSUME_PROC_PID_TASK_COMM): Define.
57629
57630 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
57631
57632 [BZ #16398]
57633 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
57634 conversion when destination buffer does not have enough space.
57635 * libio/tst-ftell-partial-wide.c: New test case.
57636 * libio/Makefile (tests): Add tst-ftell-partial-wide.
57637
57638 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
57639 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
57640 Leonard and Allan McRae.
57641
57642 2014-02-04 David S. Miller <davem@davemloft.net>
57643
57644 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
57645 32-bit.
57646
57647 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57648
57649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
57650 New file
57651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
57652 New file
57653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
57654 New file.
57655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
57656 New file.
57657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
57658 New file.
57659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
57660 New file.
57661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
57662 New file.
57663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
57664 New file.
57665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
57666 New file.
57667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
57668 New file.
57669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
57670 New file.
57671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
57672 New file.
57673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
57674 New file.
57675
57676 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57677
57678 * nptl/shlib-versions: Change powerpc*le start to 2.17.
57679 * shlib-versions: Likewise.
57680
57681 2014-02-04 Roland McGrath <roland@hack.frob.com>
57682 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57683
57684 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
57685 (abilist-pattern): New variable, set to %-le.abilist.
57686
57687 * Makerules (abilist-pattern): New variable.
57688 (vpath): Use $(abilist-pattern) in place of %.abilist.
57689 (check-abi-% pattern rule): Likewise.
57690 (check-abi, update-abi): Likewise.
57691
57692 2014-02-04 Eric Wong <normalperson@yhbt.net>
57693
57694 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57695
57696 2014-02-03 Carlos O'Donell <carlos@redhat.com>
57697
57698 * manual/startup.texi: Add next, previous, and top entries for
57699 the `Program Arguments' and `Environment Variables' nodes.
57700
57701 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
57702
57703 * manual/macros.texi: Add comments before MTASC-safety macros.
57704
57705 * manual/users.texi: Document MTASC-safety properties.
57706
57707 * manual/threads.texi (pthread_key_create, pthread_key_delete)
57708 (pthread_getspecific, pthread_setspecific): Format with
57709 @deftypefun, and add @safety note.
57710 * manual/signal.texi: Move comments that analyze the above
57711 functions to their home place.
57712
57713 2014-02-03 Allan McRae <allan@archlinux.org>
57714
57715 * po/sl.po: Update Slovenian translation from translation project.
57716
57717 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
57718
57719 * manual/time.texi (timegm): Add missing blank after @c.
57720 Reported by Joseph Myers <joseph@codesourcery.com>.
57721
57722 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
57723
57724 * manual/check-safety.sh: New.
57725 * manual/Makefile ($(objpfx)stamp-summary): Run it.
57726
57727 * manual/terminal.texi: Document MTASC-safety properties.
57728
57729 * manual/filesys.texi: Document MTASC-safety properties.
57730
57731 * manual/errno.texi: Document MTASC-safety properties.
57732
57733 * manual/intro.texi: Document safety identifiers and
57734 conditionals.
57735
57736 * manual/string.texi (wcstok): Fix prototype.
57737 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
57738
57739 * manual/time.texi: Document MTASC-safety properties.
57740
57741 * manual/string.texi: Document MTASC-safety properties.
57742
57743 * manual/threads.texi: Document MTASC-safety properties.
57744
57745 * manual/stdio.texi: Document MTASC-safety properties.
57746
57747 * manual/syslog.texi: Document MTASC-safety properties.
57748
57749 * manual/sysinfo.texi: Document MTASC-safety properties.
57750
57751 * manual/startup.texi: Document MTASC-safety properties.
57752
57753 * manual/socket.texi: Document MTASC-safety properties.
57754
57755 * manual/signal.texi: Document MTASC-safety properties.
57756
57757 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
57758
57759 * manual/setjmp.texi: Document MTASC-safety properties.
57760
57761 * manual/search.texi: Document MTASC-safety properties.
57762
57763 * manual/resource.texi: Document MTASC-safety properties.
57764
57765 * manual/process.texi: Document MTASC-safety properties.
57766
57767 * manual/platform.texi: Document MTASC-safety properties.
57768
57769 * manual/pipe.texi: Document MTASC-safety properties.
57770
57771 * manual/pattern.texi: Document MTASC-safety properties.
57772
57773 * manual/message.texi: Document MTASC-safety properties.
57774
57775 [BZ #12751]
57776 * manual/memory.texi: Document MTASC-safety properties.
57777
57778 * manual/math.texi: Document MTASC-safety properties.
57779
57780 * manual/locale.texi: Document MTASC-safety properties.
57781
57782 * manual/llio.texi: Document MTASC-safety properties.
57783
57784 * manual/libdl.texi: New.
57785
57786 * manual/lang.texi: Document MTASC-safety properties.
57787
57788 * manual/job.texi: Document MTASC-safety properties.
57789
57790 * manual/getopt.texi: Document MTASC-safety properties.
57791
57792 * manual/ctype.texi: Document MTASC-safety properties.
57793
57794 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
57795
57796 [BZ #16046]
57797 * csu/libc-tls.c (static_map): Remove variable.
57798 (__libc_setup_tls): Use main executable's link map for TLS data.
57799 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
57800 casing for LM_ID_BASE and GL(dl_nns).
57801 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
57802 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
57803 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
57804 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
57805 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
57806 member.
57807 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
57808 l_phnum members.
57809
57810 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
57811
57812 * manual/debug.texi: Document MTASC-safety properties.
57813
57814 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
57815
57816 [BZ #16510]
57817 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
57818 of __x86_64__ when disabling x87 inline functions.
57819
57820 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
57821
57822 * manual/charset.texi: Document MTASC-safety properties.
57823
57824 * manual/crypt.texi: Document MTASC-safety properties.
57825
57826 * manual/conf.texi: Document MTASC-safety properties.
57827
57828 * manual/arith.texi: Document MTASC-safety properties.
57829
57830 * manual/argp.texi: Document MTASC-safety properties.
57831
57832 * manual/macros.texi: Introduce macros to document multi
57833 thread, asynchronous signal and asynchronous cancellation
57834 safety properties.
57835 * manual/intro.texi: Introduce the properties themselves.
57836
57837 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57838
57839 * sysdeps/sh/sh4/Makefile: New file.
57840
57841 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
57842
57843 * math/gen-libm-test.pl ($srcdir): New variable.
57844 ($auto_input): Use it.
57845
57846 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
57847
57848 [BZ #16506]
57849 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
57850 access beyond array bounds when parsing netgroups file.
57851
57852 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
57853 the old buffer before realloc.
57854
57855 2014-01-27 Allan McRae <allan@archlinux.org>
57856
57857 * po/fr.po: Update French translation from translation project.
57858
57859 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57860
57861 * sysdeps/sh/libm-test-ulps: Regenerate.
57862
57863 2014-01-24 David S. Miller <davem@davemloft.net>
57864
57865 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
57866
57867 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57868
57869 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
57870 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
57871
57872 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
57873
57874 [BZ #16474]
57875 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
57876 string pointers after reallocation.
57877
57878 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57879
57880 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
57881 __SH4A__ instead of __SH_FPU_ANY__.
57882
57883 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57884
57885 * sysdeps/sh/fpu_control.h: New file.
57886 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
57887 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
57888 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
57889 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
57890 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
57891 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
57892 * sysdeps/sh/sys/ucontext.h: Remove.
57893 * sysdeps/sh/sys: Remove directory.
57894
57895 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57896
57897 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
57898 s390/sys/ucontext.h.
57899 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
57900 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
57901
57902 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
57903
57904 [BZ #15605]
57905 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
57906
57907 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57908
57909 [BZ #16431]
57910 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
57911 Adjust the vDSO correctly for internal calls.
57912 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
57913
57914 2014-01-20 Allan McRae <allan@archlinux.org>
57915
57916 * po/ca.po: Update Catalan translation from translation project.
57917
57918 2014-01-16 Mike Frysinger <vapier@gentoo.org>
57919
57920 * sysdeps/s390/sotruss-lib.c: New file.
57921
57922 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57923
57924 [BZ #16430]
57925 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
57926 (__GI___gettimeofday): Alias for a different internal symbol to avoid
57927 local calls issues by not having a PLT stub required for IFUNC calls.
57928 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
57929
57930 2014-01-16 Joseph Myers <joseph@codesourcery.com>
57931
57932 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
57933 * math/test-fpucw-static.c: Likewise.
57934
57935 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
57936
57937 [BZ #16453]
57938 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
57939
57940 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57941
57942 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
57943 implementation for powerpc.
57944
57945 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
57946
57947 [BZ #14782]
57948 * sysdeps/posix/system.c (__libc_system): Do not enable
57949 asynchronous cancellation.
57950
57951 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57952
57953 [BZ #16427]
57954 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
57955 handling only for numbers special also in the IEEE case.
57956
57957 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57958
57959 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
57960
57961 2014-01-11 Allan McRae <allan@archlinux.org>
57962
57963 * po/bg.po: Update Bulgarian translation from translation project.
57964
57965 * po/de.po: Update German translation from translation project.
57966
57967 2014-01-10 Roland McGrath <roland@hack.frob.com>
57968
57969 * sysdeps/generic/gcc-compat.h: New file.
57970
57971 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
57972
57973 * benchtests/asin-inputs: Correct slow inputs.
57974 * benchtests/acos-inputs: Likewise.
57975
57976 2014-01-10 Allan McRae <allan@archlinux.org>
57977
57978 * po:sv.po: Update Swedish translation from translation project.
57979
57980 * po/vi.po: Update Vietnamese translation from translation project.
57981
57982 * po/eo.po: Update Esperanto translation from translation project.
57983
57984 * po/cs.po: Update Czech translation from translation project.
57985
57986 * po/nl.po: Update Dutch translation from translation project.
57987
57988 * po/pl.po: Update Polish translation from translation project.
57989
57990 * po/ru.po: Update Russian translation from translation project.
57991
57992 * po/uk.po: Update Ukrainian translation from translation project.
57993
57994 2014-01-08 Brooks Moses <bmoses@google.com>
57995
57996 * elf/dl-load.c: Fix comment typo.
57997
57998 2014-01-08 Carlos O'Donell <carlos@redhat.com>
57999
58000 * po/header.pot: Rename to...
58001 * po/pot.header: ... this.
58002 * po/Makefile: Use pot.header.
58003
58004 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
58005 Maxim Kuvyrkov <maxim@kugelworks.com>
58006
58007 [BZ #16394]
58008 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
58009 SRC and DEST against LEN.
58010
58011 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58012
58013 [BZ #16414]
58014 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
58015 implementation.
58016 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
58017
58018 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58019
58020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58021
58022 2014-01-08 Joseph Myers <joseph@codesourcery.com>
58023
58024 [BZ #16408]
58025 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
58026 for large positive arguments.
58027
58028 2014-01-07 Joseph Myers <joseph@codesourcery.com>
58029
58030 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58031
58032 * math/auto-libm-test-in: Mark various tests with
58033 xfail-rounding:ldbl-128ibm.
58034 * math/auto-libm-test-out: Regenerated.
58035
58036 [BZ #16407]
58037 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
58038 Increase overflow threshold.
58039
58040 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
58041
58042 [BZ #14286]
58043 * stdio-common/vfprintf.c: Check for integer overflow.
58044
58045 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58046
58047 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
58048 the first argument and return value of __tls_get_addr_internal.
58049
58050 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58051
58052 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
58053 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
58054
58055 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58056
58057 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
58058 * sysdeps/s390/rtld-global-offsets.sym: New file.
58059 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
58060 GLIBC_2.19 symbol.
58061 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
58062 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
58063 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
58064 ... this.
58065 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
58066 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
58067 ... this.
58068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58069 Regenerate.
58070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58071 Regenerate.
58072 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
58073 halfs of GPRs for high_gprs contexts.
58074 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
58075 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
58076 field.
58077 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
58078 uc_flags field.
58079 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
58080 64 bit versions:
58081 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
58082 for high GPRs (uc_high_gprs) and for future extensions
58083 (__reserved).
58084 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
58085 for future extensions (__reserved).
58086 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
58087 64 bit versions:
58088 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
58089 SC_HIGHGPRS offset definition.
58090 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
58091 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
58092
58093 * Versions.def: Add GLIBC_2.19 for libpthread.
58094 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
58095 siglongjmp for libpthread with GLIBC_2.19 symver.
58096 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
58097 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
58098 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
58099 * sysdeps/s390/__longjmp.c: New file.
58100 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
58101 * sysdeps/s390/longjmp.c: New file.
58102 * sysdeps/s390/setjmp.S: New file.
58103 * sysdeps/s390/sigjmp.S: New file.
58104 * sysdeps/s390/v1-longjmp.c: New file.
58105 * sysdeps/s390/v1-setjmp.h: New file.
58106 * sysdeps/s390/v1-sigjmp.c: New file.
58107 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
58108 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
58109 GLIBC_2.19 version.
58110 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
58111 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
58112 versioned symbols for ____longjmp_chk.
58113 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
58114 Likewise.
58115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58116 Regenerate.
58117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58118 Regenerate.
58119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58120 Regenerate.
58121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58122 Regenerate.
58123 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
58124 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
58125 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
58126 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
58127 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
58128 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
58129 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
58130 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
58131 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
58132 * sysdeps/s390/rtld-__longjmp.c: New file.
58133 * sysdeps/s390/rtld-setjmp.S: New file.
58134
58135 2014-01-06 Joseph Myers <joseph@codesourcery.com>
58136
58137 [BZ #16400]
58138 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58139 Return -__logl (x) for small positive arguments without evaluating
58140 a polynomial.
58141
58142 2014-01-06 Mike Frysinger <vapier@gentoo.org>
58143
58144 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
58145 Rename to ...
58146 (__ptrace_peeksiginfo_args): ... this.
58147 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58148 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58149 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58150
58151 2014-01-06 Allan McRae <allan@archlinux.org>
58152
58153 * inet/netinet/in.h: Fix typo in comment.
58154
58155 2014-01-05 Andreas Jaeger <aj@suse.de>
58156
58157 * sysdeps/i386/fpu/libm-test-ulps: Update.
58158
58159 2014-01-05 Allan McRae <allan@archlinux.org>
58160
58161 * po/libc.pot: Regenerated.
58162
58163 * malloc/memusagestat.c: Fix gettext call formatting.
58164
58165 2014-01-04 Sami Kerola <kerolasa@iki.fi>
58166
58167 * nscd/nscd.c: Improve usage() output.
58168
58169 2014-01-04 Mike Frysinger <vapier@gentoo.org>
58170
58171 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
58172 * sysdeps/unix/sysv/linux/configure: Regenerated.
58173 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
58174 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
58175
58176 2014-01-03 Joseph Myers <joseph@codesourcery.com>
58177
58178 [BZ #16390]
58179 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
58180 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
58181
58182 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58183
58184 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
58185 extra tokens at end of #undef directive.
58186 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
58187 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
58188 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
58189
58190 2014-01-03 Joseph Myers <joseph@codesourcery.com>
58191
58192 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58193
58194 * math/auto-libm-test-in: Mark various tests with
58195 xfail-rounding:ldbl-128ibm.
58196 * math/auto-libm-test-out: Regenerated.
58197
58198 2014-01-02 Joseph Myers <joseph@codesourcery.com>
58199
58200 [BZ #16386]
58201 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
58202 numbers with subnormal high part when calculating exponent.
58203
58204 [BZ #16385]
58205 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
58206 fabs.
58207
58208 [BZ #16384]
58209 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
58210 M_LN2l.
58211 (__ieee754_acoshl): Use __log1pl not __log1p.
58212
58213 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
58214
58215 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
58216 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
58217 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
58218 (grow_heap, heap_trim, _int_new_arena, get_free_list)
58219 (reused_arena, arena_get2): Convert to GNU style.
58220 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
58221 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
58222 (memalign_check, __malloc_set_state): Likewise.
58223 * malloc/mallocbug.c (main): Likewise.
58224 * malloc/malloc.c (__malloc_assert, malloc_init_state)
58225 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
58226 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
58227 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
58228 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
58229 (__posix_memalign, malloc_info): Likewise.
58230 * malloc/malloc.h: Likewise.
58231 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
58232 (mallochook, memalignhook, reallochook, mabort): Likewise.
58233 * malloc/mcheck.h: Likewise.
58234 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
58235 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
58236 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
58237 * malloc/morecore.c (__default_morecore): Likewise.
58238 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
58239 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
58240 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
58241 (print_and_abort): Likewise.
58242 * malloc/obstack.h: Likewise.
58243 * malloc/set-freeres.c (__libc_freeres): Likewise.
58244 * malloc/tst-mallocstate.c (main): Likewise.
58245 * malloc/tst-mtrace.c (main): Likewise.
58246 * malloc/tst-realloc.c (do_test): Likewise.
58247
58248 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
58249
58250 [BZ #16366]
58251 * nscd/netgroupcache.c (do_notfound): New function.
58252 (addgetnetgrentX): Use it.
58253
58254 [BZ # 16365]
58255 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
58256 NSS_STATUS_NOTFOUND.
58257
58258 2014-01-01 Joseph Myers <joseph@codesourcery.com>
58259
58260 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
58261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58262
58263 2014-01-01 Allan McRae <allan@archlinux.org>
58264
58265 * scripts/update-copyrights: Update configure input file suffix.
58266
58267 * NEWS: Update copyright year.
58268 * catgets/gencat.c: Likewise.
58269 * csu/version.c: Likewise.
58270 * debug/catchsegv.sh: Likewise.
58271 * debug/pcprofiledump.c: Likewise.
58272 * debug/xtrace.sh: Likewise.
58273 * elf/ldconfig.c: Likewise.
58274 * elf/ldd.bash.in: Likewise.
58275 * elf/pldd.c: Likewise.
58276 * elf/sotruss.ksh: Likewise.
58277 * elf/sprof.c: Likewise.
58278 * iconv/iconv_prog.c: Likewise.
58279 * iconv/iconvconfig.c: Likewise.
58280 * locale/programs/locale.c: Likewise.
58281 * locale/programs/localedef.c: Likewise.
58282 * login/programs/pt_chown.c: Likewise.
58283 * malloc/memusage.sh: Likewise.
58284 * malloc/memusagestat.c: Likewise.
58285 * malloc/mtrace.pl: Likewise.
58286 * manual/libc.texinfo: Likewise.
58287 * nscd/nscd.c: Likewise.
58288 * nss/getent.c: Likewise.
58289 * nss/makedb.c: Likewise.
58290 * posix/getconf.c: Likewise.
58291 * scripts/test-installation.pl: Likewise.
58292
58293 * All files with FSF copyright notices: Update copyright dates
58294 using scripts/update-copyrights.
58295 * intl/plural.c: Regenerated.
58296 * locale/programs/charmap-kw.h: Likewise.
58297 * locale/programs/locfile-kw.h: Likewise.
58298
58299 2013-12-31 Mike Frysinger <vapier@gentoo.org>
58300
58301 * sysdeps/unix/sysv/linux/configure: Regenerated.
58302 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
58303 the linux/fanotify.h header.
58304 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
58305 HAVE_LINUX_FANOTIFY_H is defined.
58306
58307 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
58308
58309 * benchtests/cos-inputs: New inputs.
58310 * benchtests/sin-inputs: Likewise.
58311
58312 * benchtests/atan-inputs: New inputs. Fix name of multiple
58313 precision fallback inputs.
58314
58315 * benchtests/atanh-inputs: New inputs.
58316 * benchtests/tanh-inputs: Likewise.
58317
58318 * benchtests/acosh-inputs: New inputs.
58319 * benchtests/asinh-inputs: Likewise.
58320
58321 * benchtests/cosh-inputs: New inputs.
58322 * benchtests/sinh-inputs: Likewise.
58323
58324 * benchtests/acos-inputs: Add more inputs.
58325 * benchtests/asin-inputs: Likewise.
58326
58327 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
58328
58329 [BZ #16375]
58330 * manual/arith.texi: Fix spelling.
58331 * manual/charset.texi: Likewise.
58332 * manual/errno.texi: Likewise.
58333 * manual/filesys.texi: Likewise.
58334 * manual/lang.texi: Likewise.
58335 * manual/llio.texi: Likewise.
58336 * manual/locale.texi: Likewise.
58337 * manual/message.texi: Likewise.
58338 * manual/resource.texi: Likewise.
58339 * manual/search.texi: Likewise.
58340 * manual/setjmp.texi: Likewise.
58341 * manual/stdio.texi: Likewise.
58342 * manual/string.texi: Likewise.
58343 * manual/sysinfo.texi: Likewise.
58344 * manual/time.texi: Likewise.
58345
58346 2013-12-27 Carlos O'Donell <carlos@redhat.com>
58347
58348 * po/sl.po: New file.
58349
58350 2013-12-27 Mike Frysinger <vapier@gentoo.org>
58351
58352 * .gitignore: Add core/.gdbinit/.gdb_history.
58353
58354 2013-12-27 Allan McRae <allan@archlinux.org>
58355
58356 [BZ #16369]
58357 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
58358 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
58359
58360 2013-12-24 Brooks Moses <bmoses@google.com>
58361
58362 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
58363 all compilers that claim C++98 compliance, not just GCC.
58364 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
58365 Likewise.
58366
58367 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
58368
58369 * NEWS: Restore accidentally deleted bug-fix entries.
58370
58371 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
58372 Ondřej Bílka <neleai@seznam.cz>
58373
58374 [BZ #15073]
58375 * malloc/malloc.c (_int_free): Perform sanity check only if we
58376 have_lock.
58377
58378 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
58379
58380 [BZ #12986]
58381 * manual/stdio.texi (String Input Conversions): Clarify that character
58382 classes are not supported.
58383
58384 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58385
58386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58387
58388 2013-12-22 Joseph Myers <joseph@codesourcery.com>
58389
58390 [BZ #16337]
58391 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58392 Calculate results for small negative arguments directly rather
58393 than using reflection formula with special underflow handling.
58394
58395 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
58396 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
58397 sysdeps/unix/bsd/bsd4.4/syscalls.list.
58398 (fchflags): Likewise.
58399 (revoke): Likewise.
58400 (setlogin): Likewise.
58401 (sigaltstack): Likewise.
58402 (wait4): Likewise.
58403 (sigblock): Remove.
58404 (sigsetmask): Likewise.
58405 (wait3): Likewise.
58406 (waitpid): Likewise.
58407 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
58408 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
58409 file.
58410 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
58411 * sysdeps/unix/bsd/Makefile: ... here.
58412 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
58413 * sysdeps/unix/bsd/Versions: ... here.
58414 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
58415 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
58416 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
58417 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
58418 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
58419 * sysdeps/unix/bsd/sigblock.c: ... here.
58420 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
58421 * sysdeps/unix/bsd/sigsetmask.c: ... here.
58422 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
58423 * sysdeps/unix/bsd/sigvec.c: ... here.
58424 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
58425 * sysdeps/unix/bsd/tcdrain.c: ... here.
58426 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
58427 * sysdeps/unix/bsd/tcgetattr.c: ... here.
58428 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
58429 * sysdeps/unix/bsd/tcsetattr.c: ... here.
58430 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
58431 * sysdeps/unix/bsd/wait.c: ... here.
58432 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
58433 * sysdeps/unix/bsd/wait3.c: ... here.
58434 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
58435 * sysdeps/unix/bsd/waitpid.c: ... here.
58436
58437 2013-12-21 Joseph Myers <joseph@codesourcery.com>
58438
58439 [BZ #16356]
58440 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
58441 round-to-nearest for [!USE_AS_EXPM1L].
58442 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
58443 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
58444 more tests of exp and exp10. Expect some exp10 tests to miss
58445 exceptions or fail in directed rounding modes.
58446 * math/auto-libm-test-out: Regenerated.
58447 * math/libm-test.inc (exp10_tonearest_test_data): New array.
58448 (exp10_test_tonearest): New function.
58449 (exp10_towardzero_test_data): New array.
58450 (exp10_test_towardzero): New function.
58451 (exp10_downward_test_data): New array.
58452 (exp10_test_downward): New function.
58453 (exp10_upward_test_data): New array.
58454 (exp10_test_upward): New function.
58455 (main): Call the new functions.
58456 * sysdeps/i386/fpu/libm-test-ulps: Update.
58457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58458
58459 2013-12-20 Joseph Myers <joseph@codesourcery.com>
58460
58461 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
58462 asinh, atan, atan2, atanh, cbrt, cos and cosh.
58463 * math/auto-libm-test-out: Regenerated.
58464 * math/libm-test.inc (acosh_test_data): Add more tests.
58465 (atanh_test_data): Likewise.
58466 (ceil_test_data): Likewise.
58467 (copysign_test_data): Likewise.
58468 * sysdeps/i386/fpu/libm-test-ulps: Update.
58469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58470
58471 * timezone/checktab.awk: Update from tzcode 2013i.
58472 * timezone/private.h: Likewise.
58473 * timezone/scheck.c: Likewise.
58474 * timezone/tzfile.h: Likewise.
58475 * timezone/tzselect.ksh: Likewise.
58476 * timezone/zdump.c: Likewise.
58477 * timezone/zic.c: Likewise.
58478
58479 * math/auto-libm-test-in: Add tests of cpow.
58480 * math/auto-libm-test-out: Regenerated.
58481 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
58482 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58483 mpc_cc_c.
58484 (func_calc_desc): Add mpc_cc_c union field.
58485 (test_functions): Add cpow.
58486 (special_fill_2pi): New function.
58487 (special_real_inputs): Add 2pi.
58488 (calc_generic_results): Handle mpc_cc_c.
58489 * sysdeps/i386/fpu/libm-test-ulps: Update.
58490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58491
58492 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
58493 csqrt, ctan and ctanh.
58494 * math/auto-libm-test-out: Regenerated.
58495 * math/libm-test.inc (TEST_COND_x86_64): New macro.
58496 (TEST_COND_x86): Likewise.
58497 (ccos_test_data): Use AUTO_TESTS_c_c.
58498 (ccosh_test_data): Likewise.
58499 (cexp_test_data): Likewise.
58500 (clog_test_data): Likewise.
58501 (csqrt_test_data): Likewise.
58502 (ctan_test_data): Likewise.
58503 (ctan_tonearest_test_data): Likewise.
58504 (ctan_towardzero_test_data): Likewise.
58505 (ctan_downward_test_data): Likewise.
58506 (ctan_upward_test_data): Likewise.
58507 (ctanh_test_data): Likewise.
58508 (ctanh_tonearest_test_data): Likewise.
58509 (ctanh_towardzero_test_data): Likewise.
58510 (ctanh_downward_test_data): Likewise.
58511 (ctanh_upward_test_data): Likewise.
58512 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58513 mpc_c_c.
58514 (func_calc_desc): Add mpc_c_c union field.
58515 (FUNC_mpc_c_c): New macro.
58516 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
58517 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
58518 ctanh.
58519 (special_fill_min_subnorm_p120): New function.
58520 (special_real_inputs): Add min_subnorm_p120.
58521 (calc_generic_results): Handle mpc_c_c.
58522 * sysdeps/i386/fpu/libm-test-ulps: Update.
58523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58524
58525 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
58526
58527 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
58528 (do_sin_slow): New functions.
58529 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
58530 (cslow2, csloww1, csloww2): Use the new functions.
58531
58532 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
58533 Use M to change sign of result instead of X. Assume X is
58534 positive.
58535 (csloww1): Likewise.
58536 (__sin): Adjust.
58537 (__cos): Adjust.
58538
58539 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
58540 arguments A and DA.
58541 (__sin): Adjust.
58542 (__cos): Likewise.
58543
58544 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
58545 (__cos): Likewise.
58546 (sloww1): Don't adjust sign of DX.
58547 (csloww1): Likewise.
58548 (sloww2): Use X directly and don't adjust sign of DX.
58549 (csloww2): Likewise.
58550
58551 2013-12-19 Joseph Myers <joseph@codesourcery.com>
58552
58553 * math/auto-libm-test-in: Add tests of cabs and carg.
58554 * math/auto-libm-test-out: Regenerated.
58555 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
58556 (carg_test_data): Likewise.
58557 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58558 mpc_c_f.
58559 (func_calc_desc): Add mpc_c_f union field.
58560 (test_functions): Add cabs and carg.
58561 (calc_generic_results): Handle mpc_c_f.
58562
58563 * sysdeps/powerpc/powerpc32/libgcc-compat.S
58564 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
58565 as a macro and a compat symbol.
58566 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
58567 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
58568 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
58569 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
58570 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
58571 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
58572 not use .hidden.
58573 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
58574 Likewise.
58575 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
58576 Likewise.
58577 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
58578 Likewise.
58579 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
58580 Likewise.
58581 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
58582 Likewise.
58583 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
58584 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
58585 from GLIBC_2.3.2.
58586
58587 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58588
58589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58590
58591 2013-12-19 Joseph Myers <joseph@codesourcery.com>
58592
58593 * manual/texinfo.tex: Update to version 2013-11-26.10 with
58594 trailing whitespace removed.
58595 * scripts/config.guess: Update to version 2013-11-29.
58596 * scripts/config.sub: Update to version 2013-10-01.
58597
58598 * math/auto-libm-test-in: Add tests of sincos.
58599 * math/auto-libm-test-out: Regenerated.
58600 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
58601 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58602 mpfr_f_11.
58603 (func_calc_desc): Add mpfr_f_11 union field.
58604 (test_functions): Add sincos.
58605 (calc_generic_results): Handle mpfr_f_11.
58606 * sysdeps/i386/fpu/libm-test-ulps: Update.
58607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58608
58609 2013-12-19 Andreas Schwab <schwab@suse.de>
58610
58611 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
58612 CALL_MCOUNT.
58613 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
58614 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
58615 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
58616
58617 2013-12-19 Joseph Myers <joseph@codesourcery.com>
58618
58619 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
58620 * sysdeps/i386/fpu/libm-test-ulps: Update.
58621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58622
58623 [BZ #16293]
58624 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
58625 round-to-nearest mode when using frndint.
58626 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
58627 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
58628 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
58629 Likewise.
58630 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
58631 sinh test to fail.
58632 * math/auto-libm-test-out: Regenerated.
58633 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
58634 (TEST_COND_x86): Likewise.
58635 (expm1_tonearest_test_data): New array.
58636 (expm1_test_tonearest): New function.
58637 (expm1_towardzero_test_data): New array.
58638 (expm1_test_towardzero): New function.
58639 (expm1_downward_test_data): New array.
58640 (expm1_test_downward): New function.
58641 (expm1_upward_test_data): New array.
58642 (expm1_test_upward): New function.
58643 (main): Run the new test functions.
58644 * sysdeps/i386/fpu/libm-test-ulps: Update.
58645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58646
58647 * include/features.h: Update comment documenting feature test
58648 macros. Mention _DEFAULT_SOURCE in comment.
58649 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
58650 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
58651 _BSD_SOURCE and _SVID_SOURCE.
58652 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
58653 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
58654 !_SVID_SOURCE]: Likewise.
58655 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58656 (__USE_POSIX_IMPLICITLY): Define.
58657 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58658 (_POSIX_SOURCE): Undefine and redefine.
58659 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58660 (_POSIX_C_SOURCE): Likewise.
58661 * manual/creature.texi (_DEFAULT_SOURCE): Document.
58662 (Feature Test Macros): Update documentation of default features.
58663
58664 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
58665
58666 * benchtests/Makefile: Add bench-strtok.
58667 * benchtests/bench-strtok.c: New file: strtok benchtest.
58668
58669 2013-12-19 Allan McRae <allan@archlinux.org>
58670
58671 * manual/install.texi: Suppress menu for plain text output.
58672 * INSTALL: Regenerated.
58673
58674 2013-12-18 Brooks Moses <bmoses@google.com>
58675
58676 [BZ #15846]
58677 * misc/getauxval.c: Include errno.h.
58678 (__getauxval): Set errno to ENOENT if the requested type is not
58679 found.
58680 * misc/sys/auxv.h (getauxval): Document that it may set errno;
58681 don't declare with __attribute_const__.
58682 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
58683 * manual/startup.texi: Document that getauxval sets errno.
58684
58685 2013-12-18 Joseph Myers <joseph@codesourcery.com>
58686
58687 * math/auto-libm-test-in: Add tests of jn and yn.
58688 * math/auto-libm-test-out: Regenerated.
58689 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
58690 (yn_test_data): Likewise.
58691 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58692 mpfr_if_f.
58693 (func_calc_desc): Add mpfr_if_f union field.
58694 (FUNC_mpfr_if_f): New macro.
58695 (test_functions): Add jn and yn.
58696 (calc_generic_results): Assert type of second input for
58697 mpfr_ff_f. Handle mpfr_if_f.
58698 (output_for_one_input_case): Disable all checking for arguments
58699 fitting floating-point types in case of an integer argument.
58700 * sysdeps/i386/fpu/libm-test-ulps: Update.
58701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58702
58703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
58704 Don't expect fegetround reference in libm.so.
58705
58706 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
58707
58708 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
58709 $(config-cflags-nofma).
58710
58711 2013-12-18 Joseph Myers <joseph@codesourcery.com>
58712
58713 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
58714 * math/auto-libm-test-out: Regenerated.
58715
58716 [BZ #16338]
58717 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
58718 to determine exponent and adjust argument to have exponent of -1.
58719 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
58720 log2.
58721 * math/auto-libm-test-out: Regenerated.
58722 * sysdeps/i386/fpu/libm-test-ulps: Update.
58723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58724
58725 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
58726
58727 * manual/probes.texi: Remove cases when per-thread arenas are
58728 disabled.
58729
58730 2013-12-18 Andreas Schwab <schwab@suse.de>
58731
58732 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
58733 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
58734 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
58735 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
58736 * sysdeps/i386/i686/multiarch/Makefile: Update.
58737 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
58738
58739 2013-12-17 Joseph Myers <joseph@codesourcery.com>
58740
58741 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
58742 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
58743
58744 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
58745
58746 [BZ #15968]
58747 Support TZ transition times < 00:00:00.
58748 This is needed for version-3 tz-format files; it supports time
58749 stamps past 2037 for America/Godthab (the only entry in the tz
58750 database for which this change is relevant).
58751 * manual/time.texi (TZ Variable): Document transition times
58752 from -167:59:59 through -00:00:01.
58753 * time/tzset.c (tz_rule): Time of day is now signed.
58754 (__tzset_parse_tz): Parse negative time of day.
58755
58756 Document TZ transition times >= 25:00:00.
58757 * manual/time.texi (TZ Variable): Document transition times from
58758 25:00:00 through 167:59:59. These are already supported, and this
58759 support will help with version-3 tz-format files.
58760
58761 * manual/time.texi (TZ Variable): Modernize North America example
58762 to reflect current (i.e., 2007-and-later) daylight saving rules.
58763
58764 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
58765
58766 2013-12-17 Joseph Myers <joseph@codesourcery.com>
58767
58768 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
58769 * sysdeps/unix/bsd/bits/stat.h: Likewise.
58770 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
58771 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
58772 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
58773 * sysdeps/unix/bsd/bsdstat.h: Likewise.
58774 * sysdeps/unix/bsd/clock.c: Likewise.
58775 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
58776 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
58777 * sysdeps/unix/bsd/init-posix.c: Likewise.
58778 * sysdeps/unix/bsd/poll.c: Likewise.
58779 * sysdeps/unix/bsd/ptsname.c: Likewise.
58780 * sysdeps/unix/bsd/seekdir.c: Likewise.
58781 * sysdeps/unix/bsd/setegid.c: Likewise.
58782 * sysdeps/unix/bsd/seteuid.c: Likewise.
58783 * sysdeps/unix/bsd/setgid.c: Likewise.
58784 * sysdeps/unix/bsd/setrgid.c: Likewise.
58785 * sysdeps/unix/bsd/setruid.c: Likewise.
58786 * sysdeps/unix/bsd/setsid.c: Likewise.
58787 * sysdeps/unix/bsd/setuid.c: Likewise.
58788 * sysdeps/unix/bsd/sigaction.c: Likewise.
58789 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
58790 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
58791 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
58792 * sysdeps/unix/bsd/telldir.c: Likewise.
58793 * sysdeps/unix/bsd/times.c: Likewise.
58794 * sysdeps/unix/bsd/usleep.c: Likewise.
58795
58796 * misc/Makefile (install-lib): Remove libbsd-compat.a.
58797 ($(objpfx)libbsd-compat.a): Remove rule.
58798
58799 * include/features.h (__FAVOR_BSD): Do not define.
58800 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
58801 features conflicting with POSIX.
58802 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
58803 (_BSD_SOURCE): Remove description of not being a subset of other
58804 feature test macros.
58805 * manual/job.texi (getpgrp): Do not document BSD version.
58806 (getpgid): Do not document by reference to BSD getpgrp.
58807 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
58808 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
58809 * signal/signal.h [__FAVOR_BSD]: Likewise.
58810 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
58811 instead of making contents conditional on [__FAVOR_BSD].
58812 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
58813
58814 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58815
58816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58817
58818 2013-12-17 Joseph Myers <joseph@codesourcery.com>
58819
58820 [BZ #16314]
58821 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
58822 values below 2**-450, not 2**-500.
58823 * math/auto-libm-test-in: Don't allow spurious underflow from
58824 hypot.
58825 * math/auto-libm-test-out: Regenerated.
58826
58827 [BZ #16316]
58828 [BZ #16330]
58829 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
58830 values of ha and hb and sort them after adjusting subnormal
58831 arguments.
58832 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
58833 Likewise.
58834 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
58835 values of ea and eb and sort them after adjusting subnormal
58836 arguments.
58837 * math/auto-libm-test-in: Do not expect some hypot tests of
58838 subnormals to fail. Add more hypot tests.
58839 * math/auto-libm-test-out: Regenerated.
58840
58841 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58842
58843 [BZ #13304]
58844 * sysdeps/sh/s_fma.c: New file.
58845 * sysdeps/sh/s_fmaf.c: New file.
58846 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
58847 version.
58848 * sysdeps/sh/Implies: Add sh/soft-fp.
58849
58850 2013-12-16 Roland McGrath <roland@hack.frob.com>
58851
58852 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
58853 level of indirection to members `objname', `errstring', `malloced'.
58854 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
58855 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
58856 it as the __longjmp argument (just pass 1 instead).
58857 (_dl_catch_error): Initialize C with argument pointers and address of
58858 volatile local ERRCODE rather than copying values out of C at return.
58859
58860 2013-12-16 Joseph Myers <joseph@codesourcery.com>
58861
58862 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
58863 * math/auto-libm-test-out: Regenerated.
58864 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
58865 (hypot_test_data): Likewise.
58866 (pow_test_data): Likewise.
58867 (pow_tonearest_test_data): Likewise.
58868 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58869 mpfr_ff_f.
58870 (func_calc_desc): Add mpfr_ff_f union field.
58871 (FUNC_mpfr_ff_f): New macro.
58872 (test_functions): Add atan2, hypot and pow.
58873 (special_fill_min): New function.
58874 (special_fill_minus_min): Likewise.
58875 (special_fill_min_subnorm): Likewise.
58876 (special_fill_minus_min_subnorm): Likewise.
58877 (special_real_inputs): Add min, -min, min_subnorm and
58878 -min_subnorm.
58879 (calc_generic_results): Handle mpfr_ff_f.
58880 * sysdeps/i386/fpu/libm-test-ulps: Update.
58881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58882
58883 2013-12-16 Will Newton <will.newton@linaro.org>
58884
58885 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
58886 (Aligned Memory Blocks): Add documentation for aligned_alloc
58887 and suggest it as an alternative to posix_memalign.
58888 (Hooks for Malloc): Document __memalign_hook is also called
58889 for aligned_alloc. (Summary of Malloc): Add summary for
58890 aligned alloc. Document __memalign_hook is also called
58891 for aligned_alloc.
58892
58893 2013-12-16 Will Newton <will.newton@linaro.org>
58894
58895 * manual/memory.texi (Malloc Examples): Clarify default
58896 alignment documentation. Suggest posix_memalign rather
58897 than memalign or valloc.
58898 (Aligned Memory Blocks): Remove suggestion to use memalign
58899 or valloc. Remove obsolete comment about BSD.
58900 Document memalign errno values and mark the function obsolete.
58901 Document posix_memalign returned error codes. Mark valloc
58902 as obsolete. (Hooks for Malloc): __memalign_hook is also
58903 called for posix_memalign and valloc.
58904 (Summary of Malloc): Add posix_memalign to function summary.
58905 __memalign_hook is also called for posix_memalign and valloc.
58906
58907 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
58908
58909 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
58910 TAYLOR_SIN.
58911 (__sin): Adjust.
58912 (__cos): Likewise.
58913 (sloww): Use mynumber union. Expand ternary operator into
58914 if-else statements.
58915 (cslow): use mynumber union.
58916
58917 2013-12-16 Allan McRae <allan@archlinux.org>
58918
58919 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
58920 * configure: Regenerated.
58921
58922 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
58923
58924 [BZ #14120]
58925 * configure.ac: Added --enable-maintainer-mode. Check for
58926 autoconf when enabled.
58927 * configure: Regenerated.
58928
58929 * nscd/nscd.service: New file.
58930 * nscd/nscd.tmpfiles: New file.
58931
58932 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
58933
58934 [BZ #12100]
58935 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
58936 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
58937 * sysdeps/x86_64/multiarch/strstr.c: ... here.
58938 (strstr): Add __strstr_sse2_unaligned ifunc.
58939 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
58940 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
58941 (strcasestr): Remove __strcasestr_sse42 ifunc.
58942 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
58943 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
58944 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
58945
58946 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58947
58948 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
58949 * sysdeps/sh/bits/fenv.h: ... here.
58950 * sysdeps/sh/sh4/fpu/bits: Remove directory.
58951
58952 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58953
58954 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
58955
58956 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
58957 hypotf multiarch implementations.
58958 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
58959 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
58960 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
58961 multiarch hypot for PPC64.
58962 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
58963 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
58964 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
58965 multiarch hypotf for PPC64.
58966
58967 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
58968 modff multiarch implementations.
58969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
58970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
58971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
58972 multiarch modf for PPC64.
58973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
58974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
58975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
58976 multiarch modff for PPC64.
58977
58978 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
58979 and logl multiarch implementations.
58980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
58981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
58982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
58983 multiarch logb for PPC64.
58984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
58985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
58986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
58987 multiarch logb for PPC64.
58988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
58989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
58990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
58991 multiarch logb for PPC64.
58992
58993 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
58994 isinff multiarch implementation.
58995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
58996 file.
58997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
58998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
58999 multiarch isinf for PPC64.
59000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
59001 file.
59002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
59003 multiarch isinff for PPC64.
59004
59005 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
59006 finitef multiarch implementation.
59007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
59008 file.
59009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
59010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
59011 multiarch finite for PPC64.
59012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
59013 file.
59014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
59015 multiarch finitef for PPC64.
59016
59017 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
59018 lrint multiarch implementation.
59019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
59020 file.
59021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
59022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
59023 multiarch llrint for PPC64.
59024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
59025 multiarch lrint for PPC64.
59026
59027 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
59028 copysignf multiarch implementation.
59029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
59030 file.
59031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
59032 file.
59033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
59034 multiarch copysign for PPC64.
59035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
59036 multiarch copysignf for PPC64.
59037
59038 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
59039 multiarch implementation.
59040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
59041 file.
59042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
59043 file.
59044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
59045 file.
59046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
59047 file.
59048 multiarch llround for PPC64.
59049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
59050 multiarch trunc for PPC64.
59051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
59052 multiarch truncf for PPC64.
59053
59054 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
59055 multiarch implementation.
59056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
59057 file.
59058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
59059 file.
59060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
59061 file.
59062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
59063 file.
59064 multiarch llround for PPC64.
59065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
59066 multiarch round for PPC64.
59067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
59068 multiarch roundf for PPC64.
59069
59070 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
59071 multiarch implementation.
59072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
59073 file.
59074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
59075 file.
59076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
59077 file.
59078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
59079 file.
59080 multiarch llround for PPC64.
59081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
59082 multiarch floor for PPC64.
59083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
59084 multiarch floorf for PPC64.
59085
59086 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
59087 multiarch implementation.
59088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
59089 file.
59090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
59091 file.
59092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
59093 file.
59094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
59095 file.
59096 multiarch llround for PPC64.
59097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
59098 multiarch ceil for PPC64.
59099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
59100 multiarch ceilf for PPC64.
59101
59102 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
59103 multiarch implementation.
59104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
59105 file.
59106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
59107 file.
59108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
59109 file.
59110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
59111 multiarch llround for PPC64.
59112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
59113 multiarch lround for PPC64.
59114
59115 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
59116 multiarch implementation.
59117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
59118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
59119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
59120 file.
59121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
59122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
59123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
59124 multiarch isnan for PPC64.
59125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
59126 multiarch isnanf for PPC64.
59127
59128 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
59129 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
59130 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
59131 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
59132 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
59133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
59134
59135 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
59136 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59137 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59138 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59139
59140 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
59141 multiarch implementations.
59142 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59143 (__libc_ifunc_impl_list): Likewise.
59144 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
59145 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
59146 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
59147 multiarch stpcpy for PPC64.
59148
59149 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
59150 multiarch implementations.
59151 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59152 (__libc_ifunc_impl_list): Likewise.
59153 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
59154 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
59155 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
59156 multiarch strcpy for PPC64.
59157
59158 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
59159 redefine function name.
59160 (_wordcopy_fwd_dest_aligned): Likewise.
59161 (_wordcopy_bwd_aligned): Likewise.
59162 (_wordcopy_bwd_dest_aligned): Likewise.
59163 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
59164 multiarch implementations.
59165 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59166 (__libc_ifunc_impl_list): Likewise.
59167 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
59168 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
59169 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
59170 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
59171 multiarch wcscpy for PPC64.
59172
59173 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
59174 multiarch implementations.
59175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59176 (__libc_ifunc_impl_list): Likewise.
59177 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
59178 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
59179 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
59180 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
59181 multiarch wcscpy for PPC64.
59182
59183 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
59184 multiarch implementations.
59185 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59186 (__libc_ifunc_impl_list): Likewise.
59187 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
59188 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
59189 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
59190 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
59191 multiarch wcsrchr for PPC64.
59192
59193 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
59194 multiarch implementations.
59195 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59196 (__libc_ifunc_impl_list): Likewise.
59197 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
59198 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
59199 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
59200 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
59201 multiarch wcschr for PPC64.
59202
59203 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
59204 multiarch implementations.
59205 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59206 (__libc_ifunc_impl_list): Likewise.
59207 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
59208 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
59209 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
59210 multiarch strchrnul for PPC64.
59211
59212 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
59213 implementations.
59214 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59215 (__libc_ifunc_impl_list): Likewise.
59216 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
59217 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
59218 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
59219 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
59220 strchr for PPC64.
59221
59222 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
59223 implementations.
59224 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59225 (__libc_ifunc_impl_list): Likewise.
59226 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
59227 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
59228 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
59229 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
59230 strncmp for PPC64.
59231
59232 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
59233 multiarch implementations.
59234 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59235 (__libc_ifunc_impl_list): Likewise.
59236 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
59237 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
59238 strncasecmp for PPC64.
59239 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
59240 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
59241 multiarch strncasecmp_l for PPC64.
59242
59243 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
59244 multiarch implementations.
59245 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
59246 (__libc_ifunc_impl_list): Likewise.
59247 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
59248 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
59249 multiarch strcasecmp for PPC64.
59250 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
59251 file.
59252 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
59253 multiarch strcasecmp_l for PPC64.
59254
59255 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
59256 implementations.
59257 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59258 (__libc_ifunc_impl_list): Likewise.
59259 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
59260 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
59261 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
59262 strnlen for PPC64.
59263
59264 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
59265 implementations.
59266 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59267 (__libc_ifunc_impl_list): Likewise.
59268 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
59269 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
59270 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
59271 strlen for PPC64.
59272
59273 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
59274 implementations.
59275 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59276 (__libc_ifunc_impl_list): Likewise.
59277 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
59278 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
59279 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
59280 rawmemrchr for PPC64.
59281
59282 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
59283 implementation.
59284 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59285 (__libc_ifunc_impl_list): Likewise.
59286 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
59287 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
59288 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
59289 memrchr for PPC64.
59290
59291 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
59292 implementation.
59293 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59294 (__libc_ifunc_impl_list): Likewise.
59295 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
59296 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
59297 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
59298 memchr for PPC64.
59299
59300 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
59301 implementation.
59302 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59303 (__libc_ifunc_impl_list): Likewise.
59304 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
59305 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
59306 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
59307 mempcpy for PPC64.
59308
59309 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
59310 avoid cretion of __bzero symbol.
59311 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
59312 Likewise.
59313 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
59314 Likewise.
59315 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
59316 Likewise.
59317 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
59318 multiarch implementations.
59319 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59320 (__libc_ifunc_impl_list): Likewise.
59321 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
59322 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
59323 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
59324 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
59325 bzero for PPC32.
59326 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
59327 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
59328 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
59329 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
59330 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
59331 memset for PPC64.
59332 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
59333
59334 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
59335 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
59336 implementations.
59337 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59338 (__libc_ifunc_impl_list): Likewise.
59339 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
59340 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
59341 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
59342 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
59343 memcmp for PPC64.
59344
59345 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
59346 multiarch for POWER/PPC64.
59347 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
59348 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
59349 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
59350 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
59351 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
59352 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
59353 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
59354 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
59355 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
59356 memcpy for PPC64.
59357
59358 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
59359 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
59360 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
59361 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
59362 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
59363 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
59364 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
59365 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
59366 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
59367 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
59368 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
59369 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
59370 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
59371 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
59372 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
59373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
59374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
59375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
59376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
59377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
59378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
59379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
59380
59381 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
59382
59383 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
59384
59385 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
59386
59387 * benchtests/Makefile (bench): Add exp2 and log2.
59388 (LDLIBS-bench-exp2): Add -lm.
59389 (LDLIBS-bench-log2): Likewise.
59390 * benchtests/exp2-inputs: New inputs file.
59391 * benchtests/log2-inputs: New inputs file.
59392 * benchtests/log-inputs: Add new inputs.
59393 * benchtests/tan-inputs: Likewise.
59394
59395 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
59396
59397 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
59398 definition...
59399 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
59400 (csloww2): ... from here.
59401
59402 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
59403 instead of structures.
59404 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
59405 (POLYNOMIAL): Likewise.
59406 (TAYLOR_SLOW): Likewise.
59407 (__sin): Likewise.
59408 (__cos): Likewise.
59409 (slow1): Likewise.
59410 (slow2): Likewise.
59411 (sloww): Likewise.
59412 (sloww1); Likewise.
59413 (sloww2): Likewise.
59414 (bsloww1): Likewise.
59415 (bsloww2): Likewise.
59416 (cslow2): Likewise.
59417 (csloww): Likewise.
59418 (csloww1): Likewise.
59419 (csloww2): Likewise.
59420
59421 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
59422
59423 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
59424 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
59425 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
59426 * malloc/hooks.c (realloc_check): Likewise.
59427
59428 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
59429 * malloc/arena.c: Remove PER_THREAD conditional.
59430 [!PER_THREAD]: Remove code.
59431 (ptmalloc_unlock_all2): Likewise.
59432 (ptmalloc_init): Likewise.
59433 (_int_new_arena): Likewise.
59434 (arena_get2): Likewise.
59435 * malloc/hooks.c (__malloc_get_state): Likewise.
59436 (__malloc_set_state): Likewise.
59437 * malloc/malloc.c: Likewise.
59438 (struct malloc_state): Likewise.
59439 (struct malloc_par): Likewise.
59440 (__libc_realloc): Likewise.
59441 (__libc_mallopt): Likewise.
59442
59443 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59444
59445 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
59446
59447 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
59448
59449 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
59450 macro to a function. Check for zero perturb_byte.
59451 (_int_malloc, _int_free): Remove zero perturb_byte checks.
59452
59453 * malloc/malloc.c: (force_reg): Remove.
59454 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
59455 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
59456 force_reg by atomic_forced_read.
59457 * malloc/arena.c (ptmalloc_init): Likewise.
59458 * malloc/hooks.c (top_check): Likewise.
59459
59460 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59461
59462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59463
59464 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
59465
59466 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59467
59468 2013-12-08 Joseph Myers <joseph@codesourcery.com>
59469
59470 * math/auto-libm-test-in: Add tests of lgamma.
59471 * math/auto-libm-test-out: Regenerated.
59472 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
59473 (M_LOG_2_SQRT_PIl): Likewise.
59474 (lgamma_test_data): Use AUTO_TESTS_f_f1.
59475 * math/gen-auto-libm-tests.c (func_calc_method): Add value
59476 mpfr_f_f1.
59477 (func_calc_desc): Add mpfr_f_f1 union field.
59478 (ARGS1): New macro.
59479 (ARGS2): Likewise.
59480 (ARGS3): Likewise.
59481 (ARGS4): Likewise.
59482 (RET1): Likewise.
59483 (RET2): Likewise.
59484 (CALC): Likewise.
59485 (FUNC): Likewise.
59486 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
59487 (test_functions): Add lgamma.
59488 (calc_generic_results): Handle mpfr_f_f1.
59489 * sysdeps/i386/fpu/libm-test-ulps: Update.
59490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59491
59492 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59493
59494 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
59495 __mpn_add_n for PowerPC64/POWER7.
59496 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
59497 __mpn_sub_n for PowerPC64/POWER7.
59498
59499 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
59500 __mpn_addmul_1 for PowerPC64.
59501 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
59502 __mpn_submul_1 for PowerPC64.
59503 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
59504 for PowerPC64.
59505 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
59506 for PowerPC64.
59507
59508 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
59509
59510 [BZ #15089]
59511 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
59512
59513 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59514
59515 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
59516
59517 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
59518 add multiarch folders.
59519 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
59520 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
59521 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
59522 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
59523 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
59524 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
59525 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
59526 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
59527 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
59528 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
59529 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
59530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
59531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
59532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
59533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
59534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
59535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
59536
59537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59538 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
59539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
59540 New file.
59541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
59542 New file.
59543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
59544 multiarch __ieee754_hypot for PowerPC32.
59545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
59546 New file.
59547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
59548 New file.
59549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
59550 multiarch __ieee754_hypotf for PowerPC32.
59551
59552 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
59553 long_double_symbol only if __logbl is defined.
59554 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
59555 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
59556 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
59557 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
59558 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
59559 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
59560 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
59561 path for implementation.
59562 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
59563 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
59564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
59565 logb, and logbl multiarch implementations for PowerPC32.
59566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
59567 file.
59568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
59569 file.
59570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
59571 multiarch logb for PowerPC32.
59572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
59573 file.
59574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
59575 file.
59576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
59577 multiarch logbf for PowerPC32.
59578 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
59579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
59580 file.
59581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
59582 multiarch logbl implementation for PowerPC32.
59583
59584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
59585 and modff multiarch implementations.
59586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
59587 New file.
59588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
59589 New file.
59590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
59591 multiarch modf for PowerPC32.
59592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
59593 New file.
59594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
59595 New file.
59596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
59597 multiarch modff for PowerPC32.
59598
59599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
59600 and lrintf multiarch implementations.
59601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
59602 New file.
59603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
59604 New file.
59605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
59606 multiarch lrint for PowerPC32.
59607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
59608 file: multiarch lrintf for PowerPC32.
59609
59610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
59611 and lroundf multiarch implementations.
59612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
59613 New file.
59614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
59615 New file.
59616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
59617 New file.
59618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
59619 multiarch lround for PowerPC32.
59620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
59621 file: multiarch lroundf for PowerPC32.
59622
59623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59624 copysign and copysignf multiarch implementations.
59625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
59626 New file.
59627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
59628 New file.
59629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
59630 file: multiarch copysign for PowerPC32.
59631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
59632 file: multiarch copysignf for PowerPC32.
59633
59634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
59635 and truncf multiarch implementations.
59636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
59637 New file.
59638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
59639 file.
59640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
59641 multiarch trunc for PowerPC32.
59642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
59643 New file.
59644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
59645 New file.
59646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
59647 multiarch truncf for PowerPC32.
59648
59649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
59650 and roundf multiarch implementations.
59651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
59652 New file.
59653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
59654 file.
59655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
59656 multiarch round for PowerPC32.
59657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
59658 New file.
59659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
59660 New file.
59661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
59662 multiarch roundf for PowerPC32.
59663
59664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
59665 and floorf multiarch implementations.
59666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
59667 New file.
59668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
59669 file.
59670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
59671 multiarch floor for PowerPC32.
59672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
59673 New file.
59674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
59675 New file.
59676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
59677 multiarch floorf for PowerPC32.
59678
59679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
59680 and ceilf multiarch implementations.
59681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
59682 New file.
59683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
59684 file.
59685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
59686 multiarch ceil for PowerPC32.
59687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
59688 New file.
59689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
59690 file.
59691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
59692 multiarch ceilf for PowerPC32.
59693
59694 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
59695 is defined.
59696 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
59697 FINITEF is defined.
59698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
59699 and finitef multiarch implementations.
59700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
59701 New file.
59702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
59703 file.
59704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
59705 multiarch finite for PowerPC32.
59706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
59707 New file.
59708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
59709 file: multiarch finitef for PowerPC32.
59710
59711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
59712 and isinff multiarch implementations.
59713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
59714 file.
59715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
59716 file.
59717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
59718 multiarch isinf for PowerPC32.
59719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
59720 New file.
59721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
59722 multiarch isinff for PowerPC32.
59723
59724 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
59725 alias when __isnan is defined.
59726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
59727 and isnanf multiarch implementations.
59728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
59729 file.
59730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
59731 file.
59732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
59733 file.
59734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
59735 file.
59736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
59737 multiarch isnan for PowerPC32.
59738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
59739 New file.
59740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
59741 New file.
59742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
59743 multiarch isnanf for PowerPC32.
59744
59745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
59746 and sqrtf multiarch implementations.
59747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
59748 file.
59749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
59750 file.
59751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
59752 multiarch sqrt for PowerPC32.
59753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
59754 file.
59755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
59756 file.
59757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
59758 multiarch sqrtf for PowerPC32.
59759
59760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
59761 and llroundf multiarch implementations.
59762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
59763 New file.
59764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
59765 New file.
59766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
59767 New file.
59768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
59769 file: multiarch llround for PowerPC32.
59770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
59771 file: multiarch llroundf for PowerPC32.
59772
59773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
59774 multiarch PowerPC32 fpu implementations.
59775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
59776 New file.
59777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
59778 New file.
59779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
59780 multiarch llrint for PowerPC32.
59781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
59782 New file.
59783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
59784 New file.
59785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
59786 file.
59787
59788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
59789
59790 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
59791 file.
59792 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
59793 file.
59794 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
59795 file.
59796 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
59797 multiarch wordcopy for PPC32.
59798 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
59799 wordcopy objects.
59800 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59801 (__libc_ifunc_impl_list): Likewise.
59802 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
59803 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
59804 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
59805 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
59806 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
59807 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
59808
59809 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
59810 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
59811 file.
59812 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
59813 file.
59814 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
59815 file.
59816 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
59817 multiarch wcscpy for PPC32.
59818 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
59819 multiarch objects.
59820 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59821 (__libc_ifunc_impl_list): Likewise.
59822 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
59823 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
59824 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
59825 sysdeps/powerpc/power6/wcscpy.c.
59826
59827 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
59828 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
59829 file.
59830 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
59831 file.
59832 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
59833 file.
59834 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
59835 multiarch wcsrchr for PPC32.
59836 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
59837 multiarch objects.
59838 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59839 (__libc_ifunc_impl_list): Likewise.
59840 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
59841 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
59842 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
59843 sysdeps/powerpc/power6/wcsrchr.c.
59844
59845 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
59846 file.
59847 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
59848 file.
59849 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
59850 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
59851 multiarch wcschr for PPc32.
59852 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
59853 multiarch objects.
59854 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59855 (__libc_ifunc_impl_list): Likewise.
59856 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
59857 * sysdeps/powerpc/power6/wcschr.c: ... to here.
59858 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
59859 sysdeps/powerpc/power6/wcschr.c.
59860
59861 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
59862 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
59863 file.
59864 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
59865 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
59866 file: multiarch strchr for PPC32.
59867 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
59868 multiarch objects.
59869 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59870 (__libc_ifunc_impl_list): Likewise.
59871
59872 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
59873 name.
59874 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
59875 file.
59876 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
59877 file.
59878 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
59879 multiarch strchrnul for PPC32.
59880 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
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/strncase-power7.c: New
59886 file.
59887 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
59888 multiarch strncasecmp for PPC32.
59889 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
59890 file.
59891 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
59892 multiarch strncasecmp_l for PPC32.
59893 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
59894 strncasecmp multiarch objects.
59895 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59896 (__libc_ifunc_impl_list): Likewise.
59897
59898 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
59899 file.
59900 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
59901 multiarch strncasecmp for PPC32.
59902 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
59903 New file.
59904 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
59905 multiarch strcasecmp_l for PPC32.
59906 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
59907 multiarch objects.
59908 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59909 (__libc_ifunc_impl_list): Likewise.
59910
59911 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
59912 file.
59913 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
59914 file.
59915 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
59916 multiarch strncmp for PPC32.
59917 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
59918 multiarch objects.
59919 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59920 (__libc_ifunc_impl_list): Likewise.
59921
59922 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
59923 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
59924 file.
59925 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
59926 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
59927 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
59928 multiarch objects.
59929 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59930 (__libc_ifunc_impl_list): Likewise.
59931
59932 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
59933 file.
59934 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
59935 file.
59936 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
59937 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
59938 multiarch objects.
59939 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59940 (__libc_ifunc_impl_list): Likewise.
59941
59942 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
59943 file.
59944 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
59945 file.
59946 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
59947 multiarch rawmemchr for PPC32.
59948 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
59949 multiarch objects.
59950 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59951 (__libc_ifunc_impl_list): Likewise.
59952
59953 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
59954 file.
59955 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
59956 file.
59957 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
59958 file: memrchr multiarch for PPC32.
59959 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
59960 multiarch objects.
59961 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59962 (__libc_ifunc_impl_list): Likewise.
59963
59964 * string/memchr.c (__memchr): Using macro to redefine symbol name.
59965 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
59966 file.
59967 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
59968 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
59969 multiarch memchr for PPC32.
59970 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
59971 multiarch objects.
59972 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59973 (__libc_ifunc_impl_list): Likewise.
59974
59975 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
59976 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
59977 file.
59978 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
59979 file.
59980 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
59981 file: multiarch mempcpy for PPC32.
59982 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
59983 multiarch objects.
59984 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59985 (__libc_ifunc_impl_list): Likewise.
59986
59987 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
59988 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
59989 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
59990 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
59991 multiarch bzero for PPC32.
59992 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
59993 file.
59994 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
59995 file.
59996 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
59997 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
59998 file: multiarch memset for PPC32.
59999 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
60000 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
60001 memset multiarch objects.
60002 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60003 (__libc_ifunc_impl_list): Likewise.
60004
60005 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
60006 file.
60007 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
60008 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
60009 memcmp for PPC32.
60010 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
60011 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
60012 multiarch objects.
60013 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60014 (__libc_ifunc_impl_list): Likewise.
60015
60016 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
60017 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
60018 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
60019 file.
60020 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
60021 file.
60022 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
60023 file.
60024 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
60025 multiarch memcpy for PPC32.
60026 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
60027 multiarch objects.
60028 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60029 (__libc_ifunc_impl_list): Likewise.
60030
60031 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
60032 support multiarch for POWER/PPC32.
60033 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
60034 Likewise.
60035 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
60036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
60037 Implies file to make multiarch folder appers before the fpu and
60038 default folder for power4 configuration.
60039
60040 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
60041
60042 * scripts/bench.pl: Append volatile keyword to type.
60043
60044 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
60045
60046 * sysdeps/sh/sotruss-lib.c: New file.
60047 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
60048
60049 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60050
60051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60052
60053 2013-12-05 Joseph Myers <joseph@codesourcery.com>
60054
60055 [BZ #6810]
60056 * math/w_tgamma.c: Include <errno.h>.
60057 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
60058 * math/w_tgammaf.c: Include <errno.h>.
60059 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
60060 * math/w_tgammal.c: Include <errno.h>.
60061 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
60062 * math/auto-libm-test-in: Do not allow missing errno on tgamma
60063 underflow. Add more tgamma tests.
60064 * math/auto-libm-test-out: Regenerated.
60065 * sysdeps/i386/fpu/libm-test-ulps: Update.
60066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60067
60068 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
60069 sin, sinh, tan, tanh, tgamma, y0 and y1.
60070 * math/auto-libm-test-out: Regenerated.
60071 * math/libm-test.inc (TEST_COND_x86_64): New macro.
60072 (TEST_COND_x86): Likewise.
60073 (M_E2l): Remove macro.
60074 (M_E3l): Likewise.
60075 (M_2_SQRT_PIl): Likewise.
60076 (M_SQRT_PIl): Likewise.
60077 (M_1_DIV_El): Likewise.
60078 (log_test_data): Use AUTO_TESTS_f_f.
60079 (log10_test_data): Likewise.
60080 (log1p_test_data): Likewise.
60081 (log2_test_data): Likewise.
60082 (sin_test_data): Likewise.
60083 (sin_tonearest_test_data): Likewise.
60084 (sin_towardzero_test_data): Likewise.
60085 (sin_downward_test_data): Likewise.
60086 (sin_upward_test_data): Likewise.
60087 (sinh_test_data): Likewise.
60088 (sinh_tonearest_test_data): Likewise.
60089 (sinh_towardzero_test_data): Likewise.
60090 (sinh_downward_test_data): Likewise.
60091 (sinh_upward_test_data): Likewise.
60092 (tan_test_data): Likewise.
60093 (tan_tonearest_test_data): Likewise.
60094 (tan_towardzero_test_data): Likewise.
60095 (tan_downward_test_data): Likewise.
60096 (tan_upward_test_data): Likewise.
60097 (tanh_test_data): Likewise.
60098 (tgamma_test_data): Likewise.
60099 (y0_test_data): Likewise.
60100 (y1_test_data): Likewise.
60101 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
60102 (special_real_inputs): Add pi/4.
60103 * sysdeps/i386/fpu/libm-test-ulps: Update.
60104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60105
60106 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60107
60108 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
60109 "longjmp_target" static probes.
60110 (__longjmp): Rename to __longjmp_symbol.
60111 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
60112 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
60113 on which longjmp to generate.
60114 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
60115 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
60116 probe.
60117 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60118 (__sigjmp_save): Rename to __sigjmp_save_symbol.
60119 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
60120 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
60121 and __sigjmp_save_symbol based on which sigsetjmp to generated.
60122 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
60124 __longjmp_symbol based on which __longjmp to generate.
60125 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
60126 probe.
60127 (setjmp): Rename to setjmp_symbol.
60128 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60129 (_setjmp): Rename to _setjmp_symbol.
60130 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60131 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
60132 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
60133 which setjmp to generate.
60134 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
60135 "longjmp_target" static probes.
60136
60137 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
60138
60139 * benchtests/README: Add note about output arguments.
60140 * benchtests/bench-sincos.c: Remove file.
60141 * benchtests/sincos-inputs: New file.
60142 * scripts/bench.pl: Identify output arguments and define
60143 static variables for them.
60144
60145 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
60146
60147 [BZ #15941]
60148 * Makefile (INSTALL): Add install-plain.texi as the primary
60149 dependency.
60150 * manual/install-plain.texi: New file.
60151 * manual/install.texi: Include node directive only for
60152 non-plaintext output.
60153
60154 2013-12-04 Joseph Myers <joseph@codesourcery.com>
60155
60156 * stdlib/longlong.h: Update from GCC.
60157
60158 [BZ #6807]
60159 [BZ #15901]
60160 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
60161 * math/w_j0f.c (y0f): Likewise.
60162 * math/w_j0l.c (__y0l): Likewise.
60163 * math/w_j1.c (y1): Likewise.
60164 * math/w_j1f.c (y1f): Likewise.
60165 * math/w_j1l.c (__y1l): Likewise.
60166 * math/w_jn.c (yn): Likewise.
60167 * math/w_jnf.c (ynf): Likewise.
60168 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
60169 Bessel function pole errors in _POSIX_ mode. Use NAN as return
60170 value for Bessel function domain errors outside _SVID_ mode.
60171 Adjust sign of return value for yn (negative integer, 0).
60172 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
60173 by zero in return for negative x and set sign appropriately for
60174 negative n.
60175 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
60176 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60177 * math/libm-test.inc (y0_test_data): Add more tests and adjust
60178 expectations in error cases.
60179 (y1_test_data): Likewise.
60180 (yn_test_data): Likewise.
60181 * sysdeps/i386/fpu/libm-test-ulps: Update.
60182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60183
60184 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60185
60186 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
60187 "64" to "64-v1". Add "64-v2".
60188 (abi-64-options): Rename to ...
60189 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
60190 (abi-64-condition): Rename to ...
60191 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
60192 (abi-64-ld-soname): Rename to ...
60193 (abi-64-v1-ld-soname): ... this.
60194 (abi-64-v2-options): Define.
60195 (abi-64-v2-condition): Likewise.
60196 (abi-64-v2-ld-soname): Likewise.
60197 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
60198 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
60199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
60200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
60201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
60202
60203 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60204 Alan Modra <amodra@gmail.com>
60205
60206 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
60207 New versions for use with the ELFv2 ABI.
60208 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
60209 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
60210 declaration.
60211 (struct La_ppc64v2_retval): Likewise.
60212 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
60213 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
60214 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
60215 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
60216 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
60217 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60218 Do not save or restore CR.
60219 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
60220 (_dl_profile_resolve): Do no save or restore CR. Support extended
60221 return values for ELFv2 ABI. Fix location of FPR return registers.
60222 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
60223 updated values for _CALL_ELF == 2.
60224 (La_regs, La_retval, int_retval): Likewise.
60225
60226 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60227
60228 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
60229 (FRAME_MIN_SIZE_PARM): Likewise.
60230 (FRAME_BACKCHAIN): Likewise.
60231 (FRAME_CR_SAVE): Likewise.
60232 (FRAME_LR_SAVE): Likewise.
60233 (FRAME_TOC_SAVE): Likewise.
60234 (FRAME_PARM_SAVE): Likewise.
60235 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
60236 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
60237 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60238 (call_mcount_parm_offset): New macro.
60239 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
60240 (PROF): Use symbolic stack frame offsets.
60241 (TAIL_CALL_SYSCALL_ERROR): Likewise.
60242 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
60243 Redefine in terms of FRAME_MIN_SIZE.
60244 (_dl_runtime_resolve): Use symbolic stack frame offsets.
60245 (_dl_profile_resolve): Likewise. Update comment.
60246 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
60247 symbols stack frame offsets.
60248 (__sigsetjmp): Likewise.
60249 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
60250 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
60251 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
60252 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
60253
60254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
60255 (FRAME_BACKCHAIN): Remove.
60256 (FRAME_CR_SAVE): Likewise.
60257 (FRAME_LR_SAVE): Likewise.
60258 (FRAME_COMPILER_DW): Likewise.
60259 (FRAME_LINKER_DW): Likewise.
60260 (FRAME_TOC_SAVE): Likewise.
60261 (FRAME_PARM_SAVE): Likewise.
60262 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
60263 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
60264 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
60266 (CHECK_SP): Use symbolic stack frame offsets.
60267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
60268 zone" instead of caller's parameter save area for temp storage.
60269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60270 Likewise. Also, use symbolic stack frame offsets.
60271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
60272 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
60273 our own stack frame instead of the caller's.
60274 (__socket): Use symbolic stack frame offsets.
60275
60276 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60277 Alan Modra <amodra@gmail.com>
60278
60279 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
60280 Define.
60281 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
60282 (PPC64_LOCAL_ENTRY_OFFSET): Define.
60283 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
60284 New function.
60285 (elf_machine_fixup_plt): Call it.
60286 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
60287 reloc arguments.
60288 (elf_machine_rela): Update call to elf_machine_plt_conflict.
60289 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60290 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
60291 r2 before calling target.
60292
60293 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60294 Alan Modra <amodra@gmail.com>
60295
60296 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
60297 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
60298 versions of macros to support ELFv2 ABI.
60299 (LOCALENTRY): New macro.
60300 (ENTRY, EALIGN): Use it.
60301 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
60302 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
60303 fall through into ENTRY entry point.
60304 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
60305 Only define if _CALL_ELF != 2.
60306
60307 (elf_machine_matches_host): Verify ABI version matches.
60308 (RTLD_START): Use LOCALENTRY.
60309 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
60310 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
60311 (PLT_ENTRY_WORDS): New macro.
60312 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
60313 (elf_machine_runtime_setup): Support ELFv2 ABI.
60314 (elf_machine_fixup_plt): Likewise.
60315 (elf_machine_plt_conflict): Likewise.
60316 (resolve_ifunc): Likewise.
60317 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
60318 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
60319 Likewise.
60320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
60321 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
60322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60323 (makecontext): Support ELFv2 ABI.
60324 * elf/elf.h (EF_PPC64_ABI): Define.
60325
60326 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60327
60328 * sysdeps/powerpc/powerpc64/sysdep.h
60329 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
60330 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
60331 (ENTRY) [ASSEMBLER]: ... but instead here ...
60332 (EALIGN) [ASSEMBLER]: ... and here.
60333 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
60334 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
60335 (ENTRY_2) [!ASSEMBLER]: Use it.
60336 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
60337 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
60338 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60339 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
60340 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
60341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
60342 Use PPC64_LOAD_FUNCPTR.
60343
60344 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
60345
60346 2013-12-04 Alan Modra <amodra@gmail.com>
60347
60348 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
60349 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
60350 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
60351 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
60352
60353 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
60354 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
60355 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
60356 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
60357 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
60358 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
60359
60360 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60361
60362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60363 (__makecontext): Fix incorrect CFI when backtracing out of
60364 context created via makecontext.
60365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
60366 (__setcontext): Fix incorrect CFI during switch to new context.
60367 (__novec_setcontext): Likewise.
60368
60369 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
60370
60371 [BZ #4772]
60372 * time/strptime_l.c (__strptime_internal): Allow modifiers
60373 in strptime.
60374 * time/tst-strptime.c (day_tests): Add testcase.
60375
60376 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
60377
60378 * scripts/bench.pl: Skip over blank lines.
60379
60380 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
60381
60382 [BZ #926]
60383 * manual/time.texi (Calendar Time): Clarify what timezone functions
60384 use.
60385
60386 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60387
60388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60389
60390 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
60391
60392 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
60393 implementation.
60394 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
60395 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
60396 * debug/memset_chk.c (__memset_chk): Likewise.
60397 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
60398 * debug/strncpy_chk.c: Likewise.
60399
60400 2013-12-03 Joseph Myers <joseph@codesourcery.com>
60401
60402 [BZ #15268]
60403 [BZ #15425]
60404 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
60405 (__ieee754_exp): For possibly underflowing results, check size of
60406 result and force underflow exception if required.
60407 * math/auto-libm-test-in: Add more tests of exp.
60408 * math/auto-libm-test-out: Regenerated.
60409 * sysdeps/i386/fpu/libm-test-ulps: Update.
60410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60411
60412 [BZ #16283]
60413 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
60414 * math/w_exp2f.c (__exp2f): Likewise.
60415 * math/w_exp2l.c (__exp2l): Likewise.
60416 * math/auto-libm-test-in: Do not allow missing errno on exp2
60417 underflow.
60418 * math/auto-libm-test-out: Regenerated.
60419
60420 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
60421
60422 [BZ #16274]
60423 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
60424 handle filename validation.
60425 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
60426 (do_open): Delete.
60427
60428 2013-12-03 Joseph Myers <joseph@codesourcery.com>
60429
60430 [BZ #6786]
60431 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
60432 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
60433 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
60434 <float.h>.
60435 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
60436 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
60437 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60438 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
60439 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60440 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
60441 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60442 * math/auto-libm-test-in: Don't allow missing errno from erfc.
60443 Add more erfc tests.
60444 * math/auto-libm-test-out: Regenerated.
60445 * sysdeps/i386/fpu/libm-test-ulps: Update.
60446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60447
60448 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
60449 exp2, expm1, j0 and j1.
60450 * math/auto-libm-test-out: Regenerated.
60451 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
60452 (erfc_test_data): Likewise.
60453 (exp_test_data): Likewise.
60454 (exp_tonearest_test_data): Likewise.
60455 (exp_towardzero_test_data): Likewise.
60456 (exp_downward_test_data): Likewise.
60457 (exp_upward_test_data): Likewise.
60458 (exp10_test_data): Likewise.
60459 (exp2_test_data): Likewise.
60460 (expm1_test_data): Likewise.
60461 (j0_test_data): Likewise.
60462 (j1_test_data): Likewise.
60463 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
60464 (input_flag_type): Add flag_xfail_rounding.
60465 (input_flags): Add xfail-rounding.
60466 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
60467 (output_for_one_input_case): Handle flag_xfail_rounding.
60468 * sysdeps/i386/fpu/libm-test-ulps: Update.
60469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60470
60471 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
60472
60473 [BZ #16289]
60474 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
60475 division by 0.
60476
60477 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
60478
60479 [BZ #16195]
60480 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
60481 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
60482 (STAP_PROBE0): New macro.
60483 (STAP_PROBE1): Likewise.
60484 (STAP_PROBE2): Likewise.
60485 (STAP_PROBE3): Likewise.
60486 (STAP_PROBE4): Likewise.
60487
60488 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
60489
60490 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
60491
60492 2013-12-02 Steve Ellcey <sellcey@mips.com>
60493
60494 * benchtests/Makefile (bench): Add sqrt.
60495 (LDLIBS-bench-sqrt): New.
60496 * benchtests/sqrt-input: New.
60497
60498 2013-12-02 Pavel Simerda <psimerda@redhat.com>
60499
60500 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
60501 (GAIH_EAI): Likewise.
60502 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
60503 (gaih_inet): Likewise.
60504 (getaddrinfo): Don't use GAIH_EAI.
60505
60506 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
60507 (struct gaih): Remove definition.
60508
60509 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
60510
60511 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
60512 Use HERRNOP directly.
60513
60514 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60515
60516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60517
60518 2013-11-30 Joseph Myers <joseph@codesourcery.com>
60519
60520 * math/gen-auto-libm-tests.c (test_functions): Add more
60521 single-argument functions.
60522 (special_fill_pi_2): New function.
60523 (special_fill_minus_pi_2): Likewise.
60524 (special_fill_pi_6): Likewise.
60525 (special_fill_minus_pi_6): Likewise.
60526 (special_fill_pi_3): Likewise.
60527 (special_fill_2pi_3): Likewise.
60528 (special_fill_e): Likewise.
60529 (special_fill_1_e): Likewise.
60530 (special_fill_e_minus_1): Likewise.
60531 (special_real_inputs): Add more special inputs.
60532 (output_for_one_input_case): Do not require ERANGE on underflow to
60533 zero if round-to-nearest result does not underflow to zero, unless
60534 exact results required.
60535 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
60536 atan, atanh, cbrt, cos and cosh.
60537 * math/auto-libm-test-out: Regenerated.
60538 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
60539 (acos_tonearest_test_data): Likewise.
60540 (acos_towardzero_test_data): Likewise.
60541 (acos_downward_test_data): Likewise.
60542 (acos_upward_test_data): Likewise.
60543 (acosh_test_data): Likewise.
60544 (asin_test_data): Likewise.
60545 (asin_tonearest_test_data): Likewise.
60546 (asin_towardzero_test_data): Likewise.
60547 (asin_upward_test_data): Likewise.
60548 (asinh_test_data): Likewise.
60549 (atan_test_data): Likewise.
60550 (atanh_test_data): Likewise.
60551 (cbrt_test_data): Likewise.
60552 (cos_test_data): Likewise.
60553 (cos_tonearest_test_data): Likewise.
60554 (cos_towardzero_test_data): Likewise.
60555 (cos_downward_test_data): Likewise.
60556 (cos_upward_test_data): Likewise.
60557 (cosh_test_data): Likewise.
60558 (cosh_tonearest_test_data): Likewise.
60559 (cosh_towardzero_test_data): Likewise.
60560 (cosh_downward_test_data): Likewise.
60561 (cosh_upward_test_data): Likewise.
60562 * sysdeps/i386/fpu/libm-test-ulps: Update.
60563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60564
60565 2013-11-29 Joseph Myers <joseph@codesourcery.com>
60566
60567 [BZ #6787]
60568 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
60569 * math/w_exp10f.c (__exp10f): Likewise.
60570 * math/w_exp10l.c (__exp10l): Likewise.
60571 * math/libm-test.inc (exp10_test_data): Add more tests and expect
60572 errno settings in existing tests.
60573
60574 [BZ #14032]
60575 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
60576 precision control set to double precision.
60577 * sysdeps/i386/fpu/w_sqrt.c: New file.
60578 * math/auto-libm-test-in: Add more tests.
60579 * math/auto-libm-test-out: Update.
60580
60581 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
60582 (sqrt_test_tonearest): New function.
60583 (sqrt_towardzero_test_data): New variable.
60584 (sqrt_test_towardzero): New function.
60585 (sqrt_downward_test_data): New variable.
60586 (sqrt_test_downward): New function.
60587 (sqrt_upward_test_data): New variable.
60588 (sqrt_test_upward): New function.
60589 (main): Call the new functions.
60590
60591 * math/gen-auto-libm-tests.c: New file.
60592 * math/auto-libm-test-in: Likewise.
60593 * math/auto-libm-test-out: New generated file.
60594 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
60595 variables.
60596 (%beautify): Add generated representations of zero.
60597 (top level): Set $auto_input and call parse_auto_input.
60598 (beautify): Remove trailing "f" from hex float constants.
60599 (parse_args): Handle XFAIL_TEST.
60600 (convert_condition): New function.
60601 (or_value): Likewise.
60602 (or_cond_value): Likewise.
60603 (generate_testfile): Handle AUTO_TESTS_* lines.
60604 (parse_auto_input): New function.
60605 * math/libm-test.inc (XFAIL_TEST): New macro.
60606 (ERRNO_UNCHANGED): Update value.
60607 (ERRNO_EDOM): Likewise.
60608 (ERRNO_ERANGE): Likewise.
60609 (IGNORE_RESULT): Likewise.
60610 (TEST_COND_flt_32): New macro.
60611 (TEST_COND_dbl_64): Likewise.
60612 (TEST_COND_ldbl_96_intel): Likewise.
60613 (TEST_COND_ldbl_96_m68k): Likewise.
60614 (TEST_COND_ldbl_128): Likewise.
60615 (TEST_COND_ldbl_128ibm): Likewise.
60616 (TEST_COND_long32): Likewise.
60617 (TEST_COND_long64): Likewise.
60618 (TEST_COND_before_rounding): Likewise.
60619 (TEST_COND_after_rounding): Likewise.
60620 (enable_test): Handle XFAIL_TEST flag.
60621 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
60622 with finite results.
60623 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
60624 auto-libm-test-out.
60625
60626 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
60627 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60628
60629 [BZ #16214]
60630 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
60631 __tls_get_addr_internal instead of __tls_get_offset in order to
60632 avoid GOT pointer dependency. Make rtld export
60633 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
60634 __tls_get_addr since we are a __tls_get_offset platform.
60635 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
60636 GOT pointer being set up before.
60637 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
60638
60639 2013-11-28 Joseph Myers <joseph@codesourcery.com>
60640
60641 * manual/math.texi (Errors in Math Functions): Document accuracy
60642 goals.
60643
60644 [BZ #15004]
60645 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
60646 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
60647 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60648 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
60649 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
60650 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
60651 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
60652 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
60653 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
60654 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
60655 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
60656 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
60657 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
60658 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
60659 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
60660 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
60661
60662 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
60663 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
60664 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
60665 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
60666 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
60667 Likewise.
60668 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
60669 Likewise.
60670 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
60671 Likewise.
60672 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
60673 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
60674 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
60675 atomic-feupdateenv and flt-rounds.
60676 * sysdeps/powerpc/nofpu/Versions (libc): Add
60677 __atomic_feholdexcept, __atomic_feclearexcept,
60678 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
60679 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
60680 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
60681 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
60682 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
60683 here.
60684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
60685 Update.
60686
60687 * manual/arith.texi (FP Exceptions): Document that exceptions may
60688 not be raised when matherr is used.
60689 (Math Error Reporting): Document overflow in directed rounding
60690 modes. Document that errno may not be set when finite values are
60691 returned on overflow. Document intent to set errno on underflow
60692 only for underflow to zero.
60693
60694 [BZ #16271]
60695 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
60696 round-to-nearest then adjust result for other rounding modes.
60697 * include/fenv.h (fegetround): Use libm_hidden_proto.
60698 * math/fegetround.c (fegetround): Use libm_hidden_def.
60699 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
60700 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
60701 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
60702 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
60703 Likewise.
60704 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
60705 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
60706 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
60707 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
60708
60709 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
60710
60711 [BZ #16077]
60712 * nss/Versions (libnss_files): Add
60713 _nss_files_gethostbyname3_r.
60714 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
60715 New function.
60716 (HOST_DB_LOOKUP): Remove macro.
60717 (_nss_files_gethostbyname_r): Implement function without the
60718 HOST_DB_LOOKUP macro.
60719 (_nss_files_gethostbyname2_r): Likewise.
60720
60721 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
60722
60723 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
60724
60725 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
60726
60727 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
60728 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
60729 warning.
60730
60731 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60732
60733 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
60734 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
60735 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
60736 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
60737 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
60738 __fe_nomask_env_priv and attribute_hidden.
60739 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
60740 (libc_feupdateenv_test_ppc): Likewise.
60741 (libc_feresetround_ppc): Likewise.
60742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60743 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
60744 compat_symbol macro.
60745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60746 (__fe_nomask_env): Likewise.
60747 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
60748
60749 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
60750
60751 * string/Makefile: Remove ifunc tests.
60752 * string/test-string.h: Define TEST_IFUNC.
60753 * string/test-bcopy-ifunc.c: Remove.
60754 * string/test-bzero-ifunc.c: Likewise.
60755 * string/test-memccpy-ifunc.c: Likewise.
60756 * string/test-memchr-ifunc.c: Likewise.
60757 * string/test-memcmp-ifunc.c: Likewise.
60758 * string/test-memcpy-ifunc.c: Likewise.
60759 * string/test-memmem-ifunc.c: Likewise.
60760 * string/test-memmove-ifunc.c: Likewise.
60761 * string/test-mempcpy-ifunc.c: Likewise.
60762 * string/test-memrchr-ifunc.c: Likewise.
60763 * string/test-memset-ifunc.c: Likewise.
60764 * string/test-rawmemchr-ifunc.c: Likewise.
60765 * string/test-stpcpy-ifunc.c: Likewise.
60766 * string/test-stpncpy-ifunc.c: Likewise.
60767 * string/test-strcasecmp-ifunc.c: Likewise.
60768 * string/test-strcasestr-ifunc.c: Likewise.
60769 * string/test-strcat-ifunc.c: Likewise.
60770 * string/test-strchr-ifunc.c: Likewise.
60771 * string/test-strchrnul-ifunc.c: Likewise.
60772 * string/test-strcmp-ifunc.c: Likewise.
60773 * string/test-strcpy-ifunc.c: Likewise.
60774 * string/test-strcspn-ifunc.c: Likewise.
60775 * string/test-strlen-ifunc.c: Likewise.
60776 * string/test-strncasecmp-ifunc.c: Likewise.
60777 * string/test-strncat-ifunc.c: Likewise.
60778 * string/test-strncmp-ifunc.c: Likewise.
60779 * string/test-strncpy-ifunc.c: Likewise.
60780 * string/test-strnlen-ifunc.c: Likewise.
60781 * string/test-strpbrk-ifunc.c: Likewise.
60782 * string/test-strrchr-ifunc.c: Likewise.
60783 * string/test-strspn-ifunc.c: Likewise.
60784 * string/test-strstr-ifunc.c: Likewise.
60785
60786 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
60787
60788 * benchtests/Makefile: Remove ifunc tests.
60789 * benchtests/bench-string.h: Define TEST_IFUNC.
60790 * benchtests/bench-bcopy-ifunc.c: Remove.
60791 * benchtests/bench-bzero-ifunc.c: Likewise.
60792 * benchtests/bench-memccpy-ifunc.c: Likewise.
60793 * benchtests/bench-memchr-ifunc.c: Likewise.
60794 * benchtests/bench-memcmp-ifunc.c: Likewise.
60795 * benchtests/bench-memcpy-ifunc.c: Likewise.
60796 * benchtests/bench-memmem-ifunc.c: Likewise.
60797 * benchtests/bench-memmove-ifunc.c: Likewise.
60798 * benchtests/bench-mempcpy-ifunc.c: Likewise.
60799 * benchtests/bench-memrchr-ifunc.c: Likewise.
60800 * benchtests/bench-memset-ifunc.c: Likewise.
60801 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
60802 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
60803 * benchtests/bench-stpcpy-ifunc.c: Likewise.
60804 * benchtests/bench-stpncpy-ifunc.c: Likewise.
60805 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
60806 * benchtests/bench-strcasestr-ifunc.c: Likewise.
60807 * benchtests/bench-strcat-ifunc.c: Likewise.
60808 * benchtests/bench-strchr-ifunc.c: Likewise.
60809 * benchtests/bench-strchrnul-ifunc.c: Likewise.
60810 * benchtests/bench-strcmp-ifunc.c: Likewise.
60811 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
60812 * benchtests/bench-strcpy-ifunc.c: Likewise.
60813 * benchtests/bench-strcspn-ifunc.c: Likewise.
60814 * benchtests/bench-strlen-ifunc.c: Likewise.
60815 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
60816 * benchtests/bench-strncat-ifunc.c: Likewise.
60817 * benchtests/bench-strncmp-ifunc.c: Likewise.
60818 * benchtests/bench-strncpy-ifunc.c: Likewise.
60819 * benchtests/bench-strnlen-ifunc.c: Likewise.
60820 * benchtests/bench-strpbrk-ifunc.c: Likewise.
60821 * benchtests/bench-strrchr-ifunc.c: Likewise.
60822 * benchtests/bench-strsep-ifunc.c: Likewise.
60823 * benchtests/bench-strspn-ifunc.c: Likewise.
60824 * benchtests/bench-strstr-ifunc.c: Likewise.
60825
60826 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
60827
60828 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
60829
60830 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
60831
60832 * resolv/netdb.h: Use __glibc_reserved instead __unused.
60833 * rt/aio.h: Likewise.
60834 * sysdeps/gnu/bits/utmp.h: Likewise.
60835 * sysdeps/gnu/bits/utmpx.h: Likewise.
60836 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
60837 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
60838 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
60839 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
60840 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
60841 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
60842 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
60843 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
60844 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
60845 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
60846 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
60847 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
60848 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
60849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
60850 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
60851 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
60852 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
60853 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
60854 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
60855 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
60856 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
60857 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
60858 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
60859 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
60860 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
60861 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60862 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
60863 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
60864 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
60865 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
60866 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
60867 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
60868 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
60869 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
60870 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
60871 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
60872 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
60873 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
60874 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
60875 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
60876 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
60877 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
60878
60879 2013-11-25 Carlos O'Donell <carlos@redhat.com>
60880
60881 [BZ #16245]
60882 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
60883 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
60884
60885 2013-11-25 Joseph Myers <joseph@codesourcery.com>
60886
60887 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
60888 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
60889 Likewise.
60890
60891 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60892
60893 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
60894 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
60895 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
60896 (__fesetround): Remove define.
60897 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
60898 rounding and exceptions handling.
60899 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
60900 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
60901 (__fe_nomask_env): Likewise.
60902 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
60903 __fegetround instead of fegetround.
60904 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
60905 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
60906
60907 2013-11-21 Roland McGrath <roland@hack.frob.com>
60908
60909 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
60910 it's there.
60911
60912 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
60913
60914 2013-11-21 Meador Inge <meadori@codesourcery.com>
60915
60916 [BZ #11157]
60917 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
60918 (encrypt_r): Likewise.
60919 * malloc/obstack.h (obstack_free): Likewise.
60920 * posix/unistd.h (encrypt): Likewise.
60921
60922 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
60923
60924 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
60925 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
60926 DL_CALL_DT_FINI() that call the functions directly.
60927 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
60928 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
60929 * elf/dl-fini.c: Likewise.
60930
60931 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
60932
60933 * malloc/hooks.c (memalign_check): Add alignment rounding.
60934 * malloc/malloc.c (_mid_memalign): New function.
60935 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
60936 Implement by calling _mid_memalign.
60937 * manual/probes.texi (Memory Allocation Probes): Remove
60938 memory_valloc_retry and memory_pvalloc_retry.
60939
60940 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
60941
60942 * locale/programs/locarchive.c (open_archive): Add const
60943 qualifier to ARCHIVEFNAME and copy default fname to
60944 DEFAULT_FNAME.
60945
60946 [BZ #15601]
60947 * libio/tst-widetext.input: Rename Oriya to Odia.
60948 * locale/iso-639.def: Likewise.
60949
60950 * manual/probes.texi (Mathematical Function Probes): Add
60951 documentation for sin, cos, asin and acos probes.
60952 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
60953 (__sin32): Add slowasin probe.
60954 (__cos32): Add slowacos probe.
60955 (__mpsin): Add slowsin probe.
60956 (__mpcos): Add slowcos probe.
60957
60958 2013-11-19 Joseph Myers <joseph@codesourcery.com>
60959
60960 [BZ #15483]
60961 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
60962 thread-local __sim_exceptions_thread and global
60963 __sim_exceptions_global.
60964 (__sim_disabled_exceptions): Change to thread-local
60965 __sim_disabled_exceptions_thread and global
60966 __sim_disabled_exceptions_global.
60967 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
60968 and global __sim_round_mode_global.
60969 (__simulate_exceptions): Use thread-local floating-point state and
60970 set global state from it as needed.
60971 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
60972 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
60973 __sim_round_mode_thread.
60974 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
60975 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
60976 and global __sim_exceptions_global.
60977 (__sim_disabled_exceptions): Change to thread-local
60978 __sim_disabled_exceptions_thread and global
60979 __sim_disabled_exceptions_global.
60980 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
60981 and global __sim_round_mode_global.
60982 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
60983 (SIM_SET_GLOBAL): Likewise.
60984 * sysdeps/powerpc/soft-fp/sfp-machine.h
60985 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
60986 __sim_round_mode_thread.
60987 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
60988 __sim_disabled_exceptions_thread.
60989 (__sim_exceptions): Change to __sim_exceptions_thread.
60990 (__sim_disabled_exceptions): Change to
60991 __sim_disabled_exceptions_thread.
60992 (__sim_round_mode): Change to __sim_round_mode_thread.
60993 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
60994 thread-local floating-point state and set global state from it as
60995 needed.
60996 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
60997 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
60998 (__sim_disabled_exceptions): Remove extern declaration.
60999 (feenableexcept): Use thread-local floating-point state and set
61000 global state from it as needed.
61001 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
61002 extern declaration.
61003 (__sim_disabled_exceptions): Likewise.
61004 (__sim_round_mode): Likewise.
61005 (__fegetenv): Use thread-local floating-point state.
61006 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
61007 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
61008 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
61009 floating-point state and set global state from it as needed.
61010 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
61011 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
61012 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
61013 Likewise.
61014 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
61015 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
61016 Likewise.
61017 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
61018 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
61019 Use __sim_round_mode_thread.
61020 * math/test-fenv-tls.c: New file.
61021 * math/Makefile (tests): Add test-fenv-tls.
61022 ($(objpfx)test-fenv-tls): Depend on
61023 $(common-objpfx)nptl/libpthread.so.
61024
61025 2013-11-19 Andreas Schwab <schwab@suse.de>
61026
61027 * locale/programs/locale.c (show_info): Decode wordarray elements.
61028 * locale/categories.def (LC_MONETARY): Add element for
61029 _NL_MONETARY_CRNCYSTR.
61030 * locale/C-monetary.c (conversion_rate): New variable.
61031 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
61032 element.
61033
61034 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
61035
61036 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
61037 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
61038
61039 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
61040
61041 * elf/Makefile (tst-auxv): New test.
61042 * elf/tst-auxv.c: New
61043 * elf/rtld.c (dl_main): Adjust AT_EXECFN
61044
61045 2013-11-18 Joseph Myers <joseph@codesourcery.com>
61046
61047 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
61048 (hidden_proto): Caller changed.
61049 (hidden_tls_proto): New macro.
61050 (libc_hidden_tls_proto): Likewise.
61051 (rtld_hidden_tls_proto): Likewise.
61052 (libm_hidden_tls_proto): Likewise.
61053 (libresolv_hidden_tls_proto): Likewise.
61054 (librt_hidden_tls_proto): Likewise.
61055 (libdl_hidden_tls_proto): Likewise.
61056 (libnss_files_hidden_tls_proto): Likewise.
61057 (libnsl_hidden_tls_proto): Likewise.
61058 (libnss_nisplus_hidden_tls_proto): Likewise.
61059 (libutil_hidden_tls_proto): Likewise.
61060
61061 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
61062
61063 [BZ #10253]
61064 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
61065 (decompose_rpath): Defer expansion to fillin_rpath.
61066 (_dl_init_paths): Pass linkmap to fillin_rpath.
61067
61068 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
61069
61070 * benchtests/Makefile: Add strsep.
61071 * benchtests/bench-strsep.c: New file: strsep benchtest.
61072 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
61073
61074 2013-11-18 Andreas Schwab <schwab@suse.de>
61075
61076 * locale/programs/locale.c (show_info) [case byte]: Check for
61077 '\377' instead of '\177'.
61078 * locale/C-monetary.c (not_available): Always use "\377".
61079 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
61080 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
61081 detect unavailable sign_posn locale elements.
61082 * locale/localeconv.c (__localeconv): For grouping and
61083 mon_grouping handle "\177" and "\377" like no grouping.
61084 (INT_ELEM): New macro. Use it to set all numeric members.
61085 * locale/programs/ld-monetary.c (monetary_read)
61086 <tok_mon_grouping>: Normalize single -1 to the empty string.
61087 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
61088 Likewise.
61089
61090 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
61091
61092 [BZ #16055]
61093 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
61094 when we match (nil).
61095 * stdio-common/tst-sscanf.c (struct test): Add testcase.
61096
61097 2013-11-16 Joseph Myers <joseph@codesourcery.com>
61098
61099 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
61100 (NO_TEST_INLINE): Update value.
61101 (ERRNO_UNCHANGED): Likewise.
61102 (ERRNO_EDOM): Likewise.
61103 (ERRNO_ERANGE): Likewise.
61104 (IGNORE_RESULT): Likewise.
61105 (check_float_internal): Check signs of NaN results if
61106 TEST_NAN_SIGN used.
61107 (check_complex): Pass TEST_NAN_SIGN flag through to second
61108 check_float_internal call.
61109 (copysign_test_data): Add tests with quiet NaNs as second
61110 argument. Use TEST_NAN_SIGN.
61111 (fabs_test_data): Add test of negative quiet NaN argument. Use
61112 TEST_NAN_SIGN.
61113 (signbit_test_data): Add tests of quiet NaN argument.
61114 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
61115
61116 * math/gen-libm-test.pl (show_exceptions): Take extra argument
61117 $ignore_result.
61118 (parse_args): Handle function results specified as IGNORE.
61119 * math/libm-test.inc (IGNORE_RESULT): New macro.
61120 (check_float_internal): Do not check numerical result if flag
61121 IGNORE_RESULT set.
61122 (check_complex): Pass through IGNORE_RESULT to second
61123 check_float_internal call.
61124 (check_int): Do not check numerical result if flag IGNORE_RESULT
61125 set.
61126 (check_long): Likewise.
61127 (check_bool): Likewise.
61128 (check_longlong): Likewise.
61129 (lrint_test_data): Add tests of infinite and NaN arguments.
61130 (lrint_tonearest_test_data): Likewise.
61131 (lrint_towardzero_test_data): Likewise.
61132 (lrint_downward_test_data): Likewise.
61133 (lrint_upward_test_data): Likewise.
61134 (llrint_test_data): Likewise.
61135 (llrint_tonearest_test_data): Likewise.
61136 (llrint_towardzero_test_data): Likewise.
61137 (llrint_downward_test_data): Likewise.
61138 (llrint_upward_test_data): Likewise.
61139 (lround_test_data): Likewise.
61140 (llround_test_data): Likewise.
61141
61142 * math/libm-test.inc (NO_TEST_INLINE): New macro.
61143 (ERRNO_UNCHANGED): Update value.
61144 (ERRNO_EDOM): Likewise.
61145 (ERRNO_ERANGE): Likewise.
61146 (NO_TEST_INLINE_FLOAT): New macro.
61147 (NO_TEST_INLINE_DOUBLE): Likewise.
61148 (enable_test): New function.
61149 (RUN_TEST_f_f): Check enable_test before running test.
61150 (RUN_TEST_2_f): Likewise.
61151 (RUN_TEST_fff_f): Likewise.
61152 (RUN_TEST_c_f): Likewise.
61153 (RUN_TEST_f_f1): Likewise.
61154 (RUN_TEST_fF_f1): Likewise.
61155 (RUN_TEST_fI_f1): Likewise.
61156 (RUN_TEST_ffI_f1): Likewise.
61157 (RUN_TEST_c_c): Likewise.
61158 (RUN_TEST_cc_c): Likewise.
61159 (RUN_TEST_f_i): Likewise.
61160 (RUN_TEST_f_i_tg): Likewise.
61161 (RUN_TEST_ff_i_tg): Likewise.
61162 (RUN_TEST_f_b): Likewise.
61163 (RUN_TEST_f_b_tg): Likewise.
61164 (RUN_TEST_f_l): Likewise.
61165 (RUN_TEST_f_L): Likewise.
61166 (RUN_TEST_fFF_11): Likewise.
61167 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
61168 conditionals.
61169 (cosh_test_data): Likewise.
61170 (exp_test_data): Likewise.
61171 (expm1_test_data): Likewise.
61172 (hypot_test_data): Likewise.
61173 (pow_test_data): Likewise.
61174 (sinh_test_data): Likewise.
61175 (tanh_test_data): Likewise.
61176 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
61177 flags argument.
61178
61179 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
61180 tests with quiet NaN input and output.
61181 (acosh_test_data): Likewise.
61182 (asin_test_data): Likewise.
61183 (asinh_test_data): Likewise.
61184 (atan_test_data): Likewise.
61185 (atanh_test_data): Likewise.
61186 (atan2_test_data): Likewise.
61187 (cbrt_test_data): Likewise.
61188 (cos_test_data): Likewise.
61189 (cosh_test_data): Likewise.
61190 (erf_test_data): Likewise.
61191 (erfc_test_data): Likewise.
61192 (exp_test_data): Likewise.
61193 (exp10_test_data): Likewise.
61194 (exp2_test_data): Likewise.
61195 (expm1_test_data): Likewise.
61196 (hypot_test_data): Likewise.
61197 (j0_test_data): Likewise.
61198 (j1_test_data): Likewise.
61199 (jn_test_data): Likewise.
61200 (lgamma_test_data): Likewise.
61201 (log_test_data): Likewise.
61202 (log10_test_data): Likewise.
61203 (log1p_test_data): Likewise.
61204 (log2_test_data): Likewise.
61205 (pow_test_data): Likewise.
61206 (scalb_test_data): Likewise.
61207 (sin_test_data): Likewise.
61208 (sincos_test_data): Likewise.
61209 (sinh_test_data): Likewise.
61210 (tan_test_data): Likewise.
61211 (tanh_test_data): Likewise.
61212 (tgamma_test_data): Likewise.
61213 (y0_test_data): Likewise.
61214 (y1_test_data): Likewise.
61215 (yn_test_data): Likewise.
61216
61217 [BZ #16167]
61218 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
61219 argument being NaN and avoid computations with second argument in
61220 that case.
61221 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
61222 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
61223 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
61224
61225 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
61226
61227 * locale/iso-639.def: Add Chitwani Tharu (the).
61228
61229 2013-11-14 Andreas Schwab <schwab@suse.de>
61230
61231 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
61232 word instead of empty string.
61233
61234 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61235
61236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61237 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
61238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61239 (__fe_nomask_env): Likewise.
61240
61241 2013-11-13 Steve Ellcey <sellcey@mips.com>
61242
61243 * benchtests/bench-timing.h: Include time.h.
61244
61245 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
61246
61247 [BZ #15997]
61248 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
61249 to 3.4.0 for x32.
61250 * sysdeps/unix/sysv/linux/configure: Regenerated.
61251
61252 2013-11-13 Joseph Myers <joseph@codesourcery.com>
61253
61254 [BZ #16151]
61255 * stdlib/strtod_l.c (round_and_return): Do not consider
61256 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
61257 exponent one less than half the least subnormal exponent.
61258 * stdlib/test-strtod-round-data: Add more tests.
61259 * stdlib/tst-strtod-round.c (tests): Regenerated.
61260
61261 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61262
61263 [BZ #14143]
61264 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
61265 (__fe_mask_env): Likewise.
61266 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
61267 libm_hidden_proto and add function prototype.
61268 (__fe_mask_env): Add function prototype.
61269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61270 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
61271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
61272 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
61273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61274 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
61275
61276 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
61277
61278 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
61279 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
61280
61281 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
61282
61283 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
61284 of htab_find_slot().
61285
61286 2013-11-11 David S. Miller <davem@davemloft.net>
61287
61288 [BZ #16150]
61289 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
61290 symbol in the non-vis3 case in static builds.
61291 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
61292 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
61293 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
61294 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
61295
61296 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
61297
61298 [BZ #387]
61299 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
61300 it is empty.
61301
61302 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61303
61304 * benchtests/Makefile: Add bench-strtod.
61305 * benchtests/bench-strtod.c: New file: strtod benchtest
61306
61307 2013-11-11 Andreas Schwab <schwab@suse.de>
61308
61309 [BZ #16153]
61310 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
61311 terminating NUL in key length.
61312
61313 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61314
61315 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
61316 Add artificial ODP entry for vDSO symbol for PPC64.
61317 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
61318 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
61319
61320 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
61321
61322 [BZ #15374]
61323 * nss/getent.c (services_keys): Recognize services starting with digit.
61324
61325 2013-11-06 David S. Miller <davem@davemloft.net>
61326
61327 [BZ #15985]
61328 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
61329 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
61330
61331 2013-11-06 Will Newton <will.newton@linaro.org>
61332
61333 * manual/memory.texi (Malloc Examples): Remove register
61334 keyword from examples.
61335
61336 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
61337
61338 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
61339
61340 2013-11-04 Joseph Myers <joseph@codesourcery.com>
61341
61342 [BZ #6981]
61343 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
61344 depending on [__GCC_IEC_559 > 0].
61345 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
61346 depending on [__GCC_IEC_559_COMPLEX > 0].
61347
61348 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
61349
61350 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
61351 to iso-639.def.
61352
61353 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
61354
61355 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
61356
61357 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
61358
61359 [BZ #16112]
61360 * malloc/malloc (malloc_info): Do not handle first bin as
61361 special case.
61362
61363 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
61364
61365 * locale/iso-639.def: Add Central Nahuatl (nhn).
61366
61367 2013-11-01 Bruno Haible <bruno@clisp.org>
61368
61369 [BZ #7003]
61370 * manual/math.texi (BSD Random): Specify range upper bound as
61371 in POSIX.
61372
61373 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
61374
61375 * locale/iso-639.def: Add Meadow Mari (mhr).
61376
61377 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
61378
61379 [BZ #14752], [BZ #15763]
61380 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
61381 Validate name.
61382 * rt/tst_shm.c: Add test for escaping directory.
61383
61384 2013-10-31 Andreas Schwab <schwab@suse.de>
61385
61386 [BZ #15917]
61387 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
61388 followed by 'x' as part of digit sequence.
61389 * stdio-common/tst-sscanf.c (double_tests2): New tests.
61390
61391 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
61392
61393 [BZ #16037]
61394 * configure.ac: allow GNU Make 4.0 and greater.
61395 * configure: Regenerated.
61396
61397 2013-10-30 Will Newton <will.newton@linaro.org>
61398
61399 [BZ #16038]
61400 * malloc/hooks.c (memalign_check): Limit alignment to the
61401 maximum representable power of two.
61402 * malloc/malloc.c (__libc_memalign): Likewise.
61403 * malloc/tst-memalign.c (do_test): Add test for very
61404 large alignment values.
61405 * malloc/tst-posix_memalign.c (do_test): Likewise.
61406
61407 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
61408
61409 [BZ #11087]
61410 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
61411 (munmap_chunk): Likewise.
61412 (mremap_chunk): Likewise.
61413
61414 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
61415
61416 [BZ #15799]
61417 * stdlib/div.c (div): Remove obsolete code.
61418 * stdlib/ldiv.c (ldiv): Likewise.
61419 * stdlib/lldiv.c (lldiv): Likewise.
61420
61421 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
61422
61423 [BZ #16071]
61424 * nss/nss_files/files-XXX.c (get_contents_ret): New
61425 enumerator.
61426 (get_contents): New function.
61427 (internal_getent): Use it. Expand size of LINEBUFLEN.
61428
61429 2013-10-30 Mike Frysinger <vapier@gentoo.org>
61430
61431 * configure.in: Moved to ...
61432 * configure.ac: ... here. Change reference to configure.in
61433 to configure.ac.
61434 * sysdeps/arm/preconfigure.ac: ... here.
61435 configure.in to configure.ac.
61436 * sysdeps/gnu/configure.in: Moved to ...
61437 * sysdeps/gnu/configure.ac: ... here.
61438 * sysdeps/i386/configure.in: Moved to ...
61439 * sysdeps/i386/configure.ac: ... here.
61440 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
61441 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
61442 * sysdeps/mach/configure.in: Moved to ...
61443 * sysdeps/mach/configure.ac: ... here.
61444 * sysdeps/mach/hurd/configure.in: Moved to ...
61445 * sysdeps/mach/hurd/configure.ac: ... here.
61446 * sysdeps/powerpc/configure.in: Moved to ...
61447 * sysdeps/powerpc/configure.ac: ... here.
61448 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
61449 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
61450 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
61451 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
61452 * sysdeps/s390/s390-32/configure.in: Moved to ...
61453 * sysdeps/s390/s390-32/configure.ac: ... here.
61454 * sysdeps/s390/s390-64/configure.in: Moved to ...
61455 * sysdeps/s390/s390-64/configure.ac: ... here.
61456 * sysdeps/sh/configure.in: Moved to ...
61457 * sysdeps/sh/configure.ac: ... here.
61458 * sysdeps/sparc/configure.in: Moved to ...
61459 * sysdeps/sparc/configure.ac: ... here.
61460 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
61461 * sysdeps/unix/sysv/linux/configure.ac: ... here.
61462 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
61463 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
61464 * sysdeps/x86_64/configure.in: Moved to ...
61465 * sysdeps/x86_64/configure.ac: ... here.
61466 * sysdeps/x86_64/preconfigure.in: Moved to ...
61467 * sysdeps/x86_64/preconfigure.ac: ... here.
61468 * aclocal.m4: Change reference to configure.in to configure.ac.
61469 * config.h.in: Likewise.
61470 * manual/install.texi: Likewise.
61471 * manual/maint.texi: Likewise.
61472 * Makefile: Likewise.
61473 * malloc/Makefile: Likewise.
61474 * nscd/Makefile: Likewise.
61475 * Makeconfig: Change reference to configure.in and
61476 preconfigure.in to configure.ac and preconfigure.ac
61477 respectively.
61478 * INSTALL: Regenerated.
61479 * configure: Likewise.
61480 * sysdeps/gnu/configure: Likewise.
61481 * sysdeps/i386/configure: Likewise.
61482 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
61483 * sysdeps/mach/configure: Likewise.
61484 * sysdeps/mach/hurd/configure: Likewise.
61485 * sysdeps/powerpc/configure: Likewise.
61486 * sysdeps/powerpc/powerpc32/configure: Likewise.
61487 * sysdeps/powerpc/powerpc64/configure: Likewise.
61488 * sysdeps/s390/s390-32/configure: Likewise.
61489 * sysdeps/s390/s390-64/configure: Likewise.
61490 * sysdeps/sh/configure: Likewise.
61491 * sysdeps/sparc/configure: Likewise.
61492 * sysdeps/unix/sysv/linux/configure: Likewise.
61493 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
61494 * sysdeps/x86_64/configure: Likewise.
61495 * sysdeps/x86_64/preconfigure: Likewise.
61496
61497 2013-10-29 Andreas Schwab <schwab@suse.de>
61498
61499 * stdio-common/Makefile (tst-swscanf-ENV): Define.
61500
61501 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61502
61503 * benchtests/pow-inputs: Add new inputs.
61504
61505 * benchtests/exp-inputs: Add new inputs.
61506
61507 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
61508 conditional check for return value.
61509 (__cos32): Likewise.
61510
61511 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61512
61513 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
61514 to provide a boost for large inputs with word alignment.
61515 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
61516 implementation based on optimized PPC64 strcpy.
61517 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
61518 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
61519 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
61520 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
61521
61522 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
61523
61524 [BZ #2801]
61525 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
61526
61527 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
61528
61529 [BZ #14876]
61530 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
61531 * time/tst-strptime.c (day_tests): Add testcase.
61532
61533 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
61534
61535 [BZ #14029]
61536 * manual/pattern.texi: Acknowledge that fnmatch can fail.
61537
61538 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
61539
61540 [BZ #16074]
61541 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
61542 MAP_FAILED on error.
61543
61544 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
61545
61546 [BZ #16072]
61547 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
61548 heap for large requests.
61549
61550 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
61551
61552 [BZ #9954]
61553 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
61554 result if the result has no associated interface.
61555 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
61556 interface for all 127.X.Y.Z addresses.
61557
61558 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
61559
61560 * locale/iso-639.def: Add Ligurian (lij)
61561
61562 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
61563
61564 [BZ #15825]
61565 * sunrpc/rpc_main.c: Document rpcgen -5.
61566
61567 2013-10-19 Michael Stahl <mstahl@redhat.com>
61568
61569 * elf/rtld.c (do_preload): Print the reason why preloading failed.
61570
61571 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
61572
61573 [BZ #10278]
61574 * posix/glob.c: Match only directories when trailing slash is present.
61575 * posix/tst-gnuglob.c (my_opendir): Do not open files.
61576 (main): Add testcase.
61577
61578 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
61579
61580 [BZ #15670]
61581 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
61582
61583 2013-10-18 Carlos O'Donell <carlos@redhat.com>
61584
61585 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
61586 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
61587 AUTH_DES and cindex for FIPS 140-2.
61588 (DES Encryption): Add cindex FIPS 46-3.
61589
61590 * locale/locarchive.h (struct locarhandle): Add fname.
61591 * locale/programs/localedef.c (main): Pass ARGV[remaining]
61592 if an optional argument was specified to --list-archive,
61593 otherwise NULL.
61594 * locale/programs/locarchive.c (show_archive_content): Take new
61595 argument fname and pass it via ah.fname to open_archive.
61596 * locale/programs/localedef.h: Update decl.
61597 (open_archive): If AH->fname is non-null, open that file
61598 rather than the default file name, and don't ignore ENOENT.
61599 (create_archive): Set AH.fname to NULL.
61600 (delete_locales_from_archive): Likewise.
61601 (add_locales_to_archive): Likewise.
61602 * locale/programs/locfile.c (write_all_categories): Likewise.
61603
61604 2013-10-18 Joseph Myers <joseph@codesourcery.com>
61605 Aldy Hernandez <aldyh@redhat.com>
61606
61607 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
61608 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
61609 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
61610 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
61611 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
61612 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
61613 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
61614 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
61615 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
61616 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
61617 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
61618 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
61619 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
61620 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
61621 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
61622 Likewise.
61623 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
61624 Likewise.
61625 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
61626 Likewise.
61627 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
61628 Likewise.
61629 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
61630 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
61631 Likewise.
61632 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
61633 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
61634 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
61635 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
61636 Likewise.
61637 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
61638 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
61639 * sysdeps/powerpc/preconfigure: Likewise.
61640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
61641 Likewise.
61642 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
61643 Replace contents of file by #include of <fenv_libc.h>.
61644 * sysdeps/powerpc/soft-fp/sfp-machine.h
61645 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
61646 and <sys/prctl.h>.
61647 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
61648 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
61649 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
61650 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
61651 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
61652 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
61653 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
61654 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
61655 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
61656 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
61657 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
61658 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
61659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
61660 Allow copysignl PLT reference to be missing.
61661
61662 2013-10-18 Richard Sandiford <richard@codesourcery.com>
61663 Joseph Myers <joseph@codesourcery.com
61664
61665 [BZ #15948]
61666 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
61667 single character.
61668 (add_to_tablewc): Assert sequence of wide characters is nonempty.
61669
61670 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
61671
61672 * elf/tst-tls-dlinfo.c: Don't include tls.h.
61673 * elf/tst-tls1.c: Likewise.
61674 * elf/tst-tls10.h: Likewise.
61675 * elf/tst-tls14.c: Likewise.
61676 * elf/tst-tls2.c: Likewise.
61677 * elf/tst-tls3.c: Likewise.
61678 * elf/tst-tls4.c: Likewise.
61679 * elf/tst-tls5.c: Likewise.
61680 * elf/tst-tls6.c: Likewise.
61681 * elf/tst-tls7.c: Likewise.
61682 * elf/tst-tls8.c: Likewise.
61683 * elf/tst-tls9.c: Likewise.
61684 * elf/tst-tlsmod1.c: Likewise.
61685 * elf/tst-tlsmod13.c: Likewise.
61686 * elf/tst-tlsmod13a.c: Likewise.
61687 * elf/tst-tlsmod14a.c: Likewise.
61688 * elf/tst-tlsmod16a.c: Likewise.
61689 * elf/tst-tlsmod16b.c: Likewise.
61690 * elf/tst-tlsmod2.c: Likewise.
61691 * elf/tst-tlsmod3.c: Likewise.
61692 * elf/tst-tlsmod4.c: Likewise.
61693 * elf/tst-tlsmod5.c: Likewise.
61694 * elf/tst-tlsmod6.c: Likewise.
61695
61696 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
61697
61698 [BZ #12486]
61699 * malloc/malloc.c: remove checks for statistics.
61700
61701 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
61702
61703 [BZ #15277]
61704 * inet/inet_net.c (inet_network): Detect additional invalid strings.
61705 * inet/tst-network.c: Add testcase.
61706
61707 2013-10-17 Andreas Schwab <schwab@suse.de>
61708
61709 [BZ #15218]
61710 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
61711 to determine canonical name.
61712
61713 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
61714
61715 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
61716 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
61717 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61718 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61719 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61720 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61721 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61722 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61723 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
61724 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61725 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
61726 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61727 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61728 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61729 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61730 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61731 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61732 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61733 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
61734 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61735 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61736 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61737 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61738 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
61739 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
61740 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
61741 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
61742 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
61743 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
61744 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
61745 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61746 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61747 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
61748 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
61749 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61750 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61751 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61752 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
61753 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
61754 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61755 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61756 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
61757 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
61758 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
61759 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
61760 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61761 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
61762 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
61763 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
61764 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
61765 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
61766 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61767 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
61768 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
61769 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61770 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
61771 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61772 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
61773
61774 2013-10-17 Joseph Myers <joseph@codesourcery.com>
61775
61776 [BZ #16041]
61777 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
61778 make result into a quiet NaN.
61779
61780 2013-10-16 Joseph Myers <joseph@codesourcery.com>
61781
61782 * soft-fp/adddf3.c: Fix horizontal whitespace.
61783 * soft-fp/addsf3.c: Likewise.
61784 * soft-fp/addtf3.c: Likewise.
61785 * soft-fp/divdf3.c: Likewise.
61786 * soft-fp/divsf3.c: Likewise.
61787 * soft-fp/divtf3.c: Likewise.
61788 * soft-fp/double.h: Likewise.
61789 * soft-fp/eqdf2.c: Likewise.
61790 * soft-fp/eqsf2.c: Likewise.
61791 * soft-fp/eqtf2.c: Likewise.
61792 * soft-fp/extenddftf2.c: Likewise.
61793 * soft-fp/extended.h: Likewise.
61794 * soft-fp/extendsfdf2.c: Likewise.
61795 * soft-fp/extendsftf2.c: Likewise.
61796 * soft-fp/extendxftf2.c: Likewise.
61797 * soft-fp/fixdfdi.c: Likewise.
61798 * soft-fp/fixdfsi.c: Likewise.
61799 * soft-fp/fixdfti.c: Likewise.
61800 * soft-fp/fixsfdi.c: Likewise.
61801 * soft-fp/fixsfsi.c: Likewise.
61802 * soft-fp/fixsfti.c: Likewise.
61803 * soft-fp/fixtfdi.c: Likewise.
61804 * soft-fp/fixtfsi.c: Likewise.
61805 * soft-fp/fixtfti.c: Likewise.
61806 * soft-fp/fixunsdfdi.c: Likewise.
61807 * soft-fp/fixunsdfsi.c: Likewise.
61808 * soft-fp/fixunsdfti.c: Likewise.
61809 * soft-fp/fixunssfdi.c: Likewise.
61810 * soft-fp/fixunssfsi.c: Likewise.
61811 * soft-fp/fixunssfti.c: Likewise.
61812 * soft-fp/fixunstfdi.c: Likewise.
61813 * soft-fp/fixunstfsi.c: Likewise.
61814 * soft-fp/fixunstfti.c: Likewise.
61815 * soft-fp/floatdidf.c: Likewise.
61816 * soft-fp/floatdisf.c: Likewise.
61817 * soft-fp/floatditf.c: Likewise.
61818 * soft-fp/floatsidf.c: Likewise.
61819 * soft-fp/floatsisf.c: Likewise.
61820 * soft-fp/floatsitf.c: Likewise.
61821 * soft-fp/floattidf.c: Likewise.
61822 * soft-fp/floattisf.c: Likewise.
61823 * soft-fp/floattitf.c: Likewise.
61824 * soft-fp/floatundidf.c: Likewise.
61825 * soft-fp/floatundisf.c: Likewise.
61826 * soft-fp/floatunditf.c: Likewise.
61827 * soft-fp/floatunsidf.c: Likewise.
61828 * soft-fp/floatunsisf.c: Likewise.
61829 * soft-fp/floatunsitf.c: Likewise.
61830 * soft-fp/floatuntidf.c: Likewise.
61831 * soft-fp/floatuntisf.c: Likewise.
61832 * soft-fp/floatuntitf.c: Likewise.
61833 * soft-fp/fmadf4.c: Likewise.
61834 * soft-fp/fmasf4.c: Likewise.
61835 * soft-fp/fmatf4.c: Likewise.
61836 * soft-fp/gedf2.c: Likewise.
61837 * soft-fp/gesf2.c: Likewise.
61838 * soft-fp/getf2.c: Likewise.
61839 * soft-fp/ledf2.c: Likewise.
61840 * soft-fp/lesf2.c: Likewise.
61841 * soft-fp/letf2.c: Likewise.
61842 * soft-fp/muldf3.c: Likewise.
61843 * soft-fp/mulsf3.c: Likewise.
61844 * soft-fp/multf3.c: Likewise.
61845 * soft-fp/negdf2.c: Likewise.
61846 * soft-fp/negsf2.c: Likewise.
61847 * soft-fp/negtf2.c: Likewise.
61848 * soft-fp/op-1.h: Likewise.
61849 * soft-fp/op-2.h: Likewise.
61850 * soft-fp/op-4.h: Likewise.
61851 * soft-fp/op-8.h: Likewise.
61852 * soft-fp/op-common.h: Likewise.
61853 * soft-fp/quad.h: Likewise.
61854 * soft-fp/single.h: Likewise.
61855 * soft-fp/soft-fp.h: Likewise.
61856 * soft-fp/sqrtdf2.c: Likewise.
61857 * soft-fp/sqrtsf2.c: Likewise.
61858 * soft-fp/sqrttf2.c: Likewise.
61859 * soft-fp/subdf3.c: Likewise.
61860 * soft-fp/subsf3.c: Likewise.
61861 * soft-fp/subtf3.c: Likewise.
61862 * soft-fp/truncdfsf2.c: Likewise.
61863 * soft-fp/trunctfdf2.c: Likewise.
61864 * soft-fp/trunctfsf2.c: Likewise.
61865 * soft-fp/trunctfxf2.c: Likewise.
61866 * soft-fp/unorddf2.c: Likewise.
61867 * soft-fp/unordsf2.c: Likewise.
61868 * soft-fp/unordtf2.c: Likewise.
61869
61870 2013-10-15 Joseph Myers <joseph@codesourcery.com>
61871
61872 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
61873 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
61874
61875 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
61876
61877 * elf/dl-libc.c: Clear initfini list after freeing.
61878
61879 2013-10-14 Joseph Myers <joseph@codesourcery.com>
61880
61881 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
61882 * soft-fp/addsf3.c: Likewise.
61883 * soft-fp/addtf3.c: Likewise.
61884 * soft-fp/divdf3.c: Likewise.
61885 * soft-fp/divsf3.c: Likewise.
61886 * soft-fp/divtf3.c: Likewise.
61887 * soft-fp/double.h: Likewise.
61888 * soft-fp/eqdf2.c: Likewise.
61889 * soft-fp/eqsf2.c: Likewise.
61890 * soft-fp/eqtf2.c: Likewise.
61891 * soft-fp/extenddftf2.c: Likewise.
61892 * soft-fp/extended.h: Likewise.
61893 * soft-fp/extendsfdf2.c: Likewise.
61894 * soft-fp/extendsftf2.c: Likewise.
61895 * soft-fp/extendxftf2.c: Likewise.
61896 * soft-fp/fixdfdi.c: Likewise.
61897 * soft-fp/fixdfsi.c: Likewise.
61898 * soft-fp/fixdfti.c: Likewise.
61899 * soft-fp/fixsfdi.c: Likewise.
61900 * soft-fp/fixsfsi.c: Likewise.
61901 * soft-fp/fixsfti.c: Likewise.
61902 * soft-fp/fixtfdi.c: Likewise.
61903 * soft-fp/fixtfsi.c: Likewise.
61904 * soft-fp/fixtfti.c: Likewise.
61905 * soft-fp/fixunsdfdi.c: Likewise.
61906 * soft-fp/fixunsdfsi.c: Likewise.
61907 * soft-fp/fixunsdfti.c: Likewise.
61908 * soft-fp/fixunssfdi.c: Likewise.
61909 * soft-fp/fixunssfsi.c: Likewise.
61910 * soft-fp/fixunssfti.c: Likewise.
61911 * soft-fp/fixunstfdi.c: Likewise.
61912 * soft-fp/fixunstfsi.c: Likewise.
61913 * soft-fp/fixunstfti.c: Likewise.
61914 * soft-fp/floatdidf.c: Likewise.
61915 * soft-fp/floatdisf.c: Likewise.
61916 * soft-fp/floatditf.c: Likewise.
61917 * soft-fp/floatsidf.c: Likewise.
61918 * soft-fp/floatsisf.c: Likewise.
61919 * soft-fp/floatsitf.c: Likewise.
61920 * soft-fp/floattidf.c: Likewise.
61921 * soft-fp/floattisf.c: Likewise.
61922 * soft-fp/floattitf.c: Likewise.
61923 * soft-fp/floatundidf.c: Likewise.
61924 * soft-fp/floatundisf.c: Likewise.
61925 * soft-fp/floatunsidf.c: Likewise.
61926 * soft-fp/floatunsisf.c: Likewise.
61927 * soft-fp/floatuntidf.c: Likewise.
61928 * soft-fp/floatuntisf.c: Likewise.
61929 * soft-fp/floatuntitf.c: Likewise.
61930 * soft-fp/fmadf4.c: Likewise.
61931 * soft-fp/fmasf4.c: Likewise.
61932 * soft-fp/fmatf4.c: Likewise.
61933 * soft-fp/gedf2.c: Likewise.
61934 * soft-fp/gesf2.c: Likewise.
61935 * soft-fp/getf2.c: Likewise.
61936 * soft-fp/ledf2.c: Likewise.
61937 * soft-fp/lesf2.c: Likewise.
61938 * soft-fp/letf2.c: Likewise.
61939 * soft-fp/muldf3.c: Likewise.
61940 * soft-fp/mulsf3.c: Likewise.
61941 * soft-fp/multf3.c: Likewise.
61942 * soft-fp/negdf2.c: Likewise.
61943 * soft-fp/negsf2.c: Likewise.
61944 * soft-fp/negtf2.c: Likewise.
61945 * soft-fp/op-1.h: Likewise.
61946 * soft-fp/op-2.h: Likewise.
61947 * soft-fp/op-4.h: Likewise.
61948 * soft-fp/op-8.h: Likewise.
61949 * soft-fp/op-common.h: Likewise.
61950 * soft-fp/quad.h: Likewise.
61951 * soft-fp/single.h: Likewise.
61952 * soft-fp/soft-fp.h: Likewise.
61953 * soft-fp/sqrtdf2.c: Likewise.
61954 * soft-fp/sqrtsf2.c: Likewise.
61955 * soft-fp/sqrttf2.c: Likewise.
61956 * soft-fp/subdf3.c: Likewise.
61957 * soft-fp/subsf3.c: Likewise.
61958 * soft-fp/subtf3.c: Likewise.
61959 * soft-fp/truncdfsf2.c: Likewise.
61960 * soft-fp/trunctfdf2.c: Likewise.
61961 * soft-fp/trunctfsf2.c: Likewise.
61962 * soft-fp/trunctfxf2.c: Likewise.
61963 * soft-fp/unorddf2.c: Likewise.
61964 * soft-fp/unordsf2.c: Likewise.
61965 * soft-fp/unordtf2.c: Likewise.
61966
61967 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
61968
61969 [BZ #15672]
61970 * misc/error.c (error_tail): Fix possible buffer overflow.
61971
61972 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
61973
61974 [BZ #13028]
61975 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
61976 address.
61977
61978 2013-10-14 P. J. McDermott <pj@pehjota.net>
61979
61980 [BZ #832]
61981 * elf/ldd.bash.in (try_trace): New function. Delete previous code
61982 testing pipefail option.
61983
61984 2013-10-12 Joseph Myers <joseph@codesourcery.com>
61985
61986 * soft-fp/double.h: Indent preprocessor directives inside #if.
61987 * soft-fp/extended.h: Likewise.
61988 * soft-fp/op-2.h: Likewise.
61989 * soft-fp/op-4.h: Likewise.
61990 * soft-fp/op-common.h: Likewise.
61991 * soft-fp/quad.h: Likewise.
61992 * soft-fp/single.h: Likewise.
61993 * soft-fp/soft-fp.h: Likewise.
61994
61995 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
61996
61997 * iconv/iconv_prog.c: Fix typos.
61998 * stdio-common/psiginfo-data.h: Likewise.
61999
62000 2013-10-12 Reuben Thomas <rrt@sc3d.org>
62001
62002 [BZ #15764]
62003 * locale/setlocale.c: Fix typo.
62004
62005 2013-10-12 Joseph Myers <joseph@codesourcery.com>
62006
62007 [BZ #16036]
62008 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
62009 signaling NaN arguments.
62010 * soft-fp/unordsf2.c (__unordsf2): Likewise.
62011 * soft-fp/unordtf2.c (__unordtf2): Likewise.
62012
62013 [BZ #14910]
62014 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
62015 unordered operands.
62016 * soft-fp/gesf2.c (__gesf2): Likewise.
62017 * soft-fp/getf2.c (__getf2): Likewise.
62018 * soft-fp/ledf2.c (__ledf2): Likewise.
62019 * soft-fp/lesf2.c (__lesf2): Likewise.
62020 * soft-fp/letf2.c (__letf2): Likewise.
62021
62022 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
62023 * soft-fp/eqsf2.c (__eqsf2): Likewise.
62024 * soft-fp/eqtf2.c (__eqtf2): Likewise.
62025 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
62026 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
62027 * soft-fp/fixdfti.c (__fixdfti): Likewise.
62028 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
62029 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
62030 * soft-fp/fixsfti.c (__fixsfti): Likewise.
62031 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
62032 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
62033 * soft-fp/fixtfti.c (__fixtfti): Likewise.
62034 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
62035 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
62036 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
62037 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
62038 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
62039 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
62040 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
62041 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
62042 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
62043 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
62044 * soft-fp/floatdisf.c (__floatdisf): Likewise.
62045 * soft-fp/floatsisf.c (__floatsisf): Likewise.
62046 * soft-fp/floattidf.c (__floattidf): Likewise.
62047 * soft-fp/floattisf.c (__floattisf): Likewise.
62048 * soft-fp/floattitf.c (__floattitf): Likewise.
62049 * soft-fp/floatundidf.c (__floatundidf): Likewise.
62050 * soft-fp/floatundisf.c (__floatundisf): Likewise.
62051 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
62052 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
62053 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
62054 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
62055 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
62056 * soft-fp/gesf2.c (__gesf2): Likewise.
62057 * soft-fp/getf2.c (__getf2): Likewise.
62058 * soft-fp/ledf2.c (__ledf2): Likewise.
62059 * soft-fp/lesf2.c (__lesf2): Likewise.
62060 * soft-fp/letf2.c (__letf2): Likewise.
62061
62062 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
62063 Undefine and redefine.
62064 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
62065 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
62066 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
62067 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
62068 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62069 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
62070 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62071 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
62072 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62073 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
62074 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62075 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
62076 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62077 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
62078 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62079
62080 [BZ #16032]
62081 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
62082 without decrementing exponent if mantissa >= that for the
62083 denominator, not >.
62084 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
62085 denominator, not >. Decrement exponent in < case instead of
62086 incrementing in >= case.
62087 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
62088 without decrementing exponent if mantissa >= that for the
62089 denominator, not >.
62090
62091 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
62092 computing saturated result for unsigned overflow.
62093
62094 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
62095 Jeff Law <law@redhat.com>
62096
62097 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
62098 (atan2Mp): Add systemtap probe marker.
62099 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
62100 (__ieee754_log): Add systemtap probe marker.
62101 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
62102 (atanMp): Add systemtap probe marker.
62103 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
62104 (tanMp): Add systemtap probe marker.
62105 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
62106 (__slowexp): Add systemtap probe marker.
62107 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
62108 (__slowpow): Add systemtap probe marker.
62109 * manual/probes.texi: Document probes.
62110
62111 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
62112
62113 [BZ #15362]
62114 * libio/fileops.c (_IO_new_file_write): Return count of bytes
62115 written.
62116 (_IO_new_file_xsputn): Don't return EOF if nothing has been
62117 written.
62118 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
62119 written to buffer but not flushed.
62120 * libio/iofwrite_u.c: Likewise.
62121 * libio/iopadn.c: Return bytes returned even if EOF was
62122 encountered.
62123 * libio/iowpadn.c: Likewise.
62124 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
62125 if _IO_padn does not write the whole buffer.
62126 [!COMPILE_WPRINTF] (PAD): Likewise.
62127
62128 2013-10-10 David S. Miller <davem@davemloft.net>
62129
62130 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
62131 directory block.
62132
62133 2013-10-10 Joseph Myers <joseph@codesourcery.com>
62134
62135 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
62136 instead of FSF address.
62137 * soft-fp/fixdfti.c: Likewise.
62138 * soft-fp/fixsfti.c: Likewise.
62139 * soft-fp/fixtfti.c: Likewise.
62140 * soft-fp/fixunsdfti.c: Likewise.
62141 * soft-fp/fixunssfti.c: Likewise.
62142 * soft-fp/fixunstfti.c: Likewise.
62143 * soft-fp/floattidf.c: Likewise.
62144 * soft-fp/floattisf.c: Likewise.
62145 * soft-fp/floattitf.c: Likewise.
62146 * soft-fp/floatuntidf.c: Likewise.
62147 * soft-fp/floatuntisf.c: Likewise.
62148 * soft-fp/floatuntitf.c: Likewise.
62149 * soft-fp/trunctfxf2.c: Likewise.
62150
62151 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
62152 * soft-fp/fixdfti.c: Likewise.
62153 * soft-fp/fixsfti.c: Likewise.
62154 * soft-fp/fixtfti.c: Likewise.
62155 * soft-fp/fixunsdfti.c: Likewise.
62156 * soft-fp/fixunssfti.c: Likewise.
62157 * soft-fp/fixunstfti.c: Likewise.
62158 * soft-fp/floattidf.c: Likewise.
62159 * soft-fp/floattisf.c: Likewise.
62160 * soft-fp/floattitf.c: Likewise.
62161 * soft-fp/floatuntidf.c: Likewise.
62162 * soft-fp/floatuntisf.c: Likewise.
62163 * soft-fp/floatuntitf.c: Likewise.
62164 * soft-fp/trunctfxf2.c: Likewise.
62165
62166 2013-10-10 David S. Miller <davem@davemloft.net>
62167
62168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62169
62170 2013-10-10 Joseph Myers <joseph@codsourcery.com>
62171
62172 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
62173 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
62174 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
62175 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
62176 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
62177 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
62178 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
62179
62180 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
62181 for NaNs before doing comparisons on argument.
62182 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
62183 Likewise.
62184
62185 2013-10-10 Will Newton <will.newton@linaro.org>
62186
62187 * malloc/hooks.c (memalign_check): Ensure the value of bytes
62188 passed to _int_memalign does not overflow.
62189
62190 2013-10-10 Torvald Riegel <triegel@redhat.com>
62191
62192 * scripts/bench.pl: Add include-sources directive.
62193 * benchtests/README: Update documentation.
62194
62195 2013-10-10 Joseph Myers <joseph@codesourcery.com>
62196
62197 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
62198 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
62199 instead of FP_INIT_ROUNDMODE.
62200 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
62201 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
62202
62203 [BZ #16034]
62204 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
62205 copy class of input value.
62206 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
62207 not handle exceptions.
62208 * soft-fp/negsf2.c (__negsf2): Likewise.
62209 * soft-fp/negtf2.c (__negtf2): Likewise.
62210 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
62211
62212 2013-10-09 Joseph Myers <joseph@codesourcery.com>
62213
62214 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
62215 semicolon. From Linux kernel.
62216
62217 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
62218
62219 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
62220
62221 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
62222
62223 [BZ #156]
62224 * manual/socket.texi: Added statement about buffer
62225 for gethostbyname2_r.
62226
62227 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
62228
62229 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
62230 Use .p2align directive instead, throughout.
62231 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62232 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
62233 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
62234 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62235 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62236 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
62237 * sysdeps/x86_64/strchr.S: Likewise.
62238 * sysdeps/x86_64/strrchr.S: Likewise.
62239
62240 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
62241
62242 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
62243
62244 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
62245
62246 * sysdeps/generic/math_private.h (__mpsin1): Remove
62247 declaration.
62248 (__mpcos1): Likewise.
62249 (__mpsin): New argument __range_reduce.
62250 (__mpcos): Likewise.
62251 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62252 (slow): Use __mpsin and __mpcos.
62253 (slow1): Likewise.
62254 (slow2): Likewise.
62255 (sloww): Likewise.
62256 (sloww1): Likewise.
62257 (sloww2): Likewise.
62258 (bsloww): Likewise.
62259 (bsloww1): Likewise.
62260 (bsloww2): Likewise.
62261 (cslow2): Likewise.
62262 (csloww): Likewise.
62263 (csloww1): Likewise.
62264 (csloww2): Likewise.
62265 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
62266 range_reduce. Merge in __mpsin1.
62267 (__mpcos): Likewise.
62268 (__mpsin1): Remove.
62269 (__mpcos1): Likewise.
62270
62271 2013-10-07 Joseph Myers <joseph@codesourcery.com>
62272
62273 * locale/loadlocale.c (_nl_intern_locale_data): Use
62274 LOCFILE_ALIGNED_P.
62275 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
62276 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
62277 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
62278 obstack data is appropriately aligned.
62279 (obstack_int32_grow_fast): Likewise.
62280 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
62281 * locale/programs/locfile.c (add_locale_uint32): Likewise.
62282 (add_locale_uint32_array): Likewise.
62283
62284 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
62285
62286 * benchtests/Makefile: Remove ARGLIST and RET variables.
62287 ($(objpfx)bench-%.c): Pass only function name to the script.
62288 * benchtests/README: Update documentation.
62289 * benchtests/acos-inputs: Add new directives.
62290 * benchtests/acosh-inputs: Likewise.
62291 * benchtests/asin-inputs: Likewise.
62292 * benchtests/asinh-inputs: Likewise.
62293 * benchtests/atan-inputs: Likewise.
62294 * benchtests/atanh-inputs: Likewise.
62295 * benchtests/cos-inputs: Likewise.
62296 * benchtests/cosh-inputs: Likewise.
62297 * benchtests/exp-inputs: Likewise.
62298 * benchtests/log-inputs: Likewise.
62299 * benchtests/pow-inputs: Likewise.
62300 * benchtests/rint-inputs: Likewise.
62301 * benchtests/sin-inputs: Likewise.
62302 * benchtests/sinh-inputs: Likewise.
62303 * benchtests/tan-inputs: Likewise.
62304 * benchtests/tanh-inputs: Likewise.
62305 * scripts/bench.pl: Add support for new directives.
62306
62307 2013-10-07 Alan Modra <amodra@gmail.com>
62308
62309 * README: Fix careless merge.
62310
62311 2013-10-05 Alan Modra <amodra@gmail.com>
62312
62313 * NEWS: Mention powerpc64le support and bugs fixed.
62314 * README: Both big-endian and little-endian powerpc64 supported.
62315
62316 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
62317
62318 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
62319 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
62320 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
62321 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
62322
62323 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
62324
62325 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
62326 match prototype.
62327
62328 2013-10-04 Joseph Myers <joseph@codesourcery.com>
62329
62330 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
62331 Move -mhard-float appending from
62332 ports/sysdeps/powerpc/powerpc32/Makefile.
62333 [$(with-fp) = yes] (ASFLAGS): Likewise.
62334 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
62335 * sysdeps/powerpc/nofpu: Move directory from
62336 ports/sysdeps/powerpc/nofpu.
62337 * sysdeps/powerpc/soft-fp: Move directory from
62338 ports/sysdeps/powerpc/soft-fp.
62339 * sysdeps/powerpc/powerpc32/405: Move directory from
62340 ports/sysdeps/powerpc/powerpc32/405.
62341 * sysdeps/powerpc/powerpc32/440: Move directory from
62342 ports/sysdeps/powerpc/powerpc32/440.
62343 * sysdeps/powerpc/powerpc32/464: Move directory from
62344 ports/sysdeps/powerpc/powerpc32/464.
62345 * sysdeps/powerpc/powerpc32/476: Move directory from
62346 ports/sysdeps/powerpc/powerpc32/476.
62347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
62348 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
62349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
62350 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
62351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
62352 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
62353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
62354 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
62355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
62356 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
62357 * README: Update for powerpc-*-linux-gnu software floating point
62358 support in libc.
62359
62360 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
62361 case to powerpc/powerpc32*.
62362 * sysdeps/unix/sysv/linux/configure: Regenerated.
62363
62364 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
62365 (_FPU_MASK_OM): Define as 0x04.
62366 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
62367 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
62368 0x00c10080.
62369 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
62370 0x0000003c.
62371 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
62372
62373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
62374 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62375 getcontext_e500.
62376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
62377 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62378 setcontext_e500.
62379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
62380 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
62381 and setcontext_e500.
62382
62383 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
62384
62385 * locale/iso-3166.def: Update iso-1366.def and related occurrences
62386
62387 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
62388
62389 * manual/threads.texi (Default Thread Attributes): Fix typo.
62390
62391 2013-10-04 Will Newton <will.newton@linaro.org>
62392
62393 * malloc/Makefile: Add tst-memalign.
62394 * malloc/tst-memalign.c: New file.
62395
62396 * malloc/tst-posix_memalign.c: Add comments.
62397 (do_test): Add comments and call free on all potentially
62398 allocated pointers. Add space after cast.
62399
62400 * malloc/tst-pvalloc.c: Add comments.
62401 (do_test): Add comments and call free on all potentially
62402 allocated pointers. Remove duplicate check for NULL pointer.
62403 Add space after cast.
62404
62405 * malloc/tst-valloc.c: Add comments.
62406 (do_test): Add comments and call free on all potentially
62407 allocated pointers. Remove duplicate check for NULL pointer.
62408 Add space after cast.
62409
62410 2013-10-04 Alan Modra <amodra@gmail.com>
62411
62412 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62413 Use stdint types in rather than __attribute__((mode())).
62414 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62415
62416 2013-10-04 Alan Modra <amodra@gmail.com>
62417
62418 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62419 Correct handling of unaligned relocs for little-endian.
62420 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62421
62422 2013-10-04 Alan Modra <amodra@gmail.com>
62423
62424 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
62425 * configure: Regenerate.
62426 * nptl/shlib-versions: Powerpc*le starts at 2.18.
62427 * shlib-versions: Likewise.
62428
62429 2013-10-04 Alan Modra <amodra@gmail.com>
62430
62431 * string/tester.c (test_memrchr): Increment reported test cycle.
62432
62433 2013-10-04 Alan Modra <amodra@gmail.com>
62434
62435 * string/test-memcpy.c (do_one_test): When reporting errors, print
62436 string address and don't overrun end of string.
62437
62438 2013-10-04 Alan Modra <amodra@gmail.com>
62439
62440 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
62441 insrdi. Make better use of reg selection to speed exit slightly.
62442 Schedule entry path a little better. Remove useless "are we done"
62443 checks on entry to main loop. Handle wrapping around zero address.
62444 Correct main loop count. Handle single left-over word from main
62445 loop inline rather than by using loop_small. Remove extra word
62446 case in loop_small caused by wrong loop count. Add little-endian
62447 support.
62448 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62449 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
62450 cache hint.
62451 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62452 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
62453 support. Avoid rlwimi.
62454 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
62455
62456 2013-10-04 Alan Modra <amodra@gmail.com>
62457
62458 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
62459 insrdi. Formatting.
62460 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
62461 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
62462 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
62463 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
62464 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
62465 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
62466
62467 2013-10-04 Alan Modra <amodra@gmail.com>
62468
62469 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
62470 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62471 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
62472 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
62473 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62474 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62475 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62476 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62477 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
62478 use of regs. Use power7 mtocrf. Tidy function tails.
62479
62480 2013-10-04 Alan Modra <amodra@gmail.com>
62481
62482 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
62483 Formatting. Consistently use rXXX register defines or rN defines.
62484 Use early exit labels that avoid restoring unused non-volatile regs.
62485 Make cr field use more consistent with rWORDn compares. Rename
62486 regs used as shift registers for unaligned loop, using rN defines
62487 for short lifetime/multiple use regs.
62488 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62489 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
62490 addi 1,1,64 to pop stack frame. Simplify return value code.
62491 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62492
62493 2013-10-04 Alan Modra <amodra@gmail.com>
62494
62495 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
62496 support. Correct typos, formatting. Optimize tail. Use insrdi
62497 rather than rlwimi.
62498 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
62499 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
62500 little-endian support. Correct typos.
62501 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
62502 rather than rlwimi.
62503 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
62504 in loop and entry code to keep "and." results.
62505 (strchr): Add little-endian support. Comment. Move cntlzd
62506 earlier in tail.
62507 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
62508
62509 2013-10-04 Alan Modra <amodra@gmail.com>
62510
62511 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
62512 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
62513 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
62514 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
62515
62516 2013-10-04 Alan Modra <amodra@gmail.com>
62517
62518 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
62519 (rTMP): Define as r11.
62520 (strcmp): Add little-endian support. Optimise tail.
62521 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
62522 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62523 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
62524 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62525 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
62526 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62527 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62528
62529 2013-10-04 Alan Modra <amodra@gmail.com>
62530
62531 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
62532 little-endian support. Remove unnecessary "are we done" tests.
62533 Handle "s" wrapping around zero and extremely large "size".
62534 Correct main loop count. Handle single left-over word from main
62535 loop inline rather than by using small_loop. Correct comments.
62536 Delete "zero" tail, use "end_max" instead.
62537 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
62538
62539 2013-10-04 Alan Modra <amodra@gmail.com>
62540
62541 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
62542 support. Don't branch over align.
62543 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
62544 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
62545 support. Rearrange tmp reg use to suit. Comment.
62546 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
62547
62548 2013-10-04 Alan Modra <amodra@gmail.com>
62549
62550 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
62551
62552 2013-10-04 Alan Modra <amodra@gmail.com>
62553
62554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
62555 conditional form of branch and link when obtaining pc.
62556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
62557
62558 2013-10-04 Alan Modra <amodra@gmail.com>
62559
62560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
62561 HIWORD/LOWORD.
62562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
62563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
62564
62565 2013-10-04 Alan Modra <amodra@gmail.com>
62566
62567 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
62568 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
62569 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
62570 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
62571 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
62572 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
62573 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
62574 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
62575 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
62576 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
62577
62578 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62579 Alistair Popple <alistair@ozlabs.au.ibm.com>
62580 Alan Modra <amodra@gmail.com>
62581
62582 [BZ #15723]
62583 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
62584 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
62585 _dl_hwcap access for little-endian.
62586 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
62587 destroy vmx regs when saving unaligned.
62588 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
62589 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
62590 destroy vmx regs when saving unaligned.
62591
62592 2013-10-04 Alan Modra <amodra@gmail.com>
62593
62594 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
62595 Don't use a union to pack hi/low value.
62596
62597 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62598
62599 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
62600 for little-endian.
62601 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
62602 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
62603 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
62604 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
62605 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
62606
62607 2013-10-04 Alan Modra <amodra@gmail.com>
62608
62609 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
62610 constants to usual value for .cst8 section, and remove redundant
62611 high address load.
62612 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
62613 constant for 0x1p52. Load little-endian words of double from
62614 correct stack offsets.
62615
62616 2013-10-04 Alan Modra <amodra@gmail.com>
62617
62618 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
62619 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
62620 words of double from correct stack offsets.
62621 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
62622 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
62623 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
62624 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
62625 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
62626 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
62627 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
62628 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
62629 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
62630 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
62631 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
62632 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
62633 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
62634 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
62635 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
62636 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
62637 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
62638
62639 2013-10-04 Alan Modra <amodra@gmail.com>
62640
62641 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
62642 64-bit int/double union.
62643 (_FPU_SETCW): Likewise.
62644 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
62645 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
62646
62647 2013-10-04 Alan Modra <amodra@gmail.com>
62648
62649 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
62650 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
62651
62652 2013-10-04 Alan Modra <amodra@gmail.com>
62653
62654 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
62655 use vector int constants.
62656 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
62657
62658 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62659
62660 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
62661 array with long long.
62662 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
62663 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
62664 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
62665 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
62666 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
62667 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
62668 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
62669 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
62670 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
62671 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
62672 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
62673 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
62674 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
62675
62676 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62677
62678 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
62679 (__signbit): Likewise. Correct for little-endian.
62680 (__signbitl): Call __signbit.
62681 (lrint): Correct for little-endian.
62682 (lrintf): Call lrint.
62683
62684 2013-10-04 Alan Modra <amodra@gmail.com>
62685
62686 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
62687 union 32-bit int array member with 64-bit int array.
62688 (t515, tm256): Double rather than long double.
62689 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
62690
62691 2013-10-04 Alan Modra <amodra@gmail.com>
62692
62693 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
62694 Delete.
62695 (IEEE854_LONG_DOUBLE_BIAS): Delete.
62696 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
62697 version of math_ldbl.h.
62698
62699 2013-10-04 Alan Modra <amodra@gmail.com>
62700
62701 [BZ #15734], [BZ #15735]
62702 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
62703 all uses of ieee875 long double macros and unions. Simplify test
62704 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
62705 ldbl_extract_mantissa value for ix,iy exponents. Properly
62706 normalize after ldbl_extract_mantissa, and don't add hidden bit
62707 already handled. Don't treat low word of ieee854 mantissa like
62708 low word of IBM long double and mask off bit when testing for
62709 zero.
62710 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
62711 all uses of ieee875 long double macros and unions. Simplify tests
62712 for 0.0L and inf. Correct double adjustment of k. Delete dead code
62713 adjusting ha,hb. Simplify code setting kld. Delete two600 and
62714 two1022, instead use their values. Recognise that tests for large
62715 "a" and small "b" are mutually exclusive. Rename vars. Comment.
62716 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
62717 Rewrite all uses of ieee875 long double macros and unions. Simplify
62718 test for 0.0L and nan. Correct negation.
62719 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
62720 ieee875 long double macros and unions. Correct output for large
62721 magnitude x. Correct absolute value calculation.
62722 (__erfcl): Likewise.
62723 * math/libm-test.inc: Add tests for errors discovered in IBM long
62724 double versions of fmodl, remainderl, erfl and erfcl.
62725
62726 2013-10-04 Alan Modra <amodra@gmail.com>
62727
62728 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
62729 all uses of ieee854 long double macros and unions. Simplify tests
62730 for long doubles that are fully specified by the high double.
62731 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
62732 Likewise.
62733 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
62734 Remove dead code too.
62735 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
62736 (__ieee754_ynl): Likewise.
62737 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
62738 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
62739 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
62740 Remove dead code too.
62741 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
62742 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
62743 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
62744 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
62745 Simplify.
62746 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
62747 Simplify.
62748 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
62749 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
62750 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
62751 Comment on variable precision.
62752 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
62753 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
62754 Likewise.
62755 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
62756 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
62757 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
62758 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
62759 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
62760
62761 2013-10-04 Alan Modra <amodra@gmail.com>
62762
62763 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
62764 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
62765 all uses of ieee854 long double macros and unions.
62766 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
62767 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
62768 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
62769 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
62770 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
62771 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
62772 Likewise.
62773 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
62774 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
62775 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
62776 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
62777 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
62778 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
62779 Simplify sign and nan test too.
62780 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
62781 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
62782 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
62783 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
62784 Likewise.
62785 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
62786 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
62787 Likewise.
62788 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62789 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
62790 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
62791 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
62792 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
62793 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
62794
62795 2013-10-04 Alan Modra <amodra@gmail.com>
62796
62797 * stdio-common/printf_size.c (__printf_size): Don't use
62798 union ieee854_long_double in fpnum union.
62799 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
62800 signbit macro to retrieve sign from long double.
62801 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
62802 retrieve sign from long double.
62803 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
62804 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
62805 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
62806 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
62807 * math/test-misc.c (main): Don't use union ieee854_long_double.
62808
62809 2013-10-04 Alan Modra <amodra@gmail.com>
62810
62811 [BZ #15680]
62812 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
62813 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
62814 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
62815 calculation. Remove unnecessary test for denormal exponent.
62816 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
62817 Correct handling of denormals. Avoid undefined shift behaviour.
62818 Correct normalisation of low mantissa when low double is denormal.
62819 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
62820 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
62821 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
62822 Correct normalisation of low mantissa. Test for overflow of high
62823 mantissa and normalise.
62824 (ldbl_nearbyint): Use more readable constant for two52.
62825 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
62826 (__mpn_construct_long_double): Fix test for overflow of high
62827 mantissa and correct normalisation. Avoid undefined shift.
62828
62829 2013-10-04 Alan Modra <amodra@gmail.com>
62830
62831 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
62832 (union ibm_extended_long_double): Define as an array of ieee754_double.
62833 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
62834 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
62835 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
62836 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
62837 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
62838 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
62839 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
62840 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
62841 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
62842 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
62843 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
62844
62845 2013-10-03 Joseph Myers <joseph@codesourcery.com>
62846
62847 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
62848 page size instead of calling getpagesize.
62849
62850 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
62851 (LOCFILE_ALIGN_MASK): Likewise.
62852 (LOCFILE_ALIGN_UP): Likewise.
62853 (LOCFILE_ALIGNED_P): Likewise.
62854 * locale/programs/ld-collate.c (collate_output): Use the new
62855 macros instead of __alignof__ (int32_t).
62856 * locale/weight.h (findidx): Likewise.
62857
62858 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
62859
62860 [BZ #431]
62861 * manual/string.texi: Fix strncat and wcsncat.
62862
62863 2013-10-03 Brooks Moses <bmoses@google.com>
62864
62865 [BZ #15915]
62866 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
62867 * Makerules: ...here, and adjust associated comments.
62868
62869 2013-10-02 Will Newton <will.newton@linaro.org>
62870
62871 * malloc/Makefile: Add tst-pvalloc.
62872 * malloc/tst-pvalloc.c: New file.
62873
62874 2013-10-02 Will Newton <will.newton@linaro.org>
62875
62876 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
62877 improve test coverage.
62878
62879 2013-10-02 Will Newton <will.newton@linaro.org>
62880
62881 * malloc/Makefile: Add tst-posix_memalign.
62882 * malloc/tst-posix_memalign.c: New file.
62883
62884 2013-10-01 Eric Blake <eblake@redhat.com>
62885
62886 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
62887 Use __THROWNL rather than __THROW on static functions.
62888
62889 2013-09-30 Petr Machata <pmachata@redhat.com>
62890
62891 * elf/elf.h (R_AARCH64_ABS16): New macro.
62892 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
62893 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
62894 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
62895 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
62896 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
62897 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
62898 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
62899 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
62900 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
62901 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
62902 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
62903 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
62904 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
62905 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
62906 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
62907 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
62908 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
62909 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
62910 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
62911 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
62912 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
62913 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
62914 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
62915 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
62916 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
62917 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
62918 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
62919 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
62920 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
62921 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
62922 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
62923 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
62924 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
62925 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
62926 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
62927 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
62928 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
62929 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
62930 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
62931 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
62932 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
62933 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
62934 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
62935 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
62936 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
62937 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
62938 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
62939 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
62940 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
62941 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
62942 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
62943 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
62944 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
62945 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
62946 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
62947 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
62948 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
62949 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
62950 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
62951 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
62952 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
62953 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
62954 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
62955 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
62956 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
62957 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
62958 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
62959 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
62960 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
62961 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
62962 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
62963 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
62964 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
62965 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
62966 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
62967 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
62968 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
62969 (R_AARCH64_TLSDESC_LDR): Likewise.
62970 (R_AARCH64_TLSDESC_ADD): Likewise.
62971 (R_AARCH64_TLSDESC_CALL): Likewise.
62972
62973 2013-09-30 Andreas Schwab <schwab@suse.de>
62974
62975 [BZ #15048]
62976 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
62977 the nss database lookup.
62978 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62979 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62980
62981 2013-09-28 Mike Frysinger <vapier@gentoo.org>
62982
62983 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
62984
62985 2013-09-28 P. J. McDermott <pj@pehjota.net>
62986
62987 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
62988 ${Bash-specific parameter/pattern/string} parameter expansion.
62989 * sysdeps/unix/make-syscalls.sh: Likewise.
62990
62991 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
62992
62993 * sysdeps/sh/stackguard-macros.h: New file.
62994
62995 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
62996
62997 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
62998 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
62999 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
63000 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
63001 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63002 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
63003
63004 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63005
63006 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
63007 Fix thread ID register.
63008
63009 2013-09-25 Joseph Myers <joseph@codesourcery.com>
63010
63011 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
63012 [POSIX || UNIX98]: Require rather than permitting all symbols from
63013 <time.h>.
63014 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
63015 element of struct sched_param.
63016 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
63017 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
63018 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
63019 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
63020 constant.
63021
63022 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
63023
63024 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
63025 argument calculation.
63026
63027 2013-09-24 Joseph Myers <joseph@codesourcery.com>
63028
63029 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
63030 Expect macro.
63031 [POSIX] (pthread_attr_t): Do not require type.
63032 [POSIX] (pthread_cond_t): Likewise.
63033 [POSIX] (pthread_condattr_t): Likewise.
63034 [POSIX] (pthread_key_t): Likewise.
63035 [POSIX] (pthread_mutex_t): Likewise.
63036 [POSIX] (pthread_mutexattr_t): Likewise.
63037 [POSIX] (pthread_once_t): Likewise.
63038 [POSIX] (pthread_t): Likewise.
63039 [POSIX-based standards] (pthread_atfork): Expect function.
63040
63041 2013-09-24 Joseph Myers <joseph@codesourcery.com>
63042 Richard Sandiford <richard@codesourcery.com>
63043
63044 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
63045 (swap_endianness_p): New extern variable.
63046 (set_big_endian): New inline function.
63047 (maybe_swap_uint32): Likewise.
63048 (maybe_swap_uint32_array): Likewise.
63049 (maybe_swap_uint32_obstack): Likewise.
63050 * locale/programs/locfile.c: Include <stdbool.h>.
63051 (swap_endianness_p): New variable.
63052 (add_locale_uint32): Call maybe_swap_uint32.
63053 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
63054 (write_locale_data): Call maybe_swap_uint32_array.
63055 * locale/programs/ld-collate.c (obstack_int32_grow): Call
63056 maybe_swap_uint32.
63057 (obstack_int32_grow_fast): Likewise.
63058 (output_weightwc): Call maybe_swap_uint32_obstack.
63059 (collate_output): Likewise.
63060 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
63061 (OPT_LITTLE_ENDIAN): Likewise.
63062 (options): Add --little-endian and --big-endian options.
63063 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
63064 * locale/programs/locarchive.c: Include "locfile.h".
63065 (GET): New macro.
63066 (SET): Likewise.
63067 (INC): Likewise.
63068 (create_archive): Use the new macros to access fields of
63069 structures directly mapped from or written to locale archives.
63070 (oldlocrecentcmp): Likewise.
63071 (enlarge_archive): Likewise.
63072 (insert_name): Likewise.
63073 (add_alias): Likewise.
63074 (add_locale): Likewise.
63075 (delete_locales_from_archive): Likewise.
63076 (show_archive_content): Likewise.
63077 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
63078 locale data.
63079
63080 2013-09-24 Roland McGrath <roland@hack.frob.com>
63081
63082 * manual/freemanuals.texi: Updated from (newly) canonical copy at
63083 http://www.gnu.org/doc/freemanuals.texi.
63084 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
63085
63086 2013-09-24 Will Newton <will.newton@linaro.org>
63087
63088 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
63089 macro.
63090
63091 2013-09-23 Joseph Myers <joseph@codesourcery.com>
63092
63093 * locale/hashval.h (compute_hashval): Interpret bytes of key as
63094 unsigned char.
63095
63096 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
63097
63098 * manual/threads.texi (POSIX Threads): Fix a typo.
63099
63100 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
63101
63102 [BZ #14547]
63103 * string/tst-strcoll-overflow.c: New test case.
63104 * string/Makefile (xtests): Add tst-strcoll-overflow.
63105 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
63106 cache if string sizes may cause integer overflow.
63107
63108 [BZ #14547]
63109 * string/strcoll_l.c (coll_seq): New members rule, idx,
63110 save_idx and back_us.
63111 (get_next_seq_nocache): New function.
63112 (do_compare_nocache): New function.
63113 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
63114 when malloc fails.
63115
63116 2013-09-23 Carlos O'Donell <carlos@redhat.com>
63117
63118 [BZ #15754]
63119 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
63120 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
63121 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
63122
63123 [BZ #15754]
63124 * elf/Makefile (tests): Add tst-ptrguard1.
63125 (tests-static): Add tst-ptrguard1-static.
63126 (tst-ptrguard1-ARGS): Define.
63127 (tst-ptrguard1-static-ARGS): Define.
63128 * elf/tst-ptrguard1.c: New file.
63129 * elf/tst-ptrguard1-static.c: New file.
63130 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
63131 * sysdeps/i386/stackguard-macros.h: Likewise.
63132 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63133 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63134 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63135 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63136 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63137 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63138
63139 2013-09-23 Hector Marco <hecmargi@upv.es>
63140 Ismael Ripoll <iripoll@disca.upv.es>
63141 Carlos O'Donell <carlos@redhat.com>
63142
63143 [BZ #15754]
63144 * sysdeps/generic/stackguard-macros.h: Define
63145 __pointer_chk_guard_local and POINTER_CHK_GUARD.
63146 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
63147 Define __pointer_chk_guard_local.
63148 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
63149 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
63150
63151 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
63152
63153 [BZ #15859]
63154 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
63155
63156 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
63157
63158 * include/string.h (__ffs): Declare as hidden.
63159 * string/ffs.c (__ffs): Define as hidden.
63160 * sysdeps/i386/ffs.c (__ffs): Likewise.
63161 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
63162 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
63163 * sysdeps/s390/ffs.c (__ffs): Likewise.
63164 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
63165
63166 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
63167
63168 * NEWS: Mention malloc probes.
63169
63170 * malloc/arena.c (new_heap): New memory_heap_new probe.
63171 (grow_heap): New memory_heap_more probe.
63172 (shrink_heap): New memory_heap_less probe.
63173 (heap_trim): New memory_heap_free probe.
63174 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
63175 (systrim): New memory_sbrk_less probe.
63176 * manual/probes.texi: Document them.
63177
63178 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
63179 * manual/probes.texi: Document it.
63180
63181 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
63182 (__libc_realloc): Add memory_realloc_retry probe.
63183 (__libc_memalign): Add memory_memalign_retry probe.
63184 (__libc_valloc): Add memory_valloc_retry probe.
63185 (__libc_pvalloc): Add memory_pvalloc_retry probe.
63186 (__libc_calloc): Add memory_calloc_retry probe.
63187 * manual/probes.texi: Document them.
63188
63189 * malloc/arena.c (get_free_list): Add probe
63190 memory_arena_reuse_free_list.
63191 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
63192 and memory_arena_reuse.
63193 (arena_get2) [!PER_THREAD]: Likewise.
63194 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
63195 memory_arena_reuse_realloc.
63196 * manual/probes.texi: Document them.
63197
63198 * malloc/malloc.c (__libc_free): Add
63199 memory_mallopt_free_dyn_thresholds probe.
63200 (__libc_mallopt): Add multiple memory_mallopt probes.
63201 * manual/probes.texi: Document them.
63202
63203 * malloc/malloc.c: Include stap-probe.h.
63204 (__libc_mallopt): Add memory_mallopt probe.
63205 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
63206 * manual/probes.texi: New.
63207 * manual/Makefile (chapters): Add probes.
63208 * manual/threads.texi: Set next node.
63209
63210 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
63211
63212 [BZ #15963, #13985]
63213 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
63214 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
63215 Add `Chinese' to `nan' entry name.
63216
63217 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
63218
63219 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
63220 (POLYNOMIAL): Likewise.
63221 (TAYLOR_SINCOS): Likewise.
63222 (TAYLOR_SLOW): Likewise.
63223 (__sin): Use TAYLOR_SINCOS.
63224 (__cos): Likewise.
63225 (slow): Use TAYLOR_SLOW.
63226 (sloww): Likewise.
63227 (bsloww): Likewise.
63228 (csloww): Likewise.
63229
63230 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
63231
63232 * stdlib/strtod_l.c: Fix buffer overrun.
63233
63234 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
63235
63236 * benchtests/Makefile (bench): Add sincos.
63237 * benchtests/bench-sincos.c: New file.
63238
63239 * math/libm-test.inc (cos_test_data): New test inputs.
63240 (sin_test_data): Likewise.
63241
63242 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
63243 macro.
63244 (__sin): Use it.
63245 (__cos): Likewise.
63246 (slow1): Likewise.
63247 (slow2): Likewise.
63248 (sloww1): Likewise.
63249 (sloww2): Likewise.
63250 (bsloww1): Likewise.
63251 (bsloww2): Likewise.
63252 (cslow2): Likewise.
63253 (csloww1): Likewise.
63254 (csloww2): Likewise.
63255
63256 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
63257 function.
63258 (__sin): Use it.
63259 (__cos): Likewise.
63260
63261 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
63262 gotos.
63263 (__cos): Likewise.
63264
63265 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
63266
63267 * config.h.in (HAVE_MIPS_NAN2008): New macro.
63268 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
63269 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
63270 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
63271 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
63272 * elf/cache.c (print_entry): Handle the new cache flags.
63273
63274 2013-09-18 Joseph Myers <joseph@codesourcery.com>
63275 Aldy Hernandez <aldyh@redhat.com>
63276
63277 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
63278 Change condition to [_SOFT_FLOAT].
63279 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
63280 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
63281 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
63282 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
63283 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
63284 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
63285 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
63286 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
63287 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
63288 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
63289 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
63290 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
63291 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
63292 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
63293 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
63294 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
63295 declaration.
63296
63297 2013-09-18 Joseph Myers <joseph@codesourcery.com>
63298
63299 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
63300 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63301 (__longjmp): Use LOAD_GP to load saved GPRs.
63302 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
63303 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63304 (__sigsetjmp): Use SAVE_GP to save GPRs.
63305
63306 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
63307 Do not append -msoft-float.
63308 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
63309
63310 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
63311
63312 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
63313
63314 2013-09-17 Joseph Myers <joseph@codesourcery.com>
63315
63316 [BZ #15966]
63317 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
63318 (_FPU_GETCW): Use initial "__" on variable and field names but not
63319 on macro parameter name.
63320 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
63321 parentheses around reference to macro parameter.
63322
63323 2013-09-13 Richard Sandiford <richard@codesourcery.com>
63324
63325 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
63326 prototype.
63327 (ctype_startup): Use uint32_t in cast and sizeof for
63328 ctype->charnames.
63329
63330 2013-09-11 Jia Liu <proljc@gmail.com>
63331
63332 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
63333 __daddr_t_defined.
63334 [__FreeBSD__]: Likewise.
63335
63336 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
63337
63338 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
63339 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
63340 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
63341 (strchr): Remove __strchr_sse42 ifunc selection.
63342 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
63343 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
63344
63345 2013-09-11 Will Newton <will.newton@linaro.org>
63346
63347 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
63348 parameter to RES. Remove hardcoded 1000 value.
63349 * benchtests/bench-skeleton.c (main): Pass RES parameter
63350 to TIMING_INIT and multiply result by 1000.
63351
63352 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63353
63354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63355
63356 2013-09-11 Andreas Schwab <schwab@suse.de>
63357
63358 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
63359 if not defined.
63360 (O_TMPFILE) [__USE_GNU]: Define.
63361 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
63362 Define.
63363
63364 2013-09-11 Will Newton <will.newton@linaro.org>
63365
63366 [BZ #15857]
63367 * malloc/malloc.c (__libc_memalign): Check the value of bytes
63368 does not overflow.
63369
63370 2013-09-11 Will Newton <will.newton@linaro.org>
63371
63372 [BZ #15856]
63373 * malloc/malloc.c (__libc_valloc): Check the value of bytes
63374 does not overflow.
63375
63376 2013-09-11 Will Newton <will.newton@linaro.org>
63377
63378 [BZ #15855]
63379 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
63380 does not overflow.
63381
63382 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
63383
63384 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
63385 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63386 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63387 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63388 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63389
63390 2013-09-10 Allan McRae <allan@archlinux.org>
63391
63392 [BZ #15748]
63393 * manual/arith.texi (Parsing of Floats): Clarify
63394 cross-reference.
63395
63396 [BZ #15849]
63397 * manual/install.texi (Running make install): Mention
63398 --enable-pt-chown.
63399 * INSTALL: Regenerated.
63400
63401 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
63402
63403 * csu/init-first.c (_init): Remove the !SHARED condition around
63404 FPU control word initialization.
63405 * elf/dl-support.c (_dl_fpu_control): New variable.
63406 (_dl_aux_init) <AT_FPUCW>: Initialize it.
63407 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
63408 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
63409 * math/test-fpucw-static.c: New file.
63410 * math/test-fpucw-ieee.c: New file.
63411 * math/test-fpucw-ieee-static.c: New file.
63412 * math/Makefile (tests): Add `test-fpucw-ieee' and
63413 `$(tests-static)'.
63414 (tests-static): New variable.
63415 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
63416 dependency to...
63417 [($(build-shared),yes)]
63418 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
63419 ... this.
63420 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
63421 New dependency.
63422
63423 2013-09-09 Allan McRae <allan@archlinux.org>
63424
63425 [BZ #15939]
63426 * manual/string.texi (Collation Functions): Fix typo in
63427 strcoll example.
63428 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
63429
63430 [BZ #15893]
63431 * stdlib/isomac.c (get_null_defines): Fix memory leak.
63432
63433 [BZ #15892]
63434 * libio/memstream.c (open_memstream): Fix memory leak.
63435 * libio/wmemstream.c (open_wmemstream): Likewise.
63436
63437 [BZ #15895]
63438 * nscd/netgroupcache.c: Fix nesting of ifdefs.
63439
63440 2013-09-09 Will Newton <will.newton@linaro.org>
63441
63442 * malloc/Makefile: Add tst-realloc to tests.
63443 * malloc/tst-realloc.c: New file.
63444
63445 2013-09-09 Allan McRae <allan@archlinux.org>
63446
63447 [BZ #15844]
63448 * COPYING: Update from GNU website to fix FSF address.
63449 * COPYING.LIB: Likewise.
63450
63451 2013-09-06 David S. Miller <davem@davemloft.net>
63452
63453 * po/zh_TW.po: Update Chinese (traditional) translation from
63454 translation project.
63455
63456 2013-09-06 Richard Sandiford <richard@codesourcery.com>
63457 Joseph Myers <joseph@codesourcery.com>
63458
63459 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
63460 "localeinfo.h".
63461 (obstack_chunk_alloc): New macro.
63462 (obstack_chunk_free): Likewise.
63463 (record_offset): New function.
63464 (init_locale_data): Likewise.
63465 (align_locale_data): Likewise.
63466 (add_locale_empty): Likewise.
63467 (add_locale_raw_data): Likewise.
63468 (add_locale_raw_obstack): Likewise.
63469 (add_locale_string): Likewise.
63470 (add_locale_wstring): Likewise.
63471 (add_locale_uint32): Likewise.
63472 (add_locale_uint32_array): Likewise.
63473 (add_locale_char): Likewise.
63474 (start_locale_structure): Likewise.
63475 (end_locale_structure): Likewise.
63476 (start_locale_prelude): Likewise.
63477 (end_locale_prelude): Likewise.
63478 (write_locale_data): Take locale_file structure rather than an
63479 iovec.
63480 * locale/programs/locfile.h: Include "obstack.h".
63481 (struct locale_file): Change to store locale file contents instead
63482 of header.
63483 (init_locale_data): New prototype.
63484 (align_locale_data): Likewise.
63485 (add_locale_empty): Likewise.
63486 (add_locale_raw_data): Likewise.
63487 (add_locale_raw_obstack): Likewise.
63488 (add_locale_string): Likewise.
63489 (add_locale_wstring): Likewise.
63490 (add_locale_uint32): Likewise.
63491 (add_locale_uint32_array): Likewise.
63492 (add_locale_char): Likewise.
63493 (start_locale_structure): Likewise.
63494 (end_locale_structure): Likewise.
63495 (start_locale_prelude): Likewise.
63496 (end_locale_prelude): Likewise.
63497 (write_locale_data): Update prototype.
63498 * locale/programs/3level.h (struct TABLE): Remove result field.
63499 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
63500 Use new locale_file interface.
63501 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
63502 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
63503 * locale/programs/ld-address.c (address_output): Use new
63504 locale_file interface.
63505 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
63506 NO_ADD_LOCALE.
63507 (collate_finish): Don't call collseq_table_finalize.
63508 (collate_output): Use new locale_file interface.
63509 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
63510 in file.
63511 (NO_FINALIZE): Change to NO_ADD_LOCALE.
63512 (TABLE): Move defines earlier in file.
63513 (ELEMENT): Likewise.
63514 (DEFAULT): Likewise.
63515 (wctrans_table_add): Move macro and inline function earlier in
63516 file.
63517 (struct wctype_table): Move type earlier in file.
63518 (add_locale_wctype_table): New static prototype.
63519 (struct locale_ctype_t): Use logical types instead of struct iovec
63520 pointers for members.
63521 (ctype_output): Use new locale_file interface.
63522 (wctype_table_finalize): Change to add_locale_wctype_table. Use
63523 new locale_file interface.
63524 (allocate_arrays): Update for use of new locale_file interface.
63525 * locale/programs/ld-identification.c (identification_output): Use
63526 new locale_file interface.
63527 * locale/programs/ld-measurement.c (measurement_output): Likewise.
63528 * locale/programs/ld-messages.c (messages_output): Likewise.
63529 * locale/programs/ld-monetary.c (monetary_output): Likewise.
63530 * locale/programs/ld-name.c (name_output): Likewise.
63531 * locale/programs/ld-numeric.c (numeric_output): Likewise.
63532 * locale/programs/ld-paper.c (paper_output): Likewise.
63533 * locale/programs/ld-telephone.c (telephone_output): Likewise.
63534 * locale/programs/ld-time.c (time_output): Likewise.
63535
63536 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63537
63538 * benchtests/Makefile: Add memrchr benchmark.
63539 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
63540 benchmark as memrchr.
63541 * benchtests/bench-memrchr-ifunc.c: New file.
63542 * benchtests/bench-memrchr.c: New file.
63543
63544 2013-09-06 Will Newton <will.newton@linaro.org>
63545
63546 * benchtests/Makefile (string-bench): Add memcpy.
63547
63548 2013-09-05 Carlos O'Donell <carlos@redhat.com>
63549 Cong Wang <amwang@redhat.com>
63550
63551 [BZ #15850]
63552 * sysdeps/unix/sysv/linux/bits/in.h
63553 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
63554 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
63555 before __USE_KERNEL_IPV6_DEFS uses.
63556 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
63557 IPPROTO_BEETPH.
63558 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
63559 sockaddr_in6, or ipv6_mreq.
63560
63561 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63562
63563 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
63564 memory access for final bytes in some large inputs.
63565 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
63566
63567 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63568
63569 * string/test-memrchr.c: New file.
63570 * string/test-memrchr-ifunc.c: New file.
63571 * string/Makefile: Add new memrchr testcase.
63572
63573 2013-09-05 Mike Frysinger <vapier@gentoo.org>
63574
63575 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
63576 fanotify_init returns EPERM.
63577
63578 2013-09-04 Joseph Myers <joseph@codesourcery.com>
63579
63580 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
63581 errors.
63582 (top level): Treat second token from macro or constant entries for
63583 allowed headers as allowed.
63584 * include/complex.h: Condition internal declarations on
63585 [!_ISOMAC].
63586 * include/fenv.h: Condition include of <stdbool.h> and internal
63587 declarations on [!_ISOMAC].
63588
63589 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
63590
63591 [BZ #15923]
63592 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
63593
63594 2013-09-04 Joseph Myers <joseph@codesourcery.com>
63595
63596 * configure.in (--enable-versioning): Remove configure option.
63597 (libc_cv_asm_symver_directive): Remove configure test.
63598 (libc_cv_ld_version_script_option): Likewise.
63599 (VERSIONING): Remove variable and AC_SUBST.
63600 (DO_VERSIONING): Remove AC_DEFINE.
63601 * configure: Regenerated.
63602 * config.h.in (DO_VERSIONING): Remove macro.
63603 * Makerules [$(versioning) = yes]: Change conditionals to
63604 [$(build-shared) = yes].
63605 * config.make.in (versioning): Remove variable.
63606 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
63607 [$(build-shared) = yes].
63608 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
63609 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
63610 * elf/Makefile [$(versioning) = yes]: Change conditionals to
63611 [$(build-shared) = yes].
63612 * extra-lib.mk [$(versioning) = yes]: Likewise.
63613 * hurd/Makefile [$(versioning) = yes]: Likewise.
63614 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
63615 [SHARED].
63616 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
63617 [SHARED].
63618 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63619 [SHARED && !NO_HIDDEN].
63620 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
63621 [SHARED].
63622 [SHARED && DO_VERSIONING]: Likewise..
63623 * libio/Makefile [$(versioning) = yes]: Change conditionals to
63624 [$(build-shared) = yes].
63625 * manual/install.texi (--disable-versioning): Remove
63626 documentation.
63627 * INSTALL: Regenerated.
63628 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
63629 to [SHARED].
63630 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
63631 [$(build-shared) = yes].
63632 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
63633 * sysdeps/i386/i686/multiarch/strstr-c.c
63634 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63635 [SHARED && !NO_HIDDEN].
63636 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
63637 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
63638 * sysdeps/powerpc/powerpc32/dl-machine.c
63639 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
63640 * sysdeps/powerpc/powerpc32/sysdep.h
63641 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
63642 to [SHARED && PIC && !NO_HIDDEN].
63643 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
63644 conditional to [SHARED].
63645
63646 2013-09-04 Will Newton <will.newton@linaro.org>
63647
63648 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
63649 * benchtests/bench-string.h: Include bench-timing.h instead
63650 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
63651 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
63652 call to HP_TIMING_DIFF_INIT.
63653 * benchtests/bench-memccpy.c: Use bench-timing.h macros
63654 instead of hp-timing.h macros.
63655 * benchtests/bench-memchr.c: Likewise.
63656 * benchtests/bench-memcmp.c: Likewise.
63657 * benchtests/bench-memcpy.c: Likewise.
63658 * benchtests/bench-memmem.c: Likewise.
63659 * benchtests/bench-memmove.c: Likewise.
63660 * benchtests/bench-memset.c: Likewise.
63661 * benchtests/bench-rawmemchr.c: Likewise.
63662 * benchtests/bench-strcasecmp.c: Likewise.
63663 * benchtests/bench-strcasestr.c: Likewise.
63664 * benchtests/bench-strcat.c: Likewise.
63665 * benchtests/bench-strchr.c: Likewise.
63666 * benchtests/bench-strcmp.c: Likewise.
63667 * benchtests/bench-strcpy.c: Likewise.
63668 * benchtests/bench-strcpy_chk.c: Likewise.
63669 * benchtests/bench-strlen.c: Likewise.
63670 * benchtests/bench-strncasecmp.c: Likewise.
63671 * benchtests/bench-strncat.c: Likewise.
63672 * benchtests/bench-strncmp.c: Likewise.
63673 * benchtests/bench-strncpy.c: Likewise.
63674 * benchtests/bench-strnlen.c: Likewise.
63675 * benchtests/bench-strpbrk.c: Likewise.
63676 * benchtests/bench-strrchr.c: Likewise.
63677 * benchtests/bench-strspn.c: Likewise.
63678 * benchtests/bench-strstr.c: Likewise.
63679
63680 2013-09-04 Will Newton <will.newton@linaro.org>
63681
63682 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
63683
63684 2013-09-03 Joseph Myers <joseph@codesourcery.com>
63685
63686 [BZ #15427]
63687 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
63688 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
63689 * math/libm-test.inc (lgamma_test_data): Add more tests.
63690 * sysdeps/i386/fpu/libm-test-ulps: Update.
63691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63692
63693 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
63694
63695 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
63696 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
63697 Add ifunc.
63698 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63699 Add strcmp-sse2-unaligned
63700 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
63701
63702 2013-09-02 Mike Frysinger <vapier@gentoo.org>
63703
63704 * Versions.def (libc): Add GLIBC_2.19.
63705
63706 2013-09-02 Mike Frysinger <vapier@gentoo.org>
63707
63708 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
63709 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
63710
63711 2013-09-02 Joseph Myers <joseph@codesourcery.com>
63712
63713 [BZ #14155]
63714 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
63715 intermediate calculations in recurrence.
63716 (__ieee754_ynf): Likewise.
63717 * math/libm-test.inc (jn_test_data): Do not allow spurious
63718 underflow exception. Add more tests.
63719 (yn_test_data): Add more tests.
63720 * sysdeps/i386/fpu/libm-test-ulps: Update.
63721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63722
63723 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
63724
63725 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
63726
63727 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
63728
63729 * csu/init-first.c: Fix then/than typos.
63730 * locale/programs/ld-collate.c: Likewise.
63731 * locale/programs/linereader.h: Likewise.
63732 * manual/charset.texi: Likewise.
63733 * manual/filesys.texi: Likewise.
63734 * manual/stdio.texi: Likewise.
63735 * manual/string.texi: Likewise.
63736 * stdlib/fmtmsg.c: Likewise.
63737 * sysdeps/i386/stpncpy.S: Likewise.
63738 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
63739 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
63740 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
63741 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
63742
63743 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
63744
63745 * elf/dl-open.c: Fix typos.
63746 * iconvdata/gbbig5.c: Likewise.
63747 * iconvdata/iso-2022-jp.c: Likewise.
63748 * iconv/gconv_int.h: Likewise.
63749 * iconv/loop.c: Likewise.
63750 * nis/rpcsvc/nis.h: Likewise.
63751 * resolv/ns_name.c: Likewise.
63752 * stdio-common/vfscanf.c: Likewise.
63753 * streams/stropts.h: Likewise.
63754 * sunrpc/rpc_thread.c: Likewise.
63755 * sysdeps/i386/strpbrk.S: Likewise.
63756 * sysdeps/ieee754/k_standard.c: Likewise.
63757 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
63758 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63759 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
63760 * sysdeps/mach/hurd/profil.c: Likewise.
63761 * sysdeps/s390/dl-procinfo.h: Likewise.
63762 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
63763 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
63764 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
63765 * sysdeps/x86_64/dl-trampoline.S: Likewise.
63766 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
63767
63768 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
63769
63770 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
63771 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
63772
63773 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
63774
63775 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
63776 aix specific files.
63777 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
63778 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
63779 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
63780 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
63781 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
63782 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
63783 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
63784 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
63785
63786 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
63787 Roland McGrath <roland@hack.frob.com>
63788
63789 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
63790 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
63791
63792 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
63793
63794 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
63795 __executable_start symbol instead of _start.
63796
63797 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
63798
63799 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
63800 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
63801 Move macros to...
63802 * sysdeps/gnu/ldsodefs.h: ... this new file.
63803
63804 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
63805 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
63806 instead of ELFOSABI_LINUX.
63807
63808 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
63809 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
63810 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
63811 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
63812 Likewise.
63813 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
63814 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
63815 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
63816 Likewise.
63817 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
63818 (ibm_extended_long_double): Add ieee_nan member.
63819 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
63820 (do_test): New function.
63821
63822 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
63823 TEST_TRUNC.
63824 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
63825 functions, renamed from truncdfsf_test, trunctfsf_test,
63826 trunctfdf_test.
63827 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
63828 functions.
63829 (do_test): Run all these.
63830
63831 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
63832
63833 * argp/argp-help.c: Fix typos.
63834 * argp/argp-parse.c: Likewise.
63835 * debug/backtracesyms.c: Likewise.
63836 * elf/elf.h: Likewise.
63837 * malloc/malloc.c: Likewise.
63838 * nis/nis_print.c: Likewise.
63839 * resolv/res_comp.c: Likewise.
63840 * stdlib/stdlib.h: Likewise.
63841 * sunrpc/clnt_tcp.c: Likewise.
63842 * sunrpc/clnt_udp.c: Likewise.
63843 * sunrpc/clnt_unix.c: Likewise.
63844 * sysdeps/unix/bsd/ptsname.c: Likewise.
63845 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
63846 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
63847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
63848 Likewise.
63849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
63850 Likewise.
63851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
63852 Likewise.
63853 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
63854
63855 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
63856
63857 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
63858 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63859
63860 2013-08-27 Mike Frysinger <vapier@gentoo.org>
63861
63862 [BZ #15897]
63863 * dlfcn/Makefile (tests): Add bug-dl-leaf.
63864 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
63865 ($(objpfx)bug-dl-leaf): New rule.
63866 ($(objpfx)bug-dl-leaf.so): Likewise.
63867 ($(objpfx)bug-dl-leaf.out): Likewise.
63868 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
63869 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
63870 * dlfcn/bug-dl-leaf.c: New test.
63871 * dlfcn/bug-dl-leaf-lib.c: Likewise.
63872 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
63873 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
63874 (dlclose): Likewise.
63875 (dlmopen): Likewise.
63876
63877 2013-08-27 Roland McGrath <roland@hack.frob.com>
63878
63879 * include/netdb.h [!_ISOMAC]:
63880 Don't include <tls.h>.
63881 (h_errno, __libc_h_errno): Move declaration and macros out of
63882 [_LIBC_REENTRANT].
63883
63884 * include/resolv.h [_RESOLV_H_]:
63885 Don't include <tls.h>.
63886 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
63887 * resolv/res_libc.c: Don't include <tls.h>.
63888 (_res): Use __attribute__ ((nocommon)) in place of
63889 __attribute__ ((section (".bss"))).
63890
63891 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
63892 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
63893
63894 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
63895
63896 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
63897 only under [SIOCGIFCONF && SIOCGIFNETMASK].
63898
63899 * resolv/res_mkquery.c: Include <sys/time.h>.
63900
63901 * inet/ifreq.c: Moved to ...
63902 * sysdeps/unix/ifreq.c: ... here.
63903 * inet/ifreq.c: New file, true stub version.
63904
63905 * socket/sa_len.c: New file.
63906 * socket/Makefile (aux): Add it.
63907 * sysdeps/unix/sysv/linux/Makefile
63908 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
63909 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
63910 and #include <socket/sa_len.c>.
63911 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
63912 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
63913
63914 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
63915 * bits/socket.h: ... here.
63916
63917 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
63918 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
63919 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
63920
63921 2013-08-27 Andreas Schwab <schwab@suse.de>
63922
63923 [BZ #15736]
63924 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
63925 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
63926 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
63927 * string/test-strcasecmp.c (test_main): Run tests in several
63928 locales.
63929 * string/test-strncasecmp.c (test_main): Likewise.
63930
63931 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
63932 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
63933 to __strcasecmp_nonascii and __strncasecmp_nonascii.
63934 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
63935 (__strncasecmp_ssse3) [PIC]: Likewise.
63936
63937 2013-08-26 Roland McGrath <roland@hack.frob.com>
63938
63939 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
63940
63941 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
63942 instead of explicitly declaring xdecrypt.
63943 * nis/nss_nis/nis-publickey.c: Likewise.
63944
63945 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
63946
63947 [BZ #15890]
63948 * nscd/aicache.c: Include res_hconf.h.
63949 (addhstaiX): Initialize res_hconf.
63950
63951 2013-08-26 Andreas Schwab <schwab@suse.de>
63952
63953 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
63954 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
63955
63956 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
63957
63958 * nscd/aicache.c (addhstaiX): Fix indentation.
63959
63960 2013-08-25 Mike Frysinger <vapier@gentoo.org>
63961
63962 * configure.ac: Quote $build_pt_chown test.
63963 * configure: Regenerated.
63964
63965 2013-08-23 Joseph Myers <joseph@codesourcery.com>
63966
63967 [BZ #15532]
63968 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
63969 * math/s_cexpf.c (__cexpf): Likewise.
63970 * math/s_cexpl.c (__cexpl): Likewise.
63971 * math/libm-test.inc (cexp_test_data): Correct expected return
63972 value for NaN + i0. Add another test.
63973
63974 2013-08-22 David S. Miller <davem@davemloft.net>
63975
63976 * po/ca.po: Update Catalan translation from translation project.
63977 * po/uk.po: Add Ukrainian translations from translation project.
63978
63979 2013-08-21 Joseph Myers <joseph@codesourcery.com>
63980
63981 [BZ #15797]
63982 * math/s_fdim.c (__fdim): Check for infinite arguments if result
63983 is infinite, not alongside NaN test.
63984 * math/s_fdimf.c (__fdimf): Likewise.
63985 * math/s_fdiml.c (__fdiml): Likewise.
63986 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
63987 errno is unchanged.
63988
63989 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
63990
63991 * argp/argp-help.c: Fix typos.
63992 * crypt/speeds.c: Likewise.
63993 * csu/check_fds.c: Likewise.
63994 * elf/dl-load.c: Likewise.
63995 * elf/dl-open.c: Likewise.
63996 * elf/reldep3.c: Likewise.
63997 * elf/reldep.c: Likewise.
63998 * elf/sprof.c: Likewise.
63999 * iconv/iconv_charmap.c: Likewise.
64000 * iconv/skeleton.c: Likewise.
64001 * iconv/strtab.c: Likewise.
64002 * io/lockf64.c: Likewise.
64003 * libio/libioP.h: Likewise.
64004 * resolv/gai_notify.c: Likewise.
64005 * resolv/ns_name.c: Likewise.
64006 * resolv/ns_samedomain.c: Likewise.
64007 * resolv/res_send.c: Likewise.
64008 * stdlib/random.c: Likewise.
64009 * sunrpc/rpc/xdr.h: Likewise.
64010 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
64011 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
64012 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
64013 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
64014 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
64015 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
64016 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
64017 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
64018 * sysdeps/mach/hurd/check_fds.c: Likewise.
64019 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
64020 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
64021 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
64022 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
64023 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
64024 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
64025 * sysdeps/pthread/aio_notify.c: Likewise.
64026 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
64027 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
64028 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
64029 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
64030 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
64031
64032 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64033
64034 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
64035 version if bit_Slow_SSE4_2 is set.
64036 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64037 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64038
64039 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64040
64041 [BZ #15867]
64042 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
64043 trampoline stack frame information.
64044 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
64045 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
64046 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
64047 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
64048 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
64049 * sysdeps/unix/sysv/linux/powerpc/init-first.c
64050 (_libc_vdso_platform_setup): Initialize the signal trampolines.
64051 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
64052 sa_flags value.
64053 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
64054 interrupting a syscall and set with option SA_SIGINFO.
64055
64056 2013-08-20 Joseph Myers <joseph@codesourcery.com>
64057
64058 [BZ #15531]
64059 * math/s_cproj.c (__cproj): Only return an infinity if one part of
64060 argument is infinite.
64061 * math/s_cprojf.c (__cprojf): Likewise.
64062 * math/s_cprojl.c (__cprojl): Likewise.
64063 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
64064 * math/libm-test.inc (cproj_test_data): Add more tests.
64065
64066 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
64067
64068 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
64069 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
64070 size. Use __ffs to determine corresponding shift.
64071
64072 2013-08-20 Joseph Myers <joseph@codesourcery.com>
64073 Roland McGrath <roland@hack.frob.com>
64074
64075 * Makefile (INSTALL): Remove trailing blank lines from output of
64076 makeinfo.
64077
64078 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64079
64080 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
64081 Align 32 bit compat elf_greg to 8 bytes.
64082
64083 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
64084
64085 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
64086
64087 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
64088
64089 * string/strcoll_l.c (coll_seq): New structure.
64090 (get_next_seq_cached): New function.
64091 (get_next_seq): New function.
64092 (do_compare): New function.
64093 (STRCOLL): Use GNU style definition. Simplify implementation
64094 by using get_next_seq, get_next_seq_cached and do_compare.
64095
64096 2013-08-16 Florian Weimer <fweimer@redhat.com>
64097
64098 [BZ #14699]
64099 CVE-2013-4237
64100 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
64101 member.
64102 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
64103 member.
64104 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
64105 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
64106 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
64107 conditional.
64108 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
64109 GETDENTS_64BIT_ALIGNED.
64110 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
64111 * manual/filesys.texi (Reading/Closing Directory): Document
64112 ENAMETOOLONG return value of readdir_r. Recommend readdir more
64113 strongly.
64114 * manual/conf.texi (Limits for Files): Add portability note to
64115 NAME_MAX, PATH_MAX.
64116 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
64117
64118 2013-08-13 Andreas Schwab <schwab@suse.de>
64119
64120 [BZ #15749]
64121 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
64122 of fabs.
64123 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
64124 LDBL_MAX_EXP >= 16384]: Add tests for it.
64125
64126 2013-08-12 David S. Miller <davem@davemloft.net>
64127
64128 * version.h (RELEASE): Set to "development".
64129 (VERSION): Set to "2.18.90".
64130 * NEWS: Add 2.19 section.
64131
64132 2013-08-03 David S. Miller <davem@davemloft.net>
64133
64134 * po/ko.po: Update Korean translation from translation project.
64135
64136 2013-08-01 David S. Miller <davem@davemloft.net>
64137
64138 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
64139 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
64140 Bilka.
64141
64142 2013-07-30 David S. Miller <davem@davemloft.net>
64143
64144 * po/fr.po: Update French translation from translation project.
64145
64146 2013-07-28 David S. Miller <davem@davemloft.net>
64147
64148 * po/cs.po: Update Czech translation from translation project.
64149
64150 * po/sv.po: Update Swedish translation from translation project.
64151
64152 2013-07-27 David S. Miller <davem@davemloft.net>
64153
64154 * po/eo.po: Update Esperanto translation from translation project.
64155
64156 * po/vi.po: Update Vietnamese translation from translation project.
64157
64158 * po/de.po: Update German translation from translation project.
64159
64160 2013-07-26 David S. Miller <davem@davemloft.net>
64161
64162 * po/bg.po: Update Bulgarian translation from translation project.
64163
64164 * po/nl.po: Update Dutch translation from translation project.
64165 * po/pl.po: Update Polish translation from translation project.
64166 * po/ru.po: Update Russian translation from translation project.
64167
64168 2013-07-24 David S. Miller <davem@davemloft.net>
64169
64170 * po/libc.pot: Update.
64171
64172 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64173
64174 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
64175 variable page size.
64176 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
64177 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
64178 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
64179
64180 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64181
64182 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
64183
64184 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
64185 Andreas Schwab <schwab@suse.de>
64186 Roland McGrath <roland@hack.frob.com>
64187 Joseph Myers <joseph@codesourcery.com>
64188 Carlos O'Donell <carlos@redhat.com>
64189
64190 [BZ #15755]
64191 * config.h.in: Define HAVE_PT_CHOWN.
64192 * config.make.in (build-pt-chown): New variable.
64193 * configure.in (--enable-pt_chown): New configure option.
64194 * configure: Regenerate.
64195 * login/Makefile: Include Makeconfig. Build pt_chown only if
64196 build-pt-chown is enabled.
64197 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
64198 pt_chown to fix pty ownership.
64199 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
64200 CLOSE_ALL_FDS.
64201 * manual/install.texi (Configuring and compiling): Mention
64202 --enable-pt_chown. Add @findex for grantpt.
64203 * INSTALL: Regenerate.
64204
64205 2013-07-20 David S. Miller <davem@davemloft.net>
64206
64207 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
64208 difference between 32-bit and 64-bit.
64209
64210 2013-07-15 Carlos O'Donell <carlos@redhat.com>
64211
64212 [BZ #15711]
64213 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
64214 Avoid system header dependency with -ffreestanding.
64215 ($(objpfx)bits/syscall%d): Likewise.
64216
64217 2013-07-13 David S. Miller <davem@davemloft.net>
64218
64219 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
64220 underflows from atanl/atan2l due to bug 15319.
64221 (casinh_test_data): Likewise.
64222
64223 2013-07-07 David S. Miller <davem@davemloft.net>
64224
64225 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
64226
64227 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
64228
64229 * sysdeps/i386/fpu/libm-test-ulps: Update.
64230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64231
64232 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
64233
64234 * configure.in (--enable-lock-elision): Fix message text.
64235 * INSTALL: Regenerate.
64236 * configure: Regenerate.
64237
64238 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64239
64240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64241
64242 2013-07-03 Andreas Jaeger <aj@suse.de>
64243
64244 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
64245 define.
64246 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
64247 (ptrace_peeksiginfo_args): Add.
64248 (__ptrace_peeksiginfo_flags): Add.
64249 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
64250 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
64251 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
64252
64253 2013-07-03 Allan McRae <allan@archlinux.org>
64254
64255 * sysdeps/i386/fpu/libm-test-ulps: Update.
64256
64257 2013-07-02 David S. Miller <davem@davemloft.net>
64258
64259 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64260
64261 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
64262
64263 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64264
64265 2013-07-02 Joseph Myers <joseph@codesourcery.com>
64266
64267 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
64268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64269
64270 2013-07-02 Andi Kleen <ak@linux.intel.com>
64271
64272 * config.h.in (ENABLE_LOCK_ELISION): Add.
64273 * configure.in (--enable-lock-elision): Add option.
64274 * manual/install.texi: Document --enable lock elision.
64275 * configure: Regenerate
64276 * INSTALL: Regenerate.
64277
64278 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
64279
64280 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
64281 SSE4.2 strcasecmp for libc.a.
64282 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
64283
64284 2013-07-02 Joseph Myers <joseph@codesourcery.com>
64285
64286 [BZ #13304]
64287 * soft-fp/op-common.h (_FP_FMA): New macro.
64288 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
64289 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
64290 (_FP_MUL_MEAT_1_imm): ... here.
64291 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
64292 (_FP_MUL_MEAT_1_wide): ... here.
64293 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
64294 (_FP_MUL_MEAT_1_hard): ... here.
64295 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
64296 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
64297 (_FP_MUL_MEAT_2_wide): ... here.
64298 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
64299 (_FP_MUL_MEAT_2_wide_3mul): ... here.
64300 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
64301 (_FP_MUL_MEAT_2_gmp): ... here.
64302 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
64303 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
64304 (_FP_MUL_MEAT_4_wide): ... here.
64305 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
64306 (_FP_MUL_MEAT_4_gmp): ... here.
64307 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
64308 (_FP_WFRACBITS_DW_S): Likewise.
64309 (_FP_WFRACXBITS_DW_S): Likewise.
64310 (_FP_HIGHBIT_DW_S): Likewise.
64311 (FP_FMA_S): Likewise.
64312 (_FP_FRAC_HIGH_DW_S): Likewise.
64313 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
64314 (_FP_WFRACBITS_DW_D): Likewise.
64315 (_FP_WFRACXBITS_DW_D): Likewise.
64316 (_FP_HIGHBIT_DW_D): Likewise.
64317 (FP_FMA_D): Likewise.
64318 (_FP_FRAC_HIGH_DW_D): Likewise.
64319 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
64320 (_FP_WFRACBITS_DW_E): Likewise.
64321 (_FP_WFRACXBITS_DW_E): Likewise.
64322 (_FP_HIGHBIT_DW_E): Likewise.
64323 (FP_FMA_E): Likewise.
64324 (_FP_FRAC_HIGH_DW_E): Likewise.
64325 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
64326 (_FP_WFRACBITS_DW_Q): Likewise.
64327 (_FP_WFRACXBITS_DW_Q): Likewise.
64328 (_FP_HIGHBIT_DW_Q): Likewise.
64329 (FP_FMA_Q): Likewise.
64330 (_FP_FRAC_HIGH_DW_Q): Likewise.
64331 * soft-fp/fmasf4.c: New file.
64332 * soft-fp/fmadf4.c: Likewise.
64333 * soft-fp/fmatf4.c: Likewise.
64334
64335 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64336
64337 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64338 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
64339 Silvermont.
64340 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
64341 macro.
64342 (index_Slow_SSE4_2): Likewise.
64343 (index_Prefer_PMINUB_for_stringop): Likewise.
64344 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
64345 bit_Slow_SSE4_2 is set.
64346 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
64347 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
64348
64349 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64350
64351 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
64352 rtld_global._dl_hwcap2.
64353 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
64354 POWER8.
64355 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
64356 POWER8 feature descriptions defined in _dl_hwcap2.
64357 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
64358 string handling for POWER8 feature bits.
64359 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
64360 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
64361 _dl_powerpc_cap_flags.
64362 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
64363 * sysdeps/powerpc/rtld-global-offsets.sym
64364 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
64365 _dl_hwcap2 in the rtld_global_ro structure.
64366
64367 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64368
64369 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
64370 hardware capabilities in support of AT_HWCAP2.
64371 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
64372 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
64373 GLRO(dl_hwcap2).
64374 (_dl_show_auxv): Add support for calling _dl_procinfo to display
64375 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
64376 explicitly the unknown a_type display mechanism is used.
64377 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
64378 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
64379 struct member.
64380 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
64381 to macro prototype for AT_HWCAP2 support.
64382 * sysdeps/i386/dl-procinfo.h: Likewise.
64383 * sysdeps/s390/dl-procinfo.h: Likewise.
64384 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
64385 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
64386 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
64387 return -1 for unknown a_type display fallback.
64388 * sysdeps/sparc/dl-procinfo.h: Likewise.
64389 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
64390 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
64391
64392 2013-06-28 Joseph Myers <joseph@codesourcery.com>
64393
64394 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
64395 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
64396
64397 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
64398
64399 [BZ #12492]
64400 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
64401 mprotect making __stack_prot writable.
64402
64403 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
64404 Joseph Myers <joseph@codesourcery.com>
64405
64406 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
64407 as being properly aligned.
64408
64409 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
64410
64411 * dlfcn/modstatic5.c: New file.
64412 * dlfcn/tststatic5.c: New file.
64413 * dlfcn/Makefile (tests): Add tststatic5.
64414 (tests-static): Likewise.
64415 (modules-names): Add modstatic5.
64416 (tststatic5-ENV): New variable.
64417 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
64418
64419 [BZ #15022]
64420 * elf/dl-support.c (_dl_main_map): New variable.
64421 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
64422 (_dl_nns, _dl_load_adds): Set to 1.
64423 (_dl_initial_searchlist): Refer to _dl_main_map.
64424 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
64425 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
64426 call to _dl_get_origin.
64427 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
64428 around call_map.
64429 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
64430 * dlfcn/modstatic3.c: New file.
64431 * dlfcn/tststatic3.c: New file.
64432 * dlfcn/tststatic4.c: New file.
64433 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
64434 (tests-static): Likewise.
64435 (modules-names): Add modstatic3.
64436 (tststatic3-ENV, tststatic4-ENV): New variables.
64437 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
64438 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
64439
64440 2013-06-26 Joseph Myers <joseph@codesourcery.com>
64441
64442 * configure.in (CC): Require GCC version 4.4 or later.
64443 * configure: Regenerated.
64444 * manual/install.texi (Tools for Compilation): Update GCC version
64445 requirement.
64446 * INSTALL: Regenerated.
64447
64448 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64449
64450 [BZ #15674]
64451 * string/test-memcmp.c (check2): New.
64452 (main): Call check2.
64453
64454 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
64455
64456 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
64457
64458 [BZ #15022]
64459 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
64460 over to...
64461 (dl_open_worker) [!SHARED]: ... here.
64462
64463 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64464
64465 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
64466
64467 2013-06-25 Richard Henderson <rth@redhat.com>
64468
64469 * locale/programs/locarchive.c: Include <libc-internal.h>
64470
64471 2013-06-25 Joseph Myers <joseph@codesourcery.com>
64472
64473 * manual/texinfo.tex: Update to version 2013-06-21.17, with
64474 trailing whitespace removed.
64475
64476 2013-06-24 Mike Frysinger <vapier@gentoo.org>
64477
64478 [BZ #10283]
64479 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
64480 * locale/programs/locarchive.c: Include libc-mmap.h.
64481 (prepare_address_space): Take two new outputs (the mmap base and len).
64482 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
64483 values.
64484 (create_archive): Declare new mmap base and len values for
64485 prepare_address_space, and store the result in ah.
64486 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
64487 (enlarge_archive): If ah->mmap_base is not NULL, use that and
64488 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64489 Declare new mmap base and len values for
64490 prepare_address_space, and store the result in new_ah.
64491 (open_archive): Declare new mmap base and len values for
64492 prepare_address_space, and store the result in ah.
64493 (close_archive): If ah->mmap_base is not NULL, use that and
64494 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64495 * sysdeps/generic/libc-mmap.h: New file.
64496
64497 2013-06-24 Mike Frysinger <vapier@gentoo.org>
64498
64499 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
64500 (ALIGN_UP): Likewise.
64501 (PTR_ALIGN_DOWN): Likewise.
64502 (PTR_ALIGN_UP): Likewise.
64503
64504 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64505
64506 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
64507 entry mapped to PPC_PLATFORM_POWER8.
64508 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
64509 POWER8.
64510 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
64511 (_dl_string_platform): Add case for exporting platform position for
64512 POWER8.
64513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
64514 search path to sysdeps/powerpc/powerpc32/power8 directory.
64515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
64516 search path to sysdeps/powerpc/powerpc64/power8 directory.
64517 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
64518 power7 directories.
64519 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
64520 power7 directories.
64521
64522 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
64523
64524 * INSTALL: Regenerate.
64525
64526 * nscd/connections.c (nscd_init): Fix comment.
64527
64528 2013-06-22 Joseph Myers <joseph@codesourcery.com>
64529
64530 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
64531
64532 [BZ #15667]
64533 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
64534 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
64535
64536 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
64537
64538 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
64539 DL_DST_REQ_STATIC.
64540 (DL_DST_REQ_STATIC): Remove macro.
64541
64542 2013-06-21 Joseph Myers <joseph@codesourcery.com>
64543
64544 [BZ #7006]
64545 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
64546 with a shift of 0 bits.
64547
64548 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
64549
64550 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
64551 $(tststatic-ENV).
64552
64553 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
64554
64555 [BZ #15655]
64556 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
64557
64558 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64559
64560 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
64561 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
64562 accepts -fno-tree-loop-distribute-patterns.
64563 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
64564 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
64565 recursive call.
64566 * string/memset.c (memset): Likewise.
64567 * string/test-memmove.c (simple_memmove): Disable loop transformation
64568 to library calls.
64569 * string/test-memset.c (simple_memset): Likewise.
64570 * benchtests/bench-memmove.c (simple_memmove): Likewise.
64571 * benchtests/bench-memset.c (simple_memset): Likewise.
64572 * configure: Regenerated.
64573
64574 2013-06-20 Joseph Myers <joseph@codesourcery.com>
64575
64576 * math/test-misc.c (main): Ignore fesetround failure when failures
64577 of subsequent rounding tests would be ignored.
64578
64579 [BZ #15654]
64580 * math/fedisblxcpt.c (fedisableexcept): Return 0.
64581 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
64582 * math/fegetenv.c (__fegetenv): Return 0.
64583 * math/fegetexcept.c (fegetexcept): Return 0.
64584 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
64585 FE_TONEAREST.
64586 * math/feholdexcpt.c (feholdexcept): Return 0.
64587 * math/fesetenv.c (__fesetenv): Return 0.
64588 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
64589 argument FE_TONEAREST.
64590 * math/feupdateenv.c (__feupdateenv): Return 0.
64591 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
64592
64593 2013-06-18 Roland McGrath <roland@hack.frob.com>
64594
64595 * elf/rtld-Rules (rtld-compile-command.S): New variable.
64596 (rtld-compile-command.s, rtld-compile-command.c): New variables.
64597 ($(objpfx)rtld-%.os rules): Use them.
64598
64599 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64600
64601 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
64602 fields.
64603
64604 2013-06-17 Roland McGrath <roland@hack.frob.com>
64605
64606 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
64607 length of target pattern, then descending length of dependency pattern.
64608 * configure.in (AWK): Require gawk 3.1.2 or newer.
64609 * manual/install.texi (Tools for Compilation): Say that we do.
64610 * configure: Regenerated.
64611
64612 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
64613 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
64614 * scripts/sysd-rules.awk: ... this new script.
64615 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
64616 than a glob-style pattern.
64617
64618 2013-06-17 Joseph Myers <joseph@codesourcery.com>
64619
64620 * math/test-misc.c (main): Do not treat incorrectly rounded
64621 conversions as failure unless ROUNDING_TESTS passes.
64622
64623 2013-06-15 Joseph Myers <joseph@codesourcery.com>
64624
64625 [BZ #15631]
64626 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
64627 restore exception state around main square root computation, then
64628 check for inexactness explicitly.
64629
64630 * math/libm-test.inc (fma_test_data): Add another test.
64631
64632 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
64633
64634 * manual/threads.texi (Non-POSIX Extensions): New document
64635 node. Document pthread_getattr_default_np and
64636 pthread_setattr_default_np.
64637
64638 * Versions.def (libpthread): Add GLIBC_2.18.
64639 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
64640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
64641 Likewise.
64642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64643 Likewise.
64644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64645 Likewise.
64646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64647 Likewise.
64648 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
64649 Likewise.
64650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
64651 Likewise.
64652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
64653 Likewise.
64654 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64655 Likewise.
64656 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64657 Likewise.
64658
64659 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64660
64661 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64662 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
64663
64664 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
64665 H.J. Lu <hjl.tools@gmail.com>
64666
64667 [BZ #15627]
64668 * sysdeps/x86_64/rtld-memset.c: Remove file.
64669 * sysdeps/x86_64/rtld-memset.S: New file.
64670
64671 2013-06-14 Joseph Myers <joseph@codesourcery.com>
64672
64673 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
64674 (test_in_one_mode): Take arguments for whether the rounding mode
64675 is supported for each floating-point type.
64676 (do_test): Pass new arguments to test_in_one_mode using
64677 ROUNDING_TESTS.
64678
64679 2013-06-13 Roland McGrath <roland@hack.frob.com>
64680
64681 * posix/tst-waitid.c (do_test): Distinguish different instances of
64682 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
64683 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
64684 before entering the kernel for waitpid.
64685
64686 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
64687
64688 * NEWS: Fix note on clock function precision. Text by Roland
64689 McGrath.
64690
64691 2013-06-13 Roland McGrath <roland@hack.frob.com>
64692
64693 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
64694 it into place only when and if the sanity check passes.
64695
64696 2013-06-13 Joseph Myers <joseph@codesourcery.com>
64697
64698 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
64699 output for whether conversion result is exact. Take argument
64700 indicating whether type is IBM long double.
64701 (round_for_all): Change need_exact field to ibm_ld.
64702 * stdlib/tst-strtod-round.c (struct exactness): New type.
64703 (struct test): Change bool ld_ok field to struct exactness exact.
64704 (TEST): Update all definitions for change to field.
64705 (tests): Regenerate array contents.
64706 (test_in_one_mode): Take pointer to new field instead of old ld_ok
64707 field value. Check for IBM long double here.
64708 (do_test): Update calls to test_in_one_mode.
64709
64710 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
64711
64712 [BZ #12515]
64713 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
64714 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
64715
64716 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64717
64718 [BZ #15605]
64719 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
64720 generated by the compiler on loop optimizations.
64721 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
64722 general definitions.
64723
64724 2013-06-12 Joseph Myers <joseph@codesourcery.com>
64725
64726 * math/bug-nextafter.c: Include <math-tests.h>.
64727 (main): Only test for exceptions if EXCEPTION_TESTS is true for
64728 the relevant type.
64729 * math/bug-nexttoward.c: Include <math-tests.h>.
64730 (main): Only test for exceptions if EXCEPTION_TESTS is true for
64731 the relevant type.
64732 * math/test-misc.c: Include <math-tests.h>.
64733 (main): Only test for exceptions if EXCEPTION_TESTS is true for
64734 the relevant type.
64735
64736 2013-06-12 Andreas Jaeger <aj@suse.de>
64737
64738 * po/ia.po: Update Interlingua translation from translation
64739 project.
64740
64741 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
64742
64743 * include/fenv.h: Include stdbool.h.
64744 (struct rm_ctx): New structure.
64745 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
64746 Define macro.
64747 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
64748 (SET_RESTORE_ROUNDF): Likewise.
64749 (SET_RESTORE_ROUNDL): Likewise.
64750 (SET_RESTORE_ROUND_NOEX): Likewise.
64751 (SET_RESTORE_ROUND_NOEXF): Likewise.
64752 (SET_RESTORE_ROUND_NOEXL): Likewise.
64753 (SET_RESTORE_ROUND_53BIT): Likewise.
64754 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
64755 (libc_feresetround_noexf_ctx): Likewise.
64756 (libc_feresetround_noexl_ctx): Likewise.
64757 (libc_feholdsetround_53bit_ctx): Likewise.
64758 (libc_feresetround_53bit_ctx): Likewise.
64759 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
64760 (libc_feholdexcept_setround_sse_ctx): New function.
64761 (libc_fesetenv_sse_ctx): Likewise.
64762 (libc_feupdateenv_sse_ctx): Likewise.
64763 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
64764 (libc_feholdexcept_setround_387_ctx): Likewise.
64765 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
64766 (libc_feholdsetround_387_prec_ctx): Likewise.
64767 (libc_feholdsetround_387_ctx): Likewise.
64768 (libc_feholdsetround_387_53bit_ctx): Likewise.
64769 (libc_feholdsetround_sse_ctx): Likewise.
64770 (libc_feresetround_sse_ctx): Likewise.
64771 (libc_feresetround_387_ctx): Likewise.
64772 (libc_feupdateenv_387_ctx): Likewise.
64773 (libc_feholdexcept_setroundf_ctx): Define macro.
64774 (libc_fesetenvf_ctx): Likewise.
64775 (libc_feupdateenvf_ctx): Likewise.
64776 (libc_feholdsetroundf_ctx): Likewise.
64777 (libc_feresetroundf_ctx): Likewise.
64778 (libc_feholdexcept_setround_ctx): Likewise.
64779 (libc_fesetenv_ctx): Likewise.
64780 (libc_feupdateenv_ctx): Likewise.
64781 (libc_feholdsetround_ctx): Likewise.
64782 (libc_feresetround_ctx): Likewise.
64783 (libc_feholdexcept_setroundl_ctx): Likewise.
64784 (libc_feupdateenvl_ctx): Likewise.
64785 (libc_feholdsetroundl_ctx): Likewise.
64786 (libc_feresetroundl_ctx): Likewise.
64787 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
64788 (libc_feresetround_53bit_ctx): Likewise.
64789
64790 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
64791
64792 * locale/iso-639.def: Convert to UTF-8.
64793
64794 2013-06-11 Joseph Myers <joseph@codesourcery.com>
64795
64796 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
64797 (EXCEPTION_TESTS_double): Likewise.
64798 (EXCEPTION_TESTS_long_double): Likewise.
64799 (EXCEPTION_TESTS): Likewise.
64800 * math/libm-test.inc (test_exceptions): Only test exceptions if
64801 EXCEPTION_TESTS (FLOAT).
64802
64803 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
64804
64805 * benchtests/Makefile (string-bench): Add strcpy_chk and
64806 stpcpy_chk.
64807 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
64808 * benchtests/bench-stpcpy_chk.c: New file.
64809 * benchtests/bench-strcpy_chk-ifunc.c: New file.
64810 * benchtests/bench-strcpy_chk.c: New file.
64811 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
64812 code.
64813 (do_test): Likewise.
64814
64815 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64816
64817 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
64818 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
64819 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
64820 with tabs where appropriate.
64821 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
64822 dl-procinfo.h.
64823 [PPC_PLATFORM_PPC440]: Likewise.
64824 [PPC_PLATFORM_PPC464]: Likewise.
64825 [PPC_PLATFORM_PPC476]: Likewise.
64826 (_dl_string_platform): Add support for detecting ppc405, ppc440,
64827 ppc464, and ppc476 platform strings merging from ports/
64828 dl-procinfo.h.
64829
64830 2013-06-11 Andreas Schwab <schwab@suse.de>
64831
64832 [BZ #14991]
64833 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
64834 (from_ucs4_idx): Regenerate.
64835 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
64836 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
64837 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
64838 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
64839 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
64840 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
64841 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
64842 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
64843 from FROM_LOOP and TO_LOOP specific macros.
64844 (BODY): Handle combining characters.
64845 * iconvdata/BIG5HKSCS.irreversible: Update.
64846 * iconvdata/BIG5HKSCS.precomposed: New file.
64847 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
64848 characters.
64849 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
64850
64851 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
64852
64853 * include/sys/time.h: Fix indentation and add copyright header.
64854
64855 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
64856 (do_test): Likewise.
64857 * string/test-memchr.c (do_one_test): Likewise.
64858 (do_test): Likewise.
64859 * string/test-memcmp.c (do_one_test): Likewise.
64860 (do_test): Likewise.
64861 * string/test-memcpy.c (do_one_test): Likewise.
64862 (do_test): Likewise.
64863 * string/test-memmem.c (do_one_test): Likewise.
64864 (do_test): Likewise.
64865 (do_random_tests): Likewise.
64866 * string/test-memmove.c (do_one_test): Likewise.
64867 (do_test): Likewise.
64868 * string/test-memset.c (do_one_test): Likewise.
64869 (do_test): Likewise.
64870 * string/test-rawmemchr.c (do_one_test): Likewise.
64871 (do_test): Likewise.
64872 * string/test-strcasecmp.c (do_one_test): Likewise.
64873 (do_test): Likewise.
64874 * string/test-strcasestr.c (do_one_test): Likewise.
64875 (do_test): Likewise.
64876 * string/test-strcat.c (do_one_test): Likewise.
64877 (do_test): Likewise.
64878 * string/test-strchr.c (do_one_test): Likewise.
64879 (do_test): Likewise.
64880 * string/test-strcmp.c (do_one_test): Likewise.
64881 (do_test): Likewise.
64882 * string/test-strcpy.c (do_one_test): Likewise.
64883 (do_test): Likewise.
64884 * string/test-string.h: Likewise.
64885 (test_init): Likewise.
64886 * string/test-strlen.c (do_one_test): Likewise.
64887 (do_test): Likewise.
64888 * string/test-strncasecmp.c (do_one_test): Likewise.
64889 (do_test): Likewise.
64890 * string/test-strncat.c (do_one_test): Likewise.
64891 (do_test): Likewise.
64892 * string/test-strncmp.c (do_one_test): Likewise.
64893 (do_test_limit): Likewise.
64894 (do_test): Likewise.
64895 * string/test-strncpy.c (do_one_test): Likewise.
64896 (do_test): Likewise.
64897 * string/test-strnlen.c (do_one_test): Likewise.
64898 (do_test): Likewise.
64899 * string/test-strpbrk.c (do_one_test): Likewise.
64900 (do_test): Likewise.
64901 * string/test-strrchr.c (do_one_test): Likewise.
64902 (do_test): Likewise.
64903 * string/test-strspn.c (do_one_test): Likewise.
64904 (do_test): Likewise.
64905 * string/test-strstr.c (do_one_test): Likewise.
64906 (do_test): Likewise.
64907
64908 * benchtests/Makefile (string-bench): Add string benchmarks.
64909 * benchtests/bench-bcopy-ifunc.c: New file.
64910 * benchtests/bench-bcopy.c: New file.
64911 * benchtests/bench-bzero-ifunc.c: New file.
64912 * benchtests/bench-bzero.c: New file.
64913 * benchtests/bench-memccpy-ifunc.c: New file.
64914 * benchtests/bench-memccpy.c: New file.
64915 * benchtests/bench-memchr-ifunc.c: New file.
64916 * benchtests/bench-memchr.c: New file.
64917 * benchtests/bench-memcmp-ifunc.c: New file.
64918 * benchtests/bench-memcmp.c: New file.
64919 * benchtests/bench-memmem-ifunc.c: New file.
64920 * benchtests/bench-memmem.c: New file.
64921 * benchtests/bench-memmove-ifunc.c: New file.
64922 * benchtests/bench-memmove.c: New file.
64923 * benchtests/bench-mempcpy-ifunc.c: New file.
64924 * benchtests/bench-mempcpy.c: New file.
64925 * benchtests/bench-memset-ifunc.c: New file.
64926 * benchtests/bench-memset.c: New file.
64927 * benchtests/bench-rawmemchr-ifunc.c: New file.
64928 * benchtests/bench-rawmemchr.c: New file.
64929 * benchtests/bench-stpcpy-ifunc.c: New file.
64930 * benchtests/bench-stpcpy.c: New file.
64931 * benchtests/bench-stpncpy-ifunc.c: New file.
64932 * benchtests/bench-stpncpy.c: New file.
64933 * benchtests/bench-strcasecmp-ifunc.c: New file.
64934 * benchtests/bench-strcasecmp.c: New file.
64935 * benchtests/bench-strcasestr-ifunc.c: New file.
64936 * benchtests/bench-strcasestr.c: New file.
64937 * benchtests/bench-strcat-ifunc.c: New file.
64938 * benchtests/bench-strcat.c: New file.
64939 * benchtests/bench-strchr-ifunc.c: New file.
64940 * benchtests/bench-strchr.c: New file.
64941 * benchtests/bench-strchrnul-ifunc.c: New file.
64942 * benchtests/bench-strchrnul.c: New file.
64943 * benchtests/bench-strcmp-ifunc.c: New file.
64944 * benchtests/bench-strcmp.c: New file.
64945 * benchtests/bench-strcpy-ifunc.c: New file.
64946 * benchtests/bench-strcpy.c: New file.
64947 * benchtests/bench-strcspn-ifunc.c: New file.
64948 * benchtests/bench-strcspn.c: New file.
64949 * benchtests/bench-strlen-ifunc.c: New file.
64950 * benchtests/bench-strlen.c: New file.
64951 * benchtests/bench-strncasecmp-ifunc.c: New file.
64952 * benchtests/bench-strncasecmp.c: New file.
64953 * benchtests/bench-strncat-ifunc.c: New file.
64954 * benchtests/bench-strncat.c: New file.
64955 * benchtests/bench-strncmp-ifunc.c: New file.
64956 * benchtests/bench-strncmp.c: New file.
64957 * benchtests/bench-strncpy-ifunc.c: New file.
64958 * benchtests/bench-strncpy.c: New file.
64959 * benchtests/bench-strnlen-ifunc.c: New file.
64960 * benchtests/bench-strnlen.c: New file.
64961 * benchtests/bench-strpbrk-ifunc.c: New file.
64962 * benchtests/bench-strpbrk.c: New file.
64963 * benchtests/bench-strrchr-ifunc.c: New file.
64964 * benchtests/bench-strrchr.c: New file.
64965 * benchtests/bench-strspn-ifunc.c: New file.
64966 * benchtests/bench-strspn.c: New file.
64967 * benchtests/bench-strstr-ifunc.c: New file.
64968 * benchtests/bench-strstr.c: New file.
64969
64970 * benchtests/Makefile: Disable parallel execution of targets.
64971 (string-bench): Add memcpy.
64972 (benchset): New variable to store a list of benchmark sets.
64973 (bench-func): Renamed from bench.
64974 (bench-set): New target.
64975 (bench): Depend on bench-func and bench-set.
64976 * benchtests/README: Add section on benchmark sets.
64977 * benchtests/bench-memcpy-ifunc.c: New file.
64978 * benchtests/bench-memcpy.c: New file.
64979 * benchtests/bench-string.h: New file.
64980
64981 2013-06-11 Andreas Schwab <schwab@suse.de>
64982
64983 [BZ #15577]
64984 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
64985 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
64986 values in the triple.
64987 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
64988 terminator in the group key.
64989
64990 2013-06-11 Andreas Jaeger <aj@suse.de>
64991
64992 * po/zh_TW.po: Update Chinese (traditional) translation from
64993 translation project.
64994
64995 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
64996
64997 * include/time.h (__clock_gettime): Add libc_hidden_proto.
64998 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
64999 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
65000 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
65001 (clock_getcpuclockid): Likewise.
65002 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
65003 Add weak_alias and libc_hidden_def.
65004 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
65005 * rt/clock_gettime.c (clock_gettime): Rename to
65006 __clock_gettime. Add weak_alias and libc_hidden_def.
65007 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
65008 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
65009 __clock_nanosleep. Add weak_alias and libc_hidden_def.
65010 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
65011 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
65012 Likewise.
65013 * rt/clock_settime.c (clock_settime): Rename to
65014 __clock_settime. Add weak_alias and libc_hidden_def.
65015 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
65016
65017 2013-06-10 Joseph Myers <joseph@codesourcery.com>
65018
65019 * mach/err_boot.sub: Remove trailing whitespace.
65020 * mach/err_ipc.sub: Likewise.
65021 * mach/err_mach.sub: Likewise.
65022
65023 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
65024 (ROUNDING_TESTS_double): Likewise.
65025 (ROUNDING_TESTS_long_double): Likewise.
65026 (ROUNDING_TESTS): Likewise.
65027 * math/libm-test.inc: Include <math-tests.h>.
65028 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
65029 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
65030 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
65031 (IF_ROUND_INIT_FE_UPWARD): Likewise.
65032
65033 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
65034
65035 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
65036 of assigning.
65037
65038 2013-06-08 Joseph Myers <joseph@codesourcery.com>
65039
65040 * sysdeps/gnu/errlist.awk: Do not generate space at end of
65041 otherwise empty TRANS lines.
65042 * sysdeps/gnu/errlist.c: Regenerated.
65043
65044 * catgets/gencat.c (error_print): Use (void) in function
65045 definition.
65046 * crypt/crypt_util.c (__init_des): Likewise.
65047 * crypt/speeds.c (Stop): Likewise.
65048 (main): Likewise.
65049 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
65050 * inet/ruserpass.c (token): Likewise.
65051 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
65052 * intl/localealias.c (extend_alias_table): Likewise.
65053 * intl/plural-exp.c (init_germanic_plural): Likewise.
65054 * libio/fcloseall.c (__fcloseall): Likewise.
65055 * libio/genops.c (_IO_flush_all): Likewise.
65056 (_IO_flush_all_linebuffered): Likewise.
65057 (_IO_cleanup): Likewise.
65058 (_IO_iter_begin): Likewise.
65059 (_IO_iter_end): Likewise.
65060 (_IO_list_lock): Likewise.
65061 (_IO_list_unlock): Likewise.
65062 (_IO_list_resetlock): Likewise.
65063 * libio/getchar.c (getchar): Likewise.
65064 * libio/getchar_u.c (getchar_unlocked): Likewise.
65065 * libio/getwchar.c (getwchar): Likewise.
65066 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
65067 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
65068 * login/getpt.c (__getpt): Likewise.
65069 * login/tst-utmp.c (main): Likewise.
65070 * malloc/hooks.c (__malloc_check_init): Likewise.
65071 * malloc/malloc.c (__malloc_stats): Likewise.
65072 * malloc/mtrace.c (tr_break): Likewise.
65073 (mtrace): Likewise.
65074 (muntrace): Likewise.
65075 * misc/fstab.c (endfsent): Likewise.
65076 * misc/getclktck.c (__getclktck): Likewise.
65077 * misc/getdtsz.c (__getdtablesize): Likewise.
65078 * misc/gethostid.c (gethostid): Likewise.
65079 * misc/getpagesize.c (__getpagesize): Likewise.
65080 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
65081 (__get_nprocs): Likewise.
65082 (__get_phys_pages): Likewise.
65083 (__get_avphys_pages): Likewise.
65084 * misc/getttyent.c (getttyent): Likewise.
65085 (setttyent): Likewise.
65086 (endttyent): Likewise.
65087 * misc/getusershell.c (getusershell): Likewise.
65088 (endusershell): Likewise.
65089 (setusershell): Likewise.
65090 (initshells): Likewise.
65091 * misc/hsearch.c (__hdestroy): Likewise.
65092 * misc/sync.c (sync): Likewise.
65093 * misc/syslog.c (closelog_internal): Likewise.
65094 (closelog): Likewise.
65095 * misc/ttyslot.c (ttyslot): Likewise.
65096 * misc/vhangup.c (vhangup): Likewise.
65097 * posix/fork.c (__fork): Likewise.
65098 * posix/getegid.c (__getegid): Likewise.
65099 * posix/geteuid.c (__geteuid): Likewise.
65100 * posix/getgid.c (__getgid): Likewise.
65101 * posix/getpid.c (__getpid): Likewise.
65102 * posix/getppid.c (__getppid): Likewise.
65103 * posix/getuid.c (__getuid): Likewise.
65104 * posix/pause.c (pause): Likewise.
65105 * posix/setpgrp.c (setpgrp): Likewise.
65106 * posix/setsid.c (__setsid): Likewise.
65107 * posix/test-vfork.c (noop): Likewise.
65108 * resolv/gethnamaddr.c (_endhtent): Likewise.
65109 (_gethtent): Likewise.
65110 (ht_endhostent): Likewise.
65111 (gethostent): Likewise.
65112 (dns_service): Likewise.
65113 * stdlib/drand48.c (drand48): Likewise.
65114 * stdlib/lrand48.c (lrand48): Likewise.
65115 * stdlib/mrand48.c (mrand48): Likewise.
65116 * stdlib/rand.c (rand): Likewise.
65117 * stdlib/random.c (__random): Likewise.
65118 * stdlib/setenv.c (clearenv): Likewise.
65119 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
65120 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
65121 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
65122 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
65123 (__get_nprocs): Likewise.
65124 (__get_phys_pages): Likewise.
65125 (__get_avphys_pages): Likewise.
65126 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
65127 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
65128 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
65129 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
65130 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
65131 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
65132 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
65133 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
65134 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
65135 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
65136 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
65137 * sysdeps/mach/hurd/sync.c (sync): Likewise.
65138 * sysdeps/posix/clock.c (clock): Likewise.
65139 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
65140 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
65141 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
65142 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
65143 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
65144 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
65145 (__get_nprocs_conf): Likewise.
65146 (__get_phys_pages): Likewise.
65147 (__get_avphys_pages): Likewise.
65148 * time/clock.c (clock): Likewise.
65149 * time/tzset.c (__tzname_max): Likewise.
65150
65151 2013-06-07 Joseph Myers <joseph@codesourcery.com>
65152
65153 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
65154 (__bswap_32): Do not use "register".
65155 * crypt/crypt.c (_ufc_doit_r): Likewise.
65156 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
65157 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
65158 * gmon/gmon.c (__monstartup): Likewise.
65159 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
65160 * hurd/hurdmalloc.c (more_memory): Likewise.
65161 (malloc): Likewise.
65162 (free): Likewise.
65163 (realloc): Likewise.
65164 (malloc_fork_prepare): Likewise.
65165 (malloc_fork_parent): Likewise.
65166 (malloc_fork_child): Likewise.
65167 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
65168 (_svcauth_des): Likewise.
65169 * inet/inet_lnaof.c (inet_lnaof): Likewise.
65170 * inet/inet_net.c (inet_network): Likewise.
65171 * inet/inet_netof.c (inet_netof): Likewise.
65172 * inet/rcmd.c (__validuser2_sa): Likewise.
65173 * io/fts.c (fts_open): Likewise.
65174 (fts_load): Likewise.
65175 (fts_close): Likewise.
65176 (fts_read): Likewise.
65177 (fts_children): Likewise.
65178 (fts_build): Likewise.
65179 (fts_stat): Likewise.
65180 (fts_sort): Likewise.
65181 (fts_alloc): Likewise.
65182 (fts_lfree): Likewise.
65183 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
65184 (_IO_file_xsgetn): Likewise.
65185 (_IO_file_xsgetn_mmap): Likewise.
65186 * libio/iofopncook.c (_IO_cookie_read): Likewise.
65187 (_IO_cookie_write): Likewise.
65188 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
65189 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
65190 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
65191 * malloc/obstack.c (_obstack_begin): Likewise.
65192 (_obstack_begin_1): Likewise.
65193 (_obstack_newchunk): Likewise.
65194 (_obstack_allocated_p): Likewise.
65195 (obstack_free): Likewise.
65196 (_obstack_memory_used): Likewise.
65197 * misc/getttyent.c (getttynam): Likewise.
65198 (getttyent): Likewise.
65199 (skip): Likewise.
65200 (value): Likewise.
65201 * misc/getusershell.c (initshells): Likewise.
65202 * misc/syslog.c (__vsyslog_chk): Likewise.
65203 * misc/ttyslot.c (ttyslot): Likewise.
65204 * nis/nis_hash.c (__nis_hash): Likewise.
65205 * posix/fnmatch_loop.c (FCT): Likewise.
65206 * posix/getconf.c (print_all): Likewise.
65207 (main): Likewise.
65208 * posix/getopt.c (exchange): Likewise.
65209 * posix/glob.c (globfree): Likewise.
65210 (prefix_array): Likewise.
65211 (__glob_pattern_type): Likewise.
65212 * resolv/arpa/nameser.h (NS_GET16): Likewise.
65213 (NS_GET32): Likewise.
65214 (NS_PUT16): Likewise.
65215 (NS_PUT32): Likewise.
65216 * resolv/gethnamaddr.c (getanswer): Likewise.
65217 (gethostbyname2): Likewise.
65218 (gethostbyaddr): Likewise.
65219 (_gethtent): Likewise.
65220 (_gethtbyname2): Likewise.
65221 (_gethtbyaddr): Likewise.
65222 * resolv/ns_print.c (dst_s_get_int16): Likewise.
65223 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
65224 * resolv/res_init.c (__res_vinit): Likewise.
65225 (net_mask): Likewise.
65226 * resolv/res_mkquery.c (outchar): Likewise.
65227 (PRINT): Likewise.
65228 * stdio-common/printf_fp.c (outchar): Likewise.
65229 (PRINT): Likewise.
65230 * stdio-common/printf_fphex.c (outchar): Likewise.
65231 (PRINT): Likewise.
65232 * stdio-common/printf_size.c (outchar): Likewise.
65233 (PRINT): Likewise.
65234 * stdio-common/test_rdwr.c (main): Likewise.
65235 * stdio-common/tfformat.c (matches): Likewise.
65236 * stdio-common/vfprintf.c (outchar): Likewise.
65237 (printf_unknown): Likewise.
65238 (buffered_vfprintf): Likewise.
65239 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
65240 * stdio-common/xbug.c (AppendToBuffer): Likewise.
65241 (ReadFile): Likewise.
65242 * stdlib/qsort.c (SWAP): Likewise.
65243 (_quicksort): Likewise.
65244 * stdlib/setenv.c (__add_to_environ): Likewise.
65245 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
65246 * stdlib/strtol_l.c (__strtol_l): Likewise.
65247 * stdlib/tst-strtod.c (main): Likewise.
65248 * stdlib/tst-strtol.c (main): Likewise.
65249 * stdlib/tst-strtoll.c (main): Likewise.
65250 * string/bits/string2.h (__strcmp_cc): Likewise.
65251 (__strcmp_cg): Likewise.
65252 (__strcspn_c1): Likewise.
65253 (__strcspn_c2): Likewise.
65254 (__strcspn_c3): Likewise.
65255 (__strspn_c1): Likewise.
65256 (__strspn_c2): Likewise.
65257 (__strspn_c3): Likewise.
65258 (__strsep_1c): Likewise.
65259 (__strsep_2c): Likewise.
65260 (__strsep_3c): Likewise.
65261 * string/memccpy.c (__memccpy): Likewise.
65262 * string/stpcpy.c (__stpcpy): Likewise.
65263 * string/strcmp.c (strcmp): Likewise.
65264 * string/strrchr.c (strrchr): Likewise.
65265 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
65266 Likewise.
65267 * sysdeps/mach/hurd/getcwd.c
65268 (_hurd_canonicalize_directory_name_internal): Likewise.
65269 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
65270 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
65271 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
65272 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
65273 Likewise, in both definitions.
65274 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
65275 definitions.
65276 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
65277 64] (__bswap_64): Likewise.
65278 * time/test_time.c (main): Likewise.
65279 * time/tzfile.c (__tzfile_read): Likewise.
65280 (__tzfile_compute): Likewise.
65281 * time/tzset.c (__tzset_parse_tz): Likewise.
65282 (tzset_internal): Likewise.
65283 (compute_change): Likewise.
65284 * wcsmbs/wcscat.c (__wcscat): Likewise.
65285 * wcsmbs/wcschr.c (wcschr): Likewise.
65286 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
65287 * wcsmbs/wcscspn.c (wcscspn): Likewise.
65288 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
65289 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
65290 * wcsmbs/wcsspn.c (wcsspn): Likewise.
65291 * wcsmbs/wcsstr.c (wcsstr): Likewise.
65292 * wcsmbs/wmemchr.c (wmemchr): Likewise.
65293 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
65294 * wcsmbs/wmemset.c (wmemset): Likewise.
65295
65296 2013-06-06 Joseph Myers <joseph@codesourcery.com>
65297
65298 * scripts/config.guess: Update to version 2013-05-16.
65299 * scripts/config.sub: Update to version 2013-04-24.
65300 * scripts/install-sh: Update to version 2011-11-20.07.
65301 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
65302 * scripts/move-if-change: Update to version 2012-01-06 07:23.
65303
65304 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
65305
65306 * debug/fgetws_u_chk.c: Fix leading whitespaces.
65307 * elf/sln.c: Likewise.
65308 * hurd/hurd/ioctl.h: Likewise.
65309 * hurd/hurdmalloc.c: Likewise.
65310 * hurd/xattr.c: Likewise.
65311 * include/shlib-compat.h: Likewise.
65312 * inet/ruserpass.c: Likewise.
65313 * libio/iofgets_u.c: Likewise.
65314 * libio/iofgetws_u.c: Likewise.
65315 * locale/programs/ld-identification.c: Likewise.
65316 * locale/programs/ld-time.c: Likewise.
65317 * mach/msg-destroy.c: Likewise.
65318 * nss/nss_files/files-netgrp.c: Likewise.
65319 * resolv/res_data.c: Likewise.
65320 * soft-fp/op-1.h: Likewise.
65321 * soft-fp/op-2.h: Likewise.
65322 * soft-fp/op-4.h: Likewise.
65323 * soft-fp/op-common.h: Likewise.
65324 * stdio-common/printf_fphex.c: Likewise.
65325 * stdlib/strtod_l.c: Likewise.
65326 * sunrpc/rpc/clnt.h: Likewise.
65327 * sysdeps/generic/framestate.c: Likewise.
65328 * sysdeps/i386/bsd-_setjmp.S: Likewise.
65329 * sysdeps/i386/bsd-setjmp.S: Likewise.
65330 * sysdeps/i386/__longjmp.S: Likewise.
65331 * sysdeps/i386/setjmp.S: Likewise.
65332 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65333 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65334 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65335 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
65336 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
65337 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
65338 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65339 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65340 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65341 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
65342 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
65343 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
65344 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
65345 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
65346 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
65347 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65348 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
65349 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
65350 * sysdeps/ieee754/support.c: Likewise.
65351 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65352 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
65353 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
65354 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
65355 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
65356 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
65357 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
65358 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
65359 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
65360 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
65361 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
65362 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
65363 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
65364 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
65365 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
65366 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
65367 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
65368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
65369
65370 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
65371
65372 * posix/transbug.c: Remove executable mode.
65373
65374 2013-06-05 Joseph Myers <joseph@codesourcery.com>
65375
65376 * crypt/speeds.c: Remove trailing whitespace.
65377 * dlfcn/default.c: Likewise.
65378 * elf/ifuncdep2.c: Likewise.
65379 * elf/ifuncmain1.c: Likewise.
65380 * elf/ifuncmain1vis.c: Likewise.
65381 * elf/testobj.h: Likewise.
65382 * elf/tst-stackguard1.c: Likewise.
65383 * gmon/sys/gmon.h: Likewise.
65384 * hurd/hurdmsg.c: Likewise.
65385 * hurd/new-fd.c: Likewise.
65386 * hurd/ports-get.c: Likewise.
65387 * iconvdata/ibm1008_420.c: Likewise.
65388 * inet/tst-getni1.c: Likewise.
65389 * inet/tst-getni2.c: Likewise.
65390 * libio/ioungetc.c: Likewise.
65391 * libio/wfiledoalloc.c: Likewise.
65392 * manual/libm-err-tab.pl: Likewise.
65393 * math/w_dremf.c: Likewise.
65394 * misc/ftruncate.c: Likewise.
65395 * posix/bug-glob2.c: Likewise.
65396 * posix/tst-pcre.c: Likewise.
65397 * posix/wait4.c: Likewise.
65398 * resolv/README: Likewise.
65399 * resolv/res_debug.h: Likewise.
65400 * resolv/tst-inet_ntop.c: Likewise.
65401 * setjmp/bug269-setjmp.c: Likewise.
65402 * soft-fp/extended.h: Likewise.
65403 * soft-fp/op-1.h: Likewise.
65404 * soft-fp/op-2.h: Likewise.
65405 * soft-fp/op-4.h: Likewise.
65406 * soft-fp/op-8.h: Likewise.
65407 * soft-fp/testit.c: Likewise.
65408 * stdio-common/bug16.c: Likewise.
65409 * stdlib/random.c: Likewise.
65410 * sunrpc/rpcsvc/rquota.x: Likewise.
65411 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
65412 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65413 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65414 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65415 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65416 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65417 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65418 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65419 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65420 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65421 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65422 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
65423 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65424 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
65425 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65426 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
65427 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
65428 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65429 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
65430 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65431 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65432 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65433 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
65434 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
65435 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
65436 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
65437 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65438 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65439 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65440 * sysdeps/ieee754/s_lib_version.c: Likewise.
65441 * sysdeps/mach/hurd/check_fds.c: Likewise.
65442 * sysdeps/mach/hurd/getsockname.c: Likewise.
65443 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
65444 * sysdeps/mach/hurd/recvfrom.c: Likewise.
65445 * sysdeps/powerpc/bits/link.h: Likewise.
65446 * sysdeps/powerpc/dl-procinfo.c: Likewise.
65447 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
65448 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
65449 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
65450 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
65451 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
65452 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
65453 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
65454 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
65455 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65456 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
65457 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
65458 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
65459 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65460 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65461 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65462 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
65463 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
65464 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65465 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65466 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65467 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
65468 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65469 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
65470 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
65471 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
65472 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
65473 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65474 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65475 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
65476 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
65477 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
65478 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
65479 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65480 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
65481 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
65482 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
65483 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
65484 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
65485 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
65486 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
65487 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
65488 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
65489 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
65490 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
65491 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
65492 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
65493 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
65494 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
65495 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
65496 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65497 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65498 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65499 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65500 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
65501 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
65502 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
65503 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
65504 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
65505 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
65506 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
65507 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
65508 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
65509 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
65510 * sysdeps/powerpc/sysdep.h: Likewise.
65511 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65512 * sysdeps/s390/s390-64/sub_n.S: Likewise.
65513 * sysdeps/sh/dl-trampoline.S: Likewise.
65514 * sysdeps/sh/memset.S: Likewise.
65515 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
65516 * sysdeps/sh/strlen.S: Likewise.
65517 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
65518 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
65519 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
65520 * sysdeps/sparc/sparc32/rem.S: Likewise.
65521 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
65522 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
65523 * sysdeps/sparc/sparc32/strchr.S: Likewise.
65524 * sysdeps/sparc/sparc32/udiv.S: Likewise.
65525 * sysdeps/sparc/sparc32/urem.S: Likewise.
65526 * sysdeps/sparc/sparc64/add_n.S: Likewise.
65527 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65528 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
65529 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
65530 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
65531 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
65532 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
65533 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
65534 * sysdeps/unix/bsd/times.c: Likewise.
65535 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
65536 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
65537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
65538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
65539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
65540 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
65541 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
65542 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
65543 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
65544 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
65545 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
65546 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
65547 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
65548 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65549 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
65550 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
65551 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
65552 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
65553 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
65554 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
65555 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
65556 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
65557 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65558 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
65559 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
65560 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
65561 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
65562 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65563 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
65564 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
65565 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
65566 * sysdeps/x86_64/strcspn.S: Likewise.
65567
65568 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
65569
65570 * locale/C-translit.h: Revert #include <stdint.h> because this is a
65571 generated file. Regenerate properly from gen-translit.pl.
65572 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
65573 locale/C-translit.h.
65574
65575 2013-06-05 Andreas Schwab <schwab@suse.de>
65576
65577 [BZ #15100]
65578 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
65579 week as 6 instead of -1.
65580 * time/tst-strptime.c (day_tests): Add test case.
65581
65582 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
65583
65584 * sysdeps/generic/math_private.h
65585 (libc_feholdexcept_setround_53bit): Replace with
65586 libc_feholdsetround_53bit.
65587 (libc_feupdateenv_53bit): Replace with
65588 libc_feresetround_53bit.
65589 (SET_RESTORE_ROUND_53BIT): Adjust.
65590
65591 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
65592
65593 * string/test-strchrnul.c: Add copyright header.
65594
65595 * posix/tst-getaddrinfo4.c: Increase test timeout.
65596
65597 2013-06-03 Carlos O'Donell <carlos@redhat.com>
65598
65599 [BZ #15536]
65600 * math/libm-test.inc (MAX_EXP): Remove
65601 (MIN_EXP): Define.
65602 (ulp): Use MIN_EXP - MANT_DIG.
65603 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
65604
65605 2013-05-31 Carlos O'Donell <carlos@redhat.com>
65606
65607 * po/be.po: Revert last change.
65608 * po/zh_CN.po: Likewise.
65609 * po/header.pot: Likewise.
65610
65611 2013-05-31 Joseph Myers <joseph@codesourcery.com>
65612
65613 * Makefile ($(common-objpfx)linkobj/libc.so): Define
65614 link-libc-deps to empty as target-specific variable.
65615 * Makerules (link-libc-args): New variable.
65616 (libc-for-link): Likewise.
65617 (link-libc-deps): Likewise.
65618 (lib%.so): Depend on $(link-libc-deps). Link with
65619 $(link-libc-args).
65620 (build-module): Link with $(link-libc-args).
65621 (build-module-asneeded): Likewise.
65622 (build-module-helper-objlist): Filter out $(link-libc-deps) from
65623 list of objects.
65624 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
65625 target-specific variable.
65626 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
65627 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
65628 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
65629 libc.
65630 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
65631 libc and ld.so.
65632 ($(objpfx)libpcprofile.so): Likewise.
65633 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
65634 libc_nonshared.a.
65635 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
65636 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
65637 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
65638 $(link-libc-deps).
65639 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
65640 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
65641 * login/Makefile ($(objpfx)libutil.so): Likewise.
65642 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
65643 * math/Makefile ($(objpfx)libm.so): Likewise.
65644 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
65645 $(objpfx)libnsl.so): Define libc-for-link as target-specific
65646 variable instead of depending directly on libc.
65647 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
65648 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
65649 $(link-libc-deps).
65650 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
65651 libc.
65652 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
65653 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
65654 ($(objpfx)libanl.so): Likewise.
65655 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
65656 ld.so.
65657 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
65658 $(link-libc-deps).
65659 * sysdeps/i386/fpu/Makefile: Remove file.
65660 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
65661 ($(objpfx)libm.so): Remove dependency on ld.so.
65662
65663 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
65664
65665 [BZ # 15553]
65666 * nis/yp_xdr.c (XDRMAXNAME): Define.
65667 (XDRMAXRECORD): Define.
65668 (xdr_domainname): Use XDRMAXNAME.
65669 (xdr_mapname): Likewise.
65670 (xdr_peername): Likewise.
65671 (xdr_keydat): Use XDRMAXRECORD.
65672 (xdr_valdat): Likewise.
65673
65674 2013-05-30 Jeff Law <law@redhat.com>
65675
65676 [BZ #14256]
65677 * manual/errno.texi (ESTALE): Update to account for more than
65678 just NFS file systems.
65679 * sysdeps/gnu/errlist.c: Regenerated.
65680
65681 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
65682
65683 [BZ #15465]
65684 * elf/Makefile (tests): Add tst-null-argv.
65685 (modules-names): Add tst-null-argv-lib.
65686 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
65687 (tst-null-argv-ENV): Set environment for tst-null-argv.
65688 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
65689 (RTLD_PROGNAME): New macro.
65690 * elf/tst-null-argv.c: New test case.
65691 * elf/tst-null-argv-lib.c: Library for test case.
65692 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
65693 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
65694 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
65695 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
65696 * elf/dl-init.c (call_init): Likewise.
65697 (_dl_init): Likewise.
65698 * elf/dl-load.c (print_search_path): Likewise.
65699 (_dl_map_object): Likewise.
65700 * elf/dl-lookup.c (do_lookup_x): Likewise.
65701 (add_dependency): Likewise.
65702 (_dl_lookup_symbol_x): Likewise.
65703 (_dl_debug_bindings): Likewise.
65704 * elf/dl-open.c (_dl_show_scope): Likewise.
65705 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
65706 * elf/dl-version.c (match_symbol): Likewise.
65707 (_dl_check_map_versions): Likewise.
65708 * elf/rtld.c (dl_main): Likewise.
65709 (print_unresolved): Use RTLD_PROGNAME.
65710 (print_missing_version): Likewise.
65711 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
65712 (elf_machine_rela): Likewise.
65713 * sysdeps/powerpc/powerpc32/dl-machine.c
65714 (__process_machine_rela): Likewise.
65715 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65716 Likewise.
65717 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
65718 Likewise.
65719 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
65720 Likewise.
65721 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
65722 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
65723 Likewise.
65724 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
65725 Likewise.
65726 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
65727
65728 2013-05-28 Carlos O'Donell <carlos@redhat.com>
65729
65730 * po/be.po: Add descriptive title.
65731 * po/zh_CN.po: Likewise.
65732 * po/header.pot: Likewise.
65733
65734 2013-05-28 Mike Frysinger <vapier@gentoo.org>
65735
65736 * locale/programs/locarchive.c (create_archive): Inlucde fname in
65737 error message.
65738 (enlarge_archive): Likewise.
65739
65740 2013-05-28 Ben North <ben@redfrontdoor.org>
65741
65742 * manual/arith.texi (frexp): It is the magnitude of the return
65743 value which lies in [0.5, 1), not the return value itself.
65744
65745 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65746
65747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65748
65749 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
65750
65751 * stdio-common/bug26.c (main): Correct fscanf template.
65752
65753 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
65754 declare _dl_skip_args.
65755
65756 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
65757 Don't declare.
65758
65759 * manual/platform.texi: Add missing @end deftypefun.
65760
65761 2013-05-24 Joseph Myers <joseph@codesourcery.com>
65762
65763 [BZ #15529]
65764 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
65765 bit of mantissa of 2^16382.
65766 * math/libm-test.inc (hypot_test_data): Add more tests.
65767
65768 * math/libm-test.inc: Add drem and pow10 to list of tested
65769 functions.
65770 (pow10_test): New function.
65771 (drem_test): Likewise.
65772 (drem_test_tonearest): Likewise.
65773 (drem_test_towardzero): Likewise.
65774 (drem_test_downward): Likewise.
65775 (drem_test_upward): Likewise.
65776 (main): Call the new functions.
65777
65778 * math/libm-test.inc (finite_test_data): Remove.
65779 (finite_test): Run tests from isfinite_test_data.
65780 (gamma_test_data): Remove.
65781 (gamma_test): Run tests from lgamma_test_data.
65782 * sysdeps/i386/fpu/libm-test-ulps: Update.
65783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65784
65785 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65786
65787 * manual/platform.texi: Add PowerPC PPR function set documentation.
65788 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
65789 implementation.
65790
65791 2013-05-24 Carlos O'Donell <carlos@redhat.com>
65792
65793 * math/libm-test.inc (MAX_EXP): Define.
65794 (ULPDIFF): Define.
65795 (ulp): New function.
65796 (check_float_internal): Use ULPDIFF.
65797 (cpow_test): Disable failing test.
65798 (check_ulp): Test ulp() implementation.
65799 (main): Call check_ulp before starting tests.
65800
65801 2013-05-24 Joseph Myers <joseph@codesourcery.com>
65802
65803 * math/gen-libm-test.pl (generate_testfile): Do not handle
65804 START_DATA and END_DATA.
65805 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
65806 END_DATA.
65807 (acos_tonearest_test_data): Likewise.
65808 (acos_towardzero_test_data): Likewise.
65809 (acos_downward_test_data): Likewise.
65810 (acos_upward_test_data): Likewise.
65811 (acosh_test_data): Likewise.
65812 (asin_test_data): Likewise.
65813 (asin_tonearest_test_data): Likewise.
65814 (asin_towardzero_test_data): Likewise.
65815 (asin_downward_test_data): Likewise.
65816 (asin_upward_test_data): Likewise.
65817 (asinh_test_data): Likewise.
65818 (atan_test_data): Likewise.
65819 (atanh_test_data): Likewise.
65820 (atan2_test_data): Likewise.
65821 (cabs_test_data): Likewise.
65822 (cacos_test_data): Likewise.
65823 (cacosh_test_data): Likewise.
65824 (carg_test_data): Likewise.
65825 (casin_test_data): Likewise.
65826 (casinh_test_data): Likewise.
65827 (catan_test_data): Likewise.
65828 (catanh_test_data): Likewise.
65829 (cbrt_test_data): Likewise.
65830 (ccos_test_data): Likewise.
65831 (ccosh_test_data): Likewise.
65832 (ceil_test_data): Likewise.
65833 (cexp_test_data): Likewise.
65834 (cimag_test_data): Likewise.
65835 (clog_test_data): Likewise.
65836 (clog10_test_data): Likewise.
65837 (conj_test_data): Likewise.
65838 (copysign_test_data): Likewise.
65839 (cos_test_data): Likewise.
65840 (cos_tonearest_test_data): Likewise.
65841 (cos_towardzero_test_data): Likewise.
65842 (cos_downward_test_data): Likewise.
65843 (cos_upward_test_data): Likewise.
65844 (cosh_test_data): Likewise.
65845 (cosh_tonearest_test_data): Likewise.
65846 (cosh_towardzero_test_data): Likewise.
65847 (cosh_downward_test_data): Likewise.
65848 (cosh_upward_test_data): Likewise.
65849 (cpow_test_data): Likewise.
65850 (cproj_test_data): Likewise.
65851 (creal_test_data): Likewise.
65852 (csin_test_data): Likewise.
65853 (csinh_test_data): Likewise.
65854 (csqrt_test_data): Likewise.
65855 (ctan_test_data): Likewise.
65856 (ctan_tonearest_test_data): Likewise.
65857 (ctan_towardzero_test_data): Likewise.
65858 (ctan_downward_test_data): Likewise.
65859 (ctan_upward_test_data): Likewise.
65860 (ctanh_test_data): Likewise.
65861 (ctanh_tonearest_test_data): Likewise.
65862 (ctanh_towardzero_test_data): Likewise.
65863 (ctanh_downward_test_data): Likewise.
65864 (ctanh_upward_test_data): Likewise.
65865 (erf_test_data): Likewise.
65866 (erfc_test_data): Likewise.
65867 (exp_test_data): Likewise.
65868 (exp_tonearest_test_data): Likewise.
65869 (exp_towardzero_test_data): Likewise.
65870 (exp_downward_test_data): Likewise.
65871 (exp_upward_test_data): Likewise.
65872 (exp10_test_data): Likewise.
65873 (exp2_test_data): Likewise.
65874 (expm1_test_data): Likewise.
65875 (fabs_test_data): Likewise.
65876 (fdim_test_data): Likewise.
65877 (finite_test_data): Likewise.
65878 (floor_test_data): Likewise.
65879 (fma_test_data): Likewise.
65880 (fma_towardzero_test_data): Likewise.
65881 (fma_downward_test_data): Likewise.
65882 (fma_upward_test_data): Likewise.
65883 (fmax_test_data): Likewise.
65884 (fmin_test_data): Likewise.
65885 (fmod_test_data): Likewise.
65886 (fpclassify_test_data): Likewise.
65887 (frexp_test_data): Likewise.
65888 (gamma_test_data): Likewise.
65889 (hypot_test_data): Likewise.
65890 (ilogb_test_data): Likewise.
65891 (isfinite_test_data): Likewise.
65892 (isgreater_test_data): Likewise.
65893 (isgreaterequal_test_data): Likewise.
65894 (isinf_test_data): Likewise.
65895 (isless_test_data): Likewise.
65896 (islessequal_test_data): Likewise.
65897 (islessgreater_test_data): Likewise.
65898 (isnan_test_data): Likewise.
65899 (isnormal_test_data): Likewise.
65900 (issignaling_test_data): Likewise.
65901 (isunordered_test_data): Likewise.
65902 (j0_test_data): Likewise.
65903 (j1_test_data): Likewise.
65904 (jn_test_data): Likewise.
65905 (ldexp_test_data): Likewise.
65906 (lgamma_test_data): Likewise.
65907 (lrint_test_data): Likewise.
65908 (lrint_tonearest_test_data): Likewise.
65909 (lrint_towardzero_test_data): Likewise.
65910 (lrint_downward_test_data): Likewise.
65911 (lrint_upward_test_data): Likewise.
65912 (llrint_test_data): Likewise.
65913 (llrint_tonearest_test_data): Likewise.
65914 (llrint_towardzero_test_data): Likewise.
65915 (llrint_downward_test_data): Likewise.
65916 (llrint_upward_test_data): Likewise.
65917 (log_test_data): Likewise.
65918 (log10_test_data): Likewise.
65919 (log1p_test_data): Likewise.
65920 (log2_test_data): Likewise.
65921 (logb_test_data): Likewise.
65922 (logb_downward_test_data): Likewise.
65923 (lround_test_data): Likewise.
65924 (llround_test_data): Likewise.
65925 (modf_test_data): Likewise.
65926 (nearbyint_test_data): Likewise.
65927 (nextafter_test_data): Likewise.
65928 (nexttoward_test_data): Likewise.
65929 (pow_test_data): Likewise.
65930 (pow_tonearest_test_data): Likewise.
65931 (pow_towardzero_test_data): Likewise.
65932 (pow_downward_test_data): Likewise.
65933 (pow_upward_test_data): Likewise.
65934 (remainder_test_data): Likewise.
65935 (remainder_tonearest_test_data): Likewise.
65936 (remainder_towardzero_test_data): Likewise.
65937 (remainder_downward_test_data): Likewise.
65938 (remainder_upward_test_data): Likewise.
65939 (remquo_test_data): Likewise.
65940 (rint_test_data): Likewise.
65941 (rint_tonearest_test_data): Likewise.
65942 (rint_towardzero_test_data): Likewise.
65943 (rint_downward_test_data): Likewise.
65944 (rint_upward_test_data): Likewise.
65945 (round_test_data): Likewise.
65946 (scalb_test_data): Likewise.
65947 (scalbn_test_data): Likewise.
65948 (scalbln_test_data): Likewise.
65949 (signbit_test_data): Likewise.
65950 (sin_test_data): Likewise.
65951 (sin_tonearest_test_data): Likewise.
65952 (sin_towardzero_test_data): Likewise.
65953 (sin_downward_test_data): Likewise.
65954 (sin_upward_test_data): Likewise.
65955 (sincos_test_data): Likewise.
65956 (sinh_test_data): Likewise.
65957 (sinh_tonearest_test_data): Likewise.
65958 (sinh_towardzero_test_data): Likewise.
65959 (sinh_downward_test_data): Likewise.
65960 (sinh_upward_test_data): Likewise.
65961 (sqrt_test_data): Likewise.
65962 (tan_test_data): Likewise.
65963 (tan_tonearest_test_data): Likewise.
65964 (tan_towardzero_test_data): Likewise.
65965 (tan_downward_test_data): Likewise.
65966 (tan_upward_test_data): Likewise.
65967 (tanh_test_data): Likewise.
65968 (tgamma_test_data): Likewise.
65969 (trunc_test_data): Likewise.
65970 (y0_test_data): Likewise.
65971 (y1_test_data): Likewise.
65972 (yn_test_data): Likewise.
65973 (significand_test_data): Likewise.
65974
65975 * math/gen-libm-test.pl (@functions): Remove variable.
65976 (generate_testfile): Don't handle START and END lines.
65977 * math/libm-test.inc (START): New macro.
65978 (END): Likewise.
65979 (END_COMPLEX): Likewise.
65980 (acos_test): Use END macro without arguments.
65981 (acos_test_tonearest): Likewise.
65982 (acos_test_towardzero): Likewise.
65983 (acos_test_downward): Likewise.
65984 (acos_test_upward): Likewise.
65985 (acosh_test): Likewise.
65986 (asin_test): Likewise.
65987 (asin_test_tonearest): Likewise.
65988 (asin_test_towardzero): Likewise.
65989 (asin_test_downward): Likewise.
65990 (asin_test_upward): Likewise.
65991 (asinh_test): Likewise.
65992 (atan_test): Likewise.
65993 (atanh_test): Likewise.
65994 (atan2_test): Likewise.
65995 (cabs_test): Likewise.
65996 (cacos_test): Use END_COMPLEX macro without arguments.
65997 (cacosh_test): Likewise.
65998 (carg_test): Use END macro without arguments.
65999 (casin_test): Use END_COMPLEX macro without arguments.
66000 (casinh_test): Likewise.
66001 (catan_test): Likewise.
66002 (catanh_test): Likewise.
66003 (cbrt_test): Use END macro without arguments.
66004 (ccos_test): Use END_COMPLEX macro without arguments.
66005 (ccosh_test): Likewise.
66006 (ceil_test): Use END macro without arguments.
66007 (cexp_test): Use END_COMPLEX macro without arguments.
66008 (cimag_test): Use END macro without arguments.
66009 (clog_test): Use END_COMPLEX macro without arguments.
66010 (clog10_test): Likewise.
66011 (conj_test): Likewise.
66012 (copysign_test): Use END macro without arguments.
66013 (cos_test): Likewise.
66014 (cos_test_tonearest): Likewise.
66015 (cos_test_towardzero): Likewise.
66016 (cos_test_downward): Likewise.
66017 (cos_test_upward): Likewise.
66018 (cosh_test): Likewise.
66019 (cosh_test_tonearest): Likewise.
66020 (cosh_test_towardzero): Likewise.
66021 (cosh_test_downward): Likewise.
66022 (cosh_test_upward): Likewise.
66023 (cpow_test): Use END_COMPLEX macro without arguments.
66024 (cproj_test): Likewise.
66025 (creal_test): Use END macro without arguments.
66026 (csin_test): Use END_COMPLEX macro without arguments.
66027 (csinh_test): Likewise.
66028 (csqrt_test): Likewise.
66029 (ctan_test): Likewise.
66030 (ctan_test_tonearest): Likewise.
66031 (ctan_test_towardzero): Likewise.
66032 (ctan_test_downward): Likewise.
66033 (ctan_test_upward): Likewise.
66034 (ctanh_test): Likewise.
66035 (ctanh_test_tonearest): Likewise.
66036 (ctanh_test_towardzero): Likewise.
66037 (ctanh_test_downward): Likewise.
66038 (ctanh_test_upward): Likewise.
66039 (erf_test): Use END macro without arguments.
66040 (erfc_test): Likewise.
66041 (exp_test): Likewise.
66042 (exp_test_tonearest): Likewise.
66043 (exp_test_towardzero): Likewise.
66044 (exp_test_downward): Likewise.
66045 (exp_test_upward): Likewise.
66046 (exp10_test): Likewise.
66047 (exp2_test): Likewise.
66048 (expm1_test): Likewise.
66049 (fabs_test): Likewise.
66050 (fdim_test): Likewise.
66051 (finite_test): Likewise.
66052 (floor_test): Likewise.
66053 (fma_test): Likewise.
66054 (fma_test_towardzero): Likewise.
66055 (fma_test_downward): Likewise.
66056 (fma_test_upward): Likewise.
66057 (fmax_test): Likewise.
66058 (fmin_test): Likewise.
66059 (fmod_test): Likewise.
66060 (fpclassify_test): Likewise.
66061 (frexp_test): Likewise.
66062 (gamma_test): Likewise.
66063 (hypot_test): Likewise.
66064 (ilogb_test): Likewise.
66065 (isfinite_test): Likewise.
66066 (isgreater_test): Likewise.
66067 (isgreaterequal_test): Likewise.
66068 (isinf_test): Likewise.
66069 (isless_test): Likewise.
66070 (islessequal_test): Likewise.
66071 (islessgreater_test): Likewise.
66072 (isnan_test): Likewise.
66073 (isnormal_test): Likewise.
66074 (issignaling_test): Likewise.
66075 (isunordered_test): Likewise.
66076 (j0_test): Likewise.
66077 (j1_test): Likewise.
66078 (jn_test): Likewise.
66079 (ldexp_test): Likewise.
66080 (lgamma_test): Likewise.
66081 (lrint_test): Likewise.
66082 (lrint_test_tonearest): Likewise.
66083 (lrint_test_towardzero): Likewise.
66084 (lrint_test_downward): Likewise.
66085 (lrint_test_upward): Likewise.
66086 (llrint_test): Likewise.
66087 (llrint_test_tonearest): Likewise.
66088 (llrint_test_towardzero): Likewise.
66089 (llrint_test_downward): Likewise.
66090 (llrint_test_upward): Likewise.
66091 (log_test): Likewise.
66092 (log10_test): Likewise.
66093 (log1p_test): Likewise.
66094 (log2_test): Likewise.
66095 (logb_test): Likewise.
66096 (logb_test_downward): Likewise.
66097 (lround_test): Likewise.
66098 (llround_test): Likewise.
66099 (modf_test): Likewise.
66100 (nearbyint_test): Likewise.
66101 (nextafter_test): Likewise.
66102 (nexttoward_test): Likewise.
66103 (pow_test): Likewise.
66104 (pow_test_tonearest): Likewise.
66105 (pow_test_towardzero): Likewise.
66106 (pow_test_downward): Likewise.
66107 (pow_test_upward): Likewise.
66108 (remainder_test): Likewise.
66109 (remainder_test_tonearest): Likewise.
66110 (remainder_test_towardzero): Likewise.
66111 (remainder_test_downward): Likewise.
66112 (remainder_test_upward): Likewise.
66113 (remquo_test): Likewise.
66114 (rint_test): Likewise.
66115 (rint_test_tonearest): Likewise.
66116 (rint_test_towardzero): Likewise.
66117 (rint_test_downward): Likewise.
66118 (rint_test_upward): Likewise.
66119 (round_test): Likewise.
66120 (scalb_test): Likewise.
66121 (scalbn_test): Likewise.
66122 (scalbln_test): Likewise.
66123 (signbit_test): Likewise.
66124 (sin_test): Likewise.
66125 (sin_test_tonearest): Likewise.
66126 (sin_test_towardzero): Likewise.
66127 (sin_test_downward): Likewise.
66128 (sin_test_upward): Likewise.
66129 (sincos_test): Likewise.
66130 (sinh_test): Likewise.
66131 (sinh_test_tonearest): Likewise.
66132 (sinh_test_towardzero): Likewise.
66133 (sinh_test_downward): Likewise.
66134 (sinh_test_upward): Likewise.
66135 (sqrt_test): Likewise.
66136 (tan_test): Likewise.
66137 (tan_test_tonearest): Likewise.
66138 (tan_test_towardzero): Likewise.
66139 (tan_test_downward): Likewise.
66140 (tan_test_upward): Likewise.
66141 (tanh_test): Likewise.
66142 (tgamma_test): Likewise.
66143 (trunc_test): Likewise.
66144 (y0_test): Likewise.
66145 (y1_test): Likewise.
66146 (yn_test): Likewise.
66147 (significand_test): Likewise.
66148
66149 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
66150
66151 [BZ #15381]
66152 * libio/genops.c (_IO_no_init): Initialize wide struct info.
66153
66154 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
66155
66156 [BZ #14894]
66157 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
66158 __ppc_mdoio and __ppc_mdoom.
66159 * manual/platform.texi: Document new functions __ppc_yield,
66160 __ppc_mdoio and __ppc_mdoom.
66161
66162 2013-05-22 Carlos O'Donell <carlos@redhat.com>
66163
66164 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
66165 (main): Mention "tls" pseudo-hwcap is legacy.
66166 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
66167
66168 2013-05-22 Joseph Myers <joseph@codesourcery.com>
66169
66170 * math/gen-libm-test.pl (parse_args): Output only string of
66171 arguments as text for test name, not full call or descriptions of
66172 tests for extra outputs.
66173 (generate_testfile): Do not pass function name to parse_args.
66174 Generate this_func variable from START.
66175 * math/libm-test.inc (struct test_f_f_data): Rename test_name
66176 field to arg_str.
66177 (struct test_ff_f_data): Likewise.
66178 (test_ff_f_data_nexttoward): Likewise.
66179 (struct test_fi_f_data): Likewise.
66180 (struct test_fl_f_data): Likewise.
66181 (struct test_if_f_data): Likewise.
66182 (struct test_fff_f_data): Likewise.
66183 (struct test_c_f_data): Likewise.
66184 (struct test_f_f1_data): Likewise. Remove field extra_name.
66185 (struct test_fF_f1_data): Likewise.
66186 (struct test_ffI_f1_data): Likewise.
66187 (struct test_c_c_data): Rename test_name field to arg_str.
66188 (struct test_cc_c_data): Likewise.
66189 (struct test_f_i_data): Likewise.
66190 (struct test_ff_i_data): Likewise.
66191 (struct test_f_l_data): Likewise.
66192 (struct test_f_L_data): Likewise.
66193 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
66194 and extra2_name.
66195 (COMMON_TEST_SETUP): New macro.
66196 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
66197 (COMMON_TEST_CLEANUP): Likewise.
66198 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
66199 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
66200 macros.
66201 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
66202 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
66203 macros.
66204 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
66205 (RUN_TEST_fff_f): Take argument string. Call new setup and
66206 cleanup macros.
66207 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
66208 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
66209 macros.
66210 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
66211 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
66212 macros.
66213 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66214 (RUN_TEST_fF_f1): Take argument string. Call new setup and
66215 cleanup macros.
66216 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66217 (RUN_TEST_fI_f1): Take argument string. Call new setup and
66218 cleanup macros.
66219 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66220 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
66221 cleanup macros.
66222 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66223 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
66224 macros.
66225 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
66226 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
66227 macros.
66228 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
66229 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
66230 macros.
66231 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
66232 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
66233 cleanup macros.
66234 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
66235 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
66236 cleanup macros.
66237 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
66238 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
66239 macros.
66240 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
66241 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
66242 cleanup macros.
66243 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
66244 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
66245 macros.
66246 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
66247 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
66248 macros.
66249 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
66250 (RUN_TEST_fFF_11): Take argument string. Call new setup and
66251 cleanup macros.
66252 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
66253
66254 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
66255
66256 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
66257 to _sifields.sigfault.
66258 (si_addr_lsb): Define new macro.
66259 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
66260 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66261 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
66262
66263 2013-05-03 Carlos O'Donell <carlos at redhat.com>
66264
66265 [BZ #15441]
66266 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
66267 returns -1.
66268 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
66269 null return -1.
66270 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
66271 loading the domain.
66272
66273 2013-05-22 Joseph Myers <joseph@codesourcery.com>
66274
66275 * math/gen-libm-test.pl (parse_args): Do not include expected
66276 result in test name.
66277 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
66278 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66279 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66280 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66281 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66283
66284 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
66285
66286 * benchtests/Makefile: Sort function entries.
66287
66288 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
66289 tanh, asinh, acosh, atanh.
66290 * benchtests/acos-inputs: New file.
66291 * benchtests/acosh-inputs: New file.
66292 * benchtests/asin-inputs: New file.
66293 * benchtests/asinh-inputs: New file.
66294 * benchtests/atanh-inputs: New file.
66295 * benchtests/cosh-inputs: New file.
66296 * benchtests/log-inputs: New file.
66297 * benchtests/sinh-inputs: New file.
66298 * benchtests/tanh-inputs: New file.
66299
66300 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
66301
66302 [BZ #15339]
66303 * posix/tst-getaddrinfo4.c: New test.
66304 * posix/Makefile (tests): Add it.
66305
66306 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
66307
66308 [BZ #15339]
66309 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
66310 when no services were used.
66311 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
66312 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
66313
66314 2013-05-21 Andreas Schwab <schwab@suse.de>
66315
66316 [BZ #15014]
66317 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
66318 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
66319 successful.
66320 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
66321 redundant variable declarations and reallocation of buffer when
66322 parsing as IPv6 address. Always set NSS status when called from
66323 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
66324 buffer too small. Correct computation of needed size.
66325 * nss/Makefile (tests): Add test-digits-dots.
66326 * nss/test-digits-dots.c: New test.
66327
66328 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
66329
66330 * benchtests/Makefile: Remove instructions for adding
66331 benchmark tests.
66332 * benchtests/README: New file to explain how to execute and
66333 enhance the benchmark tests.
66334
66335 2013-05-21 Andreas Schwab <schwab@suse.de>
66336
66337 [BZ #15493]
66338 * setjmp/Makefile (tests): Add tst-sigsetjmp.
66339 * setjmp/tst-sigsetjmp.c: New test.
66340
66341 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
66342
66343 * sysdeps/x86_64/memset.S (memset): New implementation.
66344 (__bzero): Likewise.
66345 (__memset_tail): New function.
66346
66347 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
66348
66349 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
66350 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
66351 __memcpy_sse2_unaligned ifunc selection.
66352 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
66353 Add memcpy-sse2-unaligned.S.
66354 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
66355 Add: __memcpy_sse2_unaligned.
66356
66357 2013-05-19 Joseph Myers <joseph@codesourcery.com>
66358
66359 [BZ #15490]
66360 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
66361 math_force_eval before restoring floating-point envrionment.
66362 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
66363 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
66364 Likewise.
66365 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
66366 <math_private.h>.
66367 (__nearbyintl): Use math_force_eval before restoring
66368 floating-point environment.
66369 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
66370
66371 * math/gen-libm-test.pl (special_functions): Remove.
66372 (parse_args): Don't handle TEST_extra. Handle functions with no
66373 return value.
66374 * math/libm-test.inc (struct test_sincos_data): Replace with
66375 struct test_fFF_11_data.
66376 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
66377 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
66378 (sincos_test_data): Change element type to struct
66379 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
66380 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
66381 RUN_TEST_LOOP_sincos.
66382 * math/README.libm-test: Don't mention special handling of
66383 individual functions.
66384 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
66385 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66386 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66387 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66388 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66390
66391 * math/gen-libm-test.pl (get_variable): Remove function.
66392 (parse_args): Don't show pointer parameters to call in test
66393 names. Use "extra output N" in test names for extra outputs
66394 rather than naming variables.
66395
66396 2013-05-18 Joseph Myers <joseph@codesourcery.com>
66397
66398 [BZ #15488]
66399 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
66400 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
66401 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
66402 double tests.
66403 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
66404 disable.
66405 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
66406 check_long_double.
66407
66408 * math/gen-libm-test.pl (@tests): Remove variable.
66409 ($count): Likewise.
66410 (new_test): Remove function.
66411 (show_exceptions): New function.
66412 (special_functions): Use show_exceptions instead of new_test.
66413 (parse_args): Likewise.
66414 (generate_testfile): Pass only function name in generated call to
66415 print_max_error or print_complex_max_error.
66416 (get_ulps): Do not handle complex tests specially.
66417 (output_test): Rename to ...
66418 (get_all_ulps_for_test): ... this. Return a string rather than
66419 printing to a file. Require ulps to be present.
66420 (output_ulps): Generate arrays rather than #defines.
66421 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
66422 (struct ulp_data): New type.
66423 (BUILD_COMPLEX_ULP): Remove macro.
66424 (compare_ulp_data): New function.
66425 (find_ulps): Likewise.
66426 (find_test_ulps): Likewise.
66427 (find_function_ulps): Likewise.
66428 (find_complex_function_ulps): Likewise.
66429 (print_max_error): Determine allowed ulps using
66430 find_function_ulps.
66431 (print_complex_max_error): Determine allowed ulps using
66432 find_complex_function_ulps.
66433 (check_float_internal): Determine max ulps using find_test_ulps.
66434 (check_float): Do not take max_ulp parameter. Update call to
66435 check_float_internal.
66436 (check_complex): Likewise.
66437 (check_int): Do not take max_ulp parameter.
66438 (check_long): Likewise.
66439 (check_bool): Likewise.
66440 (check_longlong): Likewise.
66441 (struct test_f_f_data): Remove max_ulp field.
66442 (struct test_ff_f_data): Likewise.
66443 (struct test_ff_f_data_nexttoward): Likewise.
66444 (struct test_fi_f_data): Likewise.
66445 (struct test_fl_f_data): Likewise.
66446 (struct test_if_f_data): Likewise.
66447 (struct test_fff_f_data): Likewise.
66448 (struct test_c_f_data): Likewise.
66449 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
66450 (struct test_fF_f1_data): Likewise.
66451 (struct test_ffI_f1_data): Likewise.
66452 (struct test_c_c_data): Remove max_ulp field.
66453 (struct test_cc_c_data): Likewise.
66454 (struct test_f_i_data): Likewise.
66455 (struct test_ff_i_data): Likewise.
66456 (struct test_f_l_data): Likewise.
66457 (struct test_f_L_data): Likewise.
66458 (struct test_sincos_data): Likewise.
66459 (RUN_TEST_f_f): Do not handle ulps.
66460 (RUN_TEST_LOOP_f_f): Likewise.
66461 (RUN_TEST_2_f): Likewise.
66462 (RUN_TEST_LOOP_2_f): Likewise.
66463 (RUN_TEST_fff_f): Likewise.
66464 (RUN_TEST_LOOP_fff_f): Likewise.
66465 (RUN_TEST_c_f): Likewise.
66466 (RUN_TEST_LOOP_c_f): Likewise.
66467 (RUN_TEST_f_f1): Likewise.
66468 (RUN_TEST_LOOP_f_f1): Likewise.
66469 (RUN_TEST_fF_f1): Likewise.
66470 (RUN_TEST_LOOP_fF_f1): Likewise.
66471 (RUN_TEST_fI_f1): Likewise.
66472 (RUN_TEST_LOOP_fI_f1): Likewise.
66473 (RUN_TEST_ffI_f1): Likewise.
66474 (RUN_TEST_LOOP_ffI_f1): Likewise.
66475 (RUN_TEST_c_c): Likewise.
66476 (RUN_TEST_LOOP_c_c): Likewise.
66477 (RUN_TEST_cc_c): Likewise.
66478 (RUN_TEST_LOOP_cc_c): Likewise.
66479 (RUN_TEST_f_i): Likewise.
66480 (RUN_TEST_LOOP_f_i): Likewise.
66481 (RUN_TEST_f_i_tg): Likewise.
66482 (RUN_TEST_LOOP_f_i_tg): Likewise.
66483 (RUN_TEST_ff_i_tg): Likewise.
66484 (RUN_TEST_LOOP_ff_i_tg): Likewise.
66485 (RUN_TEST_f_b): Likewise.
66486 (RUN_TEST_LOOP_f_b): Likewise.
66487 (RUN_TEST_f_b_tg): Likewise.
66488 (RUN_TEST_LOOP_f_b_tg): Likewise.
66489 (RUN_TEST_f_l): Likewise.
66490 (RUN_TEST_LOOP_f_l): Likewise.
66491 (RUN_TEST_f_L): Likewise.
66492 (RUN_TEST_LOOP_f_L): Likewise.
66493 (RUN_TEST_sincos): Likewise.
66494 (RUN_TEST_LOOP_sincos): Likewise.
66495
66496 2013-05-17 Joseph Myers <joseph@codesourcery.com>
66497
66498 [BZ #15480]
66499 [BZ #15485]
66500 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
66501 main case of finite arguments, set rounding mode to FE_TONEAREST
66502 and discard exceptions.
66503 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
66504 exceptions.
66505 (remainder_tonearest_test_data): New variable.
66506 (remainder_test_tonearest): New function.
66507 (remainder_towardzero_test_data): New variable.
66508 (remainder_test_towardzero): New function.
66509 (remainder_downward_test_data): New variable.
66510 (remainder_test_downward): New function.
66511 (remainder_upward_test_data): New variable.
66512 (remainder_test_upward): New function.
66513 (main): Call the new test functions.
66514
66515 * math/libm-test.inc (struct test_f_f1_data): Remove field
66516 extra_init.
66517 (struct test_fF_f1_data): Likewise.
66518 (struct test_ffI_f1_data): Likewise.
66519 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
66520 based on value of EXTRA_EXPECTED.
66521 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66522 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
66523 EXTRA_VAR based on value of EXTRA_EXPECTED.
66524 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66525 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
66526 EXTRA_VAR based on value of EXTRA_EXPECTED.
66527 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66528 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
66529 EXTRA_VAR based on value of EXTRA_EXPECTED.
66530 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66531 * math/gen-libm-test.pl (parse_args): Don't output initializers
66532 for extra output values.
66533
66534 * math/libm-test.inc (check_int): Expect result to be exactly
66535 equal to expected value and do not handle ulps.
66536 (check_long): Likewise.
66537 (check_longlong): Likewise.
66538
66539 * math/libm-test.inc (ceil_test_data): Test for "inexact"
66540 exceptions.
66541 (cimag_test_data): Likewise.
66542 (conj_test_data): Likewise.
66543 (copysign_test_data): Likewise.
66544 (cproj_test_data): Likewise.
66545 (creal_test_data): Likewise.
66546 (fabs_test_data): Likewise.
66547 (fdim_test_data): Likewise.
66548 (finite_test_data): Likewise.
66549 (floor_test_data): Likewise.
66550 (fmax_test_data): Likewise.
66551 (fmin_test_data): Likewise.
66552 (fmod_test_data): Likewise.
66553 (fpclassify_test_data): Likewise.
66554 (frexp_test_data): Likewise.
66555 (ilogb_test_data): Likewise.
66556 (isfinite_test_data): Likewise.
66557 (isgreater_test_data): Likewise.
66558 (isgreaterequal_test_data): Likewise.
66559 (isinf_test_data): Likewise.
66560 (isless_test_data): Likewise.
66561 (islessequal_test_data): Likewise.
66562 (islessgreater_test_data): Likewise.
66563 (isnan_test_data): Likewise.
66564 (isnormal_test_data): Likewise.
66565 (issignaling_test_data): Likewise.
66566 (isunordered_test_data): Likewise.
66567 (ldexp_test_data): Likewise.
66568 (lrint_test_data): Likewise.
66569 (lrint_test_data) [TEST_FLOAT]: Disable one test.
66570 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
66571 (lrint_tonearest_test_data): Test for "inexact" exceptions.
66572 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66573 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
66574 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66575 test input.
66576 (lrint_towardzero_test_data): Test for "inexact" exceptions.
66577 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66578 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
66579 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
66580 that test input.
66581 (lrint_downward_test_data): Test for "inexact" exceptions.
66582 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66583 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
66584 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66585 test input.
66586 (lrint_upward_test_data): Test for "inexact" exceptions.
66587 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
66588 test input.
66589 (llrint_test_data): Test for "inexact" exceptions.
66590 (llrint_test_data) [TEST_FLOAT]: Disable one test.
66591 (llrint_tonearest_test_data): Test for "inexact" exceptions.
66592 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66593 (llrint_towardzero_test_data): Test for "inexact" exceptions.
66594 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66595 (llrint_downward_test_data): Test for "inexact" exceptions.
66596 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66597 (llrint_upward_test_data): Test for "inexact" exceptions.
66598 (logb_test_data): Likewise.
66599 (logb_downward_test_data): Likewise.
66600 (nextafter_test_data): Likewise.
66601 (nexttoward_test_data): Likewise.
66602 (remainder_test_data): Likewise.
66603 (remquo_test_data): Likewise.
66604 (scalbn_test_data): Likewise.
66605 (scalbln_test_data): Likewise.
66606 (signbit_test_data): Likewise.
66607 (sqrt_test_data): Likewise.
66608 (significand_test_data): Likewise.
66609
66610 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
66611
66612 [BZ #15424]
66613 * benchtests/bench-modf.c (struct args): Mark arg0 as
66614 volatile.
66615 * scripts/bench.pl: Mark members of struct args as volatile.
66616
66617 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66618
66619 [BZ # 15497]
66620 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
66621 negative infinity on POWER6 or lower.
66622 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
66623
66624 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
66625
66626 [BZ #15442]
66627 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
66628 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
66629 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
66630 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
66631 (_FP_SETQNAN): New macro.
66632 (_FP_SETQNAN_SEMIRAW): Likewise.
66633 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
66634 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
66635 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
66636 (FP_EXTEND): Use _FP_FRAC_SNANP.
66637 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
66638 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
66639 into account.
66640 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66641 New macro.
66642 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66643 Likewise.
66644
66645 2013-05-16 Joseph Myers <joseph@codesourcery.com>
66646
66647 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
66648 with DIVIDE_BY_ZERO_EXCEPTION.
66649 (gamma_test_data): Likewise.
66650 (lgamma_test_data): Likewise.
66651 (log_test_data): Likewise.
66652 (log10_test_data): Likewise.
66653 (log2_test_data): Likewise.
66654 (tgamma_test_data): Likewise.
66655
66656 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
66657 (acos_test_tonearest): Likewise.
66658 (acos_test_towardzero): Likewise.
66659 (acos_test_downward): Likewise.
66660 (acos_test_upward): Likewise.
66661 (acosh_test): Likewise.
66662 (asin_test): Likewise.
66663 (asin_test_tonearest): Likewise.
66664 (asin_test_towardzero): Likewise.
66665 (asin_test_downward): Likewise.
66666 (asin_test_upward): Likewise.
66667 (asinh_test): Likewise.
66668 (atan_test): Likewise.
66669 (atanh_test): Likewise.
66670 (atan2_test): Likewise.
66671 (cabs_test): Likewise.
66672 (cacos_test): Likewise.
66673 (cacosh_test): Likewise.
66674 (casin_test): Likewise.
66675 (casinh_test): Likewise.
66676 (catan_test): Likewise.
66677 (catanh_test): Likewise.
66678 (cbrt_test): Likewise.
66679 (ccos_test): Likewise.
66680 (ccosh_test): Likewise.
66681 (cexp_test): Likewise.
66682 (clog_test): Likewise.
66683 (clog10_test): Likewise.
66684 (cos_test): Likewise.
66685 (cos_test_tonearest): Likewise.
66686 (cos_test_towardzero): Likewise.
66687 (cos_test_downward): Likewise.
66688 (cos_test_upward): Likewise.
66689 (cosh_test): Likewise.
66690 (cosh_test_tonearest): Likewise.
66691 (cosh_test_towardzero): Likewise.
66692 (cosh_test_downward): Likewise.
66693 (cosh_test_upward): Likewise.
66694 (cpow_test): Likewise.
66695 (csin_test): Likewise.
66696 (csinh_test): Likewise.
66697 (csqrt_test): Likewise.
66698 (ctan_test): Likewise.
66699 (ctan_test_tonearest): Likewise.
66700 (ctan_test_towardzero): Likewise.
66701 (ctan_test_downward): Likewise.
66702 (ctan_test_upward): Likewise.
66703 (ctanh_test): Likewise.
66704 (ctanh_test_tonearest): Likewise.
66705 (ctanh_test_towardzero): Likewise.
66706 (ctanh_test_downward): Likewise.
66707 (ctanh_test_upward): Likewise.
66708 (erf_test): Likewise.
66709 (erfc_test): Likewise.
66710 (exp_test): Likewise.
66711 (exp_test_tonearest): Likewise.
66712 (exp_test_towardzero): Likewise.
66713 (exp_test_downward): Likewise.
66714 (exp_test_upward): Likewise.
66715 (exp10_test): Likewise.
66716 (exp2_test): Likewise.
66717 (expm1_test): Likewise.
66718 (fmod_test): Likewise.
66719 (gamma_test): Likewise.
66720 (hypot_test): Likewise.
66721 (j0_test): Likewise.
66722 (j1_test): Likewise.
66723 (jn_test): Likewise.
66724 (lgamma_test): Likewise.
66725 (log_test): Likewise.
66726 (log10_test): Likewise.
66727 (log1p_test): Likewise.
66728 (log2_test): Likewise.
66729 (logb_test_downward): Likewise.
66730 (pow_test): Likewise.
66731 (pow_test_tonearest): Likewise.
66732 (pow_test_towardzero): Likewise.
66733 (pow_test_downward): Likewise.
66734 (pow_test_upward): Likewise.
66735 (remainder_test): Likewise.
66736 (remquo_test): Likewise.
66737 (sin_test): Likewise.
66738 (sin_test_tonearest): Likewise.
66739 (sin_test_towardzero): Likewise.
66740 (sin_test_downward): Likewise.
66741 (sin_test_upward): Likewise.
66742 (sincos_test): Likewise.
66743 (sinh_test): Likewise.
66744 (sinh_test_tonearest): Likewise.
66745 (sinh_test_towardzero): Likewise.
66746 (sinh_test_downward): Likewise.
66747 (sinh_test_upward): Likewise.
66748 (sqrt_test): Likewise.
66749 (tan_test): Likewise.
66750 (tan_test_tonearest): Likewise.
66751 (tan_test_towardzero): Likewise.
66752 (tan_test_downward): Likewise.
66753 (tan_test_upward): Likewise.
66754 (tanh_test): Likewise.
66755 (tgamma_test): Likewise.
66756 (y0_test): Likewise.
66757 (y1_test): Likewise.
66758 (yn_test): Likewise.
66759
66760 * math/gen-libm-test.pl (adjust_arg): Remove function.
66761 (special_function): Remove argument $in_func. Only handle
66762 generating output for tables of tests, not inside functions.
66763 (parse_args): Likewise.
66764 (generate_testfile): Remove variable $in_func. Update call to
66765 parse_args.
66766 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
66767 (MINUS_ZERO_INIT): Rename macro to minus_zero.
66768 (PLUS_INFTY_INIT): Rename macro to plus_infty.
66769 (MINUS_INFTY_INIT): Rename macro to minus_infty.
66770 (QNAN_VALUE_INIT): Rename macro to qnan_value.
66771 (MAX_VALUE_INIT): Rename macro to max_value.
66772 (MIN_VALUE_INIT): Rename macro to min_value.
66773 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
66774 (plus_zero): Remove variable.
66775 (minus_zero): Likewise.
66776 (plus_infty): Likewise.
66777 (minus_infty): Likewise.
66778 (qnan_value): Likewise.
66779 (max_value): Likewise.
66780 (min_value): Likewise.
66781 (min_subnorm_value): Likewise.
66782
66783 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
66784
66785 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
66786 uint64_t or uint32_t usage.
66787 * crypt/sha256-block.c: Likewise.
66788 * crypt/sha256-crypt.c: Likewise.
66789 * crypt/sha256.c: Likewise.
66790 * crypt/sha512-block.c: Likewise.
66791 * crypt/sha512-crypt.c: Likewise.
66792 * crypt/sha512.c: Likewise.
66793 * debug/backtrace-tst.c: Likewise.
66794 * debug/pcprofiledump.c: Likewise.
66795 * elf/cache.c: Likewise.
66796 * elf/dl-cache.c: Likewise.
66797 * elf/dl-misc.c: Likewise.
66798 * elf/dl-profile.c: Likewise.
66799 * elf/dl-support.c: Likewise.
66800 * elf/ldconfig.c: Likewise.
66801 * elf/sprof.c: Likewise.
66802 * iconv/dummy-repertoire.c: Likewise.
66803 * iconv/iconv_charmap.c: Likewise.
66804 * iconv/skeleton.c: Likewise.
66805 * iconvdata/8bit-generic.c: Likewise.
66806 * iconvdata/cp737.h: Likewise.
66807 * iconvdata/cp775.h: Likewise.
66808 * iconvdata/ibm1008.h: Likewise.
66809 * iconvdata/ibm1025.h: Likewise.
66810 * iconvdata/ibm1046.h: Likewise.
66811 * iconvdata/ibm1097.h: Likewise.
66812 * iconvdata/ibm1112.h: Likewise.
66813 * iconvdata/ibm1122.h: Likewise.
66814 * iconvdata/ibm1123.h: Likewise.
66815 * iconvdata/ibm1124.h: Likewise.
66816 * iconvdata/ibm1129.h: Likewise.
66817 * iconvdata/ibm1130.h: Likewise.
66818 * iconvdata/ibm1132.h: Likewise.
66819 * iconvdata/ibm1133.h: Likewise.
66820 * iconvdata/ibm1137.h: Likewise.
66821 * iconvdata/ibm1140.h: Likewise.
66822 * iconvdata/ibm1141.h: Likewise.
66823 * iconvdata/ibm1142.h: Likewise.
66824 * iconvdata/ibm1143.h: Likewise.
66825 * iconvdata/ibm1144.h: Likewise.
66826 * iconvdata/ibm1145.h: Likewise.
66827 * iconvdata/ibm1146.h: Likewise.
66828 * iconvdata/ibm1147.h: Likewise.
66829 * iconvdata/ibm1148.h: Likewise.
66830 * iconvdata/ibm1149.h: Likewise.
66831 * iconvdata/ibm1153.h: Likewise.
66832 * iconvdata/ibm1154.h: Likewise.
66833 * iconvdata/ibm1155.h: Likewise.
66834 * iconvdata/ibm1156.h: Likewise.
66835 * iconvdata/ibm1157.h: Likewise.
66836 * iconvdata/ibm1158.h: Likewise.
66837 * iconvdata/ibm1160.h: Likewise.
66838 * iconvdata/ibm1161.h: Likewise.
66839 * iconvdata/ibm1162.h: Likewise.
66840 * iconvdata/ibm1163.h: Likewise.
66841 * iconvdata/ibm1164.h: Likewise.
66842 * iconvdata/ibm1166.h: Likewise.
66843 * iconvdata/ibm1167.h: Likewise.
66844 * iconvdata/ibm12712.h: Likewise.
66845 * iconvdata/ibm1390.h: Likewise.
66846 * iconvdata/ibm1399.h: Likewise.
66847 * iconvdata/ibm16804.h: Likewise.
66848 * iconvdata/ibm4517.h: Likewise.
66849 * iconvdata/ibm4899.h: Likewise.
66850 * iconvdata/ibm4909.h: Likewise.
66851 * iconvdata/ibm4971.h: Likewise.
66852 * iconvdata/ibm5347.h: Likewise.
66853 * iconvdata/ibm803.h: Likewise.
66854 * iconvdata/ibm856.h: Likewise.
66855 * iconvdata/ibm901.h: Likewise.
66856 * iconvdata/ibm902.h: Likewise.
66857 * iconvdata/ibm9030.h: Likewise.
66858 * iconvdata/ibm9066.h: Likewise.
66859 * iconvdata/ibm921.h: Likewise.
66860 * iconvdata/ibm922.h: Likewise.
66861 * iconvdata/ibm9448.h: Likewise.
66862 * iconvdata/isiri-3342.h: Likewise.
66863 * iconvdata/jis0201.h: Likewise.
66864 * include/link.h: Likewise.
66865 * include/netdb.h: Likewise.
66866 * inet/check_native.c: Likewise.
66867 * inet/check_pf.c: Likewise.
66868 * inet/getipv4sourcefilter.c: Likewise.
66869 * inet/getnameinfo.c: Likewise.
66870 * inet/getsourcefilter.c: Likewise.
66871 * inet/htonl.c: Likewise.
66872 * inet/setipv4sourcefilter.c: Likewise.
66873 * inet/setsourcefilter.c: Likewise.
66874 * inet/test-inet6_opt.c: Likewise.
66875 * inet/tst-network.c: Likewise.
66876 * locale/C-collate.c: Likewise.
66877 * locale/C-ctype.c: Likewise.
66878 * locale/C-time.c: Likewise.
66879 * locale/C-translit.h: Likewise.
66880 * locale/loadarchive.c: Likewise.
66881 * locale/programs/3level.h: Likewise.
66882 * locale/programs/charmap.c: Likewise.
66883 * locale/programs/charmap.h: Likewise.
66884 * locale/programs/ld-address.c: Likewise.
66885 * locale/programs/ld-collate.c: Likewise.
66886 * locale/programs/ld-ctype.c: Likewise.
66887 * locale/programs/ld-identification.c: Likewise.
66888 * locale/programs/ld-measurement.c: Likewise.
66889 * locale/programs/ld-messages.c: Likewise.
66890 * locale/programs/ld-monetary.c: Likewise.
66891 * locale/programs/ld-name.c: Likewise.
66892 * locale/programs/ld-numeric.c: Likewise.
66893 * locale/programs/ld-paper.c: Likewise.
66894 * locale/programs/ld-telephone.c: Likewise.
66895 * locale/programs/ld-time.c: Likewise.
66896 * locale/programs/linereader.c: Likewise.
66897 * locale/programs/locale.c: Likewise.
66898 * locale/programs/locarchive.c: Likewise.
66899 * locale/programs/locfile.h: Likewise.
66900 * locale/programs/repertoire.c: Likewise.
66901 * locale/programs/simple-hash.c: Likewise.
66902 * locale/programs/simple-hash.h: Likewise.
66903 * malloc/memusage.c: Likewise.
66904 * malloc/memusagestat.c: Likewise.
66905 * nis/nis_defaults.c: Likewise.
66906 * nis/nis_hash.c: Likewise.
66907 * nis/nis_print.c: Likewise.
66908 * nis/nis_xdr.c: Likewise.
66909 * nscd/connections.c: Likewise.
66910 * nscd/hstcache.c: Likewise.
66911 * nscd/nscd_gethst_r.c: Likewise.
66912 * nscd/nscd_getserv_r.c: Likewise.
66913 * nscd/nscd_helper.c: Likewise.
66914 * nscd/servicescache.c: Likewise.
66915 * nss/makedb.c: Likewise.
66916 * nss/nss_db/db-XXX.c: Likewise.
66917 * nss/nss_db/db-initgroups.c: Likewise.
66918 * nss/nss_db/db-netgrp.c: Likewise.
66919 * nss/nss_files/files-network.c: Likewise.
66920 * nss/nss_files/files-parse.c: Likewise.
66921 * posix/bug-regex5.c: Likewise.
66922 * posix/fnmatch_loop.c: Likewise.
66923 * posix/regcomp.c: Likewise.
66924 * posix/regexec.c: Likewise.
66925 * posix/tst-rfc3484-2.c: Likewise.
66926 * posix/tst-rfc3484-3.c: Likewise.
66927 * posix/tst-rfc3484.c: Likewise.
66928 * resolv/nss_dns/dns-canon.c: Likewise.
66929 * resolv/nss_dns/dns-network.c: Likewise.
66930 * resolv/res_init.c: Likewise.
66931 * resolv/res_mkquery.c: Likewise.
66932 * resolv/tst-aton.c: Likewise.
66933 * stdlib/cxa_atexit.c: Likewise.
66934 * stdlib/cxa_finalize.c: Likewise.
66935 * stdlib/gen-fpioconst.c: Likewise.
66936 * stdlib/strtol_l.c: Likewise.
66937 * string/tst-endian.c: Likewise.
66938 * sunrpc/auth_des.c: Likewise.
66939 * sunrpc/clnt_udp.c: Likewise.
66940 * sunrpc/rtime.c: Likewise.
66941 * sunrpc/svcauth_des.c: Likewise.
66942 * sunrpc/xdr.c: Likewise.
66943 * sunrpc/xdr_intXX_t.c: Likewise.
66944 * sunrpc/xdr_rec.c: Likewise.
66945 * sysdeps/generic/ldconfig.h: Likewise.
66946 * sysdeps/generic/ldsodefs.h: Likewise.
66947 * sysdeps/generic/memusage.h: Likewise.
66948 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
66949 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
66950 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
66951 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
66952 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66953 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
66954 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
66955 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
66956 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66957 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
66958 * sysdeps/posix/getaddrinfo.c: Likewise.
66959 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
66960 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66961 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
66962 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
66963 * sysdeps/powerpc/test-gettimebase.c: Likewise.
66964 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
66965 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
66966 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
66967 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
66968 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
66969 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
66970 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
66971 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
66972 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
66973 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
66974 * sysdeps/x86_64/dl-tls.h: Likewise.
66975 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
66976 * time/alt_digit.c: Likewise.
66977 * time/era.c: Likewise.
66978 * wcsmbs/tst-c16c32-1.c: Likewise.
66979
66980 2013-05-16 Joseph Myers <joseph@codesourcery.com>
66981
66982 * math/libm-test.inc (struct test_sincos_data): New type.
66983 (RUN_TEST_LOOP_sincos): New macro.
66984 (sincos_test_data): New variable.
66985 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
66986
66987 2013-05-16 Richard Henderson <rth@redhat.com>
66988
66989 * math/atest-exp2.c (LIMB64): New macro.
66990 (CONSTSZ): New macro.
66991 (mp_exp1, mp_exp_m1, mp_log2): New variables.
66992 (hexdig): Move ...
66993 (print_mpn_fp): ... to function scope.
66994 (read_mpn_hex): Remove.
66995 (get_log2): Remove.
66996 (exp2_mpn): Use mp_log2.
66997 (main): Use mp_exp1.
66998
66999 2013-05-16 Joseph Myers <joseph@codesourcery.com>
67000
67001 * math/libm-test.inc: Remove comment about not testing "inexact"
67002 exceptions.
67003 (INEXACT_EXCEPTION): New macro.
67004 (NO_INEXACT_EXCEPTION): Likewise.
67005 (INVALID_EXCEPTION_OK): Update value.
67006 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67007 (OVERFLOW_EXCEPTION_OK): Likewise.
67008 (UNDERFLOW_EXCEPTION_OK): Likewise.
67009 (IGNORE_ZERO_INF_SIGN): Likewise.
67010 (ERRNO_UNCHANGED): Likewise.
67011 (ERRNO_EDOM): Likewise.
67012 (ERRNO_ERANGE): Likewise.
67013 (test_exceptions): Handle testing "inexact" exceptions.
67014 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
67015 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
67016 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
67017 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
67018 INEXACT_EXCEPTION.
67019 (rint_towardzero_test_data): Likewise.
67020 (rint_downward_test_data): Likewise.
67021 (rint_upward_test_data): Likewise.
67022
67023 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
67024 with OVERFLOW_EXCEPTION.
67025 (exp10_test_data): Likewise.
67026 (exp2_test_data): Likewise.
67027 (expm1_test_data): Likewise.
67028 (lgamma_test_data): Likewise.
67029 (pow_test_data): Likewise.
67030 (tgamma_test_data): Likewise.
67031 (yn_test_data): Remove duplicate test of overflow.
67032
67033 * math/libm-test.inc (struct test_cc_c_data): New type.
67034 (RUN_TEST_LOOP_cc_c): New macro.
67035 (cpow_test_data): New variable.
67036 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
67037
67038 * math/libm-test.inc (struct test_f_L_data): New type.
67039 (RUN_TEST_LOOP_f_L): New macro.
67040 (llrint_test_data): New variable.
67041 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
67042 (llrint_tonearest_test_data): New variable.
67043 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
67044 (llrint_towardzero_test_data): New variable.
67045 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
67046 (llrint_downward_test_data): New variable.
67047 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
67048 (llrint_upward_test_data): New variable.
67049 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
67050 (llround_test_data): New variable.
67051 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
67052
67053 2013-05-13 Peter Collingbourne <pcc@google.com>
67054
67055 * math/atest-exp2.c (get_log2): Remove const attribute.
67056
67057 2013-05-15 Joseph Myers <joseph@codesourcery.com>
67058
67059 * math/libm-test.inc (struct test_f_l_data): New type.
67060 (RUN_TEST_LOOP_f_l): New macro.
67061 (lrint_test_data): New variable.
67062 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
67063 (lrint_tonearest_test_data): New variable.
67064 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
67065 (lrint_towardzero_test_data): New variable.
67066 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
67067 (lrint_downward_test_data): New variable.
67068 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
67069 (lrint_upward_test_data): New variable.
67070 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
67071 (lround_test_data): New variable.
67072 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
67073
67074 2013-05-15 Peter Collingbourne <pcc@google.com>
67075
67076 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
67077 (EXTRACT_WORDS64) Use where appropriate.
67078 (INSERT_WORDS64) Likewise.
67079
67080 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
67081 constraints with x constraints.
67082 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
67083
67084 * malloc/obstack.c (_obstack_compat): Add initializer.
67085
67086 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
67087
67088 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
67089 si_trapno and add si_addr_lsb to _sifields.sigfault.
67090 (si_trapno): Remove macro.
67091 (si_addr_lsb): Define new macro.
67092 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
67093
67094 2013-05-15 Joseph Myers <joseph@codesourcery.com>
67095
67096 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
67097 instead of TEST_f_l.
67098 (llrint_test_tonearest): Likewise.
67099 (llrint_test_towardzero): Likewise.
67100 (llrint_test_downward): Likewise.
67101 (llrint_test_upward): Likewise.
67102 (llround_test): Likewise.
67103
67104 * math/libm-test.inc (struct test_f_i_data): Add comment.
67105 (RUN_TEST_LOOP_f_b): New macro.
67106 (RUN_TEST_LOOP_f_b_tg): Likewise.
67107 (finite_test_data): New variable.
67108 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
67109 (isfinite_test_data): New variable.
67110 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67111 (isinf_test_data): New variable.
67112 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67113 (isnan_test_data): New variable.
67114 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67115 (isnormal_test_data): New variable.
67116 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67117 (issignaling_test_data): New variable.
67118 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67119 (signbit_test_data): New variable.
67120 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67121
67122 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
67123 with INVALID_EXCEPTION.
67124 (acosh_test_data): Likewise.
67125 (asin_test_data): Likewise.
67126 (atanh_test_data): Likewise.
67127 (fmod_test_data): Likewise.
67128 (log_test_data): Likewise.
67129 (log10_test_data): Likewise.
67130 (log2_test_data): Likewise.
67131 (pow_test_data): Likewise.
67132 (sqrt_test_data): Likewise.
67133 (y0_test_data): Likewise.
67134 (y1_test_data): Likewise.
67135 (yn_test_data): Likewise.
67136
67137 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
67138 function contents.
67139
67140 * math/libm-test.inc (struct test_ff_i_data): New type.
67141 (RUN_TEST_LOOP_ff_i_tg): New macro.
67142 (isgreater_test_data): New variable.
67143 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67144 (isgreaterequal_test_data): New variable.
67145 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67146 (isless_test_data): New variable.
67147 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67148 (islessequal_test_data): New variable.
67149 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67150 (islessgreater_test_data): New variable.
67151 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67152 (isunordered_test_data): New variable.
67153 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67154
67155 2013-05-14 David S. Miller <davem@davemloft.net>
67156
67157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67158
67159 2013-05-14 Joseph Myers <joseph@codesourcery.com>
67160
67161 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
67162
67163 * math/libm-test.inc (struct test_fF_f1_data): Change type of
67164 extra_test to int.
67165 (struct test_f_i_data): Change type of max_ulp to int.
67166
67167 * math/libm-test.inc (test_ffI_f1_data): New type.
67168 (RUN_TEST_LOOP_ffI_f1): New macro.
67169 (remquo_test_data): New variable.
67170 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
67171
67172 * setjmp/tst-setjmp-fp.c: New file.
67173 * setjmp/Makefile (tests): Add tst-setjmp-fp.
67174 (link-libm): New variable.
67175 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
67176
67177 * math/libm-test.inc (struct test_f_i_data): New type.
67178 (RUN_TEST_LOOP_f_i): New macro.
67179 (RUN_TEST_LOOP_f_i_tg): Likewise.
67180 (fpclassify_test_data): New variable.
67181 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
67182 (ilogb_test_data): New variable.
67183 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
67184
67185 * math/libm-test.inc (scalbln_test): Correct function name in END
67186 call.
67187
67188 * math/libm-test.inc (struct test_f_f1_data): Add comment.
67189 (RUN_TEST_LOOP_fI_f1): New macro.
67190 (frexp_test_data): New variable.
67191 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
67192
67193 * math/libm-test.inc (struct test_fF_f1_data): New type.
67194 (RUN_TEST_LOOP_fF_f1): New macro.
67195 (modf_test_data): New variable.
67196 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
67197
67198 * math/libm-test.inc (struct test_f_f1_data): New type.
67199 (RUN_TEST_LOOP_f_f1): New macro.
67200 (gamma_test_data): New variable.
67201 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67202 (lgamma_test_data): New variable.
67203 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67204
67205 2013-05-13 Carlos O'Donell <carlos@redhat.com>
67206
67207 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
67208 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
67209 (main): Comment "tls" pseudo-hwcap.
67210
67211 2013-05-13 Joseph Myers <joseph@codesourcery.com>
67212
67213 * math/libm-test.inc (struct test_fl_f_data): New type.
67214 (RUN_TEST_LOOP_fl_f): New variable.
67215 (scalbln_test_data): New variable.
67216 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
67217
67218 * math/libm-test.inc (struct test_fi_f_data): New type.
67219 (RUN_TEST_LOOP_fi_f): New macro.
67220 (ldexp_test_data): New variable.
67221 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
67222 (scalbn_test_data): New variable.
67223 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
67224
67225 * math/libm-test.inc (struct test_c_f_data): New type.
67226 (RUN_TEST_LOOP_c_f): New macro.
67227 (cabs_test_data): New variable.
67228 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
67229 (carg_test_data): New variable.
67230 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
67231 (cimag_test_data): New variable.
67232 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
67233 (creal_test_data): New variable.
67234 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
67235
67236 * math/libm-test.inc (struct test_if_f_data): New type.
67237 (RUN_TEST_LOOP_if_f): New macro.
67238 (jn_test_data): New variable.
67239 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
67240 (yn_test_data): New variable.
67241 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
67242
67243 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
67244
67245 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67246
67247 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
67248 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
67249
67250 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
67251
67252 * benchtests/Makefile (CPPFLAGS-nonlib): Add
67253 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
67254 (bench-deps): Add bench-timing.h.
67255 * benchtests-bench-skeleton.c: Include bench-timing.h.
67256 (main): Use TIMING_* macros instead of clock_gettime.
67257 * benchtests/bench-timing.h: New file.
67258
67259 [BZ #14582]
67260 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
67261 Renamed from _LIB_VERSION.
67262 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
67263
67264 2013-05-12 Joseph Myers <joseph@codesourcery.com>
67265
67266 * math/libm-test.inc (struct test_fff_f_data): New type.
67267 (RUN_TEST_LOOP_fff_f): New macro.
67268 (fma_test_data): New variable.
67269 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
67270 (fma_towardzero_test_data): New variable.
67271 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
67272 (fma_downward_test_data): New variable.
67273 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
67274 (fma_upward_test_data): New variable.
67275 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
67276
67277 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
67278 (struct test_c_c_data): New type.
67279 (RUN_TEST_LOOP_c_c): New macro.
67280 (cacos_test_data): New variable.
67281 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
67282 (cacosh_test_data): New variable.
67283 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
67284 (casin_test_data): New variable.
67285 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
67286 (casinh_test_data): New variable.
67287 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
67288 (catan_test_data): New variable.
67289 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
67290 (catanh_test_data): New variable.
67291 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
67292 (ccos_test_data): New variable.
67293 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
67294 (ccosh_test_data): New variable.
67295 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
67296 (cexp_test_data): New variable.
67297 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
67298 (clog_test_data): New variable.
67299 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
67300 (clog10_test_data): New variable.
67301 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
67302 (conj_test_data): New variable.
67303 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
67304 (cproj_test_data): New variable.
67305 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
67306 (csin_test_data): New variable.
67307 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
67308 (csinh_test_data): New variable.
67309 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
67310 (csqrt_test_data): New variable.
67311 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
67312 (ctan_test_data): New variable.
67313 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
67314 (ctan_tonearest_test_data): New variable.
67315 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67316 (ctan_towardzero_test_data): New variable.
67317 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67318 (ctan_downward_test_data): New variable.
67319 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67320 (ctan_upward_test_data): New variable.
67321 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67322 (ctanh_test_data): New variable.
67323 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
67324 (ctanh_tonearest_test_data): New variable.
67325 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67326 (ctanh_towardzero_test_data): New variable.
67327 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67328 (ctanh_downward_test_data): New variable.
67329 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67330 (ctanh_upward_test_data): New variable.
67331 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67332 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
67333 of BUILD_COMPLEX.
67334
67335 * math/libm-test.inc (struct test_ff_f_data): New type.
67336 (struct test_ff_f_data_nexttoward): Likewise.
67337 (RUN_TEST_LOOP_2_f): New macro.
67338 (RUN_TEST_LOOP_ff_f): Likewise.
67339 (atan2_test_data): New variable.
67340 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
67341 (copysign_test_data): New variable.
67342 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
67343 (fdim_test_data): New variable.
67344 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
67345 (fmax_test_data): New variable.
67346 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
67347 (fmin_test_data): New variable.
67348 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
67349 (fmod_test_data): New variable.
67350 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
67351 (hypot_test_data): New variable.
67352 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
67353 (nextafter_test_data): New variable.
67354 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
67355 (nexttoward_test_data): New variable.
67356 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
67357 (pow_test_data): New variable.
67358 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
67359 (pow_tonearest_test_data): New variable.
67360 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
67361 (pow_towardzero_test_data): New variable.
67362 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
67363 (pow_downward_test_data): New variable.
67364 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
67365 (pow_upward_test_data): New variable.
67366 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
67367 (remainder_test_data): New variable.
67368 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
67369 (scalb_test_data): New variable.
67370 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
67371 * sysdeps/i386/fpu/libm-test-ulps: Update.
67372
67373 2013-05-11 Joseph Myers <joseph@codesourcery.com>
67374
67375 * math/libm-test.inc (fma_test): Use max_value instead of local
67376 variable fltmax.
67377 (nextafter_test): Likewise.
67378
67379 * math/libm-test.inc (acos_towardzero_test_data): New variable.
67380 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67381 (acos_downward_test_data): New variable.
67382 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67383 (acos_upward_test_data): New variable.
67384 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67385 (acosh_test_data): New variable.
67386 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
67387 (asin_test_data): New variable.
67388 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
67389 (asin_tonearest_test_data): New variable.
67390 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67391 (asin_towardzero_test_data): New variable.
67392 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67393 (asin_downward_test_data): New variable.
67394 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67395 (asin_upward_test_data): New variable.
67396 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67397 (asinh_test_data): New variable.
67398 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
67399 (atan_test_data): New variable.
67400 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
67401 (atanh_test_data): New variable.
67402 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
67403 (cbrt_test_data): New variable.
67404 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
67405 (ceil_test_data): New variable.
67406 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
67407 (cos_test_data): New variable.
67408 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
67409 (cos_tonearest_test_data): New variable.
67410 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67411 (cos_towardzero_test_data): New variable.
67412 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67413 (cos_downward_test_data): New variable.
67414 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67415 (cos_upward_test_data): New variable.
67416 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67417 (cosh_test_data): New variable.
67418 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
67419 (cosh_tonearest_test_data): New variable.
67420 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67421 (cosh_towardzero_test_data): New variable.
67422 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67423 (cosh_downward_test_data): New variable.
67424 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67425 (cosh_upward_test_data): New variable.
67426 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67427 (erf_test_data): New variable.
67428 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
67429 (erfc_test_data): New variable.
67430 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
67431 (exp_test_data): New variable.
67432 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
67433 (exp_tonearest_test_data): New variable.
67434 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67435 (exp_towardzero_test_data): New variable.
67436 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67437 (exp_downward_test_data): New variable.
67438 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67439 (exp_upward_test_data): New variable.
67440 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67441 (exp10_test_data): New variable.
67442 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
67443 (exp2_test_data): New variable.
67444 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
67445 (expm1_test_data): New variable.
67446 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
67447 (fabs_test_data): New variable.
67448 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
67449 (floor_test_data): New variable.
67450 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
67451 (j0_test_data): New variable.
67452 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
67453 (j1_test_data): New variable.
67454 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
67455 (log_test_data): New variable.
67456 (log_test): Run tests with RUN_TEST_LOOP_f_f.
67457 (log10_test_data): New variable.
67458 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
67459 (log1p_test_data): New variable.
67460 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
67461 (log2_test_data): New variable.
67462 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
67463 (logb_test_data): New variable.
67464 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
67465 (logb_downward_test_data): New variable.
67466 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67467 (nearbyint_test_data): New variable.
67468 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
67469 (rint_test_data): New variable.
67470 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
67471 (rint_tonearest_test_data): New variable.
67472 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67473 (rint_towardzero_test_data): New variable.
67474 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67475 (rint_downward_test_data): New variable.
67476 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67477 (rint_upward_test_data): New variable.
67478 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67479 (round_test_data): New variable.
67480 (round_test): Run tests with RUN_TEST_LOOP_f_f.
67481 (sin_test_data): New variable.
67482 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
67483 (sin_tonearest_test_data): New variable.
67484 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67485 (sin_towardzero_test_data): New variable.
67486 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67487 (sin_downward_test_data): New variable.
67488 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67489 (sin_upward_test_data): New variable.
67490 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67491 (sinh_test_data): New variable.
67492 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
67493 (sinh_tonearest_test_data): New variable.
67494 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67495 (sinh_towardzero_test_data): New variable.
67496 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67497 (sinh_downward_test_data): New variable.
67498 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67499 (sinh_upward_test_data): New variable.
67500 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67501 (sqrt_test_data): New variable.
67502 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
67503 (tan_test_data): New variable.
67504 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
67505 (tan_tonearest_test_data): New variable.
67506 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67507 (tan_towardzero_test_data): New variable.
67508 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67509 (tan_downward_test_data): New variable.
67510 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67511 (tan_upward_test_data): New variable.
67512 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67513 (tanh_test_data): New variable.
67514 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
67515 (tgamma_test_data): New variable.
67516 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
67517 (trunc_test_data): New variable.
67518 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
67519 (y0_test_data): New variable.
67520 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
67521 (y1_test_data): New variable.
67522 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
67523 (significand_test_data): New variable.
67524 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
67525
67526 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
67527
67528 [BZ #12387]
67529 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
67530
67531 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
67532
67533 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
67534
67535 2013-05-10 Andreas Jaeger <aj@suse.de>
67536
67537 [BZ #15448]
67538 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
67539 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
67540
67541 2013-05-10 Joseph Myers <joseph@codesourcery.com>
67542
67543 * math/gen-libm-test.pl (adjust_arg): New function.
67544 (special_functions): Handle generating output in both functions
67545 and arrays.
67546 (parse_args): Likewise.
67547 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
67548 $in_func argument to parse_args.
67549 * math/libm-test.inc (struct test_f_f_data): New type.
67550 (IF_ROUND_INIT_): New macro.
67551 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
67552 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
67553 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
67554 (IF_ROUND_INIT_FE_UPWARD): Likewise.
67555 (ROUND_RESTORE_): Likewise.
67556 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
67557 (ROUND_RESTORE_FE_TONEAREST): Likewise.
67558 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
67559 (ROUND_RESTORE_FE_UPWARD): Likewise.
67560 (RUN_TEST_LOOP_f_f): New macro.
67561 (acos_test_data): New variable.
67562 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
67563 (acos_tonearest_test_data): New variable.
67564 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67565
67566 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
67567
67568 * benchtests/bench-skeleton.c (startup): Fix coding style.
67569
67570 2013-05-10 Joseph Myers <joseph@codesourcery.com>
67571
67572 [BZ #6809]
67573 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
67574 negative infinity argument.
67575 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
67576 negative infinity argument.
67577 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
67578 negative infinity argument.
67579 * math/libm-test.inc (tgamma_test): Expect errno to be set for
67580 domain errors.
67581
67582 2013-05-10 Florian Weimer <fweimer@redhat.com>
67583
67584 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
67585 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
67586 * iconv/iconv_prog.c (main): Likewise.
67587 * locale/programs/charmap-dir.c (charmap_readdir)
67588 (fopen_uncompressed): Likewise.
67589 * locale/programs/locfile.c (siblings_uncached)
67590 (write_locale_data): Use lstat64 instead of lstat.
67591 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
67592 stat.
67593
67594 2013-05-10 Andreas Jaeger <aj@suse.de>
67595
67596 [BZ #15395]
67597 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
67598 localization.
67599 Include <locale.h>.
67600
67601 2013-05-09 Carlos O'Donell <carlos@redhat.com>
67602
67603 * elf/dl-close.c (_dl_close_worker): Add comments.
67604
67605 2013-05-09 Joseph Myers <joseph@codesourcery.com>
67606
67607 [BZ #15359]
67608 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
67609 high part of pi/2.
67610 (__ieee754_rem_pio2l): Update comments.
67611
67612 [BZ #15429]
67613 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
67614 high part of pi/2.
67615 (__ieee754_rem_pio2l): Update comments.
67616
67617 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
67618 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
67619
67620 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
67621 M_PI_4l.
67622
67623 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
67624 (M_PI_34_LOG10El): Likewise.
67625 (M_PI2_LOG10El): Likewise.
67626 (M_PI4_LOG10El): Likewise.
67627 (M_PI_LOG10El): Likewise.
67628
67629 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67630
67631 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67632
67633 2013-05-08 Joseph Myers <joseph@codesourcery.com>
67634
67635 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
67636 (MINUS_ZERO_INIT): Likewise.
67637 (PLUS_INFTY_INIT): Likewise.
67638 (MINUS_INFTY_INIT): Likewise.
67639 (QNAN_VALUE_INIT): Likewise.
67640 (MAX_VALUE_INIT): Likewise.
67641 (MIN_VALUE_INIT): Likewise.
67642 (MIN_SUBNORM_VALUE_INIT): Likewise.
67643 (plus_zero): Initialize with PLUS_ZERO_INIT.
67644 (minus_zero): Initialize with MINUS_ZERO_INIT.
67645 (plus_infty): Initialize with PLUS_INFTY_INIT.
67646 (minus_infty): Initialize with MINUS_INFTY_INIT.
67647 (qnan_value): Initialize with QNAN_VALUE_INIT.
67648 (max_value): Initialize with MAX_VALUE_INIT.
67649 (min_value): Initialize with MIN_VALUE_INIT.
67650 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
67651
67652 * math/libm-test.inc (RUN_TEST_if_f): New macro.
67653 (jn_test): Use TEST_if_f instead of TEST_ff_f.
67654 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
67655 (yn_test): Use TEST_if_f instead of TEST_ff_f.
67656
67657 * math/libm-test.inc (RUN_TEST_f_f): New macro.
67658 (RUN_TEST_2_f): Likewise.
67659 (RUN_TEST_ff_f): Likewise.
67660 (RUN_TEST_fi_f): Likewise.
67661 (RUN_TEST_fl_f): Likewise.
67662 (RUN_TEST_fff_f): Likewise.
67663 (RUN_TEST_c_f): Likewise.
67664 (RUN_TEST_f_f1): Likewise.
67665 (RUN_TEST_fF_f1): Likewise.
67666 (RUN_TEST_fI_f1): Likewise.
67667 (RUN_TEST_ffI_f1): Likewise.
67668 (RUN_TEST_c_c): Likewise.
67669 (RUN_TEST_cc_c): Likewise.
67670 (RUN_TEST_f_i): Likewise.
67671 (RUN_TEST_f_i_tg): Likewise.
67672 (RUN_TEST_ff_i_tg): Likewise.
67673 (RUN_TEST_f_b): Likewise.
67674 (RUN_TEST_f_b_tg): Likewise.
67675 (RUN_TEST_f_l): Likewise.
67676 (RUN_TEST_f_L): Likewise.
67677 (RUN_TEST_sincos): Likewise.
67678 * math/gen-libm-test.pl (new_test): Take new argument to indicate
67679 whether to show exceptions. Do not include ");\n" in return
67680 value.
67681 (special_functions): Output call to RUN_TEST_sincos instead of
67682 check_float calls. Update calls to new_test.
67683 (parse_args): Output call to single RUN_TEST_* macro instead of
67684 check_* calls and other assignments. Update calls to new_test.
67685
67686 [BZ #2546]
67687 [BZ #2560]
67688 [BZ #5159]
67689 [BZ #15426]
67690 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
67691 input to result for tgamma overflow.
67692 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
67693 (gamma_coeff): New variable.
67694 (NCOEFF): New macro.
67695 (gamma_positive): New function.
67696 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
67697 underflow here. Use gamma_positive instead of exp (lgamma) for
67698 other arguments.
67699 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
67700 (gamma_coeff): New variable.
67701 (NCOEFF): New macro.
67702 (gammaf_positive): New function.
67703 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
67704 underflow here. Use gamma_positive instead of exp (lgamma) for
67705 other arguments.
67706 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
67707 (gamma_coeff): New variable.
67708 (NCOEFF): New macro.
67709 (gammal_positive): New function.
67710 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
67711 underflow here. Use gamma_positive instead of exp (lgamma) for
67712 other arguments.
67713 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
67714 (gamma_coeff): New variable.
67715 (NCOEFF): New macro.
67716 (gammal_positive): New function.
67717 (__ieee754_gammal_r): Handle positive infinity, overflow and
67718 underflow here. Handle NaN the same as positive infinity. Remove
67719 check x < 0xffffffff for negative integers. Use gamma_positive
67720 instead of exp (lgamma) for other arguments.
67721 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
67722 (gamma_coeff): New variable.
67723 (NCOEFF): New macro.
67724 (gammal_positive): New function.
67725 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
67726 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
67727 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
67728 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
67729 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
67730 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
67731 * sysdeps/generic/math_private.h (__gamma_productf): New
67732 prototype.
67733 (__gamma_product): Likewise.
67734 (__gamma_productl): Likewise.
67735 * math/Makefile (libm-calls): Add gamma_product.
67736 * math/libm-test.inc (tgamma_test): Add more tests.
67737 * sysdeps/i386/fpu/libm-test-ulps: Update.
67738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67739
67740 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
67741
67742 * benchtests/bench-skeleton.c (main): Preheat CPU.
67743
67744 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
67745
67746 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
67747
67748 2013-05-07 Roland McGrath <roland@hack.frob.com>
67749
67750 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
67751 and _dl_skip_args_internal.
67752
67753 2013-05-07 Carlos O'Donell <carlos@redhat.com>
67754
67755 * manual/message.texi (Message Translation): Talk about users.
67756 Message to key mapping impacts design.
67757
67758 2013-05-06 Roland McGrath <roland@hack.frob.com>
67759
67760 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
67761
67762 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
67763
67764 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
67765 * sysdeps/wordsize-64/glob64.c: ... here.
67766
67767 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
67768 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
67769 New macros.
67770
67771 * debug/getlogin_r_chk.c: Moved to ...
67772 * login/getlogin_r_chk.c: ... here.
67773 * debug/Makefile (routines): Move getlogin_r_chk to ...
67774 * login/Makefile (routines): ... here.
67775 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
67776 * login/Versions (libc: GLIBC_2.4): ... here.
67777
67778 * io/poll.c (__poll): Renamed from poll.
67779 Add libc_hidden_def.
67780 (poll): Define as weak alias.
67781
67782 * debug/ptsname_r_chk.c: Moved to ...
67783 * login/ptsname_r_chk.c: ... here.
67784 * debug/Makefile (routines): Move ptsname_r_chk to ...
67785 * login/Makefile (routines): ... here.
67786 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
67787 * login/Versions (libc: GLIBC_2.4): ... here.
67788
67789 * posix/getlogin.c: Moved to ...
67790 * login/getlogin.c: ... here.
67791 * posix/getlogin_r.c: Moved to ...
67792 * login/getlogin_r.c: ... here.
67793 * posix/getlogin_r.c: Moved to ...
67794 * login/getlogin_r.c: ... here.
67795 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
67796 * login/Makefile (routines): ... here.
67797 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
67798 * login/Versions (libc: GLIBC_2.0): ... here.
67799
67800 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
67801 (setrlimit): Define as weak alias.
67802
67803 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
67804 Call __ names for open, ftruncate, and close.
67805 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
67806 (truncate): Define as weak alias.
67807
67808 2013-05-06 Joseph Myers <joseph@codesourcery.com>
67809
67810 * math/gen-libm-test.pl (parse_args): Initialize x before each
67811 test of frexp, modf and remquo.
67812
67813 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
67814 test signgam value.
67815
67816 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67817
67818 [BZ #15418]
67819 [BZ #15419]
67820 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
67821 internal tests.
67822 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67823
67824 2013-05-06 Roland McGrath <roland@hack.frob.com>
67825
67826 * elf/dl-writev.h: New file.
67827 * elf/dl-misc.c: Include it.
67828 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
67829 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
67830
67831 2013-05-04 Joseph Myers <joseph@codesourcery.com>
67832
67833 * math/libm-test.inc (noXFails): Remove variable.
67834 (noXPasses): Likewise.
67835 (BUILD_COMPLEX_INT): Remove macro.
67836 (print_screen): Remove xfail argument.
67837 (print_screen_max_error): Likewise.
67838 (update_stats): Likewise.
67839 (print_max_error): Likewise. Update calls to other affected
67840 functions.
67841 (print_complex_max_error): Likewise.
67842 (test_single_exception): Update calls to print_screen.
67843 (test_single_errno): Likewise.
67844 (check_float_internal): Remove xfail argument. Update calls to
67845 other affected functions.
67846 (check_float): Likewise.
67847 (check_complex): Likewise.
67848 (check_int): Likewise.
67849 (check_long): Likewise.
67850 (check_bool): Likewise.
67851 (check_longlong): Likewise.
67852 (main): Don't print noXFails and noXPasses.
67853 * math/gen-libm-test.pl (top level): Don't mention expected
67854 failure handling in comment.
67855 (new_test): Don't handle expected failures.
67856 (parse_args): Don't mention expected failure handling in comment.
67857 (generate_testfile): Don't handle expected failures.
67858 (parse_ulps): Likewise.
67859 (print_ulps_file): Likewise.
67860 (get_failure): Remove function.
67861 (output_test): Don't handle expected failures.
67862 * make/README.libm-test: Don't mention expected failure handling.
67863
67864 * math/libm-test.inc (plus_zero): Make const. Add initializer.
67865 (minus_zero): Likewise.
67866 (plus_infty): Likewise.
67867 (minus_infty): Likewise.
67868 (qnan_value): Likewise.
67869 (max_value): Likewise.
67870 (min_value): Likewise.
67871 (min_subnorm_value): Likewise.
67872 (initialize): Do not initialize those variables dynamically.
67873
67874 2013-05-03 Roland McGrath <roland@hack.frob.com>
67875
67876 * io/open.c (__open_2): Moved to ...
67877 * io/open_2.c: ... this new file.
67878 * io/open64.c (__open64_2): Moved to ...
67879 * io/open64_2.c: ... this new file.
67880 * io/openat.c (__openat_2): Moved to ...
67881 * io/openat_2.c: ... this new file.
67882 * io/openat64.c (__openat64_2): Moved to ...
67883 * io/openat64_2.c: ... this new file.
67884 * io/Makefile (routines): Add them.
67885 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
67886 * sysdeps/unix/sysv/linux/open_2.c: File removed.
67887 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
67888 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
67889 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
67890 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
67891 (__openat64): Add hidden_ver.
67892 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
67893 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
67894
67895 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
67896 Separately conditionalize setting of GLRO(dl_sysinfo) so
67897 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
67898 as well, but the actual setting is only under [NEED_DL_SYSINFO].
67899
67900 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67901
67902 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
67903 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
67904 definition.
67905 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
67906 * sysdeps/unix/sysv/linux/powerpc/init-first.c
67907 (_libc_vdso_platform_setup): Add __vdso_time initialization.
67908 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
67909 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
67910
67911 2013-05-03 Joseph Myers <joseph@codesourcery.com>
67912
67913 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
67914 test signgam value.
67915
67916 * math/libm-test.inc (hypot_test): Do not use
67917 IGNORE_ZERO_INF_SIGN.
67918
67919 2013-05-03 Andreas Jaeger <aj@suse.de>
67920
67921 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
67922 Linux 3.9.
67923 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
67924 (PF_MAX): Adjust for VSOCK change.
67925
67926 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67927
67928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67929
67930 2013-05-02 Carlos O'Donell <carlos@redhat.com>
67931
67932 [BZ #15264]
67933 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
67934 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
67935 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
67936
67937 2013-05-02 David S. Miller <davem@davemloft.net>
67938
67939 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67940
67941 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
67942
67943 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
67944
67945 2013-05-01 Roland McGrath <roland@hack.frob.com>
67946
67947 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
67948
67949 2013-05-01 Richard Smith <richard@metafoo.co.uk>
67950
67951 [BZ #14952]
67952 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
67953 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
67954 Use __attribute__ ((__gnu_inline__)).
67955 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
67956 Don't use __attribute__ ((__gnu_inline__)).
67957
67958 2013-05-01 Joseph Myers <joseph@codesourcery.com>
67959
67960 [BZ #15423]
67961 * math/s_catan.c (__catan): Handle small real or imaginary part of
67962 input specially to avoid spurious underflow.
67963 * math/s_catanf.c (__catanf): Likewise.
67964 * math/s_catanh.c (__catanh): Likewise.
67965 * math/s_catanhf.c (__catanhf): Likewise.
67966 * math/s_catanhl.c (__catanhl): Likewise.
67967 * math/s_catanl.c (__catanl): Likewise.
67968 * math/libm-test.inc (catan_test): Add more tests.
67969 (catanh_test): Likewise.
67970 * sysdeps/i386/fpu/libm-test-ulps: Update.
67971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67972
67973 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67974
67975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67976
67977 2013-04-30 Joseph Myers <joseph@codesourcery.com>
67978
67979 [BZ #15416]
67980 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
67981 accurately for denominator in atan2.
67982 * math/s_catanf.c (__catanf): Likewise.
67983 * math/s_catanh.c (__catanh): Likewise.
67984 * math/s_catanhf.c (__catanhf): Likewise.
67985 * math/s_catanhl.c (__catanhl): Likewise.
67986 * math/s_catanl.c (__catanl): Likewise.
67987 * math/libm-test.inc (catan_test): Add more tests.
67988 (catanh_test): Likewise.
67989 * sysdeps/i386/fpu/libm-test-ulps: Update.
67990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67991
67992 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
67993
67994 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
67995
67996 * benchtests/Makefile (bench): Remove slow benchmarks.
67997 * benchtests/atan-inputs: Add slow benchmark inputs.
67998 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
67999 (BENCH_FUNC): Accept variant offset.
68000 (VARIANT): Define.
68001 * benchtests/bench-skeleton.c (main): Run benchmark for each
68002 variant.
68003 * benchtests/cos-inputs: Add slow benchmark inputs.
68004 * benchtests/exp-inputs: Likewise.
68005 * benchtests/pow-inputs: Likewise.
68006 * benchtests/sin-inputs: Likewise.
68007 * benchtests/slowatan-inputs: Remove.
68008 * benchtests/slowatan.c: Remove.
68009 * benchtests/slowcos-inputs: Remove.
68010 * benchtests/slowcos.c: Remove.
68011 * benchtests/slowexp-inputs: Remove.
68012 * benchtests/slowexp.c: Remove.
68013 * benchtests/slowpow-inputs: Remove.
68014 * benchtests/slowpow.c: Remove.
68015 * benchtests/slowsin-inputs: Remove.
68016 * benchtests/slowsin.c: Remove.
68017 * benchtests/slowtan-inputs: Remove.
68018 * benchtests/slowtan.c: Remove.
68019 * benchtests/tan-inputs: Add slow benchmark inputs.
68020 * scripts/bench.pl: Parse comments and directives.
68021
68022 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
68023 in CPPFLAGS.
68024 ($(objpfx)bench-%.c): Remove *-ITER.
68025 * benchtests/bench-modf.c: Remove definition of ITER.
68026 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
68027 (main): Loop for DURATION seconds instead of fixed number of
68028 iterations.
68029 * scripts/bench.pl: Don't expect iterations in parameters.
68030
68031 2013-04-29 Roland McGrath <roland@hack.frob.com>
68032
68033 * io/fchdir.c (__fchdir): Renamed from fchdir.
68034 (fchdir): Define as weak alias.
68035
68036 2013-04-29 Joseph Myers <joseph@codesourcery.com>
68037
68038 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
68039 (ERRNO_EDOM): Likewise.
68040 (ERRNO_ERANGE): Likewise.
68041 (noErrnoTests): New variable.
68042 (init_max_error): Set errno to 0.
68043 (test_single_errno): New function.
68044 (test_errno): Likewise.
68045 (check_float_internal): Call test_errno. Set errno to 0.
68046 (check_complex): Refer to errno tests in comment.
68047 (check_int): Call test_errno. Set errno to 0.
68048 (check_long): Likewise.
68049 (check_bool): Likewise.
68050 (check_longlong): Likewise.
68051 (cos_test): Use ERRNO_* flags for errno tests instead of
68052 check_int.
68053 (expm1_test): Likewise.
68054 (fmod_test): Likewise.
68055 (ilogb_test): Likewise.
68056 (lgamma_test): Likewise.
68057 (pow_test): Likewise.
68058 (remainder_test): Likewise.
68059 (sin_test): Likewise.
68060 (tan_test): Likewise.
68061 (yn_test): Likewise.
68062 (initialize): Set errno to 0.
68063 (main): Print number of errno tests.
68064 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
68065
68066 2013-04-29 Andreas Jaeger <aj@suse.de>
68067
68068 [BZ #15084]
68069 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
68070 and RES_USEVC.
68071
68072 [BZ #15085]
68073 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
68074 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
68075 unimplemented.
68076
68077 [BZ #15380]
68078 * stdlib/random.c (__initstate): Return NULL if
68079 __initstate fails.
68080
68081 [BZ #15086]
68082 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
68083 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
68084 RES_SNGLKUPREOP.
68085
68086 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68087
68088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68089
68090 2013-04-29 Joseph Myers <joseph@codesourcery.com>
68091
68092 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
68093 of individual tests.
68094 (casin_test): Likewise.
68095 (casinh_test): Likewise.
68096
68097 2013-04-27 Joseph Myers <joseph@codesourcery.com>
68098
68099 [BZ #15409]
68100 * math/s_catan.c (__catan): Handle arguments with large real or
68101 imaginary part separately without squaring.
68102 * math/s_catanf.c (__catanf): Likewise.
68103 * math/s_catanh.c (__catanh): Likewise.
68104 * math/s_catanhf.c (__catanhf): Likewise.
68105 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68106 and redefine.
68107 (__catanhl): Handle arguments with large real or imaginary part
68108 separately without squaring.
68109 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68110 and redefine.
68111 (__catanl): Handle arguments with large real or imaginary part
68112 separately without squaring.
68113 * math/libm-test.inc (catan_test): Add more tests.
68114 (catanh_test): Likewise.
68115 * sysdeps/i386/fpu/libm-test-ulps: Update.
68116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68117
68118 2013-04-27 Andreas Jaeger <aj@suse.de>
68119
68120 [BZ #15007]
68121 * stdlib/stdlib.h: Update guards for qecvt.
68122 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
68123 <stdlib.h>.
68124
68125 2013-04-27 Allan McRae <allan@archlinux.org>
68126
68127 * sysdeps/i386/fpu/libm-test-ulps: Update.
68128
68129 2013-04-26 Joseph Myers <joseph@codesourcery.com>
68130
68131 [BZ #15406]
68132 * math/s_catan.c: Include <float.h>.
68133 (__catan): Ensure underflow exception occurs for underflowed
68134 result.
68135 * math/s_catanf.c: Include <float.h>.
68136 (__catanf): Ensure underflow exception occurs for underflowed
68137 result.
68138 * math/s_catanh.c: Include <float.h>.
68139 (__catanh): Ensure underflow exception occurs for underflowed
68140 result.
68141 * math/s_catanhf.c: Include <float.h>.
68142 (__catanhf): Ensure underflow exception occurs for underflowed
68143 result.
68144 * math/s_catanhl.c: Include <float.h>.
68145 (__catanhl): Ensure underflow exception occurs for underflowed
68146 result.
68147 * math/s_catanl.c: Include <float.h>.
68148 (__catanl): Ensure underflow exception occurs for underflowed
68149 result.
68150 * math/libm-test.inc (catan_test): Add more tests.
68151 (catanh_test): Likewise.
68152
68153 [BZ #15405]
68154 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
68155 underflowed result.
68156 * math/s_ccoshf.c (__ccoshf): Likewise.
68157 * math/s_ccoshl.c (__ccoshl): Likewise.
68158 * math/s_csin.c (__csin): Likewise.
68159 * math/s_csinf.c (__csinf): Likewise.
68160 * math/s_csinh.c (__csinh): Likewise.
68161 * math/s_csinhf.c (__csinhf): Likewise.
68162 * math/s_csinhl.c (__csinhl): Likewise.
68163 * math/s_csinl.c (__csinl): Likewise.
68164 * math/libm-test.inc (ccos_test): Add more tests.
68165 (ccosh_test): Likewise.
68166 (csin_test): Likewise.
68167 (csinh_test): Likewise.
68168
68169 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68170
68171 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
68172 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
68173 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
68174 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
68175 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
68176 powerpc/power5+/fpu folders.
68177 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
68178
68179
68180 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
68181
68182 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68183
68184 2013-04-25 Joseph Myers <joseph@codesourcery.com>
68185
68186 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
68187 additions to variable.
68188 [$(config-machine) = x86_64] (modules-names): Likewise.
68189 ($(objpfx)tst-audit3): Remove dependency.
68190 ($(objpfx)tst-audit3.out): Likewise.
68191 ($(objpfx)tst-audit4): Likewise.
68192 ($(objpfx)tst-audit4.out): Likewise.
68193 ($(objpfx)tst-audit5): Likewise.
68194 ($(objpfx)tst-audit5.out): Likewise.
68195 ($(objpfx)tst-audit6): Likewise.
68196 ($(objpfx)tst-audit6.out): Likewise.
68197 ($(objpfx)tst-audit7): Likewise.
68198 ($(objpfx)tst-audit7.out): Likewise.
68199 (tst-audit3-ENV): Remove variable.
68200 (tst-audit4-ENV): Likewise.
68201 (tst-audit5-ENV): Likewise.
68202 (tst-audit6-ENV): Likewise.
68203 (tst-audit7-ENV): Likewise.
68204 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
68205 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
68206 addition to variable.
68207 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
68208 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
68209 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
68210 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
68211 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
68212 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
68213 tst-audit3, tst-audit4 and tst-audit5.
68214 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
68215 tst-audit6 and tst-audit7.
68216 [$(subdir) = elf] (modules-names): Add audit modules for those
68217 tests.
68218 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
68219 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
68220 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
68221 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
68222 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
68223 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
68224 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
68225 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
68226 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
68227 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
68228 [$(subdir) = elf] (tst-audit3-ENV): New variable.
68229 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
68230 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
68231 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
68232 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
68233 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
68234 Likewise.
68235 [$(subdir) = elf && $(config-cflags-avx) = yes]
68236 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
68237 [$(subdir) = elf && $(config-cflags-avx) = yes]
68238 (CFLAGS-tst-auditmod4a.c): Likewise.
68239 [$(subdir) = elf && $(config-cflags-avx) = yes]
68240 (CFLAGS-tst-auditmod4b.c): Likewise.
68241 [$(subdir) = elf && $(config-cflags-avx) = yes]
68242 (CFLAGS-tst-auditmod6b.c): Likewise.
68243 [$(subdir) = elf && $(config-cflags-avx) = yes]
68244 (CFLAGS-tst-auditmod6c.c): Likewise.
68245 [$(subdir) = elf && $(config-cflags-avx) = yes]
68246 (CFLAGS-tst-auditmod7b.c): Likewise.
68247 * elf/tst-audit3.c: Move to ...
68248 * sysdeps/x86_64/tst-audit3.c: ... here.
68249 * elf/tst-audit4.c: Move to ...
68250 * sysdeps/x86_64/tst-audit4.c: ... here.
68251 * elf/tst-audit5.c: Move to ...
68252 * sysdeps/x86_64/tst-audit5.c: ... here.
68253 * elf/tst-audit6.c: Move to ...
68254 * sysdeps/x86_64/tst-audit6.c: ... here.
68255 * elf/tst-audit7.c: Move to ...
68256 * sysdeps/x86_64/tst-audit7.c: ... here.
68257 * elf/tst-auditmod3a.c: Move to ...
68258 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
68259 * elf/tst-auditmod3b.c: Move to ...
68260 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
68261 * elf/tst-auditmod4a.c: Move to ...
68262 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
68263 * elf/tst-auditmod4b.c: Move to ...
68264 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
68265 * elf/tst-auditmod5a.c: Move to ...
68266 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
68267 * elf/tst-auditmod5b.c: Move to ...
68268 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
68269 * elf/tst-auditmod6a.c: Move to ...
68270 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
68271 * elf/tst-auditmod6b.c: Move to ...
68272 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
68273 * elf/tst-auditmod6c.c: Move to ...
68274 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
68275 * elf/tst-auditmod7a.c: Move to ...
68276 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
68277 * elf/tst-auditmod7b.c: Move to ...
68278 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
68279
68280 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
68281
68282 [BZ #15366]
68283 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
68284 define unconditionally.
68285 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
68286 define unconditionally.
68287 (INT8_C, INT16_C, etc.): Likewise.
68288
68289 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
68290
68291 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
68292 __ehdr_start with hidden visibility.
68293
68294 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
68295
68296 2013-04-24 Carlos O'Donell <carlos@redhat.com>
68297
68298 * math/libm-test.inc (cos_test): Use accurate hex constants.
68299 (sincost_test): Likewise.
68300
68301 2013-04-24 Joseph Myers <joseph@codesourcery.com>
68302
68303 * math/libm-test.inc (catan_test): Add more tests.
68304 (catanh_test): Likewise.
68305
68306 * math/s_catanf.c (__catanf): Use suffixed floating-point
68307 constants.
68308 * math/s_catanhf.c (__catanhf): Likewise.
68309 * math/s_catanhl.c (__catanhl): Likewise.
68310 * math/s_catanl.c (__catanl): Likewise.
68311
68312 [BZ #15394]
68313 * math/s_catan.c (__catan): Calculate imaginary part of result
68314 with log1p not log unless computing log of number close to 0.
68315 * math/s_catanf.c (__catanf): Likewise.
68316 * math/s_catanl.c (__catanl): Likewise.
68317 * math/s_catanh.c (__catanh): Calculate real part of result with
68318 log1p not log unless computing log of number close to 0.
68319 * math/s_catanhf.c (__catanhf): Likewise.
68320 * math/s_catanhl.c (__catanhl): Likewise.
68321 * math/libm-test.inc (catan_test): Add more tests.
68322 (catanh_test): Likewise.
68323 * sysdeps/i386/fpu/libm-test-ulps: Update.
68324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68325
68326 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
68327
68328 * benchtests/Makefile: Mention files in which fast and slow
68329 paths of math functions are implemented.
68330
68331 2013-04-23 Roland McGrath <roland@hack.frob.com>
68332
68333 * sysdeps/posix/timespec_get.c: New file.
68334
68335 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68336
68337 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
68338 POWER.
68339 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
68340 for POWER.
68341 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
68342 powerpc/power5/fpu folders.
68343 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
68344 * benchtests/Makefile: Add modf testcase.
68345 * benchtests/bench-modf.c: New file: Benchmark test for mo
68346
68347 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
68348
68349 [BZ #14888]
68350 * time/Makefile (tests): Add tst-strptime-whitespace.
68351 * time/strptime_l.c (get_number): Use ISSPACE.
68352 (__strptime_internal): Likewise.
68353 * time/tst-strptime-whitespace.c: New test case.
68354
68355 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
68356
68357 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
68358 member.
68359 (_nss_files_init): Set it here.
68360
68361 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
68362
68363 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
68364 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
68365 unsigned.
68366
68367 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
68368
68369 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
68370
68371 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
68372
68373 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
68374 size just once.
68375
68376 2013-04-21 David S. Miller <davem@davemloft.net>
68377
68378 * po/ru.po: Update Russion translation from translation project.
68379
68380 2013-04-17 Adam Conrad <adconrad@0c3.net>
68381
68382 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
68383 and setfsgid.
68384
68385 2013-04-17 Carlos O'Donell <carlos@redhat.com>
68386
68387 * configure.in: Remove i386 configure warning. Remove i386 case.
68388 * configure: Regenerate.
68389 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
68390 Add example to error message.
68391 * sysdeps/i386/configure: Regenerate.
68392
68393 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
68394
68395 * benchtests/Makefile (bench): Add cos, tan, slowcos and
68396 slowtan.
68397 * benchtests/cos-inputs: New file.
68398 * benchtests/slowcos-inputs: New file.
68399 * benchtests/slowcos.c: New file.
68400 * benchtests/slowtan-inputs: New file.
68401 * benchtests/slowtan.c: New file.
68402 * benchtests/tan-inputs: New file.
68403
68404 2013-04-16 Roland McGrath <roland@hack.frob.com>
68405
68406 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
68407 considered kosher.
68408
68409 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
68410
68411 * benchtests/Makefile: Include cppflags-iterator.mk to add
68412 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
68413
68414 * Makefile.in (bench-clean): New target.
68415 * benchtests/Makefile (bench-clean): Likewise.
68416
68417 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
68418
68419 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
68420
68421 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
68422
68423 * stdio-common/tstdiomisc.c: Fix coding-style violation.
68424
68425 2013-04-15 Andreas Schwab <schwab@suse.de>
68426
68427 * nscd/grpcache.c (cache_addgr): Properly check for short write.
68428 * nscd/initgrcache.c (addinitgroupsX): Likewise.
68429 * nscd/pwdcache.c (cache_addpw): Likewise.
68430 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
68431 more than recsize.
68432
68433 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
68434
68435 * benchtests/Makefile (bench): Write all output to
68436 bench-out.tmp together.
68437
68438 2013-04-15 Andreas Schwab <schwab@suse.de>
68439
68440 * nscd/nscd.c (main): Don't fork again after closing files.
68441
68442 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
68443
68444 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
68445
68446 * benchtests/Rules (bench-deps): Collect dependencies into a
68447 single variable. Add Makefile to dependencies.
68448 ($(objpfx)bench-%.c): Depend on bench-deps.
68449
68450 2013-04-12 Roland McGrath <roland@hack.frob.com>
68451 Xavier Roche <roche+kml2@exalead.com>
68452
68453 [BZ #15361]
68454 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
68455 just that it's a file descriptor.
68456 * manual/llio.texi (Synchronizing AIO Operations): Update description
68457 for EBADF error from aio_fsync.
68458
68459 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
68460
68461 * Rules (bench): Move target definition...
68462 * benchtests/Makefile: ... here.
68463
68464 2013-04-11 Carlos O'Donell <carlos@redhat.com>
68465
68466 * math/libm-test.inc (cos_test): Fix PI/2 test.
68467 (sincos_test): Likewise.
68468 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
68469 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
68470
68471 2013-04-11 Andreas Schwab <schwab@suse.de>
68472
68473 [BZ #13988]
68474 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
68475 accept exponent character only when digits were seen.
68476 * stdio-common/Makefile (tests): Add bug26.
68477 * stdio-common/bug26.c: New file.
68478
68479 [BZ #14293]
68480 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
68481 non-freeable.
68482
68483 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
68484
68485 * Makeconfig (rtld-prefix): Define built linker prefix.
68486 * Rules (run-bench): Use it.
68487 * math/Makefile (run-regen-ulps): Likewise.
68488
68489 * Rules (bench): Remove eval.
68490
68491 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
68492 Roland McGrath <roland@hack.frob.com>
68493 Ondrej Bilka <neleai@seznam.cz>
68494
68495 [BZ #15346]
68496 * time/getdate.c: Include ctype.h and alloca.h.
68497 (__getdate_r): Trim leading and trailing spaces of input.
68498 * time/tst-getdate.c (tests): Add tests with leading and
68499 trailing spaces.
68500
68501 2013-04-08 Roland McGrath <roland@hack.frob.com>
68502
68503 [BZ #14280]
68504 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
68505 when computing value.
68506
68507 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68508
68509 * math/README.libm-test (How can I generate "libm-test-ulps"?):
68510 Use testrun.sh to run libm tests.
68511
68512 [BZ #15309]
68513 * elf/dl-open.c (dl_open_worker): memset all of seen array.
68514
68515 2013-04-06 Marko Myllynen <myllynen@redhat.com>
68516
68517 [BZ #15264]
68518 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
68519
68520 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68521
68522 * Makefile.in (regen-ulps): New target.
68523 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
68524 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
68525 [ifneq (no,$(PERL)] (regen-ulps): New target.
68526 [ifeq (no,$(PERL)] (regen-ulps): New target.
68527 * math/libm-test.inc (ulps_file_name): Define.
68528 (output_dir): New variable.
68529 (options): Add "output-dir" option.
68530 (parse_opt): Handle 'o' case.
68531 (main): If output_dir is non-NULL use it as a prefix
68532 otherwise use "".
68533 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
68534
68535 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68536
68537 [BZ #10060, #10062]
68538 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
68539 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
68540 fail configure if __sync_val_compare_and_swap is not inlined.
68541 * sysdeps/i386/configure: Regenerate.
68542 * configure.in: Build for i686 when configured for i386.
68543 * configure: Regenerate.
68544 * README: Remove i386 reference.
68545
68546 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68547
68548 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
68549 * sysdeps/s390/s390-64/sysdep.h: Likewise.
68550
68551 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
68552
68553 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
68554 (lmsnanval): New variables.
68555 (F): Add conversion tests.
68556 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
68557 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
68558
68559 * stdio-common/tstdiomisc.c (F): Properly collect individual
68560 tests' results.
68561
68562 [BZ #14686, #15336]
68563 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
68564 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
68565 Instead, use input NaN values or generate a qNaN by arithmetic
68566 operation. Also fix bugs to comply with the standard.
68567 * math/libm-test.inc (remainder_test): Add more tests.
68568
68569 [BZ #15335, #15342]
68570 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
68571 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
68572 input NaN values or generate a qNaN by arithmetic operation.
68573
68574 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
68575 unreachable code.
68576
68577 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
68578 definitions.
68579
68580 2013-04-03 Joseph Myers <joseph@codesourcery.com>
68581
68582 [BZ #14478]
68583 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
68584 underflowed result.
68585 * math/s_cexpf.c (__cexpf): Likewise.
68586 * math/s_cexpl.c (__cexpl): Likewise.
68587 * math/libm-test.inc (cexp_test): Add more tests.
68588
68589 2013-04-03 Andreas Schwab <schwab@suse.de>
68590
68591 [BZ #15330]
68592 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
68593 order arrays from heap if bigger than alloca cutoff.
68594
68595 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
68596
68597 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
68598 (SNAN_TESTS_double): Refer to GCC PR56831.
68599 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
68600 GCC PR56828.
68601
68602 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
68603
68604 * Rules (bench): Move bench.out after the run is complete.
68605
68606 * Rules (bench): Echo currently running benchmark.
68607
68608 * benchtests/Makefile (bench): Add atan and slowatan.
68609 * benchtests/atan-inputs: New file.
68610 * benchtests/slowatan-inputs: New file.
68611 * benchtests/slowatan.c: New file.
68612
68613 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
68614 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
68615 its value.
68616
68617 [BZ #15305]
68618 * sysdeps/unix/sysv/linux/kernel-features.h
68619 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
68620 __ASSUME_XFS_RESTRICTED_CHOWN.
68621 * sysdeps/unix/sysv/linux/pathconf.c
68622 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
68623 Save and restore errno.
68624
68625 2013-04-02 Joseph Myers <joseph@codesourcery.com>
68626
68627 [BZ #15327]
68628 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
68629 arguments using __kernel_casinh.
68630 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
68631 arguments using __kernel_casinhf.
68632 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
68633 arguments using __kernel_casinhl.
68634 * math/libm-test.inc (cacosh_test): Add more tests.
68635 * sysdeps/i386/fpu/libm-test-ulps: Update.
68636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68637
68638 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
68639
68640 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
68641 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
68642
68643 * bench/Makefile (bench): Add sin and slowsin.
68644 * benchtests/sin-inputs: New file.
68645 * benchtests/slowsin-inputs: New file.
68646 * benchtests/slowsin.c: New file.
68647
68648 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
68649 (bench): Add slowexp and slowpow.
68650 (exp-ITER): Increase iterations.
68651 (pow-ITER): Likewise.
68652 * benchtests/exp-inputs: Change input.
68653 * benchtests/pow-inputs: Likewise.
68654 * benchtests/slowexp-inputs: New file.
68655 * benchtests/slowexp.c: New file.
68656 * benchtests/slowpow-inputs: New file.
68657 * benchtests/slowpow.c: New file.
68658
68659 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68660
68661 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
68662 instructions.
68663 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
68664 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
68665 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
68666 * benchtests/Makefile: Add rint benchtest.
68667 * benchtests/rint-inputs: Input for rint benchtest.
68668
68669 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
68670
68671 * Versions.def (libm): Add GLIBC_2.18.
68672 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
68673 hidden libm prototypes.
68674 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
68675 * math/Makefile (libm-calls): Add s_issignaling.
68676 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
68677 __issignalingf, __issignalingl. Adjust all libm.abilist files.
68678 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
68679 declaration.
68680 * math/math.h [__USE_GNU] (issignaling): New macro.
68681 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
68682 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
68683 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
68684 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
68685 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
68686 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
68687 * manual/arith.texi (issignaling): New section.
68688 * manual/libm-err-tab.pl (@all_functions): Update comment.
68689 * math/gen-libm-test.pl (parse_args): Apply special handling for
68690 issignaling.
68691 * math/libm-test.inc (print_float, issignaling_test): New
68692 functions.
68693 (check_float_internal): Add issignaling checks.
68694 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
68695 default definition.
68696 * sysdeps/powerpc/math-tests.h: New file.
68697 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
68698 tests.
68699 * math/test-snan.c (TEST_FUNC): Likewise.
68700
68701 2013-03-30 David S. Miller <davem@davemloft.net>
68702
68703 * po/de.po: Update from translation team.
68704
68705 2013-03-30 Joseph Myers <joseph@codesourcery.com>
68706
68707 [BZ #10357]
68708 * math/k_casinh.c (__kernel_casinh): Handle arguments with
68709 imaginary part less than 1.0 and real part less than 0.5
68710 specially.
68711 * math/k_casinhf.c (__kernel_casinhf): Likewise.
68712 * math/k_casinhl.c (__kernel_casinhl): Likewise.
68713 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
68714 (cacos_test): Add more tests.
68715 (casin_test): Likewise.
68716 (casinh_test): Likewise.
68717 * sysdeps/i386/fpu/libm-test-ulps: Update.
68718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68719
68720 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
68721
68722 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
68723 ONE with its value.
68724
68725 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
68726 (__pow_mp): Replace ONE and MONE with their values.
68727 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68728 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
68729 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68730 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
68731 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68732 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
68733
68734 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
68735
68736 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
68737 (__pow_mp): Replace ZERO and MZERO with their values.
68738 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
68739 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68740 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68741 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
68742 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68743 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
68744 (__sqr): Likewise.
68745
68746 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
68747
68748 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
68749
68750 2013-03-28 Roland McGrath <roland@hack.frob.com>
68751
68752 * include/stdlib.h [!SHARED] (__call_tls_dtors):
68753 Declare with __attribute__ ((weak)).
68754 * stdlib/exit.c (__libc_atexit) [!SHARED]:
68755 Call __call_tls_dtors only if it's not NULL.
68756
68757 2013-03-28 Roland McGrath <roland@hack.frob.com>
68758
68759 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
68760 didn't do it already, then set _dl_phdr and _dl_phnum based on the
68761 magic __ehdr_start linker symbol if it's defined.
68762 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
68763 them up here if it was already done.
68764
68765 * elf/dl-support.c (_dl_phdr): Make pointer to const.
68766 (_dl_aux_init): Use const in cast when setting it.
68767 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
68768 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
68769 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
68770
68771 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
68772 Declare them here.
68773 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
68774 * csu/libc-tls.c: Nor here.
68775 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
68776
68777 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
68778 (__libc_message): Never call vsyslog.
68779
68780 2013-03-28 Alan Modra <amodra@gmail.com>
68781
68782 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
68783 Define as empty.
68784 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
68785 Likewise.
68786
68787 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68788
68789 [BZ #15214]
68790 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
68791 underflow.
68792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68793
68794 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
68795
68796 [BZ #15304]
68797 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
68798 Don't add gid passed as argument.
68799
68800 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
68801
68802 2013-03-27 Joseph Myers <joseph@codesourcery.com>
68803
68804 [BZ #15307]
68805 * math/k_casinh.c (__kernel_casinh): Handle arguments with
68806 imaginary part between 1.0 and 1.5 and real part less than 0.5
68807 specially.
68808 * math/k_casinhf.c (__kernel_casinhf): Likewise.
68809 * math/k_casinhl.c (__kernel_casinhl): Likewise.
68810 * math/libm-test.inc (cacos_test): Add more tests.
68811 (casin_test): Likewise.
68812 (casinh_test): Likewise.
68813 * sysdeps/i386/fpu/libm-test-ulps: Update.
68814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68815
68816 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
68817
68818 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
68819 constants.
68820 (norm): Likewise.
68821 (denorm): Likewise.
68822 (__dbl_mp): Likewise.
68823 (add_magnitudes): Likewise.
68824 (sub_magnitudes): Likewise.
68825 (__add): Likewise.
68826 (__sub): Likewise.
68827 (__mul): Likewise.
68828 (__sqr): Likewise.
68829 (__inv): Likewise.
68830 (__dvd): Likewise.
68831
68832 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
68833 commented code.
68834 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
68835 (__dubcos): Likewise.
68836 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
68837 (__ieee754_acos): Likewise.
68838 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
68839 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
68840 (__exp1): Likewise.
68841 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68842 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
68843 (log1): Likewise.
68844 (my_log2): Likewise.
68845 (checkint): Likewise.
68846 * sysdeps/ieee754/dbl-64/e_remainder.c
68847 (__ieee754_remainder): Likewise.
68848 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68849 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
68850 (bsloww): Likewise.
68851 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
68852
68853 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
68854 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
68855 MANTISSA_STORE_T to store computations on mantissa. Use
68856 macros for rounding and division.
68857 (denorm): Likewise.
68858 (__dbl_mp): Likewise.
68859 (add_magnitudes): Likewise.
68860 (sub_magnitudes): Likewise.
68861 (__mul): Likewise.
68862 (__sqr): Likewise.
68863 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
68864 powers of two in terms of TWOPOW macro.
68865 (mp_no): Make type of mantissa as MANTISSA_T.
68866 [!RADIXI]: Define RADIXI.
68867 [!TWO52]: Define TWO52.
68868 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
68869
68870 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68871
68872 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
68873 llroundl symbol when building for PPC32.
68874
68875 2013-03-24 Mark H Weaver <mhw@netris.org>
68876
68877 * manual/arith.texi (Normalization Functions): Fix prototypes for
68878 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
68879
68880 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68881
68882 [BZ #13889]
68883 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
68884 high value to check if expl overflow.
68885 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
68886 to check for underflow and overflow.
68887 * math/libm-test.inc: Add exp test.
68888
68889 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
68890
68891 [BZ #11120]
68892 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
68893 with NOT_IN_libc.
68894
68895 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68896
68897 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
68898 symbol.
68899
68900 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
68901
68902 * math/gen-libm-test.pl (parse_args, special_functions): Properly
68903 wrap blocks consisting of several statements.
68904
68905 * sysdeps/generic/math-tests.h: New file.
68906 * sysdeps/i386/fpu/math-tests.h: Likewise.
68907 * math/test-snan.c: Include it.
68908 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
68909
68910 2013-03-21 Joseph Myers <joseph@codesourcery.com>
68911
68912 [BZ #15285]
68913 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
68914 (__ieee754_j0l): Do not improve calculations using cos of twice
68915 input for inputs above LDBL_MAX / 2.0L.
68916 (__ieee754_y0l): Likewise.
68917 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
68918 (__ieee754_j1l): Do not improve calculations using cos of twice
68919 input for inputs above LDBL_MAX / 2.0L.
68920 (__ieee754_y1l): Likewise.
68921 * math/libm-test.inc (j0_test): Add another test.
68922 (j1_test): Likewise.
68923 (y0_test): Likewise.
68924 (y1_test): Likewise.
68925 * sysdeps/i386/fpu/libm-test-ulps: Update.
68926
68927 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
68928
68929 * Rules ($(objpfx)bench-%.c): Include code from a C source
68930 file.
68931
68932 2013-03-21 Joseph Myers <joseph@codesourcery.com>
68933
68934 [BZ #15287]
68935 * math/k_casinh.c (__kernel_casinh): Handle arguments with
68936 imaginary part 1.0 and real part less than 0.5 specially.
68937 * math/k_casinhf.c (__kernel_casinhf): Likewise.
68938 * math/k_casinhl.c (__kernel_casinhl): Likewise.
68939 * math/libm-test.inc (cacos_test): Add more tests.
68940 (casin_test): Likewise.
68941 (casinh_test): Likewise.
68942 * sysdeps/i386/fpu/libm-test-ulps: Update.
68943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68944
68945 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
68946
68947 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
68948 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
68949
68950 2013-03-20 Joseph Myers <joseph@codesourcery.com>
68951
68952 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
68953 * config.make.in (config-cflags-sse4): Remove variable.
68954 (config-cflags-avx): Likewise.
68955 (config-cflags-sse2avx): Likewise.
68956 (config-cflags-novzeroupper): Likewise.
68957 (config-asflags-i686): Likewise.
68958 (have-mfma4): Likewise.
68959 (have-as-vis3): Likewise.
68960 (MIG): Likewise.
68961 * configure.in (MIG): Do not AC_SUBST.
68962 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
68963 (libc_cv_cc_sse4): Do not AC_SUBST.
68964 (libc_cv_cc_avx): Likewise.
68965 (libc_cv_cc_sse2avx): Likewise.
68966 (libc_cv_cc_novzeroupper): Likewise.
68967 (libc_cv_cc_fma4): Likewise.
68968 (libc_cv_as_i686): Likewise.
68969 (libc_cv_sparc_as_vis3): Likewise.
68970 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
68971 LIBC_CONFIG_VAR.
68972 (config-asflags-i686): Likewise.
68973 (config-cflags-avx): Likewise.
68974 (config-cflags-sse2avx): Likewise.
68975 (have-mfma4): Likewise.
68976 (config-cflags-novzeroupper): Likewise.
68977 * sysdeps/mach/configure.in (MIG): Likewise.
68978 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
68979 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
68980 LIBC_CONFIG_VAR.
68981 (config-cflags-avx): Likewise.
68982 (config-cflags-sse2avx): Likewise.
68983 (have-mfma4): Likewise.
68984 (config-cflags-novzeroupper): Likewise.
68985 * configure: Regenerated.
68986 * sysdeps/i386/configure: Likewise.
68987 * sysdeps/mach/configure: Likewise.
68988 * sysdeps/sparc/configure: Likewise.
68989 * sysdeps/x86_64/configure: Likewise.
68990
68991 2013-03-20 Roland McGrath <roland@hack.frob.com>
68992
68993 [BZ #14812]
68994 * locale/programs/localedef.c (options): Put N_ translation marker
68995 on argument names, not just descriptions.
68996
68997 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
68998
68999 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
69000
69001 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
69002
69003 [BZ #14176]
69004 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
69005
69006 2013-03-19 Roland McGrath <roland@hack.frob.com>
69007
69008 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
69009 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
69010 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
69011 [!BEFORE_ABORT] (before_abort): New function.
69012 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
69013 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
69014 (writev_for_fatal): New function.
69015 (WRITEV_FOR_FATAL): New macro; call that.
69016 (backtrace_and_maps): New function.
69017 (BEFORE_ABORT): New macro; call that.
69018 (struct str_list): Type removed.
69019 (__libc_message, __libc_fatal): Functions removed.
69020 Include <sysdeps/posix/libc_fatal.c> instead.
69021
69022 2013-03-19 Joseph Myers <joseph@codesourcery.com>
69023
69024 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
69025 constants.
69026 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
69027 double constants.
69028
69029 2013-03-19 Andreas Schwab <schwab@suse.de>
69030
69031 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
69032 * sysdeps/gnu/configure: Regenerate.
69033
69034 * configure.in: Substitute libc_cv_rtlddir.
69035 * configure: Regenerate.
69036 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
69037 * Makeconfig (rtlddir, inst_rtlddir): New variables.
69038 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
69039 * elf/Makefile (install-others, CFLAGS-interp.c)
69040 (ldso_install, common-ldd-rewrite): Likewise.
69041 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
69042 $(inst_slibdir)/$(rtld-installed-name).
69043 * scripts/rellns-sh: Add -p option.
69044 * Makerules (make-shlib-link): Use rellns-sh to get relative name
69045 for source.
69046
69047 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
69048
69049 * manual/nptl.texi: Renamed to ...
69050 * manual/threads.texi: ... this.
69051 * manual/Makefile (chapters): Update.
69052
69053 2013-03-18 Roland McGrath <roland@hack.frob.com>
69054
69055 [BZ #14812]
69056 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
69057 on argument names, not just descriptions.
69058 * malloc/memusagestat.c (options): Likewise.
69059 * nss/getent.c (options): Likewise.
69060
69061 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
69062
69063 [BZ #14812]
69064 * iconv/iconv_prog.c (options): Put N_ translation marker
69065 on argument names, not just descriptions.
69066 * iconv/iconvconfig.c (options): Likewise.
69067
69068 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
69069
69070 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
69071 implementation which is faster on all x86_64 architectures.
69072 Tested on AMD, Intel Nehalem, SNB, IVB.
69073 * sysdeps/x86_64/strnlen.S: Likewise.
69074
69075 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
69076 Remove all multiarch strlen and strnlen versions.
69077 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
69078 Remove strlen and strnlen related parts.
69079
69080 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
69081 Inline strlen part.
69082 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
69083
69084 * sysdeps/x86_64/multiarch/strlen.S: Remove.
69085 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
69086 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
69087 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
69088 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
69089 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
69090
69091 2013-03-17 Carlos O'Donell <carlos@redhat.com>
69092
69093 * manual/memory.texi (Malloc Tunable Parameters):
69094 Sort parameters alphabetically. Add comments for missing entries.
69095
69096 2013-03-17 David S. Miller <davem@davemloft.net>
69097
69098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69099
69100 2013-03-16 Joseph Myers <joseph@codesourcery.com>
69101
69102 [BZ #15283]
69103 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
69104 for arguments at most half maximum finite value.
69105 * math/libm-test.inc (j0_test): Add more tests.
69106 (j1_test): Likewise.
69107 (y0_test): Likewise.
69108 (y1_test): Likewise.
69109 * sysdeps/i386/fpu/libm-test-ulps: Update.
69110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69111
69112 [BZ #14155]
69113 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
69114 1 / x and functions P and Q for arguments above 0x1p256L.
69115 (__ieee754_y0l): Likewise.
69116 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
69117 (__ieee754_y1l): Likewise.
69118 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
69119 (j1_test): Likewise.
69120 (y0_test): Likewise.
69121 (y1_test): Likewise.
69122
69123 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
69124
69125 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
69126 variable.
69127
69128 2013-03-15 Roland McGrath <roland@hack.frob.com>
69129
69130 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
69131 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
69132 zero since it's initialized to EXEC_PAGESIZE.
69133
69134 * sysdeps/unix/sysv/linux/ldsodefs.h
69135 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
69136 * sysdeps/generic/ldsodefs.h: ... here.
69137
69138 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
69139
69140 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
69141
69142 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
69143 math/test-snan.c.
69144 * math/test-snan.c: Renamed from
69145 sysdeps/powerpc/fpu/test-powerpc-snan.c.
69146 * math/Makefile (tests): Add test-snan.
69147 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
69148 test-powerpc-snan.
69149
69150 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
69151 SUFFIX. Initialize qNaN_var with __builtin_nan family of
69152 functions.
69153 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
69154 __builtin_nan family of functions.
69155 * math/libm-test.inc (initialize): Initialize qnan_value with
69156 __builtin_nan family of functions.
69157 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
69158 Remove variables.
69159 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
69160 Remove functions.
69161 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
69162 storage class. Initialize qNaN_var and sNaN_var with
69163 __builtin_nan and __builtin_nans families of functions,
69164 respectively.
69165
69166 * math/libm-test.inc (acosh_test): Also test with qNaN input.
69167 (sqrt_test): Remove duplicate test with qNaN input.
69168 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
69169 (round_test, signbit_test, significand_test): Note missing +/-Inf
69170 as well as qNaN tests.
69171
69172 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
69173 qNaN_var. Fix a few strings, too.
69174 * math/libm-test.inc (nan_value): Rename to qnan_value.
69175 * math/gen-libm-test.pl (%beautify): Adjust to that.
69176 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
69177 * math/test-misc.c (main): Likewise.
69178 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
69179 to __qnan_bytes, and __qnan_union, respectively.
69180 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
69181 Likewise.
69182 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
69183 and lqnanval, respectively.
69184 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
69185 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
69186 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
69187 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
69188
69189 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
69190 * math/test-misc.c (main) [__x86_64__]: Enable test for long
69191 doubles.
69192
69193 * math/test-misc.c (main): Fix copy'n'pastos.
69194 * misc/tst-efgcvt.c (special): Likewise.
69195
69196 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
69197 Remove declarations.
69198
69199 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69200
69201 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
69202 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
69203 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
69204 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
69205
69206 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69207
69208 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
69209 macro to return vdso values correctly in IFUNC implementations.
69210 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
69211 Optimization by using IFUNC.
69212
69213 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69214 Richard Henderson <rth@redhat.com>
69215 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69216
69217 * Makefile.in (bench): New target.
69218 * NEWS: Mention the benchmark framework.
69219 * Rules (bench): Likewise.
69220 (binaries-bench): Generate binaries for functions to
69221 benchmark.
69222 * benchtests/Makefile: New makefile for benchmark tests.
69223 * benchtests/bench-skeleton.c: New skeleton file for benchmark
69224 programs.
69225 * benchtests/exp-inputs: New input file for EXP function.
69226 * benchtests/pow-inputs: New input file for POW function.
69227 * scripts/bench.pl: New script to generate source files for
69228 benchmark programs.
69229
69230 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69231
69232 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
69233 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
69234 computations on mantissa. Use macros for rounding and
69235 division.
69236 (denorm): Likewise.
69237 (__dbl_mp): Likewise.
69238 (add_magnitudes): Likewise.
69239 (sub_magnitudes): Likewise.
69240 (__mul): Likewise.
69241 (__sqr): Likewise.
69242 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
69243 powers of two in terms of TWOPOW macro.
69244 (mp_no): Make type of mantissa as MANTISSA_T.
69245 [!RADIXI]: Define RADIXI.
69246 [!TWO52]: Define TWO52.
69247 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
69248
69249 * manual/nptl.texi (cindex): Modify threads to pthreads.
69250
69251 2013-03-15 Joseph Myers <joseph@codesourcery.com>
69252
69253 * sysdeps/x86_64/preconfigure: Regenerated.
69254
69255 2013-03-14 Joseph Myers <joseph@codesourcery.com>
69256
69257 [BZ #14155]
69258 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
69259 0x1p28 and above.
69260 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
69261 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
69262 0x1p28 and above.
69263 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
69264 * math/libm-test.inc (j0_test): Do not allow one spurious
69265 underflow exception.
69266 (y1_test): Likewise.
69267
69268 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
69269
69270 * manual/Makefile (chapters): Add nptl.
69271 * manual/debug.texi (Debugging Support): Add link to Threads
69272 chapter.
69273 * manual/nptl.texi: New file.
69274
69275 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
69276
69277 2013-03-14 Petr Baudis <pasky@ucw.cz>
69278
69279 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
69280 for non-NULL pointer before the memory validity test. Pointed
69281 out by Holger Brunck <holger.brunck@keymile.com>.
69282
69283 2013-03-13 Andreas Schwab <schwab@suse.de>
69284
69285 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
69286 instead of .os.
69287
69288 2013-03-13 Joseph Myers <joseph@codesourcery.com>
69289
69290 * timezone/zic.c: Update from tzcode 2013b.
69291
69292 2013-03-12 Carlos O'Donell <carlos@redhat.com>
69293
69294 * manual/install.texi (Configuring and compiling):
69295 Mention i686 and i586.
69296 * INSTALL: Regenerate.
69297
69298 2013-03-12 Roland McGrath <roland@hack.frob.com>
69299
69300 * sysdeps/init_array/elf-init.c: New file.
69301 * csu/elf-init.c
69302 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
69303 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
69304
69305 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
69306 __gmon_start__ as global, but as static with a .preinit_array pointer.
69307 * sysdeps/init_array/gmon-start.c: New file. Use that.
69308 * sysdeps/init_array/crti.S: New file, empty except for comments.
69309 * sysdeps/init_array/crtn.S: Likewise.
69310
69311 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
69312
69313 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
69314 definining bcopy.
69315 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69316 Remove Prefer_SSE_for_memop.
69317 * sysdeps/x86_64/multiarch/init-arch.h: Remove
69318 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
69319 HAS_PREFER_SSE_FOR_MEMOP.
69320 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
69321 memset-x86-64.
69322 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
69323 Remove bzero, memset ifunc support.
69324 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
69325 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
69326 * sysdeps/x86_64/multiarch/memset.S: Likewise.
69327 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
69328
69329 2013-03-11 Andreas Schwab <schwab@suse.de>
69330
69331 [BZ #15234]
69332 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
69333 by SHLIB_COMPAT.
69334 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
69335 (GLIBC_2.16): Remove pthread_atfork.
69336
69337 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
69338
69339 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
69340 (ptestcases.h): Likewise.
69341
69342 2013-03-08 Roland McGrath <roland@hack.frob.com>
69343
69344 * Makeconfig ($(common-objpfx)config.status): Depend on
69345 sysdeps/*/preconfigure{,.in} too.
69346
69347 2013-03-08 Joseph Myers <joseph@codesourcery.com>
69348
69349 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
69350 (__free_hook): Use void * instead of __malloc_ptr_t.
69351 (__malloc_hook): Likewise.
69352 (__realloc_hook): Likewise.
69353 (__memalign_hook): Likewise.
69354 (__after_morecore_hook): Likewise.
69355 * malloc/arena.c (save_malloc_hook): Likewise.
69356 (save_free_hook): Likewise.
69357 * malloc/hooks.c (malloc_hook_ini): Likewise.
69358 (realloc_hook_ini): Likewise.
69359 (memalign_hook_ini): Likewise.
69360 * malloc/malloc.c (malloc_hook_ini): Likewise.
69361 (realloc_hook_ini): Likewise.
69362 (memalign_hook_ini): Likewise.
69363 (__free_hook): Likewise.
69364 (__malloc_hook): Likewise.
69365 (__realloc_hook): Likewise.
69366 (__memalign_hook): Likewise.
69367 (__libc_malloc): Likewise.
69368 (__libc_free): Likewise.
69369 (__libc_realloc): Likewise.
69370 (__libc_memalign): Likewise.
69371 (__libc_valloc): Likewise.
69372 (__libc_pvalloc): Likewise.
69373 (__libc_calloc): Likewise.
69374 (__posix_memalign): Likewise.
69375 * malloc/morecore.c (__sbrk): Likewise.
69376 (__default_morecore): Likewise.
69377
69378 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
69379
69380 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
69381 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
69382 __malloc_ptrdiff_t.
69383
69384 * malloc/malloc.h (__malloc_size_t): Remove macro.
69385 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
69386 __malloc_size_t.
69387 (old_memalign_hook): Likewise.
69388 (old_realloc_hook): Likewise.
69389 (struct hdr): Likewise.
69390 (flood): Likewise.
69391 (mallochook): Likewise.
69392 (memalignhook): Likewise.
69393 (reallochook): Likewise.
69394 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
69395 (tr_old_realloc_hook): Likewise.
69396 (tr_old_memalign_hook): Likewise.
69397 (tr_mallochook): Likewise.
69398 (tr_reallochook): Likewise.
69399 (tr_memalignhook): Likewise.
69400
69401 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69402
69403 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
69404 default_ldbl_pack and using as default implementation.
69405 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
69406 implementation.
69407 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
69408 redundant definition.
69409 (ldbl_insert_mantissa): Likewise.
69410 (ldbl_canonicalize): Likewise.
69411 (ldbl_nearbyint): Likewise.
69412 (ldbl_pack): Rename to ldbl_pack_ppc.
69413 (ldbl_unpack): Rename to ldbl_unpack_ppc.
69414 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
69415 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
69416
69417 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
69418
69419 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
69420 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
69421 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
69422 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
69423 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
69424 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
69425 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
69426 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
69427
69428 2013-03-07 Andreas Jaeger <aj@suse.de>
69429
69430 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69431 bits/mman-linux.h.
69432
69433 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
69434
69435 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
69436 Include mpa.h and declare __MPEXP.
69437 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
69438 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69439 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69440 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
69441 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69442 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69443 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
69444
69445 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
69446 (__slowpow): Use long double EXPL and LOGL functions to
69447 compute POW.
69448 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69449 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69450 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
69451 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69452 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69453 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
69454
69455 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
69456 intermediate variable to calculate exponent.
69457 (__sqr): Likewise.
69458 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
69459 Likewise.
69460 (__sqr): Likewise.
69461
69462 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
69463 [!NO__SQR]: Define __sqr.
69464 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
69465 and NO__SQR. Remove all code except __mul and __sqr. Include
69466 sysdeps/ieee754/dbl-64/mpa.c.
69467 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69468
69469 [BZ #12723]
69470 * posix/Makefile (tests): Add tst-pathconf.
69471 * posix/tst-pathconf.c: New test case.
69472 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
69473 _PC_PIPE_BUF.
69474 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
69475
69476 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
69477
69478 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
69479
69480 2013-03-06 Andreas Jaeger <aj@suse.de>
69481
69482 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
69483 definition via __MAP_ANONYMOUS.
69484
69485 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
69486 it's not part of Linux headers.
69487
69488 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
69489 (MAP_HUGE_MASK): Define.
69490
69491 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69492 Define.
69493 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69494 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69495 Define.
69496 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69497 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69498 Define.
69499 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69500 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
69501 Define.
69502 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69503
69504 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
69505 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
69506 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
69507 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
69508 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
69509 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
69510
69511 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
69512 Handle f2fs.
69513
69514 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69515 Handle f2fs and efivarfs.
69516
69517 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
69518 f2fs.
69519
69520 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
69521 (EFIVARFS_MAGIC): Add.
69522 (F2FS_LINK_MAX): Add.
69523
69524 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
69525
69526 * stdio-common/vfprintf.c: Replace __builtin_expect with
69527 __glibc_unlikely.
69528
69529 2013-03-06 Joseph Myers <joseph@codesourcery.com>
69530
69531 [BZ #13550]
69532 * sysdeps/generic/bp-sym.h: Remove file.
69533 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
69534 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
69535 <bp-sym.h> and <bp-asm.h>.
69536 (__longjmp): Don't use BP_SYM.
69537 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
69538 and <bp-asm.h>.
69539 (memcpy): Don't use BP_SYM.
69540 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
69541 <bp-sym.h> and <bp-asm.h>.
69542 (memcpy): Don't use BP_SYM.
69543 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
69544 <bp-asm.h>.
69545 (memcpy): Don't use BP_SYM.
69546 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
69547 <bp-asm.h>.
69548 (memset): Don't use BP_SYM.
69549 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69550 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69551 (__bzero): Don't use BP_SYM.
69552 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69553 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69554 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
69555 <bp-sym.h> and <bp-asm.h>.
69556 (memcmp): Don't use BP_SYM. Remove comment about bounded
69557 pointers.
69558 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
69559 <bp-sym.h> and <bp-asm.h>.
69560 (memcpy): Don't use BP_SYM.
69561 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
69562 <bp-sym.h> and <bp-asm.h>.
69563 (memset): Don't use BP_SYM.
69564 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69565 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69566 (__bzero): Don't use BP_SYM.
69567 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69568 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69569 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
69570 <bp-sym.h> and <bp-asm.h>.
69571 (strncmp): Don't use BP_SYM. Remove comment about bounded
69572 pointers.
69573 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
69574 <bp-sym.h> and <bp-asm.h>.
69575 (memcpy): Don't use BP_SYM.
69576 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
69577 <bp-sym.h> and <bp-asm.h>.
69578 (memset): Don't use BP_SYM.
69579 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69580 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69581 (__bzero): Don't use BP_SYM.
69582 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69583 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69584 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
69585 <bp-sym.h> and <bp-asm.h>.
69586 (__memchr): Don't use BP_SYM.
69587 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
69588 <bp-sym.h> and <bp-asm.h>.
69589 (memcmp): Don't use BP_SYM. Remove comment about bounded
69590 pointers.
69591 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
69592 <bp-sym.h> and <bp-asm.h>.
69593 (memcpy): Don't use BP_SYM.
69594 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
69595 <bp-sym.h> and <bp-asm.h>.
69596 (__mempcpy): Don't use BP_SYM.
69597 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
69598 <bp-sym.h> and <bp-asm.h>.
69599 (__memrchr): Don't use BP_SYM.
69600 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
69601 <bp-sym.h> and <bp-asm.h>.
69602 (memset): Don't use BP_SYM.
69603 (__bzero): Likewise.
69604 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
69605 <bp-sym.h> and <bp-asm.h>.
69606 (__rawmemchr): Don't use BP_SYM.
69607 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
69608 <bp-sym.h> and <bp-asm.h>.
69609 (__STRCMP): Don't use BP_SYM.
69610 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
69611 <bp-sym.h> and <bp-asm.h>.
69612 (strchr): Don't use BP_SYM.
69613 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
69614 <bp-sym.h> and <bp-asm.h>.
69615 (__strchrnul): Don't use BP_SYM.
69616 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
69617 <bp-sym.h> and <bp-asm.h>.
69618 (strlen): Don't use BP_SYM.
69619 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
69620 <bp-sym.h> and <bp-asm.h>.
69621 (strncmp): Don't use BP_SYM. Remove comment about bounded
69622 pointers.
69623 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
69624 <bp-sym.h> and <bp-asm.h>.
69625 (__strnlen): Don't use BP_SYM.
69626 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
69627 <bp-sym.h> and <bp-asm.h>.
69628 (__GI__setjmp): Don't use BP_SYM.
69629 (_setjmp): Likewise.
69630 (__sigsetjmp): Likewise.
69631 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
69632 (L(start_addresses)): Don't use BP_SYM.
69633 (_start): Likewise.
69634 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
69635 <bp-asm.h>.
69636 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
69637 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
69638 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69639 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69640 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
69641 <bp-asm.h>.
69642 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
69643 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
69644 about bounded pointers.
69645 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69646 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69647 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
69648 <bp-asm.h>.
69649 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
69650 about bounded pointers. Remove GKM FIXME comments.
69651 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69652 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
69653 <bp-asm.h>.
69654 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
69655 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
69656 Remove GKM FIXME comments.
69657 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69658 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69659 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
69660 <bp-asm.h>.
69661 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
69662 about bounded pointers. Remove GKM FIXME comment.
69663 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
69664 and <bp-asm.h>.
69665 (strncmp): Don't use BP_SYM. Remove comment about bounded
69666 pointers.
69667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
69668 <bp-sym.h> and <bp-asm.h>.
69669 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
69670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
69671 <bp-sym.h> and <bp-asm.h>.
69672 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
69673 comment.
69674
69675 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
69676
69677 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
69678 call free(NULL).
69679
69680 2013-03-05 David S. Miller <davem@davemloft.net>
69681
69682 * po/es.po: Update from translation team.
69683
69684 2013-03-05 Andreas Jaeger <aj@suse.de>
69685
69686 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
69687 <bits/mman-linux.h>.
69688 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69689 is fine.
69690 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
69691 <bits/mman-linux.h> to end of file.
69692 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69693 is fine.
69694 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
69695 <bits/mman-linux.h> to end of file.
69696 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69697 is fine.
69698 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
69699 <bits/mman-linux.h> to end of file.
69700
69701 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
69702 (MCL_CURRENT, MCL_FUTURE): Define here.
69703
69704 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69705
69706 [BZ #15232]
69707 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
69708 attribute_hidden.
69709 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
69710
69711 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69712
69713 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
69714 fourth parameter needed for rt_sigprocmask syscall.
69715 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
69716 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
69717 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
69718 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
69719 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
69720 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
69721
69722 2013-03-04 Joseph Myers <joseph@codesourcery.com>
69723
69724 [BZ #13550]
69725 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
69726 comment about bounded pointers.
69727 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
69728 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
69729
69730 2013-03-04 Andreas Jaeger <aj@suse.de>
69731
69732 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
69733 common definitions.
69734
69735 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
69736 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
69737 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
69738 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69739 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
69740 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69741
69742 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69743
69744 [BZ #15055]
69745 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
69746 __ieee754_sqrl instead of __sqrl.
69747
69748 2013-03-01 Joseph Myers <joseph@codesourcery.com>
69749
69750 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
69751 * sysdeps/powerpc/fpu_control.h: ... here.
69752 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
69753 * sysdeps/powerpc/bits/fenvinline.h: ... here.
69754 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
69755 * sysdeps/powerpc/bits/mathinline.h: ... here.
69756
69757 2013-03-01 Roland McGrath <roland@hack.frob.com>
69758
69759 * elf/dl-hwcaps.c (_dl_important_hwcaps):
69760 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
69761 to just [NEED_DL_SYSINFO_DSO].
69762 * elf/dl-support.c: Likewise.
69763 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
69764 * elf/rtld.c (dl_main): Likewise.
69765 * elf/setup-vdso.h (setup_vdso): Likewise.
69766 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
69767 * sysdeps/unix/sysv/linux/dl-sysdep.c
69768 (_dl_discover_osversion): Likewise.
69769
69770 2013-03-01 Carlos O'Donell <carlos@redhat.com>
69771
69772 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
69773 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
69774
69775 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
69776
69777 * NEWS: Mention libm performance improvements and non-x86 PI
69778 futex support.
69779
69780 * csu/libc-start.c (__pthread_initialize_minimal): Change
69781 function arguments.
69782 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
69783
69784 2013-02-28 Joseph Myers <joseph@codesourcery.com>
69785
69786 [BZ #13550]
69787 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
69788 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
69789 <bp-sym.h> and <bp-asm.h>.
69790 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69791 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
69792 and <bp-asm.h>.
69793 (memcpy): Don't use BP_SYM.
69794 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
69795 <bp-asm.h>.
69796 (__mpn_add_n): Don't use BP_SYM.
69797 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
69798 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
69799 and <bp-asm.h>.
69800 (__mpn_addmul_1): Don't use BP_SYM.
69801 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69802 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
69803 <bp-sym.h>.
69804 (_setjmp): Don't use BP_SYM.
69805 (__novmx_setjmp): Likewise.
69806 (__GI__setjmp): Likewise.
69807 (__vmx_setjmp): Likewise.
69808 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
69809 <bp-sym.h>.
69810 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
69811 (__bzero): Don't use BP_SYM.
69812 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69813 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69814 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
69815 <bp-sym.h> and <bp-asm.h>.
69816 (memcpy): Don't use BP_SYM.
69817 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
69818 <bp-sym.h> and <bp-asm.h>.
69819 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69820 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
69821 <bp-sym.h> and <bp-asm.h>.
69822 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69823 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
69824 <bp-asm.h>.
69825 (__mpn_lshift): Don't use BP_SYM.
69826 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69827 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
69828 <bp-asm.h>.
69829 (memset): Don't use BP_SYM.
69830 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69831 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69832 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
69833 <bp-asm.h>.
69834 (__mpn_mul_1): Don't use BP_SYM.
69835 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69836 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
69837 <bp-sym.h> and <bp-asm.h>.
69838 (memcmp): Don't use BP_SYM.
69839 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
69840 <bp-sym.h> and <bp-asm.h>.
69841 (memcpy): Don't use BP_SYM.
69842 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
69843 <bp-sym.h> and <bp-asm.h>.
69844 (memset): Don't use BP_SYM.
69845 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
69846 <bp-sym.h> and <bp-asm.h>.
69847 (strncmp): Don't use BP_SYM.
69848 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
69849 <bp-sym.h> and <bp-asm.h>.
69850 (memcpy): Don't use BP_SYM.
69851 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
69852 <bp-sym.h> and <bp-asm.h>.
69853 (memset): Don't use BP_SYM.
69854 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
69855 <bp-sym.h> and <bp-asm.h>.
69856 (__memchr): Don't use BP_SYM.
69857 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
69858 <bp-sym.h> and <bp-asm.h>.
69859 (memcmp): Don't use BP_SYM.
69860 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
69861 <bp-sym.h> and <bp-asm.h>.
69862 (memcpy): Don't use BP_SYM.
69863 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
69864 <bp-sym.h> and <bp-asm.h>.
69865 (__mempcpy): Don't use BP_SYM.
69866 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
69867 <bp-sym.h> and <bp-asm.h>.
69868 (__memrchr): Don't use BP_SYM.
69869 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
69870 <bp-sym.h> and <bp-asm.h>.
69871 (memset): Don't use BP_SYM.
69872 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
69873 <bp-sym.h> and <bp-asm.h>.
69874 (__rawmemchr): Don't use BP_SYM.
69875 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
69876 <bp-sym.h> and <bp-asm.h>.
69877 (__STRCMP): Don't use BP_SYM.
69878 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
69879 <bp-sym.h> and <bp-asm.h>.
69880 (strchr): Don't use BP_SYM.
69881 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
69882 <bp-sym.h> and <bp-asm.h>.
69883 (__strchrnul): Don't use BP_SYM.
69884 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
69885 <bp-sym.h> and <bp-asm.h>.
69886 (strlen): Don't use BP_SYM.
69887 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
69888 <bp-sym.h> and <bp-asm.h>.
69889 (strncmp): Don't use BP_SYM.
69890 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
69891 <bp-sym.h> and <bp-asm.h>.
69892 (__strnlen): Don't use BP_SYM.
69893 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
69894 <bp-asm.h>.
69895 (__mpn_rshift): Don't use BP_SYM.
69896 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69897 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
69898 <bp-sym.h> and <bp-asm.h>.
69899 (__sigsetjmp): Don't use BP_SYM.
69900 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
69901 (L(start_addresses)): Don't use BP_SYM.
69902 (_start): Likewise.
69903 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
69904 <bp-asm.h>.
69905 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
69906 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69907 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69908 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
69909 <bp-asm.h>.
69910 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
69911 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69912 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69913 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
69914 <bp-asm.h>.
69915 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
69916 comments.
69917 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69918 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
69919 <bp-asm.h>.
69920 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
69921 FIXME comments.
69922 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69923 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69924 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
69925 <bp-asm.h>.
69926 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
69927 comment.
69928 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
69929 and <bp-asm.h>.
69930 (strncmp): Don't use BP_SYM,
69931 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
69932 <bp-asm.h>.
69933 (__mpn_sub_n): Don't use BP_SYM.
69934 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69935 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
69936 and <bp-asm.h>.
69937 (__mpn_submul_1): Don't use BP_SYM.
69938 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
69940 <bp-sym.h> and <bp-asm.h>.
69941 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
69942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
69943 <bp-sym.h> and <bp-asm.h>.
69944 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
69945 comment.
69946
69947 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
69948
69949 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
69950 Use ZK to minimize writes to Z.
69951 (sub_magnitudes): Simplify code a bit.
69952 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
69953 Use ZK to minimize writes to Z.
69954 (sub_magnitudes): Simplify code a bit.
69955
69956 2013-02-27 Roland McGrath <roland@hack.frob.com>
69957
69958 * csu/gmon-start.c: Add special exception to license text.
69959
69960 2013-02-27 Richard Henderson <rth@redhat.com>
69961
69962 * scripts/config.guess: Update from config.git.
69963 * scripts/config.sub: Likewise.
69964
69965 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
69966
69967 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
69968
69969 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
69970
69971 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
69972
69973 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
69974
69975 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
69976
69977 2013-02-26 Roland McGrath <roland@hack.frob.com>
69978
69979 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
69980 [$(build-shared = yes].
69981
69982 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
69983
69984 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
69985 (__mul): Reduce iterations for calculating mantissa.
69986
69987 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
69988 MPTWO.
69989 (__mpranred): Likewise.
69990
69991 [BZ #15160]
69992 * malloc/memusagestat.c (main): Draw graphs for heap and stack
69993 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
69994
69995 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
69996
69997 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
69998 Define __attribute__.
69999
70000 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
70001
70002 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
70003 unused.
70004 * posix/regex_internal.h (__attribute): Remove.
70005 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
70006 (re_string_context_at): Likewise.
70007 (bitset_not): Use __attribute__ and mark function as possibly
70008 unused.
70009 (bitset_merge): Likewise.
70010 (bitset_mask): Likewise.
70011 (re_string_char_size_at): Likewise.
70012 (re_string_wchar_at): Likewise.
70013 (re_string_elem_size_at): Likewise.
70014
70015 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
70016
70017 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
70018 code.
70019 (cc32): Likewise.
70020
70021 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
70022 (__acr): Likewise.
70023 (__cpy): Likewise.
70024 (norm): Likewise.
70025 (denorm): Likewise.
70026 (__dbl_mp): Likewise.
70027 (add_magnitudes): Likewise.
70028 (sub_magnitudes): Likewise.
70029 (__mul): Likewise.
70030 (__inv): Likewise.
70031
70032 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
70033 style.
70034
70035 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
70036 style.
70037
70038 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
70039 code.
70040
70041 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
70042 up changes with default code.
70043 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
70044 Likewise.
70045
70046 2013-02-24 Allan McRae <allan@archlinux.org>
70047
70048 * manual/socket.texi (The Internet Namespace): Order menu items
70049 to match that in the file.
70050
70051 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
70052 node listing of the info page menu.
70053
70054 2013-02-21 Joseph Myers <joseph@codesourcery.com>
70055
70056 [BZ #13550]
70057 * sysdeps/i386/bp-asm.h: Remove file.
70058 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70059 (PARMS): Do not use macros from bp-asm.h.
70060 (S1): Likewise.
70061 (S2): Likewise.
70062 (SIZE): Likewise.
70063 (__mpn_add_n): Do not use BP_SYM
70064 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
70065 "bp-asm.h".
70066 (PARMS): Do not use macros from bp-asm.h.
70067 (S1): Likewise.
70068 (SIZE): Likewise.
70069 (__mpn_addmul_1): Do not use BP_SYM
70070 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
70071 "bp-asm.h".
70072 (PARMS): Do not use macros from bp-asm.h.
70073 (SIGMSK): Likewise.
70074 (_setjmp): Likewise. Do not use BP_SYM.
70075 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
70076 "bp-asm.h".
70077 (PARMS): Do not use macros from bp-asm.h.
70078 (SIGMSK): Likewise.
70079 (setjmp): Likewise. Do not use BP_SYM.
70080 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
70081 "bp-asm.h".
70082 (PARMS): Do not use macros from bp-asm.h.
70083 (__frexp): Do not use BP_SYM.
70084 (frexp): Likewise.
70085 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
70086 "bp-asm.h".
70087 (PARMS): Do not use macros from bp-asm.h.
70088 (__frexpf): Do not use BP_SYM.
70089 (frexpf): Likewise.
70090 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
70091 "bp-asm.h".
70092 (PARMS): Do not use macros from bp-asm.h.
70093 (__frexpl): Do not use BP_SYM.
70094 (frexpl): Likewise.
70095 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
70096 "bp-asm.h".
70097 (PARMS): Do not use macros from bp-asm.h.
70098 (__remquo): Do not use BP_SYM.
70099 (remquo): Likewise.
70100 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
70101 "bp-asm.h".
70102 (PARMS): Do not use macros from bp-asm.h.
70103 (__remquof): Do not use BP_SYM.
70104 (remquof): Likewise.
70105 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
70106 "bp-asm.h".
70107 (PARMS): Do not use macros from bp-asm.h.
70108 (__remquol): Do not use BP_SYM.
70109 (remquol): Likewise.
70110 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
70111 "bp-asm.h".
70112 (PARMS): Do not use macros from bp-asm.h.
70113 (DEST): Likewise.
70114 (SRC): Likewise.
70115 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
70116 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
70117 "bp-asm.h".
70118 (PARMS): Do not use macros from bp-asm.h.
70119 (strlen): Do not use BP_SYM.
70120 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
70121 "bp-asm.h".
70122 (PARMS): Do not use macros from bp-asm.h.
70123 (S1): Likewise.
70124 (S2): Likewise.
70125 (SIZE): Likewise.
70126 (__mpn_add_n): Do not use BP_SYM.
70127 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
70128 "bp-asm.h".
70129 (PARMS): Do not use macros from bp-asm.h.
70130 (S1): Likewise.
70131 (SIZE): Likewise.
70132 (__mpn_addmul_1): Do not use BP_SYM.
70133 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
70134 weak_alias.
70135 (bzero): Likewise.
70136 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
70137 "bp-asm.h".
70138 (PARMS): Do not use macros from bp-asm.h.
70139 (S): Likewise.
70140 (SIZE): Likewise.
70141 (__mpn_lshift): Do not use BP_SYM.
70142 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
70143 "bp-asm.h".
70144 (PARMS): Do not use macros from bp-asm.h.
70145 (DEST): Likewise.
70146 (SRC): Likewise.
70147 (LEN): Likewise.
70148 (memcpy): Likewise. Do not use BP_SYM.
70149 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
70150 libc_hidden_def and weak_alias.
70151 (mempcpy): Do not use BP_SYM in weak_alias.
70152 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
70153 "bp-asm.h".
70154 (PARMS): Do not use macros from bp-asm.h.
70155 (DEST): Likewise.
70156 (LEN): Likewise.
70157 [!BZERO_P] (CHR): Likewise.
70158 (memset): Likewise. Do not use BP_SYM.
70159 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
70160 "bp-asm.h".
70161 (PARMS): Do not use macros from bp-asm.h.
70162 (S1): Likewise.
70163 (SIZE): Likewise.
70164 (__mpn_mul_1): Do not use BP_SYM.
70165 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
70166 "bp-asm.h".
70167 (PARMS): Do not use macros from bp-asm.h.
70168 (S): Likewise.
70169 (SIZE): Likewise.
70170 (__mpn_rshift): Do not use BP_SYM.
70171 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
70172 "bp-asm.h".
70173 (PARMS): Do not use macros from bp-asm.h.
70174 (STR): Likewise.
70175 (CHR): Likewise.
70176 (strchr): Likewise. Do not use BP_SYM.
70177 (index): Do not use BP_SYM in weak_alias.
70178 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
70179 "bp-asm.h".
70180 (PARMS): Do not use macros from bp-asm.h.
70181 (DEST): Likewise.
70182 (SRC): Likewise.
70183 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
70184 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
70185 "bp-asm.h".
70186 (PARMS): Do not use macros from bp-asm.h.
70187 (strlen): Do not use BP_SYM.
70188 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
70189 "bp-asm.h".
70190 (PARMS): Do not use macros from bp-asm.h.
70191 (S1): Likewise.
70192 (S2): Likewise.
70193 (SIZE): Likewise.
70194 (__mpn_sub_n): Do not use BP_SYM.
70195 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
70196 "bp-asm.h".
70197 (PARMS): Do not use macros from bp-asm.h.
70198 (S1): Likewise.
70199 (SIZE): Likewise.
70200 (__mpn_submul_1): Do not use BP_SYM.
70201 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
70202 "bp-asm.h".
70203 (PARMS): Do not use macros from bp-asm.h.
70204 (S1): Likewise.
70205 (S2): Likewise.
70206 (SIZE): Likewise.
70207 (__mpn_add_n): Do not use BP_SYM.
70208 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
70209 weak_alias.
70210 (bzero): Likewise.
70211 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
70212 "bp-asm.h".
70213 (PARMS): Do not use macros from bp-asm.h.
70214 (BLK2): Likewise.
70215 (LEN): Likewise.
70216 (memcmp): Do not use BP_SYM.
70217 (bcmp): Do not use BP_SYM in weak_alias.
70218 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
70219 "bp-asm.h".
70220 (PARMS): Do not use macros from bp-asm.h.
70221 (DEST): Likewise.
70222 (SRC): Likewise.
70223 (LEN): Likewise.
70224 (memcpy): Likewise. Do not use BP_SYM.
70225 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
70226 "bp-asm.h".
70227 (PARMS): Do not use macros from bp-asm.h.
70228 (DEST): Likewise.
70229 (SRC): Likewise.
70230 (LEN): Likewise.
70231 (memmove): Likewise. Do not use BP_SYM.
70232 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
70233 "bp-asm.h".
70234 (PARMS): Do not use macros from bp-asm.h.
70235 (DEST): Likewise.
70236 (SRC): Likewise.
70237 (LEN): Likewise.
70238 (__mempcpy): Likewise. Do not use BP_SYM.
70239 (mempcpy): Do not use BP_SYM in weak_alias.
70240 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
70241 "bp-asm.h".
70242 (PARMS): Do not use macros from bp-asm.h.
70243 (DEST): Likewise.
70244 (LEN): Likewise.
70245 [!BZERO_P] (CHR): Likewise.
70246 (memset): Likewise. Do not use BP_SYM.
70247 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
70248 "bp-asm.h".
70249 (PARMS): Do not use macros from bp-asm.h.
70250 (STR2): Likewise.
70251 (strcmp): Do not use BP_SYM.
70252 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
70253 "bp-asm.h".
70254 (PARMS): Do not use macros from bp-asm.h.
70255 (STR): Likewise.
70256 (DELIM): Likewise.
70257 [USE_AS_STRTOK_R] (SAVE): Likewise.
70258 (FUNCTION): Likewise. Do not use BP_SYM.
70259 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
70260 aliases.
70261 (strtok_r): Likewise.
70262 (__GI___strtok_r): Likewise.
70263 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70264 (PARMS): Do not use macros from bp-asm.h.
70265 (S): Likewise.
70266 (SIZE): Likewise.
70267 (__mpn_lshift): Do not use BP_SYM.
70268 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70269 (PARMS): Do not use macros from bp-asm.h.
70270 (STR): Likewise.
70271 (CHR): Likewise.
70272 (__memchr): Do not use BP_SYM.
70273 (memchr): Do not use BP_SYM in weak_alias.
70274 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70275 (PARMS): Do not use macros from bp-asm.h.
70276 (BLK2): Likewise.
70277 (LEN): Likewise.
70278 (memcmp): Do not use BP_SYM.
70279 (bcmp): Do not use BP_SYM in weak_alias.
70280 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
70281 (PARMS): Do not use macros from bp-asm.h.
70282 (S1): Likewise.
70283 (SIZE): Likewise.
70284 (__mpn_mul_1): Do not use BP_SYM.
70285 * sysdeps/i386/rawmemchr.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 (__rawmemchr): Do not use BP_SYM.
70291 (rawmemchr): Do not use BP_SYM in weak_alias.
70292 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70293 (PARMS): Do not use macros from bp-asm.h.
70294 (S): Likewise.
70295 (SIZE): Likewise.
70296 (__mpn_rshift): Do not use BP_SYM.
70297 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70298 (PARMS): Do not use macros from bp-asm.h.
70299 (SIGMSK): Likewise.
70300 (__sigsetjmp): Likewise. Do not use BP_SYM.
70301 * sysdeps/i386/start.S: Do not include "bp-sym.h".
70302 (_start): Do not use BP_SYM.
70303 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
70304 (PARMS): Do not use macros from bp-asm.h.
70305 (DEST): Likewise.
70306 (SRC): Likewise.
70307 (__stpcpy): Likewise. Do not use BP_SYM.
70308 (stpcpy): Do not use BP_SYM in weak_alias.
70309 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
70310 "bp-asm.h".
70311 (PARMS): Do not use macros from bp-asm.h.
70312 (DEST): Likewise.
70313 (SRC): Likewise.
70314 (LEN): Likewise.
70315 (__stpncpy): Likewise. Do not use BP_SYM.
70316 (stpncpy): Do not use BP_SYM in weak_alias.
70317 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70318 (PARMS): Do not use macros from bp-asm.h.
70319 (STR): Likewise.
70320 (CHR): Likewise.
70321 (strchr): Likewise. Do not use BP_SYM.
70322 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
70323 "bp-asm.h".
70324 (PARMS): Do not use macros from bp-asm.h.
70325 (STR): Likewise.
70326 (CHR): Likewise.
70327 (__strchrnul): Likewise. Do not use BP_SYM.
70328 (strchrnul): Do not use BP_SYM in weak_alias.
70329 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
70330 "bp-asm.h".
70331 (PARMS): Do not use macros from bp-asm.h.
70332 (STOP): Likewise.
70333 (strcspn): Do not use BP_SYM.
70334 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
70335 "bp-asm.h".
70336 (PARMS): Do not use macros from bp-asm.h.
70337 (STR): Likewise.
70338 (STOP): Likewise.
70339 (strpbrk): Likewise. Do not use BP_SYM.
70340 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
70341 "bp-asm.h".
70342 (PARMS): Do not use macros from bp-asm.h.
70343 (STR): Likewise.
70344 (CHR): Likewise.
70345 (strrchr): Likewise. Do not use BP_SYM.
70346 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
70347 (PARMS): Do not use macros from bp-asm.h.
70348 (SKIP): Likewise.
70349 (strspn): Do not use BP_SYM.
70350 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
70351 (PARMS): Do not use macros from bp-asm.h.
70352 (STR): Likewise.
70353 (DELIM): Likewise.
70354 (SAVE): Likewise.
70355 (FUNCTION): Likewise. Do not use BP_SYM.
70356 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
70357 aliases.
70358 (strtok_r): Likewise.
70359 (__GI___strtok_r): Likewise.
70360 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70361 (PARMS): Do not use macros from bp-asm.h.
70362 (S1): Likewise.
70363 (S2): Likewise.
70364 (SIZE): Likewise.
70365 (__mpn_sub_n): Do not use BP_SYM.
70366 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
70367 "bp-asm.h".
70368 (PARMS): Do not use macros from bp-asm.h.
70369 (S1): Likewise.
70370 (SIZE): Likewise.
70371 (__mpn_submul_1): Do not use BP_SYM.
70372 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
70373 <bp-sym.h>.
70374 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
70375 and <bp-asm.h>.
70376 (PARMS): Do not use macros from bp-asm.h.
70377 (FLAGS): Likewise.
70378 (PTID): Likewise.
70379 (TLS): Likewise.
70380 (CTID): Likewise.
70381 (__clone): Do not use BP_SYM.
70382 (clone): Do not use BP_SYM in weak_alias.
70383 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
70384 and <bp-asm.h>.
70385 (PARMS): Do not use macros from bp-asm.h.
70386 (LEN): Likewise.
70387 (__mmap64): Do not use BP_SYM.
70388 (mmap64): Do not use BP_SYM in weak_alias.
70389 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
70390 <bp-sym.h> and <bp-asm.h>.
70391 (PARMS): Do not use macros from bp-asm.h.
70392 (__posix_fadvise64_l64): Do not use BP_SYM.
70393 * sysdeps/unix/sysv/linux/i386/semtimedop.S
70394 (PARMS): Do not use macros from bp-asm.h.
70395 (NSOPS): Likewise.
70396 (semtimedop): Do not use BP_SYM.
70397 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
70398 and <bp-asm.h>.
70399
70400 2013-02-21 Allan McRae <allan@archlinux.org>
70401
70402 * manual/message.texi (Charset conversion in gettext):
70403 Move @end statement to beginning of line.
70404
70405 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
70406
70407 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
70408 static.
70409 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70410 Likewise.
70411
70412 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
70413 (denorm): Likewise.
70414 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
70415 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
70416
70417 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70418
70419 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
70420 tail-call to the resolved function if pltexit isn't needed.
70421
70422 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
70423
70424 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
70425 or Y being zero as being unlikely.
70426 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
70427 Likewise.
70428
70429 2013-02-20 Carlos O'Donell <carlos@redhat.com>
70430
70431 * manual/nss.texi (System Databases and Name Service Switch):
70432 Remove frobnicate @pxref.
70433
70434 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
70435
70436 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70437 __attribute__ ((unused)) to __attribute__ ((__unused__)).
70438
70439 2013-02-20 Petr Machata <pmachata@redhat.com>
70440
70441 * elf/elf.h (R_ARM_TARGET1): New macro.
70442 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
70443 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
70444 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
70445 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
70446 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
70447 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
70448 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
70449 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
70450 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
70451 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
70452 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
70453 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
70454 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
70455 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
70456 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
70457 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
70458 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
70459 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
70460 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
70461 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
70462 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
70463 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
70464 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
70465 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
70466 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
70467 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
70468 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
70469 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
70470 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
70471 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
70472 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
70473 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
70474 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
70475 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
70476 (R_ARM_THM_GOT_BREL12): Likewise.
70477 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
70478 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
70479 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
70480 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
70481 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
70482 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
70483 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
70484 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
70485 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
70486
70487 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
70488
70489 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70490 __attribute_used__ to __attribute__ ((unused)).
70491
70492 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
70493
70494 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
70495 powerpc mpa.c.
70496 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
70497 comment formatting.
70498 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
70499
70500 2013-02-19 Joseph Myers <joseph@codesourcery.com>
70501
70502 [BZ #13550]
70503 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
70504 Remove macro.
70505 (ENTER): Remove both macro definitions.
70506 (LEAVE): Likewise.
70507 (CHECK_BOUNDS_LOW): Likewise.
70508 (CHECK_BOUNDS_HIGH): Likewise.
70509 (CHECK_BOUNDS_BOTH): Likewise.
70510 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
70511 (RETURN_BOUNDED_POINTER): Likewise.
70512 (RETURN_NULL_BOUNDED_POINTER): Likewise.
70513 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
70514 (POP_ERRNO_LOCATION_RETURN): Likewise.
70515 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
70516 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70517 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
70518 macros.
70519 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70520 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
70521 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
70522 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
70523 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
70524 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
70525 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
70526 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
70527 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
70528 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
70529 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
70530 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
70531 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70532 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
70533 removed macros.
70534 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70535 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
70536 macros.
70537 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70538 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
70539 * sysdeps/i386/i586/memset.S (memset): Likewise.
70540 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
70541 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70542 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
70543 macros.
70544 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70545 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
70546 Change uses of L(2) to L(out).
70547 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
70548 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
70549 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
70550 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70551 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
70552 removed macros.
70553 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70554 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
70555 macros.
70556 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70557 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
70558 (RETURN): Do not use macro LEAVE.
70559 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
70560 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
70561 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
70562 * sysdeps/i386/i686/memset.S (memset): Likewise.
70563 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
70564 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
70565 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70566 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
70567 Likewise.
70568 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70569 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
70570 L(1_2) and L(1_3) into L(1).
70571 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70572 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
70573 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70574 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
70575 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70576 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
70577 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
70578 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70579 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
70580 macros.
70581 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
70582 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70583 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
70584 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
70585 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
70586 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70587 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
70588 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
70589 * sysdeps/i386/strcspn.S (strcspn): Likewise.
70590 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
70591 * sysdeps/i386/strrchr.S (strrchr): Likewise.
70592 * sysdeps/i386/strspn.S (strspn): Likewise.
70593 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
70594 conditional code.
70595 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70596 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
70597 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70598 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
70599 L(1_3) into L(1_1).
70600 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
70601 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70602 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
70603 macros.
70604 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70605
70606 2013-02-19 Jakub Jelinek <jakub@redhat.com>
70607
70608 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
70609 macro.
70610
70611 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
70612
70613 * math/atest-exp.c (exp_mpn): Remove ROUND.
70614 * math/atest-exp2.c (exp_mpn): Likewise.
70615 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
70616
70617 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
70618 * stdlib/tst-tls-atexit-lib.c: Likewise.
70619 * stdlib/tst-tls-atexit.c: Likewise.
70620
70621 2013-02-18 Mike Frysinger <vapier@gentoo.org>
70622
70623 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
70624 and __attribute_alloc_size__.
70625
70626 2013-02-18 Mike Frysinger <vapier@gentoo.org>
70627
70628 * include/programs/xmalloc.h: Change __attribute_alloc_size to
70629 __attribute_alloc_size__.
70630 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
70631 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
70632
70633 2013-02-18 Mike Frysinger <vapier@gentoo.org>
70634
70635 * include/programs/xmalloc.h: New file.
70636 * catgets/gencat.c: Include it.
70637 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
70638 * elf/pldd.c: Likewise.
70639 * iconv/iconv_charmap.c: Likewise.
70640 * iconv/iconvconfig.c: Likewise.
70641 * iconv/strtab.c: Likewise.
70642 * locale/programs/locale.c: Likewise.
70643 * locale/programs/localedef.h: Likewise.
70644 * locale/programs/simple-hash.c: Likewise.
70645 * nscd/nscd.h: Likewise.
70646 * nss/makedb.c: Likewise.
70647 * sysdeps/generic/ldconfig.h: Likewise.
70648
70649 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
70650
70651 * Versions.def: Add GLIBC_2.18.
70652 * include/link.h (struct link_map): New member l_tls_dtor_count.
70653 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
70654 (__call_tls_dtors): Likewise.
70655 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
70656 __cxa_thread_atexit_impl.
70657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70658 Likewise.
70659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70660 Likewise.
70661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
70662 Likewise.
70663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
70664 Likewise.
70665 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
70666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
70667 Likewise.
70668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
70669 Likewise.
70670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
70671 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
70672 Likewise.
70673 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
70674 (tests): Add test case tst-tls-atexit.
70675 (modules-names): Add shared library for tst-tls-atexit.
70676 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
70677 (GLIBC_PRIVATE): Add __call_tls_dtors.
70678 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
70679 for libstdc++.
70680 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
70681 * stdlib/tst-tls-atexit.c: New test case.
70682 * stdlib/tst-tls-atexit-lib.c: New test case.
70683
70684 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
70685
70686 * elf/Versions (ld): Add _dl_find_dso_for_object.
70687 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
70688 * elf/dl-open.c (_dl_find_dso_for_object): New function.
70689 (dl_open_worker): Use _dl_find_dso_for_object.
70690 * elf/dl-sym.c (do_sym): Likewise.
70691 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
70692
70693 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70694
70695 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
70696 Syntactic changes only.
70697 (_dl_runtime_profile): Do a tail-call to the resolved function.
70698
70699 2013-02-17 Joseph Myers <joseph@codesourcery.com>
70700
70701 [BZ #13550]
70702 * sysdeps/x86_64/bp-asm.h: Remove file.
70703 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
70704 <bp-sym.h> and <bp-asm.h>.
70705 (__clone): Do not use BP_SYM.
70706 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
70707 <bp-sym.h> and <bp-asm.h>.
70708 * sysdeps/unix/x86_64/sysdep.S: Likewise.
70709 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
70710 "bp-asm.h".
70711 (_setjmp): Do not use BP_SYM.
70712 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
70713 "bp-asm.h".
70714 (setjmp): Do not use BP_SYM.
70715 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
70716 libc_hidden_def.
70717 (mempcpy): Do not use BP_SYM in weak_alias.
70718 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
70719 "bp-asm.h".
70720 (strchr): Do not use BP_SYM.
70721 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
70722 "bp-asm.h".
70723 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
70724 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
70725 (_start): Do not use BP_SYM.
70726 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
70727 "bp-asm.h".
70728 (strcat): Do not use BP_SYM.
70729 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
70730 "bp-asm.h".
70731 (STRCMP): Do not use BP_SYM.
70732 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
70733 "bp-asm.h".
70734 (STRCPY): Do not use BP_SYM.
70735 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
70736 "bp-asm.h".
70737 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
70738 "bp-asm.h".
70739 (FUNCTION): Do not use BP_SYM.
70740 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
70741 weak_alias.
70742 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
70743
70744 2013-02-17 Andreas Jaeger <aj@suse.de>
70745
70746 * time/Versions: Sort entries.
70747 * string/Versions: Likewise.
70748 * resolv/Versions: Likewise.
70749 * posix/Versions: Likewise.
70750 * iconv/Versions: Likewise.
70751 * elf/Versions: Likewise.
70752 * wcsmbs/Versions: Likewise.
70753
70754 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
70755
70756 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
70757 loop termination condition.
70758
70759 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
70760 variable to calculate EZ.
70761 (__sqr): Likewise.
70762
70763 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
70764 the lower precision input.
70765
70766 2013-02-15 Joseph Myers <joseph@codesourcery.com>
70767
70768 [BZ #13550]
70769 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
70770 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
70771 (run-via-rtld-prefix): Do not handle %-bp tests.
70772 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
70773 (all-object-suffixes): Remove .ob.
70774 (bppfx): Remove variable.
70775 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
70776 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
70777 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
70778 [$(build-bounded) = yes] (libtype.ob): Likewise.
70779 * Makerules (elide-routines.ob): Remove variable.
70780 (do-tests-clean): Do not handle *-bp.out.
70781 (common-mostlyclean): Do not handle *-bp and *-bp.out.
70782 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
70783 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
70784 (tests): Do not include $(tests-bp.out).
70785 (xtests): Do not include $(xtests-bp.out).
70786 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
70787 [$(build-bounded) = yes] ($(addprefix
70788 $(objpfx),$(binaries-bounded))): Remove rule.
70789 ($(objpfx)%-bp.out): Remove rule.
70790 * config.make.in (build-bounded): Remove variable.
70791 * crypt/Makefile [$(build-bounded) = yes]
70792 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
70793 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
70794 append to variable.
70795 [$(build-bounded) = yes] (install-lib): Likewise.
70796 [$(build-bounded) = yes] (generated): Likewise.
70797 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
70798 Remove rule.
70799 * intl/Makefile [$(build-bounded) = yes]
70800 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
70801 * math/Makefile [$(build-bounded) = yes]
70802 ($(tests:%=$(objpfx)%-bp): Likewise.
70803 * misc/Makefile [$(build-bounded) = yes]
70804 ($(objpfx)tst-tsearch-bp): Likewise.
70805 * nptl/Makeconfig (bounded-thread-library): Remove variable.
70806 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
70807 Remove dependency.
70808 * string/Makefile (o-objects.ob): Remove variable.
70809 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
70810 (CFLAGS-.ob): Remove variable.
70811 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
70812 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
70813 both definitions of variable.
70814 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
70815 (ASFLAGS-.ob): Remove variable.
70816
70817 2013-02-14 Joseph Myers <joseph@codesourcery.com>
70818
70819 [BZ #13550]
70820 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
70821 Remove __BOUNDED_POINTERS__ from condition.
70822 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
70823 * string/bits/string2.h [!__NO_STRING_INLINES &&
70824 !__BOUNDED_POINTERS__]: Likewise.
70825 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
70826 Likewise.
70827 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
70828 Remove conditional code.
70829 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
70830 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
70831 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
70832 condition.
70833
70834 [BZ #13550]
70835 * csu/libc-start.c: Do not include <bp-sym.h>.
70836 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
70837 * elf/dl-open.c: Do not include <bp-sym.h>.
70838 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
70839 * math/fegetenv.c: Do not include <bp-sym.h>.
70840 (fegetenv): Do not use BP_SYM in versioned symbols.
70841 * nptl/sysdeps/pthread/bits/libc-lockP.h
70842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
70843 <bp-sym.h>.
70844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70845 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
70846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70847 (__pthread_mutex_destroy): Likewise.
70848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70849 (__pthread_mutex_lock): Likewise.
70850 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70851 (__pthread_mutex_trylock): Likewise.
70852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70853 (__pthread_mutex_unlock): Likewise.
70854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70855 (__pthread_mutexattr_init): Likewise.
70856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70857 (__pthread_mutexattr_destroy): Likewise.
70858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70859 (__pthread_mutexattr_settype): Likewise.
70860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70861 (__pthread_rwlock_init): Likewise.
70862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70863 (__pthread_rwlock_destroy): Likewise.
70864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70865 (__pthread_rwlock_rdlock): Likewise.
70866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70867 (__pthread_rwlock_tryrdlock): Likewise.
70868 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70869 (__pthread_rwlock_wrlock): Likewise.
70870 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70871 (__pthread_rwlock_trywrlock): Likewise.
70872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70873 (__pthread_rwlock_unlock): Likewise.
70874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70875 (__pthread_key_create): Likewise.
70876 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70877 (__pthread_setspecific): Likewise.
70878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70879 (__pthread_getspecific): Likewise.
70880 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
70881 Likewise.
70882 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70883 (_pthread_cleanup_push_defer): Likewise.
70884 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70885 (_pthread_cleanup_pop_restore): Likewise.
70886 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70887 (pthread_setcancelstate): Likewise.
70888 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
70889 <bp-sym.h>.
70890 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
70891 (memchr): Do not use BP_SYM in weak_alias.
70892 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
70893 (fegetenv): Do not use BP_SYM in versioned symbols.
70894 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
70895 (fesetenv): Do not use BP_SYM in versioned symbols.
70896 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
70897 (feupdateenv): Do not use BP_SYM in versioned symbols.
70898 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
70899 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
70900 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
70901 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
70902 (open64): Do not use BP_SYM in weak_alias.
70903 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
70904 (fegetenv): Do not use BP_SYM in versioned symbols.
70905 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
70906 (fesetenv): Do not use BP_SYM in versioned symbols.
70907 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
70908 (feupdateenv): Do not use BP_SYM in versioned symbols.
70909 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
70910 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
70911 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
70912 (feraiseexcept): Do not use BP_SYM in versioned symbols.
70913 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
70914 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
70915 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
70916 <bp-sym.h>.
70917 (__libc_start_main): Do not use BP_SYM.
70918
70919 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
70920
70921 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
70922 redundant return line.
70923 (norm): Likewise.
70924 (denorm): Likewise.
70925 (dbl_mp): Likewise.
70926 (sub_magnitudes): Likewise.
70927 (__add): Likewise.
70928 (__sub): Likewise.
70929 (__mul): Likewise.
70930 (__inv): Likewise.
70931 (__dvd): Likewise.
70932 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
70933 (norm): Likewise.
70934 (denorm): Likewise.
70935 (dbl_mp): Likewise.
70936 (sub_magnitudes): Likewise.
70937 (__add): Likewise.
70938 (__sub): Likewise.
70939 (__mul): Likewise.
70940 (__inv): Likewise.
70941 (__dvd): Likewise.
70942
70943 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
70944 instead of __mul.
70945 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
70946 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
70947 (cc32): Likewise.
70948
70949 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
70950 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
70951 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
70952 of __mul for squares.
70953 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
70954 function
70955 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
70956 Likewise.
70957 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
70958 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
70959
70960 2013-02-13 Joseph Myers <joseph@codesourcery.com>
70961
70962 [BZ #13550]
70963 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
70964 code.
70965 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
70966 prototype or function definition. Rename ubp_* variables and
70967 parameters. Remove argv definitions conditional on
70968 [__BOUNDED_POINTERS__].
70969 * debug/backtrace.c (__backtrace): Do not use __unbounded.
70970 * elf/dl-runtime.c (_dl_fixup): Likewise.
70971 * include/set-hooks.h (RUN_HOOK): Likewise.
70972 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
70973 definition.
70974 * string/strcpy.c (strcpy): Do not use __unbounded.
70975 * sysdeps/generic/frame.h (struct layout): Likewise.
70976 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
70977 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
70978 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
70979 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
70980 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
70981 (__backtrace): Likewise.
70982 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
70983 use __ptrvalue.
70984 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
70985 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
70986 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
70987 Likewise.
70988 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
70989 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
70990 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
70991 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
70992 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
70993 Do not use __unbounded.
70994 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
70995 Rename __unboundedrlimits parameter to rlimits in prototype.
70996 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
70997 Do not use __unbounded.
70998 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
70999 not use __ptrvalue.
71000 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71001 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
71002 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71003 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
71004 __ptrvalue or __unbounded.
71005 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
71006 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
71007 use __unbounded.
71008 (__new_msgctl): Do not use __ptrvalue.
71009 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
71010 __unbounded.
71011 (__libc_msgrcv): Do not use __ptrvalue.
71012 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
71013 startup_info): Do not use __unbounded.
71014 (__libc_start_main): Likewise. Rename ubp_* variables and
71015 parameters. Remove argv definitions conditional on
71016 [__BOUNDED_POINTERS__].
71017 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
71018 __ptrvalue.
71019 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
71020 use __unbounded.
71021 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
71022 or __ptrvalue.
71023 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
71024 use __unbounded.
71025 (__new_shmctl): Do not use __ptrvalue.
71026 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
71027 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
71028 Likewise.
71029 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
71030 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
71031 (__libc_sigaction): Likewise.
71032 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
71033 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
71034 Likewise.
71035 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71036
71037 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
71038
71039 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
71040
71041 * string/mempcpy.c: Implement by calling memcpy.
71042
71043 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
71044
71045 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
71046
71047 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
71048 evaluation.
71049
71050 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
71051 values in the mantissa.
71052
71053 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
71054 minimize writes to Z.
71055 (sub_magnitudes): Simplify code a bit.
71056
71057 2013-02-12 Roland McGrath <roland@hack.frob.com>
71058
71059 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
71060 from the message. The linker prefixes all warnings with that already.
71061
71062 2013-02-12 Andreas Schwab <schwab@suse.de>
71063
71064 [BZ #15078]
71065 * posix/regexec.c (extend_buffers): Add parameter min_len.
71066 (check_matching): Pass minimum needed length.
71067 (clean_state_log_if_needed): Likewise.
71068 (get_subexp): Likewise.
71069 * posix/Makefile (tests): Add bug-regex34.
71070 (bug-regex34-ENV): Define.
71071 * posix/bug-regex34.c: New file.
71072
71073 [BZ #11561]
71074 * posix/regcomp.c (parse_bracket_exp): When looking up collating
71075 elements compare against the byte sequence of it, not its name.
71076 * posix/Makefile (tests): Add bug-regex35.
71077 (bug-regex35-ENV): Define.
71078 * posix/bug-regex35.c: New file.
71079
71080 2013-02-11 Tom de Vries <tom@codesourcery.com>
71081
71082 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
71083 comment.
71084 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
71085 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
71086 (CHECK_EOL): Add undef.
71087
71088 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
71089
71090 * bits/stdlib-bsearch.h: New file.
71091 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
71092 * stdlib/stdlib.h: Likewise.
71093
71094 2013-02-11 Roland McGrath <roland@hack.frob.com>
71095
71096 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
71097 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
71098 declaration.
71099 * manual/search.texi (Array Search Function): Add missing const in
71100 lfind prototype.
71101 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
71102 declaration to use rlim_t.
71103 (Basic Scheduling Functions): Remove erroneous const from
71104 sched_getparam prototype. Remove erroneous * from
71105 sched_get_priority_max and sched_get_priority_min prototypes.
71106 (Resource Usage): Fix summary @comment on vtimes to refer to
71107 sys/vtimes.h rather than vtimes.h.
71108 Add missing *s in vtimes prototype.
71109 (Limits on Resources): Fix ulimit prototype to return long int.
71110 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
71111 prototypes to use long int rather than double.
71112 (BSD Random): Fix initstate and setstate to use char *, not void *.
71113 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
71114 prototype to make second argument 'struct aiocb64 *const[]'.
71115 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
71116 (Status of AIO Operations): Remove erroneous const in aio_return and
71117 aio_return64 prototypes.
71118 (Synchronizing I/O): Fix sync prototype to return void.
71119 * manual/startup.texi (Suboptions): Remove an erroneous const in
71120 getsubopt prototype.
71121 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
71122 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
71123 use size_t rather than int.
71124 (Scanning All Users): Likewise for getpwent_r.
71125 (Setting Groups): Add missing const to setgroups prototype.
71126 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
71127 * manual/socket.texi (Host Names): Fix gethostbyaddr and
71128 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
71129 'const void *' rather than 'const char *'.
71130 (Host Address Functions): Likewise for inet_ntop.
71131 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
71132 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
71133 ssize_t for return value.
71134 (Sending Data): Likewise for send, sendto, sendmsg.
71135 (Socket Option Functions): Add a missing const in setsockopt prototype.
71136 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
71137 use wchar_t for the argument.
71138 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
71139 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
71140 take no arguments.
71141 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
71142 double/float/long double for second argument.
71143 Fix return types of significand, significandf, significandl.
71144 * manual/filesys.texi (Setting Permissions): Use mode_t for second
71145 argument in fchmod prototype.
71146 (File Owner): Use uid_t and gid_t in fchown prototype.
71147 (File Times): Add const to utimes, futimes, and lutimes prototypes.
71148 (Making Special Files): Use mode_t and dev_t in mknod prototype.
71149 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
71150 use 'const struct dirent **' as argument types to CMP function pointer
71151 argument.
71152 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
71153 (File Times): Fix summary magic @comment for struct utimbuf and utime
71154 to refer to utime.h, not time.h.
71155 * manual/string.texi (Argz Functions): Add missing const in
71156 argz_extract and argz_next prototypes.
71157 (Finding Tokens in a String): Likewise for basename.
71158 (String/Array Comparison): Fix typo in wcscasecmp prototype.
71159 (Copying and Concatenation): Fix typo in wmemmove prototype.
71160 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
71161 (Signal Stack): Remove erroneous const in sigstack prototype.
71162 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
71163 prototype.
71164 (Simple Calendar Time): Likewise for stime.
71165 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
71166 prototype.
71167 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
71168 say sys/sysctl.h instead.
71169 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
71170 and vsyslog prototypes.
71171
71172 2013-02-11 Tom de Vries <tom@codesourcery.com>
71173
71174 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
71175 Remove.
71176
71177 2013-02-11 Roland McGrath <roland@hack.frob.com>
71178
71179 * misc/sys/mman.h: Fix typo in mremap comment.
71180
71181 2013-02-08 Roland McGrath <roland@hack.frob.com>
71182
71183 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
71184 the '\0' terminator.
71185
71186 2013-02-08 Joseph Myers <joseph@codesourcery.com>
71187
71188 [BZ #13550]
71189 * debug/segfault.c: Don't include <bp-checks.h>.
71190 * sysdeps/generic/bp-checks.h: Remove file.
71191 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
71192 (__GETDENTS): Don't use CHECK_N.
71193 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
71194 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
71195 (__getgroups): Don't use CHECK_N.
71196 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
71197 (setgroups): Don't use CHECK_N.
71198 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
71199 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
71200 (__libc_msgrcv): Don't use CHECK_N.
71201 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
71202 (__libc_msgsnd): Don't use CHECK_N.
71203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
71204 <bp-checks.h>.
71205 (__libc_pread): Don't use CHECK_N.
71206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
71207 include <bp-checks.h>.
71208 (__libc_pread64): Don't use CHECK_N.
71209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
71210 include <bp-checks.h>.
71211 (__libc_pwrite): Don't use CHECK_N.
71212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
71213 include <bp-checks.h>.
71214 (__libc_pwrite64): Don't use CHECK_N.
71215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
71216 <bp-checks.h>.
71217 (__libc_pread): Don't use CHECK_N.
71218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
71219 include <bp-checks.h>.
71220 (__libc_pread64): Don't use CHECK_N.
71221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
71222 include <bp-checks.h>.
71223 (__libc_pwrite): Don't use CHECK_N.
71224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
71225 include <bp-checks.h>.
71226 (__libc_pwrite64): Don't use CHECK_N.
71227 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
71228 (do_pread): Don't use CHECK_N.
71229 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
71230 (do_pread64): Don't use CHECK_N.
71231 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
71232 (do_pwrite): Don't use CHECK_N.
71233 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
71234 (do_pwrite64): Don't use CHECK_N.
71235 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
71236 (__libc_readv): Don't use CHECK_N.
71237 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
71238 (semop): Don't use CHECK_N.
71239 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
71240 <bp-checks.h>.
71241 (semtimedop): Don't use CHECK_N.
71242 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
71243 (__libc_pread): Don't use CHECK_N.
71244 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
71245 <bp-checks.h>.
71246 (__libc_pread64): Don't use CHECK_N.
71247 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
71248 <bp-checks.h>.
71249 (__libc_pwrite): Don't use CHECK_N.
71250 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
71251 <bp-checks.h>.
71252 (__libc_pwrite64): Don't use CHECK_N.
71253 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
71254 <bp-checks.h>.
71255 (__libc_msgrcv): Don't use CHECK_N.
71256 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
71257 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
71258 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
71259 (__libc_writev): Don't use CHECK_N.
71260
71261 2013-02-08 Roland McGrath <roland@hack.frob.com>
71262
71263 * string/strcpy.c: Removed unused variable.
71264
71265 * Makeconfig (+sysdep-includes): Define with := rather than =.
71266 Use an existing include/ subdir of each sysdeps dir before it.
71267
71268 2013-02-08 Carlos O'Donell <carlos@redhat.com>
71269
71270 * nscd/connection.c (register_traced_file): Comment function.
71271 [HAVE_INOTIFY] (union __inev): Define.
71272 [HAVE_INOTIFY] (inotify_check_files): New function.
71273 [HAVE_INOTIFY] (clear_db_cache): Likewise.
71274 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
71275 clear_db_cache.
71276 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
71277
71278 2013-02-08 Carlos O'Donell <carlos@redhat.com>
71279
71280 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
71281 loaded if not already and that a failure is permanent.
71282
71283 2013-02-08 Carlos O'Donell <carlos@redhat.com>
71284
71285 [BZ #15006]
71286 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
71287 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
71288
71289 2013-02-08 Joseph Myers <joseph@codesourcery.com>
71290
71291 [BZ #13550]
71292 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
71293 (CHECK_1_NULL_OK): Likewise.
71294 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
71295 (__fxstat): Do not use CHECK_1.
71296 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
71297 <bp-checks.h>.
71298 (___fxstat64): Do not use CHECK_1.
71299 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
71300 <bp-checks.h>.
71301 (__fxstatat): Do not use CHECK_1.
71302 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
71303 <bp-checks.h>.
71304 (__fxstatat64): Do not use CHECK_1.
71305 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
71306 <bp-checks.h>.
71307 (__fxstat): Do not use CHECK_1.
71308 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
71309 <bp-checks.h>.
71310 (__fxstatat): Do not use CHECK_1.
71311 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
71312 <bp-checks.h>.
71313 (__getresgid): Do not use CHECK_1.
71314 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
71315 <bp-checks.h>.
71316 (__getresuid): Do not use CHECK_1.
71317 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
71318 <bp-checks.h>.
71319 (__lxstat): Do not use CHECK_1.
71320 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
71321 <bp-checks.h>.
71322 (__old_msgctl): Do not use CHECK_1.
71323 (__new_msgctl): Likewise.
71324 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
71325 <bp-checks.h>.
71326 (__new_setrlimit): Do not use CHECK_1.
71327 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
71328 <bp-checks.h>.
71329 (__old_shmctl): Do not use CHECK_1.
71330 (__new_shmctl): Likewise.
71331 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
71332 <bp-checks.h>.
71333 (__xstat): Do not use CHECK_1.
71334 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
71335 (__lxstat): Do not use CHECK_1.
71336 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
71337 <bp-checks.h>.
71338 (___lxstat64): Do not use CHECK_1.
71339 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
71340 (__old_msgctl): Do not use CHECK_1.
71341 (__new_msgctl): Likewise.
71342 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
71343 <bp-checks.h>.
71344 (__gettimeofday): Do not use CHECK_1.
71345 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
71346 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
71347 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
71348 <bp-checks.h>.
71349 (__gettimeofday): Do not use CHECK_1.
71350 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
71351 (__old_shmctl): Do not use CHECK_1_NULL_OK.
71352 (__new_shmctl): Do not use CHECK_1.
71353 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
71354 <bp-checks.h>.
71355 (do_sigtimedwait): Do not use CHECK_1.
71356 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
71357 <bp-checks.h>.
71358 (do_sigwaitinfo): Do not use CHECK_1.
71359 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
71360 <bp-checks.h>.
71361 (msgctl): Do not use CHECK_1.
71362 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
71363 <bp-checks.h>.
71364 (shmctl): Do not use CHECK_1.
71365 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
71366 (ustat): Do not use CHECK_1.
71367 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
71368 <bp-checks.h>.
71369 (__fxstat): Do not use CHECK_1.
71370 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
71371 <bp-checks.h>.
71372 (__fxstatat): Do not use CHECK_1.
71373 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
71374 <bp-checks.h>.
71375 (__lxstat): Do not use CHECK_1.
71376 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
71377 <bp-checks.h>.
71378 (__xstat): Do not use CHECK_1.
71379 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
71380 (__xstat): Do not use CHECK_1.
71381 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
71382 (___xstat64): Do not use CHECK_1.
71383
71384 [BZ #13550]
71385 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
71386 definitions.
71387 (CHECK_BOUNDS_HIGH): Likewise.
71388 * string/strcpy.c: Do not include <bp-checks.h>.
71389 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
71390
71391 2013-02-07 Roland McGrath <roland@hack.frob.com>
71392
71393 * nscd/nscd-client.h (__nscd_drop_map_ref):
71394 Add __attribute__ ((unused)).
71395 * nis/nss-nisplus.h (niserr2nss): Likewise.
71396
71397 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
71398 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
71399
71400 * csu/libc-tls.c (init_static_tls, init_slotinfo):
71401 Remove inline keyword.
71402 * include/rounding-mode.h (round_away): Likewise.
71403 * libio/wfileops.c (adjust_wide_data): Likewise.
71404 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
71405 (__m128i_strloadu_tolower): Likewise.
71406 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
71407 (__m128i_strloadu_tolower): Likewise.
71408 * time/mktime.c (ydhms_diff): Likewise.
71409 * locale/elem-hash.h (elem_hash): Likewise.
71410 * locale/setlocale.c (setdata): Likewise.
71411 * posix/regex_internal.h (re_string_char_size_at): Likewise.
71412 (re_string_wchar_at): Likewise.
71413 (bitset_not, bitset_merge, bitset_mask): Likewise.
71414 [!(__GNUC__ > 3)] (inline): Remove macro.
71415 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
71416 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
71417 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
71418 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
71419 * string/memcmp.c (memcmp_bytes): Likewise.
71420 * locale/programs/locarchive.c (compute_hashval): Likewise.
71421 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
71422 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
71423 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
71424 * nss/getent.c (print_rpc, print_protocols): Likewise.
71425 (print_passwd, print_group, print_aliases): Likewise.
71426 * nis/nss-nisplus.h (niserr2nss): Likewise.
71427 * nscd/connections.c (restart_p): Likewise.
71428 Change return type to bool.
71429
71430 2013-02-05 Roland McGrath <roland@hack.frob.com>
71431
71432 * Makeconfig (all-Depend-files): Add existing
71433 $(sorted-subdirs:=/Depend) files.
71434 (all-subdirs): Remove nss.
71435 * sysdeps/unix/inet/Subdirs: Add it here instead.
71436 * hesiod/Depend: New file.
71437
71438 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
71439 instead of calling alloca.
71440
71441 * io/lseek.c (__lseek): Rename to __libc_lseek.
71442 Define __lseek as an alias.
71443
71444 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
71445
71446 2013-02-04 Carlos O'Donell <carlos@redhat.com>
71447
71448 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
71449 else clause and remove check for non-standard endianness.
71450
71451 2013-02-04 David S. Miller <davem@davemloft.net>
71452
71453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71454
71455 2013-02-04 Joseph Myers <joseph@codesourcery.com>
71456
71457 [BZ #13550]
71458 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
71459 (__ubp_memchr): Remove prototype.
71460 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
71461 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71462 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
71463 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71464 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
71465 Remove alias.
71466 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
71467 (__ubp_memchr): Likewise.
71468 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
71469 (__ubp_memchr): Likewise.
71470 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
71471 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
71472 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
71473 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
71474 CHECK_STRING.
71475 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
71476 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
71477 (__getcwd): Do not use CHECK_STRING.
71478 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
71479 <bp-checks.h>.
71480 (__real_chown): Do not use CHECK_STRING.
71481 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
71482 <bp-checks.h>.
71483 (fchownat): Do not use CHECK_STRING.
71484 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
71485 CHECK_STRING.
71486 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
71487 <bp-checks.h>.
71488 (__lchown): Do not use CHECK_STRING.
71489 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71490 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71491 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71492 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
71493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
71494 include <bp-checks.h>.
71495 (truncate64): Do not use CHECK_STRING.
71496 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
71497 <bp-checks.h>.
71498 (__real_chown): Do not use CHECK_STRING.
71499 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
71500 <bp-checks.h>.
71501 (__lchown): Do not use CHECK_STRING.
71502 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
71503 <bp-checks.h>.
71504 (__chown): Do not use CHECK_STRING.
71505 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
71506 <bp-checks.h>.
71507 (truncate64): Do not use CHECK_STRING.
71508 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
71509 Likewise.
71510 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
71511 (__xmknod): Do not use CHECK_STRING.
71512 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
71513 <bp-checks.h>.
71514 (__xmknodat): Do not use CHECK_STRING.
71515 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71516 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
71517
71518 2013-02-04 Andreas Schwab <schwab@suse.de>
71519
71520 [BZ #14142]
71521 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
71522 * include/netdb.h: Likewise for h_errno.
71523 * elf/tst-stackguard1.c: Include <tls.h>.
71524
71525 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
71526
71527 * elf/link.h (struct link_map): Extend the l_addr comment.
71528 * include/link.h (struct link_map): Likewise.
71529
71530 2013-02-01 Joseph Myers <joseph@codesourcery.com>
71531
71532 [BZ #13550]
71533 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
71534 (BOUNDED_1): Remove macro.
71535 * debug/backtrace.c: Don't include <bp-checks.h>.
71536 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
71537 (__backtrace): Likewise.
71538 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
71539 <bp-checks.h>.
71540 (__backtrace): Don't use BOUNDED_1.
71541 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
71542 <bp-checks.h>.
71543 (__backtrace): Don't use BOUNDED_1.
71544 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
71545 (__backtrace): Don't use BOUNDED_1.
71546 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
71547 (shmat): Don't use BOUNDED_N.
71548
71549 2013-01-31 Joseph Myers <joseph@codesourcery.com>
71550
71551 [BZ #13550]
71552 * sysdeps/generic/bp-start.h: Remove file.
71553 * csu/libc-start.c: Don't include <bp-start.h>.
71554 (LIBC_START_MAIN): Set up __environ directly instead of using
71555 INIT_ARGV_and_ENVIRON.
71556 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
71557 <bp-start.h>.
71558
71559 [BZ #13550]
71560 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
71561 definitions.
71562 (CHECK_FCNTL): Likewise.
71563 (CHECK_N_PAGES): Likewise.
71564
71565 [BZ #13550]
71566 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
71567 definitions.
71568 (CHECK_SIGSET_NULL_OK): Likewise.
71569 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
71570 <bp-checks.h>.
71571 (sigpending): Don't use CHECK_SIGSET.
71572 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
71573 <bp-checks.h>.
71574 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71575 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
71576 <bp-checks.h>.
71577 (do_sigsuspend): Don't use CHECK_SIGSET.
71578 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
71579 use CHECK_SIGSET.
71580 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
71581 (do_sigwait): Don't use CHECK_SIGSET.
71582 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
71583 use CHECK_SIGSET.
71584 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
71585 include <bp-checks.h>.
71586 (sigpending): Don't use CHECK_SIGSET.
71587 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
71588 include <bp-checks.h>.
71589 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71590 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
71591 <bp-checks.h>.
71592 (sigpending): Don't use CHECK_SIGSET.
71593 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
71594 <bp-checks.h>.
71595 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71596
71597 [BZ #13550]
71598 * sysdeps/generic/bp-semctl.h: Remove file.
71599 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
71600 <bp-checks.h> and <bp-semctl.h>.
71601 (__old_semctl): Don't use CHECK_SEMCTL.
71602 (__new_semctl): Likewise.
71603 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
71604 and <bp-semctl.h>.
71605 (__old_semctl): Don't use CHECK_SEMCTL.
71606 (__new_semctl): Likewise.
71607 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
71608 <bp-checks.h> and <bp-semctl.h>.
71609 (__old_semctl): Don't use CHECK_SEMCTL.
71610 (__new_semctl): Likewise.
71611 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
71612 <bp-checks.h> and <bp-semctl.h>.
71613 (semctl): Don't use CHECK_SEMCTL.
71614
71615 [BZ #13550]
71616 * Makerules (elide-bp-thunks): Remove variable.
71617 (elide-routines.oS): Don't use $(elide-bp-thunks).
71618 (elide-routines.os): Likewise.
71619 (elide-routines.o): Likewise.
71620 (elide-routines.op): Likewise.
71621 (elide-routines.og): Likewise.
71622 (objects): Don't use $(bp-thunks).
71623 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
71624 include.
71625 (common-generated): Do not add s-proto-bp.d.
71626 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
71627 (int): Likewise.
71628 (typ): Likewise.
71629 Do not generate makefile rules for bounded-pointer thunks.
71630 * sysdeps/generic/bp-thunks.h: Remove file.
71631 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
71632 * sysdeps/unix/s-proto-bp.S: Likewise.
71633
71634 [BZ #15062]
71635 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
71636 parts of result separately when argument is not close to line from
71637 -i to i and one part of argument is small.
71638 * math/k_casinhf.c (__kernel_casinhf): Likewise.
71639 * math/k_casinhl.c (__kernel_casinhl): Likewise.
71640 * math/libm-test.inc (cacos_test): Add more tests.
71641 (casin_test): Likewise.
71642 (casinh_test): Likewise.
71643 * sysdeps/i386/fpu/libm-test-ulps: Update.
71644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71645
71646 2013-01-31 David S. Miller <davem@davemloft.net>
71647
71648 * po/de.po: Update from translation team.
71649
71650 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
71651
71652 * time/tzfile.c: Include stdint.h for SIZE_MAX.
71653
71654 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
71655
71656 * configure.in (_AC_PROG_CC_C89): New definition.
71657 * configure: Regenerate.
71658
71659 * configure.in (AC_PROG_CPP): New definition.
71660 * configure: Regenerate.
71661
71662 2013-01-23 Joseph Myers <joseph@codesourcery.com>
71663
71664 * debug/tst-backtrace.h: New file.
71665 * debug/tst-backtrace2.c: Include tst-backtrace.h.
71666 (ret): Remove variable.
71667 (x): Likewise.
71668 (FAIL): Remove macro.
71669 (NO_INLINE): Likewise.
71670 (fn1): Use match function instead of strstr.
71671 * debug/tst-backtrace3.c: Include tst-backtrace.h.
71672 (ret): Remove variable.
71673 (x): Likewise.
71674 (FAIL): Remove macro.
71675 (NO_INLINE): Likewise.
71676 (fn): Use match function instead of strstr.
71677 * debug/tst-backtrace4.c: Include tst-backtrace.h.
71678 (ret): Remove variable.
71679 (x): Likewise.
71680 (FAIL): Remove macro.
71681 (NO_INLINE): Likewise.
71682 (handle_signal): Use match function instead of strstr.
71683 * debug/tst-backtrace5.c: Include tst-backtrace.h.
71684 (ret): Remove variable.
71685 (x): Likewise.
71686 (FAIL): Remove macro.
71687 (NO_INLINE): Likewise.
71688 (handle_signal): Use match function instead of strstr.
71689
71690 2013-01-23 Roland McGrath <roland@hack.frob.com>
71691
71692 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
71693
71694 2013-01-23 David S. Miller <davem@davemloft.net>
71695
71696 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
71697 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
71698 argument of CAS if possible.
71699 * sysdeps/sparc/sparc64/bits/atomic.h
71700 (__arch_compare_and_exchange_val_32_acq): Likewise.
71701 (__arch_compare_and_exchange_val_64_acq): Likewise.
71702
71703 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
71704
71705 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
71706 * sysdeps/posix/ulimit.c: ... this.
71707 Include <limits.h>.
71708 * sysdeps/unix/bsd/ulimit.c: Remove file.
71709
71710 2013-01-23 Adam Conrad <adconrad@0c3.net>
71711
71712 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
71713 (LDFLAGS-tst-array5): Likewise.
71714
71715 2013-01-23 Joseph Myers <joseph@codesourcery.com>
71716
71717 [BZ #15036]
71718 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
71719 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
71720 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
71721 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
71722
71723 2013-01-21 David S. Miller <davem@davemloft.net>
71724
71725 * sysdeps/sparc/backtrace.c: New file.
71726 * sysdeps/sparc/sparc32/backtrace.h: New file.
71727 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
71728 * sysdeps/sparc/sparc64/backtrace.h: New file.
71729 * sysdeps/sparc/sparc64/backtrace.c: Delete.
71730 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
71731 -funwind-tables.
71732
71733 2013-01-21 Andreas Schwab <schwab@suse.de>
71734
71735 [BZ #15020]
71736 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
71737 closed its stdout.
71738
71739 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
71740
71741 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
71742 "mpa2.h".
71743 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71744
71745 2013-01-18 Joseph Myers <joseph@codesourcery.com>
71746 Mark Mitchell <mark@codesourcery.com>
71747 Tom de Vries <tom@codesourcery.com>
71748 Paul Pluzhnikov <ppluzhnikov@google.com>
71749
71750 * debug/tst-backtrace2.c: New file.
71751 * debug/tst-backtrace3.c: Likewise.
71752 * debug/tst-backtrace4.c: Likewise.
71753 * debug/tst-backtrace5.c: Likewise.
71754 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
71755 (CFLAGS-tst-backtrace3.c): Likewise.
71756 (CFLAGS-tst-backtrace4.c): Likewise.
71757 (CFLAGS-tst-backtrace5.c): Likewise.
71758 (LDFLAGS-tst-backtrace2): Likewise.
71759 (LDFLAGS-tst-backtrace3): Likewise.
71760 (LDFLAGS-tst-backtrace4): Likewise.
71761 (LDFLAGS-tst-backtrace5): Likewise.
71762 (tests): Add new tests tst-backtrace2, tst-backtrace3,
71763 tst-backtrace4 and tst-backtrace5.
71764
71765 2013-01-18 Anton Blanchard <anton@samba.org>
71766 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
71767
71768 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
71769 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
71770 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
71771 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
71772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
71773 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
71774 "+r" and remove output regs list as redundant. Add explicit inline
71775 asm to specify register of return val to work around compiler codegen
71776 bug. Remove (int) cast on return value. Add return type parameter to
71777 use in macro so that this macro does not truncate return value for
71778 64-bit values.
71779 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
71780 pass to INTERNAL_VSYSCALL_NCS.
71781 (INLINE_VSYSCALL): Add 'long int' as return type to
71782 INTERNAL_VSYSCALL_NCS macro invocation.
71783 (INTERNAL_VSYSCALL): Add 'long int' as return type to
71784 INTERNAL_VSYSCALL_NCS macro invocation.
71785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71786
71787 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
71788
71789 [BZ #14496]
71790 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
71791 Fix application of SIMD FP exception mask.
71792
71793 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
71794 mp_no from a power of two.
71795 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
71796 __mpexp_twomm1. Use __pow_mp.
71797
71798 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
71799 multiplication.
71800
71801 2013-01-17 David S. Miller <davem@davemloft.net>
71802
71803 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71804
71805 2013-01-17 Joseph Myers <joseph@codesourcery.com>
71806
71807 [BZ #15023]
71808 * include/complex.h: Condition contents on [!_COMPLEX_H].
71809 (__kernel_casinhf): New prototype.
71810 (__kernel_casinh): Likewise.
71811 (__kernel_casinhl): Likewise.
71812 * math/Makefile (libm_calls): Add k_casinh.
71813 * math/k_casinh.c: New file.
71814 * math/k_casinhf.c: Likewise.
71815 * math/k_casinhl.c: Likewise.
71816 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
71817 finite nonzero arguments.
71818 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
71819 finite nonzero arguments.
71820 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
71821 finite nonzero arguments.
71822 * math/s_casinh.c: Do not include <float.h>.
71823 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
71824 * math/s_casinhf.c: Do not include <float.h>.
71825 (__casinhf): Move code for finite nonzero arguments to
71826 k_casinhf.c.
71827 * math/s_casinhl.c: Do not include <float.h>.
71828 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
71829 redefine.
71830 (__casinhl): Move code for finite nonzero arguments to
71831 k_casinhl.c.
71832 * math/libm-test.inc (cacos_test): Add more tests.
71833 * sysdeps/i386/fpu/libm-test-ulps: Update.
71834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71835
71836 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
71837
71838 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
71839 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
71840 [!HAVE_MREMAP]: Remove [defined linux] case.
71841 * malloc/arena.c: Do not include <malloc-sysdep.h>.
71842
71843 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
71844
71845 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
71846
71847 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
71848
71849 * elf/elf.h (R_386_SIZE32): New relocation.
71850 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
71851 R_386_SIZE32.
71852 (elf_machine_rela): Likewise.
71853 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
71854 R_X86_64_SIZE64 and R_X86_64_SIZE32.
71855
71856 2013-01-17 Joseph Myers <joseph@codesourcery.com>
71857
71858 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
71859 (FP_FAST_FMA): Do not define.
71860 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
71861 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
71862 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
71863 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
71864 !_SOFT_FLOAT]: Likewise.
71865 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
71866 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
71867 value.
71868 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
71869 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
71870 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
71871 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
71872 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
71873 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
71874 file.
71875
71876 2013-01-16 Andreas Schwab <schwab@suse.de>
71877
71878 [BZ #14327]
71879 * include/stdlib.h (__mktemp): Add declaration.
71880 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
71881 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
71882
71883 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
71884
71885 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
71886 definitions.
71887 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
71888 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
71889 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
71890 definitions here.
71891 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
71892 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
71893 definitions.
71894 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
71895 and ONE.
71896 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
71897 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
71898 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
71899 definitions.
71900 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
71901 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
71902 definitions.
71903 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
71904
71905 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
71906
71907 2013-01-15 David S. Miller <davem@davemloft.net>
71908
71909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
71910 trunc{,f} to libm-sysdep_routes.
71911 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
71912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
71913 file.
71914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
71915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
71916 file.
71917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
71918 file.
71919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
71920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
71921 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
71922 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
71923 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
71924 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
71925 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
71926 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
71927
71928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
71929 nearbyint{,f} to libm-sysdep_routes.
71930 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
71931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
71932 New file.
71933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
71934 file.
71935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
71936 New file.
71937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
71938 file.
71939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
71940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
71941 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
71942 file.
71943 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
71944 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
71945 file.
71946 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
71947 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
71948 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
71949
71950 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
71951 libc_feholdexcept and libc_fesetenv.
71952
71953 2013-01-15 Mike Frysinger <vapier@gentoo.org>
71954
71955 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
71956
71957 2013-01-14 David S. Miller <davem@davemloft.net>
71958
71959 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
71960 (SPARC_ASM_VIS2_IFUNC): Likewise.
71961 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
71962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
71963 use of 'siam' instruction.
71964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
71965 Likewise.
71966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
71967 Likewise.
71968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
71969 Likewise.
71970 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
71971 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
71972 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
71973 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
71974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
71975 file.
71976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
71977 file.
71978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
71979 file.
71980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
71981 file.
71982 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
71983 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
71984 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
71985 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
71986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
71987 new VIS2 routines.
71988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
71989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
71990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
71991 Likewise.
71992 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
71993 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
71994 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
71995 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
71996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
71997 routines to libm-sysdep_routines.
71998 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
71999
72000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72001 fdim/fdimf to libm-sysdep_routines.
72002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
72003 file.
72004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
72005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
72006 file.
72007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
72008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
72009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
72010 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
72011 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
72012 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
72013 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
72014
72015 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
72016
72017 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
72018 to optimize copies.
72019
72020 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
72021 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72022 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72023
72024 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
72025 local variable MPTWO.
72026 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
72027 Likewise.
72028
72029 2013-01-13 Mike Frysinger <vapier@gentoo.org>
72030
72031 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
72032 GLOB_NOESCAPE.
72033
72034 2013-01-13 Mike Frysinger <vapier@gentoo.org>
72035
72036 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
72037
72038 2013-01-13 Mike Frysinger <vapier@gentoo.org>
72039
72040 * manual/pattern.texi (glob_t): Document gl_flags.
72041 (glob64_t): Likewise.
72042
72043 2013-01-11 David S. Miller <davem@davemloft.net>
72044
72045 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
72046 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
72047 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
72048 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
72049 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
72050 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
72051 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
72052 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
72053 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
72054 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
72055 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
72056 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
72057 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
72058
72059 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72060 sparc V9 rather than using V8 code.
72061 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72062 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72063
72064 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
72065 Move to...
72066 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
72067 Here.
72068
72069 2013-01-11 Roland McGrath <roland@hack.frob.com>
72070
72071 [BZ #14941]
72072 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
72073 not in the main loop.
72074 * configure: Regenerated.
72075
72076 2013-01-11 Joseph Myers <joseph@codesourcery.com>
72077
72078 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
72079 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
72080 to just #else.
72081 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
72082 [!__GLIBC_HAVE_LONG_LONG] case.
72083 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
72084 condition to just #else.
72085 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
72086 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
72087 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
72088 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
72089 unconditional.
72090 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
72091 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72092 #elif condition to just #else.
72093 * sysdeps/unix/sysv/linux/sys/sysmacros.h
72094 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
72095 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72096 #elif condition to just #else.
72097
72098 2013-01-11 Steve Ellcey <sellcey@mips.com>
72099
72100 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
72101 (EF_MIPS_ARCH_64): Fix value.
72102 (EF_MIPS_ARCH_32R2): New.
72103 (EF_MIPS_ARCH_64R2): New.
72104
72105 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
72106
72107 * Makeconfig (+link-pie-before-libc): New.
72108 (+link-pie-after-libc): Likewise.
72109 (+link-pie-tests): Likewise.
72110 (+link-pie): Rewritten.
72111 (link-before-libc): Remove $(config-LDFLAGS).
72112 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
72113 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
72114 (config-LDFLAGS): Renamed to ...
72115 (rtld-LDFLAGS): This.
72116 (rtld-tests-LDFLAGS): New macro.
72117 (link-libc-rpath-link): Likewise.
72118 (link-libc-tests-rpath-link): Likewise.
72119 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
72120 (link-libc): Prepand $(link-libc-rpath-link).
72121 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
72122 (test-program-prefix): New macro.
72123 (test-via-rtld-prefix): Likewise.
72124 (test-program-cmd): Likewise.
72125 (host-test-program-cmd): Likewise.
72126 * Makefile ($(common-objpfx)testrun.sh): Replace
72127 $(run-program-prefix) with $(test-program-prefix).
72128 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
72129 $(rtld-LDFLAGS).
72130 ($(common-objpfx)shlib.lds): Likewise.
72131 (build-module-helper): Likewise.
72132 ($(common-objpfx)format.lds): Likewise.
72133 * Rules (binaries-pie-tests): New.
72134 (binaries-pie-notests): Likewise.
72135 (binaries-pie): Rewritten.
72136 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
72137 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
72138 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
72139 (make-test-out): Replace $(host-built-program-cmd) with
72140 $(host-test-program-cmd).
72141 * config.make.in (build-hardcoded-path-in-tests): New variable.
72142 * configure.in (--enable-hardcoded-path-in-tests): New configure
72143 option.
72144 (hardcoded_path_in_tests): New AC_SUBST.
72145 * configure: Regenerated.
72146 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
72147 $(built-program-cmd) with $(test-program-cmd).
72148 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
72149 (test_program_cmd): This.
72150 * elf/Makefile ($(objpfx)order.out): Run test with
72151 $(test-program-prefix).
72152 ($(objpfx)order2.out): Likewise.
72153 ($(objpfx)tst-initorder.out): Likewise.
72154 ($(objpfx)tst-initorder2.out): Likewise.
72155 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
72156 $(test-program-cmd).
72157 ($(objpfx)tst-array1-static.out): Likewise.
72158 ($(objpfx)tst-array2.out): Likewise.
72159 ($(objpfx)tst-array3.out): Likewise.
72160 ($(objpfx)tst-array4.out): Likewise.
72161 ($(objpfx)tst-array5.out): Likewise.
72162 ($(objpfx)tst-array5-static.out): Likewise.
72163 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
72164 $(test-program-cmd).
72165 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
72166 $(run-program-prefix) with $(test-program-prefix).
72167 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
72168 (test_program_prefix): This.
72169 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
72170 $(run-program-prefix) with $(test-program-prefix).
72171 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
72172 (test_program_prefix): This.
72173 * iconvdata/tst-tables.sh: Likewise.
72174 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
72175 $(run-program-prefix) with $(test-program-prefix).
72176 ($(objpfx)tst-translit.out): Likewise.
72177 ($(objpfx)tst-gettext2.out): Likewise.
72178 ($(objpfx)tst-gettext4.out): Likewise.
72179 ($(objpfx)tst-gettext6.out): Likewise.
72180 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
72181 (test_program_prefix): This.
72182 * intl/tst-gettext2.sh: Likewise.
72183 * intl/tst-gettext4.sh Likewise.
72184 * intl/tst-gettext6.sh: Likewise.
72185 * intl/tst-translit.sh: Likewise.
72186 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
72187 with $(test-program-cmd).
72188 * libio/Makefile ($(objpfx)test-freopen.out): Replace
72189 $(run-program-prefix) with $(test-program-prefix).
72190 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
72191 (test_program_prefix): This.
72192 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
72193 $(run-program-prefix) with $(test-program-prefix).
72194 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
72195 (test_program_prefix): This.
72196 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
72197 * posix/Makefile ($(objpfx)globtest.out): Replace
72198 $(run-via-rtld-prefix) and $(test-wrapper) with
72199 $(test-program-prefix) and $(test-via-rtld-prefix).
72200 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
72201 $(test-program-prefix).
72202 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
72203 $(host-test-program-cmd).
72204 (tst-spawn-ARGS): Likewise.
72205 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
72206 $(test-program-prefix).
72207 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
72208 (test_via_rtld_prefix): This.
72209 (test_wrapper): Renamed to ...
72210 (test_program_prefix): This.
72211 (run_program_prefix): Replaced by test_program_prefix.
72212 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
72213 (test_program_prefix): This.
72214 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
72215 with $(host-test-program-cmd).
72216 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
72217 $(run-program-prefix) with $(test-program-prefix).
72218 ($(objpfx)tst-printf.out): Likewise.
72219 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
72220 $(test-program-cmd).
72221 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
72222 (test_program_prefix): This.
72223 * stdio-common/tst-unbputc.sh: Likewise.
72224 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
72225 $(run-program-prefix) with $(test-program-prefix).
72226 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
72227 (test_program_prefix): This.
72228 * string/Makefile ($(objpfx)tst-svc.out): Replace
72229 $(built-program-cmd) with $(test-program-cmd).
72230
72231 2013-01-11 Andreas Jaeger <aj@suse.de>
72232
72233 [BZ #15003]
72234 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
72235 value. Sync with Linux 3.7.
72236
72237 2013-01-10 David S. Miller <davem@davemloft.net>
72238
72239 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
72240 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72241 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72242
72243 2013-01-10 Roland McGrath <roland@hack.frob.com>
72244
72245 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
72246 never set.
72247 * configure: Regenerated.
72248
72249 2013-01-10 David S. Miller <davem@davemloft.net>
72250
72251 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72252 sparc V9 rather than using V8 code.
72253 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72254 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72255
72256 2013-01-10 Roland McGrath <roland@hack.frob.com>
72257
72258 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
72259 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
72260 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
72261 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
72262 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
72263 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
72264 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
72265 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
72266 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
72267 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
72268 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
72269 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
72270 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
72271 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
72272 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
72273 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
72274 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
72275 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
72276 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
72277 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
72278 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
72279 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
72280 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
72281 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
72282 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
72283 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
72284 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
72285
72286 2013-01-10 David S. Miller <davem@davemloft.net>
72287
72288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72289
72290 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
72291
72292 * posix/Makefile (tests-static): New variable.
72293 (tests): Add $(tests-static).
72294 (tst-exec-static-ARGS): New variable.
72295 (tst-spawn-static-ARGS): Likewise.
72296 * posix/tst-exec-static.c: New file.
72297 * posix/tst-spawn-static.c: Likewise.
72298 * posix/tst-exec.c: Support run directly.
72299 * posix/tst-spawn.c: Likewise.
72300
72301 2013-01-10 Joseph Myers <joseph@codesourcery.com>
72302
72303 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
72304 long.
72305 * math/bits/mathcalls.h (llrint): Likewise.
72306 (llround): Likewise.
72307 * stdlib/stdlib.h (struct drand48_data): Likewise.
72308 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
72309 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
72310 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
72311 Likewise.
72312 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
72313 Likewise.
72314 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
72315 (elf_greg_t): Likewise.
72316 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
72317 (__jmp_buf): Likewise.
72318 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
72319 definitions.
72320 (llrint): Likewise, for all definitions.
72321 (llrintl): Likewise.
72322
72323 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
72324 Remove [__GNUC__] condition.
72325 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
72326 condition to just [__USE_ISOC99].
72327 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
72328
72329 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
72330
72331 [BZ #14200]
72332 * sysdeps/unix/sysv/linux/x86/bits/environments.h
72333 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
72334 defined.
72335 (_POSIX_V6_ILP32_OFF32): Likewise.
72336 (_XBS5_ILP32_OFF32): Likewise.
72337 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
72338 (__ILP32_OFFBIG_LDFLAGS): Likewise.
72339
72340 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
72341
72342 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
72343
72344 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
72345 doubles __mpexp_twomm1. Adjust usage.
72346 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
72347 Remove.
72348
72349 2013-01-10 Andreas Schwab <schwab@suse.de>
72350
72351 [BZ #14964]
72352 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
72353 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
72354
72355 2013-01-09 David S. Miller <davem@davemloft.net>
72356
72357 [BZ #15003]
72358 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
72359 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
72360 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
72361 (TCP_FASTOPEN): Define.
72362 (tcp_repair_opt): New structure.
72363 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
72364 enum values.
72365 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
72366 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
72367 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
72368 (tcp_cookie_transactions): New structure.
72369
72370 2013-01-09 Anton Blanchard <anton@samba.org>
72371
72372 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
72373 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
72374 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
72375 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
72376
72377 2013-01-09 Joseph Myers <joseph@codesourcery.com>
72378
72379 * include/features.h (__USE_ANSI): Remove.
72380
72381 2013-01-09 Roland McGrath <roland@hack.frob.com>
72382
72383 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
72384
72385 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
72386
72387 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
72388
72389 * sysdeps/s390/fpu/libm-test-ulps: Update.
72390
72391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72392
72393 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
72394 (__acr): Likewise.
72395 (__cpy): Likewise.
72396 (norm): Likewise.
72397 (denorm): Likewise.
72398 (__mp_dbl): Likewise.
72399 (__dbl_mp): Likewise.
72400 (add_magnitudes): Likewise.
72401 (sub_magnitudes): Likewise.
72402 (__add): Likewise.
72403 (__sub): Likewise.
72404 (__mul): Likewise.
72405 (__inv): Likewise.
72406 (__dvd): Likewise.
72407 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
72408 (__acr): Likewise.
72409 (__cpy): Likewise.
72410 (norm): Likewise.
72411 (denorm): Likewise.
72412 (__mp_dbl): Likewise.
72413 (__dbl_mp): Likewise.
72414 (add_magnitudes): Likewise.
72415 (sub_magnitudes): Likewise.
72416 (__add): Likewise.
72417 (__sub): Likewise.
72418 (__mul): Likewise.
72419 (__inv): Likewise.
72420 (__dvd): Likewise.
72421 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
72422 (__acr): Likewise.
72423 (__cpy): Likewise.
72424 (norm): Likewise.
72425 (denorm): Likewise.
72426 (__mp_dbl): Likewise.
72427 (__dbl_mp): Likewise.
72428 (add_magnitudes): Likewise.
72429 (sub_magnitudes): Likewise.
72430 (__add): Likewise.
72431 (__sub): Likewise.
72432 (__mul): Likewise.
72433 (__inv): Likewise.
72434 (__dvd): Likewise.
72435
72436 2013-01-08 Joseph Myers <joseph@codesourcery.com>
72437
72438 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
72439 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
72440 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
72441 2 && __USE_EXTERN_INLINES]: Likewise.
72442
72443 2013-01-08 Andreas Jaeger <aj@suse.de>
72444
72445 [BZ #14985]
72446 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
72447 Remove.
72448 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72449 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72450
72451 2013-01-07 Anton Blanchard <anton@samba.org>
72452
72453 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
72454 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
72455 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
72456 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
72457 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
72458 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72459 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
72460 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72461 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72462 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72463 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72464 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72465 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72466 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
72467 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
72468 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72469 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72470 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
72471 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
72472 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
72473 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
72474 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
72475 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
72476 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
72477 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
72478 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
72479 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72480 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
72481 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
72482 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72483 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
72484 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72485 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72486 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
72487 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
72488 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
72489 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
72490 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
72491 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
72492 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
72493 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
72494 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72495 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
72496
72497 2013-01-07 Joseph Myers <joseph@codesourcery.com>
72498
72499 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
72500 (__MALLOC_PMT): Likewise.
72501 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
72502 [__GNUC__], only on [_LIBC].
72503 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72504 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
72505 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72506 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
72507 forward declaration.
72508 (realloc_hook_ini): Likewise.
72509 (memalign_hook_ini): Likewise.
72510 (__libc_memalign): Do not use __MALLOC_PMT in variable
72511 declaration.
72512 (__libc_valloc): Likewise.
72513 (__libc_pvalloc): Likewise.
72514 (__libc_calloc): Likewise.
72515 (__posix_memalign): Likewise.
72516
72517 [BZ #14996]
72518 * math/s_casinh.c: Include <float.h>.
72519 (__casinh): Do not do computation with squaring and square root
72520 for large arguments.
72521 * math/s_casinhf.c: Include <float.h>.
72522 (__casinhf): Do not do computation with squaring and square root
72523 for large arguments.
72524 * math/s_casinhl.c: Include <float.h>.
72525 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
72526 (__casinhl): Do not do computation with squaring and square root
72527 for large arguments.
72528 * math/libm-test.inc (casin_test): Add more tests.
72529 (casinh_test): Likewise.
72530 * sysdeps/i386/fpu/libm-test-ulps: Update.
72531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72532
72533 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
72534
72535 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
72536 (__x86_64_raw_data_cache_size): Likewise.
72537 (__x86_64_data_cache_size_half): Likewise.
72538 (__x86_64_raw_data_cache_size_half): Likewise.
72539 (__x86_64_shared_cache_size): Likewise.
72540 (__x86_64_raw_shared_cache_size): Likewise.
72541 (__x86_64_shared_cache_size_half): Likewise.
72542 (__x86_64_raw_shared_cache_size_half): Likewise.
72543 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
72544 to ...
72545 (__x86_data_cache_size): This.
72546 (__x86_64_raw_data_cache_size): Renamed to ...
72547 (__x86_raw_data_cache_size): This.
72548 (__x86_64_data_cache_size_half): Renamed to ...
72549 (__x86_data_cache_size_half): This.
72550 (__x86_64_raw_data_cache_size_half): Renamed to ...
72551 (__x86_raw_data_cache_size_half): This.
72552 (__x86_64_shared_cache_size): Renamed to ...
72553 (__x86_shared_cache_size): This.
72554 (__x86_64_raw_shared_cache_size): Renamed to ...
72555 (__x86_raw_shared_cache_size): This.
72556 (__x86_64_shared_cache_size_half): Renamed to ...
72557 (__x86_shared_cache_size_half): This.
72558 (__x86_64_raw_shared_cache_size_half): Renamed to ...
72559 (__x86_raw_shared_cache_size_half): This.
72560 * sysdeps/x86_64/memcpy.S: Updated.
72561 * sysdeps/x86_64/memset.S: Likewise.
72562 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
72563 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
72564 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
72565
72566 2013-01-04 David S. Miller <davem@davemloft.net>
72567
72568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72569
72570 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
72571
72572 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
72573 1 to avoid redefinition warning.
72574 (__USE_GNU): Don't define.
72575 (init_signaling_nan): Protoize.
72576
72577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72578
72579 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
72580
72581 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
72582 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
72583 (__cpymn): Likewise.
72584 (norm): Remove commented code.
72585 (denorm): Likewise.
72586 (__mp_dbl): Likewise.
72587 (__inv): Likewise.
72588 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
72589 (__cpymn): Likewise.
72590 (norm): Remove commented code.
72591 (denorm): Likewise.
72592 (__mp_dbl): Likewise.
72593 (__inv): Likewise.
72594
72595 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
72596 mp_no value for 1.0 and 2.0.
72597 (norm): Use RADIXI instead of radixi.d.
72598 (denorm): Likewise.
72599 (__mul): Use 0.0 instead of zero.d.
72600 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
72601 mp_no value for 1.0 and 2.0.
72602 (norm): Use RADIXI instead of radixi.d.
72603 (denorm): Likewise.
72604 (__mul): Use 0.0 instead of zero.d.
72605
72606 2013-01-04 Joseph Myers <joseph@codesourcery.com>
72607
72608 [BZ #14994]
72609 * math/s_casinh.c (__casinh): Reduce finite argument to first
72610 quadrant then set signs of results at the end.
72611 * math/s_casinhf.c (__casinhf): Likewise.
72612 * math/s_casinhl.c (__casinhl): Likewise.
72613 * math/libm-test.inc (casin_test): Add more tests.
72614 (casinh_test): Likewise.
72615 * sysdeps/i386/fpu/libm-test-ulps: Update.
72616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72617
72618 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
72619
72620 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
72621
72622 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
72623
72624 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
72625 declarations.
72626 (denorm): Likewise.
72627 (__mp_dbl): Likewise.
72628 (__inv): Likewise.
72629
72630 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
72631 and adjust the header comment.
72632
72633 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
72634 variable name from declaration.
72635
72636 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
72637
72638 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72639 Initialize COMMON_CPUID_INDEX_7 element.
72640 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
72641 (CPUID_RTM): Likewise.
72642 (HAS_RTM): Likewise.
72643 (COMMON_CPUID_INDEX_7): New enum.
72644
72645 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
72646
72647 [BZ #14981]
72648 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
72649 size is zero, record memory as freed.
72650
72651 2013-01-03 Andreas Jaeger <aj@suse.de>
72652
72653 * po/ia.po: Add new Interlingua translation.
72654
72655 2012-01-03 Allan McRae <allan@archlinux.org>
72656
72657 * locale/programs/localedef.c: Fix description of '--posix' flag.
72658
72659 2013-01-02 Joseph Myers <joseph@codesourcery.com>
72660
72661 * NEWS: Update dates in second copyright notice.
72662 * README: Update copyright dates in example.
72663 * manual/libc.texinfo: Update copyright dates.
72664 * scripts/test-installation.pl: Update copyright date in --version
72665 output.
72666
72667 * hurd/ctty-input.c: Fix copyright notice formatting.
72668 * hurd/ctty-output.c: Likewise.
72669 * hurd/dtable.c: Likewise.
72670 * hurd/hurd-raise.c: Likewise.
72671 * hurd/hurdprio.c: Likewise.
72672 * hurd/msgportdemux.c: Likewise.
72673 * misc/sys/file.h: Likewise.
72674 * misc/sys/ioctl.h: Likewise.
72675 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
72676 * sysdeps/mach/hurd/chdir.c: Likewise.
72677 * sysdeps/mach/hurd/fchdir.c: Likewise.
72678 * sysdeps/mach/hurd/rename.c: Likewise.
72679 * sysdeps/mach/hurd/rmdir.c: Likewise.
72680 * sysdeps/mach/hurd/seekdir.c: Likewise.
72681 * sysdeps/mach/hurd/setsid.c: Likewise.
72682 * sysdeps/posix/wait3.c: Likewise.
72683
72684 * All files with FSF copyright notices: Update copyright dates
72685 using scripts/update-copyrights.
72686 * intl/plural.c: Regenerated.
72687 * locale/programs/charmap-kw.h: Likewise.
72688 * locale/programs/locfile-kw.h: Likewise.
72689
72690 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
72691
72692 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
72693 four values.
72694
72695 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
72696 calculation loop and add branch prediction.
72697
72698 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
72699 check access beyond bounds of m1np.
72700
72701 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
72702 MPTWO.
72703 (__inv): Remove local variable MPTWO to use the global
72704 constant.
72705 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
72706 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
72707 variable MPTWO.
72708 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
72709 MP3HALFS static const.
72710
72711 2013-01-01 David S. Miller <davem@davemloft.net>
72712
72713 * po/ca.po: Update from translation team.
72714
72715 2013-01-01 Joseph Myers <joseph@codesourcery.com>
72716
72717 * scripts/update-copyrights: New file.
72718 * Makeconfig: Reformat copyright notice.
72719 * ctype/ctype.h: Likewise.
72720 * debug/swprintf_chk.c: Likewise.
72721 * elf/dl-cache.c: Likewise.
72722 * elf/dl-debug.c: Likewise.
72723 * elf/dl-object.c: Likewise.
72724 * grp/initgroups.c: Likewise.
72725 * hurd/Makefile: Likewise.
72726 * hurd/hurd/signal.h: Likewise.
72727 * hurd/hurdfault.c: Likewise.
72728 * hurd/hurdioctl.c: Likewise.
72729 * hurd/hurdlookup.c: Likewise.
72730 * hurd/intr-msg.c: Likewise.
72731 * iconv/gconv_open.c: Likewise.
72732 * libio/swprintf.c: Likewise.
72733 * locale/lc-ctype.c: Likewise.
72734 * locale/nl_langinfo.c: Likewise.
72735 * mach/Machrules: Likewise.
72736 * mach/Makefile: Likewise.
72737 * malloc/obstack.h: Likewise.
72738 * manual/Makefile: Likewise.
72739 * manual/tsort.awk: Likewise.
72740 * misc/bits/stab.def: Likewise.
72741 * nis/nis_print_group_entry.c: Likewise.
72742 * nis/nis_table.c: Likewise.
72743 * nis/nss_compat/compat-pwd.c: Likewise.
72744 * nis/nss_compat/compat-spwd.c: Likewise.
72745 * po/Makefile: Likewise.
72746 * posix/fnmatch.c: Likewise.
72747 * posix/regex.h: Likewise.
72748 * resolv/Makefile: Likewise.
72749 * resolv/nss_dns/dns-network.c: Likewise.
72750 * resolv/res_hconf.c: Likewise.
72751 * scripts/gen-sorted.awk: Likewise.
72752 * soft-fp/soft-fp.h: Likewise.
72753 * stdio-common/printf.h: Likewise.
72754 * stdlib/monetary.h: Likewise.
72755 * stdlib/random.c: Likewise.
72756 * stdlib/random_r.c: Likewise.
72757 * sysdeps/generic/Makefile: Likewise.
72758 * sysdeps/gnu/Makefile: Likewise.
72759 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72760 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72761 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72762 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72763 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72764 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72765 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72766 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72767 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72768 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72769 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
72770 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
72771 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
72772 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
72773 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
72774 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
72775 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
72776 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72777 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72778 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72779 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72780 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72781 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72782 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
72783 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
72784 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
72785 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
72786 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
72787 * sysdeps/mach/hurd/errnos.awk: Likewise.
72788 * sysdeps/mach/hurd/fork.c: Likewise.
72789 * sysdeps/mach/hurd/getcwd.c: Likewise.
72790 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
72791 * sysdeps/mach/hurd/mmap.c: Likewise.
72792 * sysdeps/mach/hurd/utimes.c: Likewise.
72793 * sysdeps/mach/hurd/xmknod.c: Likewise.
72794 * sysdeps/posix/profil.c: Likewise.
72795 * sysdeps/posix/readdir_r.c: Likewise.
72796 * sysdeps/powerpc/bits/mathdef.h: Likewise.
72797 * sysdeps/powerpc/bits/setjmp.h: Likewise.
72798 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
72799 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72800 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72801 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
72802 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72803 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72804 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72805 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
72806 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72807 * sysdeps/pthread/lio_listio.c: Likewise.
72808 * sysdeps/sparc/dl-procinfo.h: Likewise.
72809 * sysdeps/unix/i386/sysdep.S: Likewise.
72810 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
72811 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
72812 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
72813 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
72814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72815 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
72816 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
72817 * sysdeps/unix/sysv/linux/speed.c: Likewise.
72818 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
72819 * sysdeps/wordsize-32/divdi3.c: Likewise.
72820 * time/sys/time.h: Likewise.
72821 * wcsmbs/Makefile: Likewise.
72822
72823 2013-01-01 David S. Miller <davem@davemloft.net>
72824
72825 * po/fr.po: Update from translation team.
72826
72827 * catgets/gencat.c: Update copyright year.
72828 * csu/version.c: Likewise.
72829 * debug/catchsegv.sh: Likewise.
72830 * debug/pcprofiledump.c: Likewise.
72831 * debug/xtrace.sh: Likewise.
72832 * elf/ldconfig.c: Likewise.
72833 * elf/ldd.bash.in: Likewise.
72834 * elf/pldd.c: Likewise.
72835 * elf/sotruss.ksh: Likewise.
72836 * elf/sprof.c: Likewise.
72837 * iconv/iconv_prog.c: Likewise.
72838 * iconv/iconvconfig.c: Likewise.
72839 * locale/programs/locale.c: Likewise.
72840 * locale/programs/localedef.c: Likewise.
72841 * login/programs/pt_chown.c: Likewise.
72842 * malloc/memusage.sh: Likewise.
72843 * malloc/memusagestat.c: Likewise.
72844 * malloc/mtrace.pl: Likewise.
72845 * nscd/nscd.c: Likewise.
72846 * nss/getent.c: Likewise.
72847 * nss/makedb.c: Likewise.
72848 * posix/getconf.c: Likewise.
72849
72850 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
72851
72852 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
72853 numbers.
72854
72855 2012-12-30 Mike Frysinger <vapier@gentoo.org>
72856
72857 * math/bits/mathcalls.h (modf): Use __nonnull.
72858
72859 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
72860
72861 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
72862 (split): Use macro CN instead of the bare value.
72863 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
72864 could be used.
72865 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
72866 instead of the bare value.
72867 (power1): Likewise.
72868
72869 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
72870
72871 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
72872 __ATAN_TWOM.
72873 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72874
72875 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
72876 their values.
72877 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
72878 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
72879 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
72880 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
72881
72882 2012-12-28 Andreas Jaeger <aj@suse.de>
72883
72884 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
72885 values are from Linux 3.7.
72886
72887 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
72888 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
72889
72890 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
72891
72892 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
72893 TRUE case.
72894
72895 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
72896 (norm): Likewise.
72897 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
72898 variables with preprocessor constants.
72899 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72900 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
72901 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
72902
72903 2012-12-27 Bruno Haible <bruno@clisp.org>
72904
72905 [BZ #14317]
72906 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
72907 only if needed.
72908
72909 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
72910
72911 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
72912 and use variable directly.
72913 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
72914
72915 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
72916 MPONE.
72917 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
72918 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
72919 variable MPONE.
72920 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
72921 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
72922 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
72923 include directive. Remove local variable MPONE.
72924 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
72925 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
72926 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
72927
72928 2012-12-25 David S. Miller <davem@davemloft.net>
72929
72930 * version.h (RELEASE): Set to "development".
72931 (VERSION): Set to "2.17.90".
72932 * NEWS: Add 2.18 section.
72933
72934 2012-12-21 David S. Miller <davem@davemloft.net>
72935
72936 * po/hr.po: Update from translation team.
72937
72938 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
72939
72940 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
72941
72942 2012-12-19 Steve Ellcey <sellcey@mips.com>
72943
72944 * NEWS: Mention new memcpy for MIPS.
72945
72946 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
72947
72948 * manual/contrib.texi (Contributors): Spelling correction.
72949
72950 2012-12-15 David S. Miller <davem@davemloft.net>
72951
72952 * po/ru.po: Update from translation team.
72953
72954 2012-12-13 David S. Miller <davem@davemloft.net>
72955
72956 * NEWS: Mention IFUNC testsuite enhancements.
72957
72958 * po/pl.po: Update from translation team.
72959 * po/bg.po: Likewise.
72960
72961 * manual/contrib.texi (Contributors): Update entries for Hongjiu
72962 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
72963
72964 2012-12-11 David S. Miller <davem@davemloft.net>
72965
72966 * po/sv.po: Update from translation team.
72967
72968 * po/vi.po: Update from translation team.
72969
72970 * po/cs.po: Update from translation team.
72971
72972 * po/de.po: Update from translation team.
72973 * po/eo.po: Likewise.
72974 * po/nl.po: Likewise.
72975
72976 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
72977
72978 [BZ #14246]
72979 * manual/argp.texi (Argp Helper Functions): Move node to follow
72980 Argp Parsing State.
72981
72982 [BZ #14872]
72983 * manual/conf.texi (Limits on File System Capacity): Mention if
72984 terminating null is included in the max size.
72985
72986 2012-12-10 Andreas Jaeger <aj@suse.de>
72987
72988 * po/cs.po: Update from translation team.
72989
72990 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
72991
72992 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
72993 void pointer and cast to uintptr_t.
72994 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
72995 path.
72996 * sysdeps/s390/s390-64/memcpy.S: Likewise.
72997 * sysdeps/s390/s390-64/memset.S: Likewise.
72998
72999 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
73000
73001 [BZ #14833]
73002 * menual/message.texi (Message Translation): Fix typos.
73003 (Helper programs for gettext): Likewise.
73004
73005 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
73006
73007 [BZ #14898]
73008 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
73009 Change to -1.
73010
73011 2012-12-07 David S. Miller <davem@davemloft.net>
73012
73013 * po/libc.pot: Update.
73014
73015 2012-12-07 Richard Henderson <rth@redhat.com>
73016
73017 [BZ #10114]
73018 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
73019 normal/normal case to before the switch.
73020 (_FP_DIV): Likewise.
73021
73022 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
73023 Mike Frysinger <vapier@gentoo.org>
73024
73025 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
73026 check for __NR_fadvise64_64.
73027
73028 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
73029
73030 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
73031 0, not just to plain "0" as a statement.
73032 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
73033 with cw.
73034
73035 2012-12-06 Joseph Myers <joseph@codesourcery.com>
73036
73037 * NEWS: Use sourceware.org in Bugzilla URL.
73038
73039 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
73040
73041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
73042 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73043
73044 * stdio-common/tst-put-error.c (do_test): Add newline to the
73045 padded test to ensure flush.
73046
73047 2012-12-05 Jeff Law <law@redhat.com>
73048
73049 * sunrpc/etc.rpc (fedfs_admin): Add entry.
73050
73051 2012-12-05 Joseph Myers <joseph@codesourcery.com>
73052
73053 * README: Don't refer to ports add-on as distributed separately.
73054 Mention AArch64 in list of systems supported in the ports add-on.
73055
73056 * LICENSES: Add more non-FSF copyright and license notices.
73057
73058 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
73059 ((unused)).
73060
73061 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
73062
73063 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
73064 10000 as width of padded output.
73065
73066 2012-12-04 Joseph Myers <joseph@codesourcery.com>
73067
73068 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
73069
73070 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
73071 variable LX with __attribute__ ((unused)).
73072 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
73073 Likewise.
73074 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
73075 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73076 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
73077 with __attribute__ ((unused)).
73078
73079 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
73080
73081 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
73082
73083 2012-12-04 Joseph Myers <joseph@codesourcery.com>
73084
73085 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
73086 (CFLAGS-nldbl-acos.c): New variable.
73087 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
73088 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
73089 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
73090 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
73091 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
73092 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
73093 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
73094 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
73095 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
73096 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
73097 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
73098 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
73099 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
73100 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
73101 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
73102 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
73103 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
73104 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
73105 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
73106 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
73107 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
73108 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
73109 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
73110 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
73111 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
73112 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
73113 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
73114 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
73115 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
73116 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
73117 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
73118 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
73119 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
73120 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
73121 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
73122 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
73123 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
73124 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
73125 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
73126 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
73127 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
73128 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
73129 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
73130 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
73131 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
73132 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
73133 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
73134 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
73135 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
73136 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
73137 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
73138 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
73139 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
73140 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
73141 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
73142 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
73143 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
73144 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
73145 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
73146 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
73147 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
73148 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
73149 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
73150 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
73151 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
73152 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
73153 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
73154 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
73155 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
73156 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
73157 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
73158 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
73159 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
73160 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
73161 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
73162 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
73163 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
73164 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
73165 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
73166 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
73167 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
73168 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
73169 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
73170 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
73171 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
73172 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
73173 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
73174 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
73175 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
73176 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
73177 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
73178 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
73179 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
73180 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
73181 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
73182 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
73183 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
73184
73185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
73186 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73187
73188 [BZ #14914]
73189 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
73190 whole low double instead of just low 47 bits when splitting values
73191 into two parts.
73192
73193 2012-12-03 Allan McRae <allan@archlinux.org>
73194
73195 * manual/stdio.texi (Predefined Printf Handlers): Remove
73196 @hsep and @vsep usage.
73197
73198 2012-12-03 Mike Frysinger <vapier@gentoo.org>
73199
73200 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
73201 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
73202
73203 2012-12-03 Jeff Law <law@redhat.com>
73204
73205 * time/sys/time.h (settimeofday): Do not mark TV argument
73206 as __nonnull.
73207
73208 2012-12-01 Mike Frysinger <vapier@gentoo.org>
73209
73210 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
73211 when currently writing and seek to current position when not.
73212 * libio/Makefile (tests): Remove bug-fclose1.
73213 * libio/bug-fclose1.c: Delete.
73214
73215 2012-12-01 Joseph Myers <joseph@codesourcery.com>
73216
73217 * manual/arith.texi (feenableexcept): Fix typo.
73218 (fedisableexcept): Likewise.
73219
73220 2012-11-30 Roland McGrath <roland@hack.frob.com>
73221
73222 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
73223 second, differently-typed declaration, rather than a cast.
73224
73225 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
73226
73227 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
73228 * include/rpc/svc.h: ... here.
73229
73230 2012-11-30 Aurelien Jarno <aurel32@debian.org>
73231
73232 [BZ #13013]
73233 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
73234 depending n and resplen2 to catch cases where answer
73235 equals answerp2.
73236
73237 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
73238
73239 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
73240 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
73241
73242 2012-11-29 Mike Frysinger <vapier@gentoo.org>
73243
73244 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
73245
73246 2012-11-29 Roland McGrath <roland@hack.frob.com>
73247
73248 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
73249
73250 2012-11-28 Jeff Law <law@redhat.com>
73251
73252 [BZ #13761]
73253 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
73254 dataset_temporary. Track alloca usage into alloca_used.
73255 If dataset is large allocate and release it via malloc/free.
73256
73257 2012-06-04 Florian Weimer <fweimer@redhat.com>
73258
73259 [BZ #14197]
73260 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
73261
73262 2012-11-28 David S. Miller <davem@davemloft.net>
73263
73264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73265
73266 2012-11-28 Joseph Myers <joseph@codesourcery.com>
73267
73268 [BZ #14803]
73269 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
73270 of pi/2 rounded to nearest to 64 bits.
73271 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
73272 nearest to 64 bits.
73273 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
73274 bits.
73275
73276 2012-11-28 Jeff Law <law@redhat.com>
73277 Martin Osvald <mosvald@redhat.com>
73278
73279 [BZ #14889]
73280 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
73281 * sunrpc/svc.c: Include time.h.
73282 (__svc_accept_failed): New function.
73283 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
73284 any reason other than EINTR, call __svc_accept_failed.
73285 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
73286 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
73287
73288 2012-11-28 Andreas Schwab <schwab@suse.de>
73289
73290 * scripts/abilist.awk: Also handle indirect functions in .opd
73291 section.
73292
73293 2012-11-28 Joseph Myers <joseph@codesourcery.com>
73294
73295 [BZ #13881]
73296 * sysdeps/x86/fpu/powl_helper.c: New file.
73297 * sysdeps/x86/fpu/Makefile: Likewise.
73298 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
73299 (p3): New object.
73300 (__ieee754_powl): Use __powl_helper for finite arguments except
73301 integer exponents below 8.
73302 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
73303 (p3): New object.
73304 (__ieee754_powl): Use __powl_helper for finite arguments except
73305 integer exponents below 8.
73306 * math/libm-test.inc (pow_test): Add more tests and enable some
73307 previously disabled tests.
73308 * sysdeps/i386/fpu/libm-test-ulps: Update.
73309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73310
73311 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
73312 Carlos O'Donell <carlos_odonell@mentor.com>
73313
73314 * nss/makedb.c (is_prime): Assert that input is odd and greater
73315 than 4. Note that fact in a comment too.
73316 (next_prime): Add 4 to input.
73317
73318 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
73319
73320 [BZ #11741]
73321 * libio/Makefile (tests): Add test case tst-fwrite-error.
73322 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
73323 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
73324 * libio/tst-fwrite-error.c: New test case.
73325
73326 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
73327
73328 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
73329 before casting to void *.
73330 * include/libc-internal.h (__pointer_type): New macro.
73331 (__integer_if_pointer_type_sub): Likewise.
73332 (__integer_if_pointer_type): Likewise.
73333 (cast_to_integer): Likewise.
73334 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
73335 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
73336 before casting to atomic64_t.
73337 (atomic_exchange_acq): Likewise.
73338 (__arch_exchange_and_add_body): Likewise.
73339 (__arch_add_body): Likewise.
73340 (atomic_add_negative): Likewise.
73341 (atomic_add_zero): Likewise.
73342
73343 2012-11-26 Joseph Myers <joseph@codesourcery.com>
73344
73345 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
73346 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
73347 (add_fdes): Likewise.
73348 (linear_search_fdes): Likewise.
73349 (binary_search_unencoded_fdes): Likewise.
73350
73351 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
73352
73353 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
73354
73355 2012-11-24 Adam Conrad <adconrad@0c3.net>
73356
73357 * configure.in: Autodetect C++ header directories.
73358 * configure: Regenerated.
73359
73360 2012-11-23 Mike Frysinger <vapier@gentoo.org>
73361
73362 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
73363
73364 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
73365
73366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73367
73368 2012-11-22 Joseph Myers <joseph@codesourcery.com>
73369
73370 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
73371 LDBL_MANT_DIG == 106]: Disable some tests.
73372 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73373 Likewise.
73374 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73375 Likewise.
73376
73377 [BZ #14871]
73378 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
73379 input for small inputs. Return +/- pi/2 for large inputs.
73380 * math/libm-test.inc (atan_test): Add more tests.
73381
73382 * sysdeps/generic/unwind-dw2-fde-glibc.c
73383 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
73384 __attribute__ ((unused)).
73385
73386 [BZ #14645]
73387 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
73388 x * y if x and y are nonzero and z is zero.
73389
73390 [BZ #14811]
73391 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
73392 nonzero exponents with absolute value below 0x1p-117 to +/-
73393 0x1p-117.
73394
73395 [BZ #14869]
73396 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
73397 up arguments below 2**-450, not just those below 2**-500.
73398 * math/libm-test.inc (hypot_test): Add another test.
73399
73400 [BZ #14868]
73401 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
73402 Return a+b for ratio over 2**120, not 2**60.
73403 * math/libm-test.inc (hypot_test): Add another test.
73404
73405 * math/libm-test.inc (clog_test): Use
73406 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
73407 (clog10_test): Likewise.
73408
73409 [BZ #6778]
73410 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
73411
73412 2012-11-22 Andreas Schwab <schwab@suse.de>
73413
73414 * sysdeps/i386/fpu/libm-test-ulps: Update.
73415
73416 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
73417
73418 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
73419 printf output with newline.
73420
73421 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
73422
73423 [BZ #14865]
73424 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
73425 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
73426 -z nodlopen, -z initfirst and -z execstack support.
73427 * configure: Regenerated.
73428
73429 * elf/elf.h (DF_1_NODIRECT): New macro.
73430 (DF_1_IGNMULDEF): Likewise.
73431 (DF_1_NOKSYMS): Likewise.
73432 (DF_1_NOHDR): Likewise.
73433 (DF_1_EDITED): Likewise.
73434 (DF_1_NORELOC): Likewise.
73435 (DF_1_SYMINTPOSE): Likewise.
73436 (DF_1_GLOBAUDIT): Likewise.
73437 (DF_1_SINGLETON): Likewise.
73438 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
73439 DT_1_SUPPORTED_MASK bits.
73440 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
73441
73442 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
73443
73444 * sysdeps/unix/make-syscalls.sh: Document prefixes.
73445
73446 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
73447
73448 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
73449 macro.
73450
73451 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
73452 (sendmmsg): Move declarations...
73453 * socket/sys/socket.h: ... here.
73454 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
73455 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
73456 include it from...
73457 * socket/recvmmsg.c: ... this new file.
73458 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
73459 (sendmmsg): Rename to __sendmmsg, create weak alias and make
73460 definition of __sendmmsg hidden.
73461 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
73462 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
73463 Move ENOSYS stub into and include it from...
73464 * socket/sendmmsg.c: ... this new file.
73465 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
73466 (sysdep_routines): Move recvmmsg and sendmmsg...
73467 * socket/Makefile (routines): ... here.
73468 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
73469 (GLIBC_PRIVATE): Add __sendmmsg.
73470 * include/sys/socket.h (__sendmmsg): Add declarations.
73471 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
73472 sendmmsg.
73473
73474 2012-11-20 Joseph Myers <joseph@codesourcery.com>
73475
73476 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
73477 variable I1 with __attribute__ ((unused)).
73478 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73479
73480 2012-11-19 Joseph Myers <joseph@codesourcery.com>
73481
73482 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
73483 DUMMY variables with __attribute__ ((unused)).
73484
73485 * bits/byteswap.h: Include <bits/types.h>.
73486 (__bswap_64): Use __uint64_t instead of unsigned long long int.
73487
73488 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
73489
73490 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
73491 string_t. Do not manually set errno.
73492 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
73493 length with __strnlen. Make sure to both set errno and return it on
73494 failure.
73495
73496 2012-11-19 David S. Miller <davem@davemloft.net>
73497
73498 With help from Joseph Myers.
73499 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
73500 very large arguments properly.
73501 * math/libm-test.inc (atan_test): New tests.
73502 (atan2_test): New tests.
73503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73504 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73505
73506 2012-11-19 Joseph Myers <joseph@codesourcery.com>
73507
73508 [BZ #14856]
73509 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
73510 Define to 3.
73511
73512 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
73513 [POSIX] (EADDRNOTAVAIL): Likewise.
73514 [POSIX] (EAFNOSUPPORT): Likewise.
73515 [POSIX] (EALREADY): Likewise.
73516 [POSIX] (ECONNABORTED): Likewise.
73517 [POSIX] (ECONNREFUSED): Likewise.
73518 [POSIX] (ECONNRESET): Likewise.
73519 [POSIX] (EDESTADDRREQ): Likewise.
73520 [POSIX] (EDQUOT): Likewise.
73521 [POSIX] (EHOSTUNREACH): Likewise.
73522 [POSIX] (EIDRM): Likewise.
73523 [POSIX] (EISCONN): Likewise.
73524 [POSIX] (ELOOP): Likewise.
73525 [POSIX] (EMULTIHOP): Likewise.
73526 [POSIX] (ENETDOWN): Likewise.
73527 [POSIX] (ENETUNREACH): Likewise.
73528 [POSIX] (ENOBUFS): Likewise.
73529 [POSIX] (ENODATA): Likewise.
73530 [POSIX] (ENOLINK): Likewise.
73531 [POSIX] (ENOMSG): Likewise.
73532 [POSIX] (ENOPROTOOPT): Likewise.
73533 [POSIX] (ENOSR): Likewise.
73534 [POSIX] (ENOSTR): Likewise.
73535 [POSIX] (ENOTCONN): Likewise.
73536 [POSIX] (ENOTSOCK): Likewise.
73537 [POSIX] (EOPNOTSUPP): Likewise.
73538 [POSIX] (EOVERFLOW): Likewise.
73539 [POSIX] (EPROTO): Likewise.
73540 [POSIX] (EPROTONOSUPPORT): Likewise.
73541 [POSIX] (EPROTOTYPE): Likewise.
73542 [POSIX] (ESTALE): Likewise.
73543 [POSIX] (ETIME): Likewise.
73544 [POSIX] (ETXTBSY): Likewise.
73545 [POSIX] (EWOULDBLOCK): Likewise.
73546 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
73547 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
73548 [POSIX] (SEEK_CUR): Likewise.
73549 [POSIX] (SEEK_END): Likewise.
73550 [POSIX || UNIX98] (mode_t): Do not require.
73551 [POSIX] (off_t): Likewise.
73552 [POSIX] (pid_t): Likewise.
73553 [POSIX] (sys/stat.h): Do not allow header.
73554 [POSIX] (unistd.h): Likewise.
73555 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
73556 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
73557 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
73558 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
73559 require.
73560 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
73561 sigevent): Specify elements.
73562 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
73563 entry.
73564 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
73565 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
73566
73567 * conform/data/cpio.h-data [POSIX]: Disable whole file.
73568 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
73569 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
73570 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
73571 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
73572 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
73573 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
73574 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
73575 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
73576 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
73577 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
73578 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
73579 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
73580 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
73581 Likewise.
73582 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
73583 Likewise.
73584 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
73585 Likewise.
73586 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
73587 Likewise.
73588 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
73589 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
73590 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
73591 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
73592 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
73593 Specify lower bound on value.
73594 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
73595 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
73596 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
73597 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
73598 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
73599 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
73600 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
73601 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
73602 value.
73603 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
73604 as optional.
73605 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
73606 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
73607 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
73608 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
73609 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
73610 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
73611 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
73612 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
73613 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
73614 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
73615 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
73616 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
73617 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
73618 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
73619 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
73620 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
73621 entry.
73622 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
73623 optional.
73624 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
73625 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
73626 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
73627 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
73628 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
73629 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
73630 Likewise.
73631 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
73632 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
73633 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
73634 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
73635 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
73636 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
73637 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
73638 as optional.
73639 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
73640 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
73641 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
73642 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
73643 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
73644 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
73645 specify as optional.
73646 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
73647 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
73648 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
73649 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
73650 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
73651 [XPG3] (NL_LANGMAX): Likewise.
73652 [POSIX || XPG3] (NL_MSGMAX): Likewise.
73653 [POSIX || XPG3] (NL_NMAX): Likewise.
73654 [POSIX || XPG3] (NL_SETMAX): Likewise.
73655 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
73656 [XPG3] (NZERO): Likewise.
73657 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
73658 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
73659 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
73660 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
73661 (REG_ERANGE): Expect.
73662 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
73663 optional-constant.
73664 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
73665 Use (void) in prototype.
73666 [POSIX] (*_t): Allow.
73667 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
73668 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
73669 (WRDE_BADVAL): Expect.
73670
73671 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
73672 expect.
73673 [XPG3 || XPG4] (O_RSYNC): Likewise.
73674 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
73675 Likewise.
73676 [XPG3 || XPG4] (pthread_sigmask): Likewise.
73677 [XPG3 || XPG4] (sigqueue): Likewise.
73678 [XPG3 || XPG4] (sigtimedwait): Likewise.
73679 [XPG3 || XPG4] (sigwaitinfo): Likewise.
73680 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
73681 [XPG3 || XPG4] (vsnprintf): Likewise.
73682 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
73683 Likewise.
73684 [XPG3 || XPG4] (blksize_t): Likewise.
73685 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
73686 Likewise.
73687 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
73688 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
73689 [XPG3 || XPG4] (struct itimerspec): Likewise.
73690 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
73691 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
73692 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
73693 [XPG3 || XPG4] (clockid_t): Likewise.
73694 [XPG3 || XPG4] (timer_t): Likewise.
73695 [XPG3 || XPG4] (clock_getres): Likewise.
73696 [XPG3 || XPG4] (clock_gettime): Likewise.
73697 [XPG3 || XPG4] (clock_settime): Likewise.
73698 [XPG3 || XPG4] (nanosleep): Likewise.
73699 [XPG3 || XPG4] (timer_create): Likewise.
73700 [XPG3 || XPG4] (timer_delete): Likewise.
73701 [XPG3 || XPG4] (timer_gettime): Likewise.
73702 [XPG3 || XPG4] (timer_getoverrun): Likewise.
73703 [XPG3 || XPG4] (timer_settime): Likewise.
73704 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
73705 [XPG3 || XPG4] (getlogin_r): Likewise.
73706 [XPG3 || XPG4] (pread): Likewise.
73707 [XPG3 || XPG4] (pthread_atfork): Likewise.
73708 [XPG3 || XPG4] (pwrite): Likewise.
73709
73710 [BZ #14835]
73711 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
73712 <bits/siginfo.h>.
73713
73714 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
73715
73716 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
73717 finalizing MALLSTREAM.
73718
73719 * sysdeps/mach/hurd/syncfs.c: New file.
73720
73721 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
73722
73723 [BZ #14719]
73724 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
73725 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
73726 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
73727 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
73728 (_nss_dns_gethostbyname4_r): Likewise.
73729 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
73730 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
73731
73732 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
73733
73734 [BZ #13763]
73735 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
73736
73737 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
73738
73739 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
73740 * elf/cache.c (print_entry): Print ",AArch64" for
73741 FLAG_AARCH64_LIB64
73742
73743 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
73744 * elf/cache.c (print_entry): Print ",hard-float" for
73745 FLAG_ARM_LIBHF.
73746
73747 2012-11-18 David S. Miller <davem@davemloft.net>
73748
73749 With help from Joseph Myers.
73750 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
73751 cutoff to 2**-13.
73752 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
73753 cutoff to 2**-25.
73754 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
73755 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
73756 small.
73757 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
73758 * math/libm-test.inc (y0_test): New tests.
73759 (y1_test): New tests.
73760 * sysdeps/i386/fpu/libm-test-ulps: Update.
73761 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73763
73764 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
73765
73766 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
73767 64-bit targets.
73768 * configure: Regenerated.
73769
73770 2012-11-17 David S. Miller <davem@davemloft.net>
73771
73772 [BZ #14811]
73773 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
73774 nonzero exponents with absolute value below 0x1p-128 to +/-
73775 0x1p-128.
73776
73777 2012-11-17 Joseph Myers <joseph@codesourcery.com>
73778
73779 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
73780
73781 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
73782
73783 * posix/getconf-speclist.c: New file.
73784 * posix/posix-envs.def: Likewise.
73785 * posix/confstr.c (START_ENV_GROUP): New macro.
73786 (END_ENV_GROUP): Likewise.
73787 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
73788 (KNOWN_PRESENT_ENV_STRING): Likewise.
73789 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
73790 (UNKNOWN_ENVIRONMENT): Likewise.
73791 (confstr): Include posix-envs.def instead of handling
73792 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
73793 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
73794 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
73795 (END_ENV_GROUP): Likewise.
73796 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
73797 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
73798 (UNKNOWN_ENVIRONMENT): Likewise.
73799 (__sysconf): Include posix-envs.def instead of handling associated
73800 cases directly here.
73801 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
73802 preprocessing getconf-speclist.c rather than running getconf or
73803 generating empty file.
73804
73805 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
73806
73807 * scripts/check-local-headers.sh: Ignore 'mach' headers.
73808
73809 2012-11-16 Andrej Lajovic <natrij@gmail.com>
73810
73811 [BZ #14672]
73812 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
73813
73814 2012-11-16 David S. Miller <davem@davemloft.net>
73815
73816 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
73817 smaller than LDBL_EPSILON/2.0L, just return xm1.
73818
73819 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
73820
73821 * elf/tst-array1.c (init): Set constructor priority to 1000.
73822 (fini): Set destructor priority to 1000.
73823 * elf/tst-array2dep.c: Likewise.
73824
73825 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
73826
73827 [BZ #11741]
73828 * libio/fileops.c (_IO_new_file_write): Correctly return error.
73829 (_IO_new_file_xsputn): Also return EOF if none of the input
73830 data was written when overflow failed.
73831 * libio/iopadn.c (_IO_padn): Likewise.
73832 * libio/iowpadn.c (_IO_wpadn): Likewise.
73833 * stdio-common/tst-put-error.c: Add copyright notice.
73834 (do_test): Add case for printing padded string.
73835 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
73836 _IO_padn returned error.
73837 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
73838 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
73839 return EOF.
73840
73841 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
73842
73843 * libio/libioP.h: Add comment note that the references to C++
73844 bits are now obsolete.
73845
73846 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
73847
73848 * math/libm-test.inc (check_complex): Use asprintf.
73849
73850 2012-11-14 Joseph Myers <joseph@codesourcery.com>
73851
73852 * debug/pcprofiledump.c (print_version): Update copyright year.
73853 * malloc/memusagestat.c (print_version): Likewise.
73854
73855 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
73856
73857 [BZ #14831]
73858 * elf/Makefile (tests): Add tst-audit8.
73859 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
73860 ($(objpfx)tst-audit8.out): New target.
73861 (tst-audit8-ENV): New variable.
73862 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
73863 audit if l_reloc_result is NULL.
73864 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
73865 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
73866 * elf/tst-audit8.c: New file.
73867
73868 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
73869
73870 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
73871 * misc/Makefile (CFLAGS-select.c): Define.
73872 * posix/Makefile (CFLAGS-pause.c): Define.
73873
73874 2012-11-13 David S. Miller <davem@davemloft.net>
73875
73876 * crypt/Makefile: Move test targets after toplevel Rules
73877 inclusion. Grab any necessary sysdep routines when linking.
73878 * crypt/md5.c (md5_process_block): Remove define, we will always
73879 name it __md5_process_block.
73880 (md5_finish_ctx): Update md5_process_block call.
73881 (md5_stream): Likewise.
73882 (md5_process_bytes): Likewise.
73883 (md5_process_block): Rename to __md5_process_block and move to ...
73884 * crypt/md5-block.c: ... here.
73885 * crypt/sha256.c (sha256_process_block): Move to ...
73886 * crypt/sha256-block.c: ... here.
73887 * crypt/sha512.c (sha512_process_block): Move to ...
73888 * crypt/sha512-block.c: ... here.
73889 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
73890 path.
73891 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
73892 * sysdeps/sparc/sparc64/multiarch/Makefile
73893 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
73894 crypt subdir.
73895 (localedef-aux): Add md5 crypto assembler when in locale subdir.
73896 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
73897 multiarch changes.
73898 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
73899 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
73900 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
73901 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
73902 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
73903 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
73904 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
73905 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
73906 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
73907 file.
73908 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
73909 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
73910 file.
73911 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
73912
73913 2012-11-13 Joseph Myers <joseph@codesourcery.com>
73914
73915 * timezone/tzselect.ksh: Update from tzcode git revision
73916 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
73917 * timezone/zdump.c: Likewise.
73918 * timezone/zic.c: Likewise.
73919 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
73920 in TZVERSION setting, not $(PKGVERSION).
73921 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
73922 REPORT_BUGS_TO settings.
73923
73924 [BZ #14838]
73925 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
73926 macro.
73927
73928 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
73929
73930 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
73931 detection to immediately after _FP_ROUND().
73932 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
73933 bits are 0.
73934
73935 2012-11-11 David S. Miller <davem@davemloft.net>
73936
73937 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
73938 inttypes.h
73939 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
73940 __close rather than their public counterparts.
73941
73942 2012-11-10 Joseph Myers <joseph@codesourcery.com>
73943
73944 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
73945 file.
73946 [UNIX98] (sem_timedwait): Do not expect.
73947 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
73948 [XPG4 || UNIX98] (sockatmark): Do not expect.
73949 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
73950 (clock_getcpuclockid): Do not expect.
73951 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
73952 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
73953 Do not expect.
73954 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
73955 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
73956 [UNIX98] (vwscanf): Likewise.
73957 [UNIX98] (vswscanf): Likewise.
73958
73959 2012-11-09 Joseph Myers <joseph@codesourcery.com>
73960
73961 * timezone/version.h: Remove file.
73962 * timezone/README: Do not refer to version.h.
73963 * timezone/Makefile ($(objpfx)zic.o): New dependency on
73964 $(objpfx)version.h.
73965 ($(objpfx)zdump.o): Likewise.
73966 ($(objpfx)version.h): New target.
73967
73968 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
73969 2012i.
73970 * timezone/README: Don't mention modification to tzselect.ksh.
73971 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
73972 work on unmodified tzselect.ksh. Substitute version numbers in
73973 tzselect.ksh.
73974
73975 * Makefile (format-me): Remove.
73976 (INSTALL): Adjust indentation. Use commands directly instead of
73977 using $(format-me).
73978
73979 * aclocal.m4 (ACX_PKGVERSION): New macro.
73980 (ACX_BUGURL): Likewise.
73981 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
73982 (PKGVERSION): New AC_DEFINE_UNQUOTED.
73983 (REPORT_BUGS_TO): Likewise.
73984 * configure: Regenerated.
73985 * config.h.in (PKGVERSION): New macro.
73986 (REPORT_BUGS_TO): Likewise.
73987 * config.make.in (PKGVERSION): New variable.
73988 (PKGVERSION_TEXI): Likewise.
73989 (REPORT_BUGS_TO): Likewise.
73990 (REPORT_BUGS_TEXI): Likewise.
73991 * Makefile (format-me): Use -I$(common-objpfx)manual.
73992 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
73993 ($(common-objpfx)manual/%): New target.
73994 (manual/%): Remove target.
73995 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
73996 (print_version): Use PKGVERSION.
73997 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
73998 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
73999 and REPORT_BUGS_TO.
74000 ($(objpfx)xtrace): Likewise.
74001 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
74002 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
74003 (print_version): Use PKGVERSION.
74004 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
74005 (do_version): Use PKGVERSION.
74006 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
74007 REPORT_BUGS_TO.
74008 (common-ldd-rewrite): Likewise.
74009 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
74010 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
74011 (print_version): Use PKGVERSION.
74012 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
74013 * elf/pldd.c (argp_program_bug_address): Remove variable.
74014 (more_help): New function.
74015 (argp): Use more_help.
74016 (print_version): Use PKGVERSION.
74017 * elf/sln.c (main): Use PKGVERSION.
74018 (usage): Use REPORT_BUGS_TO.
74019 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
74020 (top level): Use PKGVERSION.
74021 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
74022 (print_version): Use PKGVERSION.
74023 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
74024 (print_version): Use PKGVERSION.
74025 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
74026 (print_version): Use PKGVERSION.
74027 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
74028 (print_version): Use PKGVERSION.
74029 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
74030 (print_version): Use PKGVERSION.
74031 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
74032 (print_version): Use PKGVERSION.
74033 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
74034 and BUGURL.
74035 ($(objpfx)memusage): Likewise.
74036 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
74037 (do_version): Use PKGVERSION.
74038 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
74039 (print_version): Use PKGVERSION.
74040 * malloc/mtrace.pl ($PACKAGE): Remove variable.
74041 ($PKGVERSION): New variable.
74042 ($REPORT_BUGS_TO): Likewise.
74043 (usage): Use $REPORT_BUGS_TO.
74044 (top level): Use $PKGVERSION.
74045 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
74046 ($(objpfx)pkgvers.texi): New rule.
74047 ($(objpfx)stamp-pkgvers): Likewise.
74048 * manual/install.texi: Include pkgvers.texi.
74049 (--with-pkgversion): Document new configure option.
74050 (--with-bugurl): Likewise.
74051 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
74052 than necessarily for this particular distribution. Use
74053 REPORT_BUGS_TO for where to report bugs.
74054 * INSTALL: Regenerated.
74055 * manual/libc.texinfo: Include pkgvers.texi.
74056 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
74057 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
74058 (print_version): Use PKGVERSION.
74059 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
74060 (print_version): Use PKGVERSION.
74061 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
74062 (print_version): Use PKGVERSION.
74063 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
74064 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
74065 macro.
74066 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
74067 (print_version): Use PKGVERSION.
74068 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
74069 (print_version): Use PKGVERSION.
74070 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
74071 and PKGVERSION.
74072
74073 * timezone/checktab.awk: Update from tzcode 2012i.
74074 * timezone/ialloc.c: Likewise.
74075 * timezone/private.h: Likewise.
74076 * timezone/scheck.c: Likewise.
74077 * timezone/tzfile.h: Likewise.
74078 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
74079 (TZVERSION): Hardcode tzcode version number.
74080 * timezone/zdump.c: Update from tzcode 2012i.
74081 * timezone/zic.c: Likewise.
74082 * timezone/version.h: New file.
74083 * timezone/README: Describe version.h. Update upstream location.
74084
74085 [BZ #14824]
74086 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
74087 (mktemp): Enable declaration.
74088 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
74089 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
74090 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
74091 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
74092 Likewise.
74093 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
74094 Likewise.
74095 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
74096 Likewise.
74097 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
74098 Likewise.
74099 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
74100 Likewise.
74101 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
74102 Likewise.
74103
74104 [BZ #14821]
74105 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
74106 offset in buffer as u_int32_t not u_long. Consistently use memcpy
74107 for copies of such integer values.
74108 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
74109 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
74110
74111 2012-11-09 Andreas Jaeger <aj@suse.de>
74112
74113 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
74114 definitions and declarations that are provided by
74115 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
74116
74117 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74118
74119 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
74120 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
74121 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
74122 definition.
74123
74124 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74125
74126 * elf/elf.h: Update comment before AArch64 relocations.
74127
74128 2012-11-07 David S. Miller <davem@davemloft.net>
74129
74130 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
74131 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
74132 (__start_context): Declare.
74133 (__makecontext_ret): Delete.
74134 (__makecontext): Hook up __start_context instead of
74135 __makecontext_ret.
74136 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
74137 (sysdep_routines): Add __start_context when in stdlib.
74138
74139 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74140
74141 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
74142 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
74143 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
74144 hardcoded "nm".
74145 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
74146 (READELF): New variable. Use it instead of hardcoded "readelf".
74147
74148 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
74149
74150 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
74151 * sysdeps/x86/Makefile: Here.
74152 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
74153 * sysdeps/x86/tst-xmmymm.sh: This.
74154
74155 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74156
74157 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
74158 expectations.
74159 [UNIX98] (pthread_barrier_t): Do not expect.
74160 [UNIX98] (pthread_barrierattr_t): Likewise.
74161 [UNIX98] (pthread_spinlock_t): Likewise.
74162 [UNIX98] (pthread_barrier_destroy): Likewise.
74163 [UNIX98] (pthread_barrier_init): Likewise.
74164 [UNIX98] (pthread_barrier_wait): Likewise.
74165 [UNIX98] (pthread_barrierattr_destroy): Likewise.
74166 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
74167 [UNIX98] (pthread_barrierattr_init): Likewise.
74168 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
74169 [UNIX98] (pthread_getcpuclockid): Likewise.
74170 [UNIX98] (pthread_mutex_timedlock): Likewise.
74171 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
74172 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
74173 [UNIX98] (pthread_sigmask): Likewise.
74174 [UNIX98] (pthread_spin_destroy): Likewise.
74175 [UNIX98] (pthread_spin_init): Likewise.
74176 [UNIX98] (pthread_spin_lock): Likewise.
74177 [UNIX98] (pthread_spin_trylock): Likewise.
74178 [UNIX98] (pthread_spin_unlock): Likewise.
74179 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
74180 Do not expect.
74181 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
74182 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
74183 [XPG3 || XPG4] (pthread_cond_t): Likewise.
74184 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
74185 [XPG3 || XPG4] (pthread_key_t): Likewise.
74186 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
74187 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
74188 [XPG3 || XPG4] (pthread_once_t): Likewise.
74189 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
74190 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
74191 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
74192 [XPG3 || XPG4] (pthread_t): Likewise.
74193
74194 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
74195 not expect.
74196 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
74197
74198 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
74199 Change function return type to int.
74200
74201 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
74202 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
74203 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
74204 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
74205 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
74206 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
74207 [!POSIX] (posix_madvise): Likewise.
74208 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
74209 && !UNIX98].
74210 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
74211 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
74212 (mode_t): Likewise.
74213 (posix_mem_offset): Likewise.
74214 (posix_typed_mem_get_info): Likewise.
74215 (posix_typed_mem_open): Likewise.
74216
74217 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
74218 Change condition to [XOPEN2K8].
74219
74220 * conform/conformtest.pl: Preprocess allow-header data with -x c
74221 instead of from stdin.
74222 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
74223 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
74224 [C99-based standards] (cerfc): Likewise.
74225 [C99-based standards] (cexp2): Likewise.
74226 [C99-based standards] (cexpm1): Likewise.
74227 [C99-based standards] (clog10): Likewise.
74228 [C99-based standards] (clog1p): Likewise.
74229 [C99-based standards] (clog2): Likewise.
74230 [C99-based standards] (clgamma): Likewise.
74231 [C99-based standards] (ctgamma): Likewise.
74232 [C99-based standards] (cerff): Likewise.
74233 [C99-based standards] (cerfcf): Likewise.
74234 [C99-based standards] (cexp2f): Likewise.
74235 [C99-based standards] (cexpm1f): Likewise.
74236 [C99-based standards] (clog10f): Likewise.
74237 [C99-based standards] (clog1pf): Likewise.
74238 [C99-based standards] (clog2f): Likewise.
74239 [C99-based standards] (clgammaf): Likewise.
74240 [C99-based standards] (ctgammaf): Likewise.
74241 [C99-based standards] (cerfl): Likewise.
74242 [C99-based standards] (cerfcl): Likewise.
74243 [C99-based standards] (cexp2l): Likewise.
74244 [C99-based standards] (cexpm1l): Likewise.
74245 [C99-based standards] (clog10l): Likewise.
74246 [C99-based standards] (clog1pl): Likewise.
74247 [C99-based standards] (clog2l): Likewise.
74248 [C99-based standards] (clgammal): Likewise.
74249 [C99-based standards] (ctgammal): Likewise.
74250 * conform/data/inttypes.h-data [C99-based standards]: Include
74251 stdint.h-data. Remove all expectations for stdint.h contents.
74252 [C99-based standards] (PRI*): Do not allow.
74253 [C99-based standards] (SCN*): Likewise.
74254 [C99-based standards] (*_t): Likewise.
74255 [C99-based-standards] (PRId8): Expect macro.
74256 [C99-based-standards] (PRIi8): Likewise.
74257 [C99-based-standards] (PRIo8): Likewise.
74258 [C99-based-standards] (PRIu8): Likewise.
74259 [C99-based-standards] (PRIx8): Likewise.
74260 [C99-based-standards] (PRIX8): Likewise.
74261 [C99-based-standards] (SCNd8): Likewise.
74262 [C99-based-standards] (SCNi8): Likewise.
74263 [C99-based-standards] (SCNo8): Likewise.
74264 [C99-based-standards] (SCNu8): Likewise.
74265 [C99-based-standards] (SCNx8): Likewise.
74266 [C99-based-standards] (PRIdLEAST8): Likewise.
74267 [C99-based-standards] (PRIiLEAST8): Likewise.
74268 [C99-based-standards] (PRIoLEAST8): Likewise.
74269 [C99-based-standards] (PRIuLEAST8): Likewise.
74270 [C99-based-standards] (PRIxLEAST8): Likewise.
74271 [C99-based-standards] (PRIXLEAST8): Likewise.
74272 [C99-based-standards] (SCNdLEAST8): Likewise.
74273 [C99-based-standards] (SCNiLEAST8): Likewise.
74274 [C99-based-standards] (SCNoLEAST8): Likewise.
74275 [C99-based-standards] (SCNuLEAST8): Likewise.
74276 [C99-based-standards] (SCNxLEAST8): Likewise.
74277 [C99-based-standards] (PRIdFAST8): Likewise.
74278 [C99-based-standards] (PRIiFAST8): Likewise.
74279 [C99-based-standards] (PRIoFAST8): Likewise.
74280 [C99-based-standards] (PRIuFAST8): Likewise.
74281 [C99-based-standards] (PRIxFAST8): Likewise.
74282 [C99-based-standards] (PRIXFAST8): Likewise.
74283 [C99-based-standards] (SCNdFAST8): Likewise.
74284 [C99-based-standards] (SCNiFAST8): Likewise.
74285 [C99-based-standards] (SCNoFAST8): Likewise.
74286 [C99-based-standards] (SCNuFAST8): Likewise.
74287 [C99-based-standards] (SCNxFAST8): Likewise.
74288 [C99-based-standards] (PRId16): Likewise.
74289 [C99-based-standards] (PRIi16): Likewise.
74290 [C99-based-standards] (PRIo16): Likewise.
74291 [C99-based-standards] (PRIu16): Likewise.
74292 [C99-based-standards] (PRIx16): Likewise.
74293 [C99-based-standards] (PRIX16): Likewise.
74294 [C99-based-standards] (SCNd16): Likewise.
74295 [C99-based-standards] (SCNi16): Likewise.
74296 [C99-based-standards] (SCNo16): Likewise.
74297 [C99-based-standards] (SCNu16): Likewise.
74298 [C99-based-standards] (SCNx16): Likewise.
74299 [C99-based-standards] (PRIdLEAST16): Likewise.
74300 [C99-based-standards] (PRIiLEAST16): Likewise.
74301 [C99-based-standards] (PRIoLEAST16): Likewise.
74302 [C99-based-standards] (PRIuLEAST16): Likewise.
74303 [C99-based-standards] (PRIxLEAST16): Likewise.
74304 [C99-based-standards] (PRIXLEAST16): Likewise.
74305 [C99-based-standards] (SCNdLEAST16): Likewise.
74306 [C99-based-standards] (SCNiLEAST16): Likewise.
74307 [C99-based-standards] (SCNoLEAST16): Likewise.
74308 [C99-based-standards] (SCNuLEAST16): Likewise.
74309 [C99-based-standards] (SCNxLEAST16): Likewise.
74310 [C99-based-standards] (PRIdFAST16): Likewise.
74311 [C99-based-standards] (PRIiFAST16): Likewise.
74312 [C99-based-standards] (PRIoFAST16): Likewise.
74313 [C99-based-standards] (PRIuFAST16): Likewise.
74314 [C99-based-standards] (PRIxFAST16): Likewise.
74315 [C99-based-standards] (PRIXFAST16): Likewise.
74316 [C99-based-standards] (SCNdFAST16): Likewise.
74317 [C99-based-standards] (SCNiFAST16): Likewise.
74318 [C99-based-standards] (SCNoFAST16): Likewise.
74319 [C99-based-standards] (SCNuFAST16): Likewise.
74320 [C99-based-standards] (SCNxFAST16): Likewise.
74321 [C99-based-standards] (PRId32): Likewise.
74322 [C99-based-standards] (PRIi32): Likewise.
74323 [C99-based-standards] (PRIo32): Likewise.
74324 [C99-based-standards] (PRIu32): Likewise.
74325 [C99-based-standards] (PRIx32): Likewise.
74326 [C99-based-standards] (PRIX32): Likewise.
74327 [C99-based-standards] (SCNd32): Likewise.
74328 [C99-based-standards] (SCNi32): Likewise.
74329 [C99-based-standards] (SCNo32): Likewise.
74330 [C99-based-standards] (SCNu32): Likewise.
74331 [C99-based-standards] (SCNx32): Likewise.
74332 [C99-based-standards] (PRIdLEAST32): Likewise.
74333 [C99-based-standards] (PRIiLEAST32): Likewise.
74334 [C99-based-standards] (PRIoLEAST32): Likewise.
74335 [C99-based-standards] (PRIuLEAST32): Likewise.
74336 [C99-based-standards] (PRIxLEAST32): Likewise.
74337 [C99-based-standards] (PRIXLEAST32): Likewise.
74338 [C99-based-standards] (SCNdLEAST32): Likewise.
74339 [C99-based-standards] (SCNiLEAST32): Likewise.
74340 [C99-based-standards] (SCNoLEAST32): Likewise.
74341 [C99-based-standards] (SCNuLEAST32): Likewise.
74342 [C99-based-standards] (SCNxLEAST32): Likewise.
74343 [C99-based-standards] (PRIdFAST32): Likewise.
74344 [C99-based-standards] (PRIiFAST32): Likewise.
74345 [C99-based-standards] (PRIoFAST32): Likewise.
74346 [C99-based-standards] (PRIuFAST32): Likewise.
74347 [C99-based-standards] (PRIxFAST32): Likewise.
74348 [C99-based-standards] (PRIXFAST32): Likewise.
74349 [C99-based-standards] (SCNdFAST32): Likewise.
74350 [C99-based-standards] (SCNiFAST32): Likewise.
74351 [C99-based-standards] (SCNoFAST32): Likewise.
74352 [C99-based-standards] (SCNuFAST32): Likewise.
74353 [C99-based-standards] (SCNxFAST32): Likewise.
74354 [C99-based-standards] (PRId64): Likewise.
74355 [C99-based-standards] (PRIi64): Likewise.
74356 [C99-based-standards] (PRIo64): Likewise.
74357 [C99-based-standards] (PRIu64): Likewise.
74358 [C99-based-standards] (PRIx64): Likewise.
74359 [C99-based-standards] (PRIX64): Likewise.
74360 [C99-based-standards] (SCNd64): Likewise.
74361 [C99-based-standards] (SCNi64): Likewise.
74362 [C99-based-standards] (SCNo64): Likewise.
74363 [C99-based-standards] (SCNu64): Likewise.
74364 [C99-based-standards] (SCNx64): Likewise.
74365 [C99-based-standards] (PRIdLEAST64): Likewise.
74366 [C99-based-standards] (PRIiLEAST64): Likewise.
74367 [C99-based-standards] (PRIoLEAST64): Likewise.
74368 [C99-based-standards] (PRIuLEAST64): Likewise.
74369 [C99-based-standards] (PRIxLEAST64): Likewise.
74370 [C99-based-standards] (PRIXLEAST64): Likewise.
74371 [C99-based-standards] (SCNdLEAST64): Likewise.
74372 [C99-based-standards] (SCNiLEAST64): Likewise.
74373 [C99-based-standards] (SCNoLEAST64): Likewise.
74374 [C99-based-standards] (SCNuLEAST64): Likewise.
74375 [C99-based-standards] (SCNxLEAST64): Likewise.
74376 [C99-based-standards] (PRIdFAST64): Likewise.
74377 [C99-based-standards] (PRIiFAST64): Likewise.
74378 [C99-based-standards] (PRIoFAST64): Likewise.
74379 [C99-based-standards] (PRIuFAST64): Likewise.
74380 [C99-based-standards] (PRIxFAST64): Likewise.
74381 [C99-based-standards] (PRIXFAST64): Likewise.
74382 [C99-based-standards] (SCNdFAST64): Likewise.
74383 [C99-based-standards] (SCNiFAST64): Likewise.
74384 [C99-based-standards] (SCNoFAST64): Likewise.
74385 [C99-based-standards] (SCNuFAST64): Likewise.
74386 [C99-based-standards] (SCNxFAST64): Likewise.
74387 [C99-based-standards] (PRIdMAX): Likewise.
74388 [C99-based-standards] (PRIiMAX): Likewise.
74389 [C99-based-standards] (PRIoMAX): Likewise.
74390 [C99-based-standards] (PRIuMAX): Likewise.
74391 [C99-based-standards] (PRIxMAX): Likewise.
74392 [C99-based-standards] (PRIXMAX): Likewise.
74393 [C99-based-standards] (SCNdMAX): Likewise.
74394 [C99-based-standards] (SCNiMAX): Likewise.
74395 [C99-based-standards] (SCNoMAX): Likewise.
74396 [C99-based-standards] (SCNuMAX): Likewise.
74397 [C99-based-standards] (SCNxMAX): Likewise.
74398 [C99-based-standards] (PRIdPTR): Likewise.
74399 [C99-based-standards] (PRIiPTR): Likewise.
74400 [C99-based-standards] (PRIoPTR): Likewise.
74401 [C99-based-standards] (PRIuPTR): Likewise.
74402 [C99-based-standards] (PRIxPTR): Likewise.
74403 [C99-based-standards] (PRIXPTR): Likewise.
74404 [C99-based-standards] (SCNdPTR): Likewise.
74405 [C99-based-standards] (SCNiPTR): Likewise.
74406 [C99-based-standards] (SCNoPTR): Likewise.
74407 [C99-based-standards] (SCNuPTR): Likewise.
74408 [C99-based-standards] (SCNxPTR): Likewise.
74409 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
74410 allow.
74411 * conform/data/stdint.h-data: Update comments to clarify
74412 requirements.
74413 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
74414 type.
74415 [C99-based standards] (INT8_MAX): Likewise.
74416 [C99-based standards] (INT16_MIN): Likewise.
74417 [C99-based standards] (INT16_MAX): Likewise.
74418 [C99-based standards] (INT32_MIN): Likewise.
74419 [C99-based standards] (INT32_MAX): Likewise.
74420 [C99-based standards] (INT64_MIN): Likewise.
74421 [C99-based standards] (INT64_MAX): Likewise.
74422 [C99-based standards] (UINT8_MAX): Likewise.
74423 [C99-based standards] (UINT16_MAX): Likewise.
74424 [C99-based standards] (UINT32_MAX): Likewise.
74425 [C99-based standards] (UINT64_MAX): Likewise.
74426 [C99-based standards] (INT_LEAST8_MIN): Likewise.
74427 [C99-based standards] (INT_LEAST8_MAX): Likewise.
74428 [C99-based standards] (INT_LEAST16_MIN): Likewise.
74429 [C99-based standards] (INT_LEAST16_MAX): Likewise.
74430 [C99-based standards] (INT_LEAST32_MIN): Likewise.
74431 [C99-based standards] (INT_LEAST32_MAX): Likewise.
74432 [C99-based standards] (INT_LEAST64_MIN): Likewise.
74433 [C99-based standards] (INT_LEAST64_MAX): Likewise.
74434 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
74435 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
74436 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
74437 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
74438 [C99-based standards] (INT_FAST8_MIN): Likewise.
74439 [C99-based standards] (INT_FAST8_MAX): Likewise.
74440 [C99-based standards] (INT_FAST16_MIN): Likewise.
74441 [C99-based standards] (INT_FAST16_MAX): Likewise.
74442 [C99-based standards] (INT_FAST32_MIN): Likewise.
74443 [C99-based standards] (INT_FAST32_MAX): Likewise.
74444 [C99-based standards] (INT_FAST64_MIN): Likewise.
74445 [C99-based standards] (INT_FAST64_MAX): Likewise.
74446 [C99-based standards] (UINT_FAST8_MAX): Likewise.
74447 [C99-based standards] (UINT_FAST16_MAX): Likewise.
74448 [C99-based standards] (UINT_FAST32_MAX): Likewise.
74449 [C99-based standards] (UINT_FAST64_MAX): Likewise.
74450 [C99-based standards] (INTPTR_MIN): Likewise.
74451 [C99-based standards] (INTPTR_MAX): Likewise.
74452 [C99-based standards] (UINTPTR_MAX): Likewise.
74453 [C99-based standards] (INTMAX_MIN): Likewise.
74454 [C99-based standards] (INTMAX_MAX): Likewise.
74455 [C99-based standards] (UINTMAX_MAX): Likewise.
74456 [C99-based standards] (PTRDIFF_MIN): Likewise.
74457 [C99-based standards] (PTRDIFF_MAX): Likewise.
74458 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
74459 [C99-based standards] (SIZE_MAX): Likewise.
74460 [C99-based standards] (WCHAR_MAX): Likewise.
74461 [C99-based standards] (WINT_MAX): Likewise.
74462 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
74463 constraint on value.
74464 [C99-based standards] (WCHAR_MIN): Likewise.
74465 [C99-based standards] (WINT_MIN): Likewise.
74466 [C99-based standards] (*_t): Allow.
74467 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
74468 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
74469 Include math.h-data and complex.h-data. Remove all expectations
74470 of math.h and complex.h contents.
74471 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
74472 at end of line.
74473 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
74474 (struct tm): Expect tag.
74475 [C99-based-standards] (wcstof): Expect function.
74476 [C99-based-standards] (wcstold): Likewise.
74477 [C99-based-standards] (wcstoll): Likewise.
74478 [C99-based-standards] (wcstoull): Likewise.
74479 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
74480 macro-int-constant. Specify type.
74481 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
74482 constraint on value.
74483 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74484 Specify type.
74485 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
74486 Specify value.
74487 [ISO C standards]: Do not allow headers.
74488 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
74489 wcs[abcdefghijklmnopqrstuvwxyz]*.
74490 [ISO C standards] (*_t): Do not allow.
74491 * conform/data/wctype.h-data [C99-based standards] (iswblank):
74492 Expect function.
74493 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
74494 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74495 Specify type.
74496 [ISO C standards]: Do not allow headers.
74497 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
74498 is[abcdefghijklmnopqrstuvwxyz]*.
74499 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
74500 to[abcdefghijklmnopqrstuvwxyz]*.
74501 [ISO C standards] (*_t): Do not allow.
74502 * conform/data/stdalign.h-data: New file.
74503 * conform/data/stdbool.h-data: Likewise.
74504 * conform/data/stdnoreturn.h-data: Likewise.
74505
74506 2012-11-07 Roland McGrath <roland@hack.frob.com>
74507
74508 [BZ #14815]
74509 * manual/filesys.texi (Directory Entries): Typo fix.
74510 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
74511
74512 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74513
74514 * elf/elf.h (EM_AARCH64): New macro.
74515 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
74516 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
74517 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
74518 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
74519 (R_AARCH64_TLSDESC): Likewise.
74520 (NT_ARM_TLS): Likewise.
74521 (NT_ARM_HW_BREAK): Likewise.
74522 (NT_ARM_HW_WATCH): Likewise.
74523
74524 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74525
74526 [BZ #14811]
74527 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
74528 (__ieee754_powl): Saturate nonzero exponents with absolute value
74529 below 0x1p-79 to +/- 0x1p-79.
74530 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
74531 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
74532 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
74533 nonzero exponents with absolute value below 0x1p-32 to +/-
74534 0x1p-32.
74535 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
74536 (__ieee754_powl): Saturate nonzero exponents with absolute value
74537 below 0x1p-79 to +/- 0x1p-79.
74538 * math/libm-test.inc (pow_test): Add more tests.
74539
74540 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74541
74542 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
74543 _dl_s390_cap_flags with kernel. Increase string length.
74544 (_dl_s390_platforms): Add z196 and zEC12.
74545
74546 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74547
74548 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
74549 Change XOPEN21K to XOPEN2K.
74550
74551 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
74552
74553 * string/memmove.c: Use memcpy when possible.
74554
74555 2012-11-06 Andreas Jaeger <aj@suse.de>
74556
74557 * po/eo.po: Update from translation team.
74558
74559 2012-11-06 Joseph Myers <joseph@codesourcery.com>
74560
74561 [BZ #14793]
74562 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
74563 exponent and small x and y exponents, scale x or y up. Increase
74564 by 2 the exponent used in scaling up.
74565 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74566 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74567 * math/libm-test.inc (fma_test): Add more tests.
74568 (fma_test_towardzero): Likewise.
74569 (fma_test_downward): Likewise.
74570 (fma_test_upward): Likewise.
74571
74572 2012-11-05 Joseph Myers <joseph@codesourcery.com>
74573
74574 [BZ #14805]
74575 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
74576 fenv_t *.
74577
74578 [BZ #14801]
74579 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
74580 namespace for names of struct fields.
74581 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
74582 fenv_t fields.
74583 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
74584 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
74585
74586 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
74587
74588 [BZ #3665]
74589 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
74590
74591 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
74592
74593 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
74594 PTR_DEMANGLE.
74595
74596 [BZ #5246]
74597 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
74598 PTR_DEMANGLE.
74599
74600 2012-11-04 Joseph Myers <joseph@codesourcery.com>
74601
74602 [BZ #14797]
74603 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
74604 definitely overflow as x * y not x * y + z.
74605 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74606 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74607 * math/libm-test.inc (fma_test): Add more tests.
74608 (fma_test_towardzero): Likewise.
74609 (fma_test_downward): Likewise.
74610 (fma_test_upward): Likewise.
74611
74612 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
74613
74614 [BZ #157]
74615
74616 * include/stub-tag.h: Remove file.
74617 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
74618 '#include' of it.
74619 * manual/maint.texi (Porting): Don't reference it.
74620 * Makerules ($(objpfx)stubs): Likewise.
74621 * dirent/closedir.c: Don't include <stub-tag.h>.
74622 * dirent/dirfd.c: Likewise.
74623 * dirent/fdopendir.c: Likewise.
74624 * dirent/getdents.c: Likewise.
74625 * dirent/getdents64.c: Likewise.
74626 * dirent/opendir.c: Likewise.
74627 * dirent/readdir.c: Likewise.
74628 * dirent/readdir64.c: Likewise.
74629 * dirent/readdir64_r.c: Likewise.
74630 * dirent/readdir_r.c: Likewise.
74631 * dirent/rewinddir.c: Likewise.
74632 * dirent/seekdir.c: Likewise.
74633 * dirent/telldir.c: Likewise.
74634 * gmon/profil.c: Likewise.
74635 * grp/setgroups.c: Likewise.
74636 * inet/if_index.c: Likewise.
74637 * io/access.c: Likewise.
74638 * io/chdir.c: Likewise.
74639 * io/chmod.c: Likewise.
74640 * io/chown.c: Likewise.
74641 * io/close.c: Likewise.
74642 * io/dup.c: Likewise.
74643 * io/dup2.c: Likewise.
74644 * io/dup3.c: Likewise.
74645 * io/euidaccess.c: Likewise.
74646 * io/faccessat.c: Likewise.
74647 * io/fchdir.c: Likewise.
74648 * io/fchmod.c: Likewise.
74649 * io/fchmodat.c: Likewise.
74650 * io/fchown.c: Likewise.
74651 * io/fchownat.c: Likewise.
74652 * io/fcntl.c: Likewise.
74653 * io/flock.c: Likewise.
74654 * io/fstatfs.c: Likewise.
74655 * io/fstatfs64.c: Likewise.
74656 * io/fstatvfs.c: Likewise.
74657 * io/fstatvfs64.c: Likewise.
74658 * io/futimens.c: Likewise.
74659 * io/fxstat.c: Likewise.
74660 * io/fxstat64.c: Likewise.
74661 * io/fxstatat.c: Likewise.
74662 * io/fxstatat64.c: Likewise.
74663 * io/getcwd.c: Likewise.
74664 * io/isatty.c: Likewise.
74665 * io/lchmod.c: Likewise.
74666 * io/lchown.c: Likewise.
74667 * io/link.c: Likewise.
74668 * io/linkat.c: Likewise.
74669 * io/lseek.c: Likewise.
74670 * io/lseek64.c: Likewise.
74671 * io/lxstat64.c: Likewise.
74672 * io/mkdir.c: Likewise.
74673 * io/mkdirat.c: Likewise.
74674 * io/mkfifo.c: Likewise.
74675 * io/mkfifoat.c: Likewise.
74676 * io/open.c: Likewise.
74677 * io/open64.c: Likewise.
74678 * io/openat.c: Likewise.
74679 * io/openat64.c: Likewise.
74680 * io/pipe.c: Likewise.
74681 * io/pipe2.c: Likewise.
74682 * io/poll.c: Likewise.
74683 * io/posix_fadvise.c: Likewise.
74684 * io/posix_fadvise64.c: Likewise.
74685 * io/posix_fallocate.c: Likewise.
74686 * io/posix_fallocate64.c: Likewise.
74687 * io/read.c: Likewise.
74688 * io/readlink.c: Likewise.
74689 * io/readlinkat.c: Likewise.
74690 * io/rmdir.c: Likewise.
74691 * io/sendfile.c: Likewise.
74692 * io/sendfile64.c: Likewise.
74693 * io/statfs.c: Likewise.
74694 * io/statfs64.c: Likewise.
74695 * io/statvfs.c: Likewise.
74696 * io/statvfs64.c: Likewise.
74697 * io/symlink.c: Likewise.
74698 * io/symlinkat.c: Likewise.
74699 * io/ttyname.c: Likewise.
74700 * io/ttyname_r.c: Likewise.
74701 * io/umask.c: Likewise.
74702 * io/unlink.c: Likewise.
74703 * io/unlinkat.c: Likewise.
74704 * io/utime.c: Likewise.
74705 * io/utimensat.c: Likewise.
74706 * io/write.c: Likewise.
74707 * io/xmknod.c: Likewise.
74708 * io/xmknodat.c: Likewise.
74709 * io/xstat.c: Likewise.
74710 * io/xstat64.c: Likewise.
74711 * login/getpt.c: Likewise.
74712 * login/grantpt.c: Likewise.
74713 * login/unlockpt.c: Likewise.
74714 * math/e_acoshl.c: Likewise.
74715 * math/e_acosl.c: Likewise.
74716 * math/e_asinl.c: Likewise.
74717 * math/e_atan2l.c: Likewise.
74718 * math/e_atanhl.c: Likewise.
74719 * math/e_coshl.c: Likewise.
74720 * math/e_expl.c: Likewise.
74721 * math/e_fmodl.c: Likewise.
74722 * math/e_gammal_r.c: Likewise.
74723 * math/e_hypotl.c: Likewise.
74724 * math/e_j0l.c: Likewise.
74725 * math/e_j1l.c: Likewise.
74726 * math/e_jnl.c: Likewise.
74727 * math/e_lgammal_r.c: Likewise.
74728 * math/e_log10l.c: Likewise.
74729 * math/e_log2l.c: Likewise.
74730 * math/e_logl.c: Likewise.
74731 * math/e_powl.c: Likewise.
74732 * math/e_rem_pio2l.c: Likewise.
74733 * math/e_sinhl.c: Likewise.
74734 * math/e_sqrtl.c: Likewise.
74735 * math/fclrexcpt.c: Likewise.
74736 * math/fedisblxcpt.c: Likewise.
74737 * math/feenablxcpt.c: Likewise.
74738 * math/fegetenv.c: Likewise.
74739 * math/fegetexcept.c: Likewise.
74740 * math/fegetround.c: Likewise.
74741 * math/feholdexcpt.c: Likewise.
74742 * math/fesetenv.c: Likewise.
74743 * math/fesetround.c: Likewise.
74744 * math/feupdateenv.c: Likewise.
74745 * math/fgetexcptflg.c: Likewise.
74746 * math/fraiseexcpt.c: Likewise.
74747 * math/fsetexcptflg.c: Likewise.
74748 * math/ftestexcept.c: Likewise.
74749 * math/k_cosl.c: Likewise.
74750 * math/k_rem_pio2l.c: Likewise.
74751 * math/k_sinl.c: Likewise.
74752 * math/k_tanl.c: Likewise.
74753 * math/s_asinhl.c: Likewise.
74754 * math/s_atanl.c: Likewise.
74755 * math/s_cbrtl.c: Likewise.
74756 * math/s_erfl.c: Likewise.
74757 * math/s_expm1l.c: Likewise.
74758 * math/s_log1pl.c: Likewise.
74759 * math/s_tanhl.c: Likewise.
74760 * misc/acct.c: Likewise.
74761 * misc/brk.c: Likewise.
74762 * misc/chflags.c: Likewise.
74763 * misc/chroot.c: Likewise.
74764 * misc/fchflags.c: Likewise.
74765 * misc/fgetxattr.c: Likewise.
74766 * misc/flistxattr.c: Likewise.
74767 * misc/fremovexattr.c: Likewise.
74768 * misc/fsetxattr.c: Likewise.
74769 * misc/fsync.c: Likewise.
74770 * misc/ftruncate.c: Likewise.
74771 * misc/futimes.c: Likewise.
74772 * misc/futimesat.c: Likewise.
74773 * misc/getdomain.c: Likewise.
74774 * misc/getdtsz.c: Likewise.
74775 * misc/gethostid.c: Likewise.
74776 * misc/gethostname.c: Likewise.
74777 * misc/getloadavg.c: Likewise.
74778 * misc/getpagesize.c: Likewise.
74779 * misc/getsysstats.c: Likewise.
74780 * misc/getxattr.c: Likewise.
74781 * misc/gtty.c: Likewise.
74782 * misc/ioctl.c: Likewise.
74783 * misc/lgetxattr.c: Likewise.
74784 * misc/listxattr.c: Likewise.
74785 * misc/llistxattr.c: Likewise.
74786 * misc/lremovexattr.c: Likewise.
74787 * misc/lsetxattr.c: Likewise.
74788 * misc/lutimes.c: Likewise.
74789 * misc/madvise.c: Likewise.
74790 * misc/mincore.c: Likewise.
74791 * misc/mlock.c: Likewise.
74792 * misc/mlockall.c: Likewise.
74793 * misc/mmap.c: Likewise.
74794 * misc/mprotect.c: Likewise.
74795 * misc/msync.c: Likewise.
74796 * misc/munlock.c: Likewise.
74797 * misc/munlockall.c: Likewise.
74798 * misc/munmap.c: Likewise.
74799 * misc/preadv.c: Likewise.
74800 * misc/preadv64.c: Likewise.
74801 * misc/ptrace.c: Likewise.
74802 * misc/pwritev.c: Likewise.
74803 * misc/pwritev64.c: Likewise.
74804 * misc/readv.c: Likewise.
74805 * misc/reboot.c: Likewise.
74806 * misc/remap_file_pages.c: Likewise.
74807 * misc/removexattr.c: Likewise.
74808 * misc/revoke.c: Likewise.
74809 * misc/select.c: Likewise.
74810 * misc/setdomain.c: Likewise.
74811 * misc/setegid.c: Likewise.
74812 * misc/seteuid.c: Likewise.
74813 * misc/sethostid.c: Likewise.
74814 * misc/sethostname.c: Likewise.
74815 * misc/setregid.c: Likewise.
74816 * misc/setreuid.c: Likewise.
74817 * misc/setxattr.c: Likewise.
74818 * misc/sstk.c: Likewise.
74819 * misc/stty.c: Likewise.
74820 * misc/swapoff.c: Likewise.
74821 * misc/swapon.c: Likewise.
74822 * misc/sync.c: Likewise.
74823 * misc/syncfs.c: Likewise.
74824 * misc/syscall.c: Likewise.
74825 * misc/truncate.c: Likewise.
74826 * misc/ualarm.c: Likewise.
74827 * misc/usleep.c: Likewise.
74828 * misc/ustat.c: Likewise.
74829 * misc/utimes.c: Likewise.
74830 * misc/vhangup.c: Likewise.
74831 * misc/writev.c: Likewise.
74832 * posix/_exit.c: Likewise.
74833 * posix/alarm.c: Likewise.
74834 * posix/execve.c: Likewise.
74835 * posix/fexecve.c: Likewise.
74836 * posix/fork.c: Likewise.
74837 * posix/fpathconf.c: Likewise.
74838 * posix/getaddrinfo.c: Likewise.
74839 * posix/getegid.c: Likewise.
74840 * posix/geteuid.c: Likewise.
74841 * posix/getgid.c: Likewise.
74842 * posix/getgroups.c: Likewise.
74843 * posix/getlogin.c: Likewise.
74844 * posix/getlogin_r.c: Likewise.
74845 * posix/getpgid.c: Likewise.
74846 * posix/getpid.c: Likewise.
74847 * posix/getppid.c: Likewise.
74848 * posix/getresgid.c: Likewise.
74849 * posix/getresuid.c: Likewise.
74850 * posix/getsid.c: Likewise.
74851 * posix/getuid.c: Likewise.
74852 * posix/glob64.c: Likewise.
74853 * posix/nanosleep.c: Likewise.
74854 * posix/pathconf.c: Likewise.
74855 * posix/pause.c: Likewise.
74856 * posix/posix_madvise.c: Likewise.
74857 * posix/pread.c: Likewise.
74858 * posix/pread64.c: Likewise.
74859 * posix/pwrite.c: Likewise.
74860 * posix/pwrite64.c: Likewise.
74861 * posix/sched_getaffinity.c: Likewise.
74862 * posix/sched_getp.c: Likewise.
74863 * posix/sched_gets.c: Likewise.
74864 * posix/sched_primax.c: Likewise.
74865 * posix/sched_primin.c: Likewise.
74866 * posix/sched_rr_gi.c: Likewise.
74867 * posix/sched_setaffinity.c: Likewise.
74868 * posix/sched_setp.c: Likewise.
74869 * posix/sched_sets.c: Likewise.
74870 * posix/sched_yield.c: Likewise.
74871 * posix/setgid.c: Likewise.
74872 * posix/setlogin.c: Likewise.
74873 * posix/setpgid.c: Likewise.
74874 * posix/setresgid.c: Likewise.
74875 * posix/setresuid.c: Likewise.
74876 * posix/setsid.c: Likewise.
74877 * posix/setuid.c: Likewise.
74878 * posix/sleep.c: Likewise.
74879 * posix/spawni.c: Likewise.
74880 * posix/sysconf.c: Likewise.
74881 * posix/times.c: Likewise.
74882 * posix/wait.c: Likewise.
74883 * posix/wait3.c: Likewise.
74884 * posix/wait4.c: Likewise.
74885 * posix/waitpid.c: Likewise.
74886 * resolv/gai_sigqueue.c: Likewise.
74887 * resource/getpriority.c: Likewise.
74888 * resource/getrlimit.c: Likewise.
74889 * resource/getrusage.c: Likewise.
74890 * resource/nice.c: Likewise.
74891 * resource/setpriority.c: Likewise.
74892 * resource/setrlimit.c: Likewise.
74893 * resource/ulimit.c: Likewise.
74894 * rt/aio_cancel.c: Likewise.
74895 * rt/aio_fsync.c: Likewise.
74896 * rt/aio_read.c: Likewise.
74897 * rt/aio_sigqueue.c: Likewise.
74898 * rt/aio_suspend.c: Likewise.
74899 * rt/aio_write.c: Likewise.
74900 * rt/clock_getres.c: Likewise.
74901 * rt/clock_gettime.c: Likewise.
74902 * rt/clock_nanosleep.c: Likewise.
74903 * rt/clock_settime.c: Likewise.
74904 * rt/lio_listio.c: Likewise.
74905 * rt/mq_close.c: Likewise.
74906 * rt/mq_getattr.c: Likewise.
74907 * rt/mq_notify.c: Likewise.
74908 * rt/mq_open.c: Likewise.
74909 * rt/mq_receive.c: Likewise.
74910 * rt/mq_send.c: Likewise.
74911 * rt/mq_setattr.c: Likewise.
74912 * rt/mq_timedreceive.c: Likewise.
74913 * rt/mq_timedsend.c: Likewise.
74914 * rt/mq_unlink.c: Likewise.
74915 * rt/shm_open.c: Likewise.
74916 * rt/shm_unlink.c: Likewise.
74917 * rt/timer_create.c: Likewise.
74918 * rt/timer_delete.c: Likewise.
74919 * rt/timer_getoverr.c: Likewise.
74920 * rt/timer_gettime.c: Likewise.
74921 * rt/timer_settime.c: Likewise.
74922 * setjmp/__longjmp.c: Likewise.
74923 * setjmp/setjmp.c: Likewise.
74924 * signal/kill.c: Likewise.
74925 * signal/killpg.c: Likewise.
74926 * signal/raise.c: Likewise.
74927 * signal/sigaction.c: Likewise.
74928 * signal/sigaltstack.c: Likewise.
74929 * signal/sigblock.c: Likewise.
74930 * signal/sigignore.c: Likewise.
74931 * signal/sigintr.c: Likewise.
74932 * signal/signal.c: Likewise.
74933 * signal/sigpause.c: Likewise.
74934 * signal/sigpending.c: Likewise.
74935 * signal/sigqueue.c: Likewise.
74936 * signal/sigreturn.c: Likewise.
74937 * signal/sigset.c: Likewise.
74938 * signal/sigsetmask.c: Likewise.
74939 * signal/sigstack.c: Likewise.
74940 * signal/sigsuspend.c: Likewise.
74941 * signal/sigtimedwait.c: Likewise.
74942 * signal/sigvec.c: Likewise.
74943 * signal/sigwait.c: Likewise.
74944 * signal/sigwaitinfo.c: Likewise.
74945 * signal/sysv_signal.c: Likewise.
74946 * socket/accept.c: Likewise.
74947 * socket/accept4.c: Likewise.
74948 * socket/bind.c: Likewise.
74949 * socket/connect.c: Likewise.
74950 * socket/getpeername.c: Likewise.
74951 * socket/getsockname.c: Likewise.
74952 * socket/getsockopt.c: Likewise.
74953 * socket/isfdtype.c: Likewise.
74954 * socket/listen.c: Likewise.
74955 * socket/recv.c: Likewise.
74956 * socket/recvfrom.c: Likewise.
74957 * socket/recvmsg.c: Likewise.
74958 * socket/send.c: Likewise.
74959 * socket/sendmsg.c: Likewise.
74960 * socket/sendto.c: Likewise.
74961 * socket/setsockopt.c: Likewise.
74962 * socket/shutdown.c: Likewise.
74963 * socket/sockatmark.c: Likewise.
74964 * socket/socket.c: Likewise.
74965 * socket/socketpair.c: Likewise.
74966 * stdio-common/ctermid.c: Likewise.
74967 * stdio-common/cuserid.c: Likewise.
74968 * stdio-common/remove.c: Likewise.
74969 * stdio-common/rename.c: Likewise.
74970 * stdio-common/renameat.c: Likewise.
74971 * stdio-common/tempname.c: Likewise.
74972 * stdlib/getcontext.c: Likewise.
74973 * stdlib/makecontext.c: Likewise.
74974 * stdlib/setcontext.c: Likewise.
74975 * stdlib/swapcontext.c: Likewise.
74976 * stdlib/system.c: Likewise.
74977 * streams/fattach.c: Likewise.
74978 * streams/fdetach.c: Likewise.
74979 * streams/getmsg.c: Likewise.
74980 * streams/getpmsg.c: Likewise.
74981 * streams/putmsg.c: Likewise.
74982 * streams/putpmsg.c: Likewise.
74983 * sysdeps/unix/bsd/getpt.c: Likewise.
74984 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
74985 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
74986 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
74987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
74988 Likewise.
74989 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
74990 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
74991 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
74992 * sysvipc/msgctl.c: Likewise.
74993 * sysvipc/msgget.c: Likewise.
74994 * sysvipc/msgrcv.c: Likewise.
74995 * sysvipc/msgsnd.c: Likewise.
74996 * sysvipc/semctl.c: Likewise.
74997 * sysvipc/semget.c: Likewise.
74998 * sysvipc/semop.c: Likewise.
74999 * sysvipc/semtimedop.c: Likewise.
75000 * sysvipc/shmat.c: Likewise.
75001 * sysvipc/shmctl.c: Likewise.
75002 * sysvipc/shmdt.c: Likewise.
75003 * sysvipc/shmget.c: Likewise.
75004 * termios/tcdrain.c: Likewise.
75005 * termios/tcflow.c: Likewise.
75006 * termios/tcflush.c: Likewise.
75007 * termios/tcgetattr.c: Likewise.
75008 * termios/tcgetpgrp.c: Likewise.
75009 * termios/tcsendbrk.c: Likewise.
75010 * termios/tcsetattr.c: Likewise.
75011 * termios/tcsetpgrp.c: Likewise.
75012 * time/adjtime.c: Likewise.
75013 * time/clock.c: Likewise.
75014 * time/getitimer.c: Likewise.
75015 * time/gettimeofday.c: Likewise.
75016 * time/setitimer.c: Likewise.
75017 * time/settimeofday.c: Likewise.
75018 * time/stime.c: Likewise.
75019 * time/time.c: Likewise.
75020
75021 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
75022
75023 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
75024 /usr/old/bin.
75025
75026 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
75027 instead of spaces.
75028 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
75029
75030 2012-11-03 Joseph Myers <joseph@codesourcery.com>
75031
75032 [BZ #14796]
75033 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
75034 FE_TONEAREST before applying Dekker multiplication and Knuth
75035 addition. Clear inexact exceptions and check for exact zero
75036 results afterwards.
75037 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75038 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
75039 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75040 * math/libm-test.inc (fma_test): Add more tests.
75041 (fma_test_towardzero): Likewise.
75042 (fma_test_downward): Likewise.
75043 (fma_test_upward): Likewise.
75044 * sysdeps/generic/math_private.h (default_libc_fesetround): New
75045 function.
75046 (libc_fesetround): New macro.
75047 (libc_fesetroundf): Likewise.
75048 (libc_fesetroundl): Likewise.
75049 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
75050 function.
75051 (libc_fesetround_387): Likewise.
75052 (libc_fesetroundf): New macro.
75053 (libc_fesetround): Likewise.
75054 (libc_fesetroundl): Likewise.
75055 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
75056 function.
75057 (libc_fesetroundf): New macro.
75058 (libc_fesetround): Likewise.
75059 (libc_fesetroundl): Likewise.
75060 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
75061 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
75062 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
75063 libm_hidden_ver.
75064 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
75065 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
75066 libm_hidden_def.
75067 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
75068 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
75069 libm_hidden_ver.
75070 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
75071 libm_hidden_def.
75072
75073 [BZ #3439]
75074 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
75075 integer constant usable in #if and use that to give value to enum
75076 constant.
75077 (FE_DIVBYZERO): Likewise.
75078 (FE_UNDERFLOW): Likewise.
75079 (FE_OVERFLOW): Likewise.
75080 (FE_INVALID): Likewise.
75081 (FE_INVALID_SNAN): Likewise.
75082 (FE_INVALID_ISI): Likewise.
75083 (FE_INVALID_IDI): Likewise.
75084 (FE_INVALID_ZDZ): Likewise.
75085 (FE_INVALID_IMZ): Likewise.
75086 (FE_INVALID_COMPARE): Likewise.
75087 (FE_INVALID_SOFTWARE): Likewise.
75088 (FE_INVALID_SQRT): Likewise.
75089 (FE_INVALID_INTEGER_CONVERSION): Likewise.
75090 (FE_TONEAREST): Likewise.
75091 (FE_TOWARDZERO): Likewise.
75092 (FE_UPWARD): Likewise.
75093 (FE_DOWNWARD): Likewise.
75094 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
75095 (FE_DIVBYZERO): Likewise.
75096 (FE_OVERFLOW): Likewise.
75097 (FE_UNDERFLOW): Likewise.
75098 (FE_INEXACT): Likewise.
75099 (FE_TONEAREST): Likewise.
75100 (FE_DOWNWARD): Likewise.
75101 (FE_UPWARD): Likewise.
75102 (FE_TOWARDZERO): Likewise.
75103 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
75104 (FE_UNDERFLOW): Likewise.
75105 (FE_OVERFLOW): Likewise.
75106 (FE_DIVBYZERO): Likewise.
75107 (FE_INVALID): Likewise.
75108 (FE_TONEAREST): Likewise.
75109 (FE_TOWARDZERO): Likewise.
75110 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
75111 (FE_OVERFLOW): Likewise.
75112 (FE_UNDERFLOW): Likewise.
75113 (FE_DIVBYZERO): Likewise.
75114 (FE_INEXACT): Likewise.
75115 (FE_TONEAREST): Likewise.
75116 (FE_TOWARDZERO): Likewise.
75117 (FE_UPWARD): Likewise.
75118 (FE_DOWNWARD): Likewise.
75119 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
75120 (FE_DIVBYZERO): Likewise.
75121 (FE_OVERFLOW): Likewise.
75122 (FE_UNDERFLOW): Likewise.
75123 (FE_INEXACT): Likewise.
75124 (FE_TONEAREST): Likewise.
75125 (FE_DOWNWARD): Likewise.
75126 (FE_UPWARD): Likewise.
75127 (FE_TOWARDZERO): Likewise.
75128
75129 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
75130
75131 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
75132
75133 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
75134
75135 * scripts/cross-test-ssh.sh (command): Use newlines to separate
75136 commands. Quote $PWD.
75137 (blacklist_exports): Don't use remove_newlines. Replace "declare
75138 -x" by "export".
75139 (remove_newlines): Remove.
75140
75141 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
75142
75143 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
75144 * stdlib/stdlib.h (atof): Moved to ...
75145 * include/bits/stdlib-float.h: Here. New file.
75146 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
75147 * stdlib/bits/stdlib-float.h: New file.
75148 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
75149 -mno-sse -mno-mmx.
75150 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
75151 <xmmintrin.h>.
75152
75153 2012-11-02 Joseph Myers <joseph@codesourcery.com>
75154
75155 * conform/conformtest.pl (@headers): Add fenv.h.
75156 * conform/data/fenv.h-data: New file.
75157 * include/fenv.h [_ISOMAC]: Disable all contents of file except
75158 include of <math/fenv.h>.
75159
75160 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
75161 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
75162 && !UNIX98]. Enables tests for XOPEN2K8.
75163 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
75164 POSIX2008]: Likewise.
75165
75166 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
75167 (struct rusage): Do not expect type or its members.
75168
75169 [BZ #3439]
75170 * math/math.h (FP_NAN): Define macro to integer constant usable in
75171 #if and use that to give value to enum constant.
75172 (FP_INFINITE): Likewise.
75173 (FP_ZERO): Likewise.
75174 (FP_SUBNORMAL): Likewise.
75175 (FP_NORMAL): Likewise.
75176
75177 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
75178
75179 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
75180 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
75181 arguments.
75182
75183 2012-11-02 Roland McGrath <roland@hack.frob.com>
75184
75185 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
75186 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
75187 autoconf-time if not.
75188 * configure.in: Remove AC_PREREQ.
75189
75190 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75191
75192 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
75193 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
75194 of the internal implementation.
75195
75196 2012-11-02 Joseph Myers <joseph@codesourcery.com>
75197
75198 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
75199 except include of <misc/sys/syslog.h>.
75200
75201 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
75202
75203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
75204 function returns with a NULL context exit with zero.
75205
75206 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75207
75208 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
75209
75210 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
75211
75212 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
75213 (run_program_cmd): This.
75214 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
75215 (tst_langinfo): New variable. Use it.
75216
75217 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
75218
75219 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
75220 floating point opcodes.
75221
75222 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
75223
75224 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
75225 variable.
75226
75227 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
75228
75229 * sysdeps/mach/hurd/powerpc: Remove directory.
75230 * sysdeps/mach/powerpc: Likewise.
75231
75232 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
75233
75234 * scripts/check-local-headers.sh: Ignore c++ headers.
75235
75236 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
75237
75238 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
75239 __libc_cleanup_region_start argument.
75240
75241 2012-11-01 Joseph Myers <joseph@codesourcery.com>
75242
75243 [BZ #14784]
75244 [BZ #14785]
75245 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
75246 x * y using scaling, not as x * y + z.
75247 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75248 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75249 * math/libm-test.inc (fma_test): Add more tests.
75250 (fma_test_towardzero): Likewise.
75251 (fma_test_downward): Likewise.
75252 (fma_test_upward): Likewise.
75253
75254 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
75255
75256 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
75257
75258 2012-10-31 Joseph Myers <joseph@codesourcery.com>
75259
75260 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
75261 New variable.
75262
75263 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
75264
75265 * rt/tst-shm.c (worker): Correct checking for mmap failure.
75266
75267 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
75268
75269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75270 Fix sort order.
75271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75272 Likewise.
75273
75274 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75275
75276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75277 Fix the order of the list for glibc 2.17.
75278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75279 Likewise.
75280
75281 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
75282
75283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75284
75285 2012-10-31 Joseph Myers <joseph@codesourcery.com>
75286
75287 [BZ #14610]
75288 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
75289 for low part of x being zero before using __atanl (y).
75290 * math/libm-test.inc (atan2_test): Add another test.
75291
75292 * manual/install.texi (Configuring and compiling): Document
75293 general use of test-wrapper and test-wrapper-env.
75294 * INSTALL: Regenerated.
75295
75296 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
75297 (__fma): Do not extract and scale down low bits on after-rounding
75298 systems when result rounded to normal precision would have normal
75299 exponent.
75300 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
75301 (__fmal): Do not extract and scale down low bits on after-rounding
75302 systems when result rounded to normal precision would have normal
75303 exponent.
75304 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
75305 (__fmal): Do not extract and scale down low bits on after-rounding
75306 systems when result rounded to normal precision would have normal
75307 exponent.
75308 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
75309 macro.
75310 (fma_test): Add more tests.
75311 (fma_test_towardzero): Likewise.
75312 (fma_test_downward): Likewise.
75313 (fma_test_upward): Likewise.
75314
75315 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
75316
75317 * sysdeps/i386/tininess.h: Renamed to ...
75318 * sysdeps/x86/tininess.h: This.
75319 * sysdeps/x86_64/tininess.h: Removed.
75320
75321 2012-10-30 Joseph Myers <joseph@codesourcery.com>
75322
75323 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
75324 input. Use $(build-program-cmd).
75325 ($(objpfx)tst-array1-static.out): Likewise.
75326 ($(objpfx)tst-array2.out): Likewise.
75327 ($(objpfx)tst-array3.out): Likewise.
75328 ($(objpfx)tst-array4.out): Likewise.
75329 ($(objpfx)tst-array5.out): Likewise.
75330 ($(objpfx)tst-array5-static.out): Likewise.
75331
75332 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
75333
75334 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
75335 if defined.
75336
75337 * nss/nsswitch.h (nss_interface_function): Provide new
75338 macro for use with NSS functions.
75339 * grp/initgroups.c: Use new macro.
75340 * nss/getXXbyYY.c: Likewise.
75341 * nss/getXXbyYY_r.c: Likewise.
75342 * nss/getXXent.c: Likewise.
75343 * nss/getXXent_r.c: Likewise.
75344 * sysdeps/posix/getaddrinfo.c: Likewise.
75345
75346 2012-10-30 Andreas Jaeger <aj@suse.de>
75347
75348 * po/ru.po: Update Russion translation from translation project.
75349
75350 2012-10-30 Joseph Myers <joseph@codesourcery.com>
75351
75352 [BZ #14152]
75353 [BZ #14783]
75354 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
75355 result and shift together with sticky bit instead of replicating
75356 round-to-nearest rounding.
75357 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75358 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75359 * math/libm-test.inc (fma_test): Add more tests. Do not permit
75360 missing underflow exceptions.
75361 (fma_test_towardzero): Add more tests.
75362 (fma_test_downward): Likewise.
75363 (fma_test_upward): Likewise.
75364
75365 [BZ #14047]
75366 * sysdeps/generic/tininess.h: New file.
75367 * sysdeps/i386/tininess.h: Likewise.
75368 * sysdeps/sh/tininess.h: Likewise.
75369 * sysdeps/x86_64/tininess.h: Likewise.
75370 * stdlib/tst-strtod-underflow.c: Likewise.
75371 * stdlib/tst-tininess.c: Likewise.
75372 * stdlib/strtod_l.c: Include <tininess.h>.
75373 (round_and_return): Do not set errno for exact underflow cases.
75374 Force an underflow exception when setting errno for underflow.
75375 Determine underflow based on rounding to normal precision if
75376 TININESS_AFTER_ROUNDING.
75377 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
75378 ERANGE for exact underflow cases.
75379 * stdlib/Makefile (tests): Add tst-tininess and
75380 tst-strtod-underflow.
75381 ($(objpfx)tst-tininess): Use $(link-libm).
75382 ($(objpfx)tst-strtod-underflow): Likewise.
75383
75384 2012-10-30 Andreas Jaeger <aj@suse.de>
75385
75386 [BZ #14767]
75387 * elf/Makefile (tests): Remove conditional for have-initfini-array
75388 since this is now always required and the variable does not exist
75389 anymore.
75390 (tests-static): Likewise.
75391 (modules-names): Likewise.
75392
75393 * po/eo.po: Add Esperanto translation from translation project.
75394
75395 * elf/tst-array1.c (fini_array): Make writeable so that it can be
75396 merged with constructor/destructor.
75397 (init_array): Likewise.
75398 * elf/tst-array2dep.c (fini_array): Likewise.
75399 (init_array): Likewise.
75400
75401 2012-10-29 Mike Frysinger <vapier@gentoo.org>
75402
75403 * manual/message.texi: Delete @cartouche tags.
75404
75405 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
75406
75407 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
75408 EOPNOTSUPP.
75409 * sysdeps/mach/hurd/fsync.c: Likewise.
75410
75411 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
75412 [_POSIX_REALTIME_SIGNALS]: Change condition to
75413 [_POSIX_REALTIME_SIGNALS > 0].
75414
75415 2012-10-27 Andreas Jaeger <aj@suse.de>
75416
75417 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
75418 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
75419 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
75420 [__WORDSIZE != 64]: Likewise.
75421
75422 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
75423
75424 * iconvdata/tst-table.sh: Remove ${SHELL}.
75425 * iconvdata/tst-tables.sh: Likewise.
75426
75427 2012-10-25 David S. Miller <davem@davemloft.net>
75428
75429 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75430 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
75431 of strtoull.
75432
75433 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
75434 ifunc-impl-list.c
75435 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75436 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
75437 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
75438 file.
75439
75440 2012-10-25 Roland McGrath <roland@hack.frob.com>
75441
75442 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75443 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
75444 __getdirentries.
75445
75446 2012-10-25 Joseph Myers <joseph@codesourcery.com>
75447 Jim Blandy <jimb@codesourcery.com>
75448
75449 * scripts/cross-test-ssh.sh: New file.
75450 * manual/install.texi (Configuring and compiling): Document use of
75451 cross-test-ssh.sh.
75452 * INSTALL: Regenerated.
75453
75454 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
75455
75456 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
75457 EOPNOTSUPP.
75458
75459 2012-10-25 Joseph Myers <joseph@codesourcery.com>
75460
75461 * Makeconfig (run-program-prefix): Fix comment.
75462
75463 2012-10-24 Joseph Myers <joseph@codesourcery.com>
75464 Jim Blandy <jimb@codesourcery.com>
75465
75466 * Makeconfig (test-wrapper): New variable,
75467 (test-wrapper-env): Likewise.
75468 [$(cross-compiling) = yes && $(test-wrapper) != ""]
75469 (run-built-tests): Define to yes.
75470 (run-program-prefix): Use $(test-wrapper).
75471 (built-program-cmd): Likewise.
75472 * Rules (make-test-out): Use $(test-wrapper-env) and
75473 $(host-built-program-cmd).
75474 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
75475 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
75476 tst-pathopt.sh.
75477 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
75478 $(test-wrapper-env) to tst-rtld-load-self.sh.
75479 ($(objpfx)order2.out): Use $(test-wrapper).
75480 ($(objpfx)tst-initorder.out): Likewise.
75481 ($(objpfx)tst-initorder2.out): Likewise.
75482 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
75483 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
75484 (test_wrapper_env): New variable. Use it to run ld.so.
75485 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
75486 Use it to run ld.so.
75487 (test_wrapper_env): Likewise.
75488 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
75489 $(test-wrapper) to run-iconv-test.sh.
75490 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
75491 (ICONV): Use $test_wrapper.
75492 * posix/Makefile ($(objpfx)globtest.out): Pass
75493 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
75494 globtest.sh, not $(run-program-prefix).
75495 * posix/globtest.sh (run_via_rtld_prefix): New variable.
75496 (test_wrapper): Likewise.
75497 (test_wrapper_env): Likewise. Use it to run globtest with HOME
75498 set together with run_via_rtld_prefix.
75499 (run_program_prefix): Define in terms of test_wrapper and
75500 run_via_rtld_prefix.
75501
75502 2012-10-24 Roland McGrath <roland@hack.frob.com>
75503
75504 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
75505 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
75506 Targets removed.
75507
75508 [BZ #14743]
75509 * include/time.h: Remove librt_hidden_proto (clock_gettime).
75510 Declare __clock_getres, __clock_gettime, __clock_settime,
75511 __clock_nanosleep, and __clock_getcpuclockid.
75512 * rt/clock_gettime.c: Define __clock_gettime as an alias.
75513 Remove librt_hidden_def (clock_gettime).
75514 * sysdeps/unix/clock_gettime.c: Likewise.
75515 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
75516 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
75517 * rt/clock_getres.c: Define __clock_getres as an alias.
75518 * sysdeps/posix/clock_getres.c: Likewise.
75519 * rt/clock_settime.c: Define __clock_settime as an alias.
75520 * sysdeps/unix/clock_settime.c: Likewise.
75521 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
75522 * sysdeps/unix/clock_nanosleep.c: Likewise.
75523 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
75524 * rt/clock-compat.c: New file.
75525 * rt/Makefile (librt-routines): Add clock-compat and move
75526 $(clock-routines) to ...
75527 (routines): ... here, new variable.
75528 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
75529 Don't add get_clockfreq here.
75530 * rt/Versions (libc: GLIBC_2.17): New version set.
75531 Add clock_* symbols here.
75532 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
75533 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
75534 (GLIBC_2.17): Add clock_* symbols.
75535 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
75536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
75537 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
75538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75539 Likewise.
75540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75541 Likewise.
75542 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
75543 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
75544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
75545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
75546 * NEWS: Mention the move.
75547
75548 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
75549 Use __open, __read, __close rather than their public counterparts.
75550 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75551 (__get_clockfreq_via_cpuinfo): Likewise.
75552 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
75553 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
75554
75555 * config.h.in (HAVE_IFUNC): New #undef.
75556 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
75557 was successful.
75558 * configure: Regenerated.
75559
75560 2012-10-24 Mike Frysinger <vapier@gentoo.org>
75561
75562 * configure.in: Move READELF check to start of file.
75563 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
75564 libc_cv_asm_gnu_indirect_function in the process.
75565 * configure: Regenerated.
75566
75567 2012-10-24 Mike Frysinger <vapier@gentoo.org>
75568
75569 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
75570 send the output to /dev/null.
75571 (libc_cv_cc_with_libunwind): Likewise.
75572 (libc_cv_as_noexecstack): Likewise.
75573 * configure: Regenerate.
75574
75575 2012-10-24 Joseph Myers <joseph@codesourcery.com>
75576
75577 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
75578
75579 * posix/globtest.sh (TMPDIR): Do not set.
75580 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
75581 (testout): Likewise.
75582
75583 2012-10-24 Andreas Jaeger <aj@suse.de>
75584
75585 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
75586 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
75587 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
75588 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
75589 posix_fadvise64, posix_fallocate64.
75590
75591 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
75592 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
75593 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
75594 Likewise.
75595 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
75596 Likewise.
75597 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
75598
75599 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
75600 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
75601 <bits/fcntl-linux.h>.
75602 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
75603
75604 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
75605 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
75606 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
75607 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
75608 [__WORDSIZE != 64]: Likewise.
75609
75610 2012-10-23 Joseph Myers <joseph@codesourcery.com>
75611
75612 * Makeconfig (run-built-tests): New variable.
75613 * Rules [$(cross-compiling) = yes]: Change condition to
75614 [$(run-built-tests) = no].
75615 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
75616 to [$(run-built-tests) = yes].
75617 * elf/Makefile [$(cross-compiling) = no]: Likewise.
75618 * grp/Makefile [$(cross-compiling) = no]: Likewise.
75619 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
75620 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
75621 * intl/Makefile [$(cross-compiling) = no]: Likewise.
75622 * io/Makefile [$(cross-compiling) = no]: Likewise.
75623 * libio/Makefile [$(cross-compiling) = no]: Likewise.
75624 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
75625 * misc/Makefile [$(cross-compiling) = no]: Likewise.
75626 * posix/Makefile [$(cross-compiling) = no]: Likewise.
75627 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
75628 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
75629 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
75630 * string/Makefile [$(cross-compiling) = no]: Likewise.
75631
75632 * posix/Makefile ($(objpfx)globtest.out): Pass
75633 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
75634 $(rtld-installed-name).
75635 * posix/globtest.sh (elf_objpfx): Remove variable.
75636 (rtld_installed_name): Likewise.
75637 (library_path): Likewise.
75638 (run_program_prefix): New variable. Use for running globtest
75639 binary.
75640
75641 2012-10-23 Jim Blandy <jimb@codesourcery.com>
75642 Joseph Myers <joseph@codesourcery.com>
75643
75644 * Makeconfig (host-built-program-cmd): New variable.
75645 * elf/Makefile (tst-stackguard1-ARGS): Use
75646 $(host-built-program-cmd).
75647 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
75648 (tst-spawn-ARGS): Likewise.
75649 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
75650
75651 2012-10-23 Joseph Myers <joseph@codesourcery.com>
75652 Jim Blandy <jimb@codesourcery.com>
75653
75654 * Makeconfig (run-via-rtld-prefix): New variable.
75655 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
75656 (built-program-cmd): Likewise.
75657
75658 2012-10-22 Andreas Jaeger <aj@suse.de>
75659
75660 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
75661 __O_RSYNC if it exists, otherwise to O_SYNC.
75662
75663 2012-10-22 Jim Blandy <jimb@codesourcery.com>
75664 Joseph Myers <joseph@codesourcery.com>
75665
75666 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
75667 /dev/null.
75668 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
75669 from /dev/null
75670 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
75671 /dev/null.
75672
75673 2012-10-22 Andreas Jaeger <aj@suse.de>
75674
75675 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
75676 Define always.
75677 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
75678
75679 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75680 bits/fcntl-linux.h.
75681
75682 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
75683 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
75684
75685 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
75686 to __O_LARGEFILE.
75687 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
75688 to __O_LARGEFILE.
75689
75690 2012-10-21 Jim Blandy <jimb@codesourcery.com>
75691 Joseph Myers <joseph@codesourcery.com>
75692
75693 * config.make.in (NM): New variable.
75694
75695 2012-10-21 Andreas Jaeger <aj@suse.de>
75696
75697 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
75698 definitions and declarations that are provided by
75699 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
75700
75701 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
75702
75703 [BZ #14683]
75704 * elf/Makefile (tests-static): Add tst-leaks1-static.
75705 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
75706 ($(objpfx)tst-leaks1-static): New rule.
75707 ($(objpfx)tst-leaks1-static-mem): Likewise.
75708 (tst-leaks1-static-ENV): New macro.
75709 * elf/dl-open.c (dl_open_worker): Check the main application
75710 only if SHARED is defined.
75711 * elf/tst-leaks1-static.c: New file.
75712
75713 2012-10-20 Andreas Jaeger <aj@suse.de>
75714
75715 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
75716 generic values for Linux.
75717 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
75718 and declarations that are provided by <bits/fcntl-linux.h> and
75719 include <bits/fcntl-linux.h>.
75720 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75721 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75722
75723 2012-10-20 Roland McGrath <roland@hack.frob.com>
75724
75725 * io/fcntl.h: Move include of <bits/types.h> to the top and
75726 include it unconditionally.
75727
75728 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
75729
75730 * wcsmbs/Makefile (tests-ifunc): New variable.
75731 (tests): Add $(tests-ifunc).
75732 * wcsmbs/test-wcschr-ifunc.c: New file.
75733 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
75734 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
75735 * wcsmbs/test-wcslen-ifunc.c: Likewise.
75736 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
75737 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
75738
75739 * string/Makefile (tests-ifunc): New variable.
75740 (tests): Add $(tests-ifunc).
75741 * string/test-memccpy.c (TEST_NAME): New macro.
75742 * string/test-memchr.c (TEST_NAME): Likewise.
75743 * string/test-memcmp.c (TEST_NAME): Likewise.
75744 * string/test-memcpy.c (TEST_NAME): Likewise.
75745 * string/test-memmem.c (TEST_NAME): Likewise.
75746 * string/test-memmove.c (TEST_NAME): Likewise.
75747 * string/test-memset.c (TEST_NAME): Likewise.
75748 * string/test-rawmemchr.c (TEST_NAME): Likewise.
75749 * string/test-stpcpy.c (TEST_NAME): Likewise.
75750 * string/test-stpncpy.c (TEST_NAME): Likewise.
75751 * string/test-strcasecmp.c (TEST_NAME): Likewise.
75752 * string/test-strcasestr.c (TEST_NAME): Likewise.
75753 * string/test-strcat.c (TEST_NAME): Likewise.
75754 * string/test-strchr.c (TEST_NAME): Likewise.
75755 * string/test-strcmp.c(TEST_NAME): Likewise.
75756 * string/test-strcpy.c (TEST_NAME): Likewise.
75757 * string/test-strcspn.c (TEST_NAME): Likewise.
75758 * string/test-strlen.c (TEST_NAME): Likewise.
75759 * string/test-strncasecmp.c (TEST_NAME): Likewise.
75760 * string/test-strncmp.c (TEST_NAME): Likewise.
75761 * string/test-strncpy.c (TEST_NAME): Likewise.
75762 * string/test-strnlen.c (TEST_NAME): Likewise.
75763 * string/test-strpbrk.c (TEST_NAME): Likewise.
75764 * string/test-strrchr.c (TEST_NAME): Likewise.
75765 * string/test-strspn.c (TEST_NAME): Likewise.
75766 * string/test-strstr.c (TEST_NAME): Likewise.
75767 * string/test-bcopy-ifunc.c: New file.
75768 * string/test-bzero-ifunc.c: Likewise.
75769 * string/test-memccpy-ifunc.c: Likewise.
75770 * string/test-memchr-ifunc.c: Likewise.
75771 * string/test-memcmp-ifunc.c: Likewise.
75772 * string/test-memcpy-ifunc.c: Likewise.
75773 * string/test-memmem-ifunc.c: Likewise.
75774 * string/test-memmove-ifunc.c: Likewise.
75775 * string/test-mempcpy-ifunc.c: Likewise.
75776 * string/test-memset-ifunc.c: Likewise.
75777 * string/test-rawmemchr-ifunc.c: Likewise.
75778 * string/test-stpcpy-ifunc.c: Likewise.
75779 * string/test-stpncpy-ifunc.c: Likewise.
75780 * string/test-strcasecmp-ifunc.c: Likewise.
75781 * string/test-strcasestr-ifunc.c: Likewise.
75782 * string/test-strcat-ifunc.c: Likewise.
75783 * string/test-strchr-ifunc.c: Likewise.
75784 * string/test-strchrnul-ifunc.c: Likewise.
75785 * string/test-strcmp-ifunc.c: Likewise.
75786 * string/test-strcpy-ifunc.c: Likewise.
75787 * string/test-strcspn-ifunc.c: Likewise.
75788 * string/test-strlen-ifunc.c: Likewise.
75789 * string/test-strncasecmp-ifunc.c: Likewise.
75790 * string/test-strncat-ifunc.c: Likewise.
75791 * string/test-strncmp-ifunc.c: Likewise.
75792 * string/test-strncpy-ifunc.c: Likewise.
75793 * string/test-strnlen-ifunc.c: Likewise.
75794 * string/test-strpbrk-ifunc.c: Likewise.
75795 * string/test-strrchr-ifunc.c: Likewise.
75796 * string/test-strspn-ifunc.c: Likewise.
75797 * string/test-strstr-ifunc.c: Likewise.
75798
75799 * debug/Makefile (tests-ifunc): New variable.
75800 (tests): Add $(tests-ifunc).
75801 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
75802 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
75803 * debug/test-stpcpy_chk-ifunc.c: New file.
75804 * debug/test-strcpy_chk-ifunc.c: Likewise.
75805
75806 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
75807
75808 [BZ #13601]
75809 * elf/dl-load.c (open_verify): Retry read if the entire ELF
75810 header is not read in.
75811
75812 2012-10-19 Joseph Myers <joseph@codesourcery.com>
75813
75814 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
75815 script to $(SHELL) as $<. Pass $(common-objpfx) to script
75816 directly. Pass built executable to script as
75817 $(built-program-cmd).
75818 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
75819 $testprogram without using LD_LIBRARY_PATH and $ldso.
75820
75821 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
75822 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
75823 $(rtld-installed-name).
75824 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
75825 (rtld_installed_name): Likewise.
75826 (library_path): Likewise.
75827 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
75828 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
75829 $(run-program-prefix) to tst-tables.sh.
75830 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
75831 it to run tst-table-from and tst-table-to.
75832 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
75833 Pass it to tst-table.sh.
75834 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
75835 $(run-program-prefix) to tst-gettext.sh.
75836 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
75837 tst-translit.sh.
75838 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
75839 tst-gettext2.sh.
75840 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
75841 to run tst-gettext.
75842 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
75843 to run tst-gettext2.
75844 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
75845 to run tst-translit.
75846 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
75847 $(run-program-prefix) to tst-mtrace.sh.
75848 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
75849 to run tst-mtrace.
75850 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
75851 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
75852 $(rtld-installed-name).
75853 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
75854 (rtld_installed_name): Likewise.
75855 (run_program_prefix): New variable. Use it to run wordexp-test.
75856
75857 * Makeconfig (ARCH): Remove all definitions.
75858 (machine): Likewise.
75859 [ARCH]: Remove conditional code.
75860 [!objdir]: Give error.
75861 [!objdir] (objpfx): Remove.
75862 [!objdir] (common-objpfx): Likewise.
75863 [!objdir] (common-objdir): Likewise.
75864 * configure.in (config_makefile): Remove. Hardcode Makefile in
75865 AC_CONFIG_FILES call.
75866 * configure: Regenerated.
75867
75868 [BZ #13888]
75869 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
75870 or TMPDIR.
75871 (testout): Likewise.
75872
75873 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
75874 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
75875 $(rtld-installed-name).
75876 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
75877 (rtld_installed_name): Likewise.
75878 (runit): Remove function.
75879 (run_getconf): New variable, Use it for running getconf binary.
75880
75881 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
75882
75883 [BZ #14716]
75884 * string/test-memmem.c (check_result): New function.
75885 (do_one_test): Use it.
75886 (check1): New function.
75887 (test_main): Use it.
75888
75889 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
75890
75891 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
75892
75893 2012-10-18 Joseph Myers <joseph@codesourcery.com>
75894
75895 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
75896 (_G_LSEEK64): Likewise.
75897 (_G_MMAP64): Likewise.
75898 (_G_FSTAT64): Likewise.
75899 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
75900 (_G_LSEEK64): Likewise.
75901 (_G_MMAP64): Likewise.
75902 (_G_FSTAT64): Likewise.
75903 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
75904 unconditional. Call __mmap64 directly.
75905 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
75906 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
75907 __lseek64 directly.
75908 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
75909 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
75910 __mmap64 directly.
75911 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
75912 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
75913 __lseek64 directly.
75914 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
75915 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
75916 __lseek64 directly.
75917 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
75918 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
75919 __lseek64 directly.
75920 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
75921 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
75922 __fxstat64 directly.
75923 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
75924 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
75925 unconditional.
75926 (freopen64) [!_G_OPEN64]: Remove conditional code.
75927 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
75928 unconditional.
75929 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
75930 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
75931 unconditional.
75932 (ftello64) [!_G_LSEEK64]: Remove conditional code.
75933 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
75934 unconditional.
75935 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
75936 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
75937 unconditional.
75938 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
75939 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
75940 unconditional.
75941 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
75942 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
75943 unconditional.
75944 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
75945 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
75946 unconditional.
75947 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
75948
75949 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
75950
75951 [BZ #12140]
75952 * manual/memory.texi (Malloc Tunable Parameters): Add note
75953 about free list pointers overwriting some perturb bytes.
75954 Wording suggested by Roland McGrath.
75955
75956 2012-10-17 Joseph Myers <joseph@codesourcery.com>
75957
75958 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
75959 (lgamma_test): Likewise.
75960 (tgamma_test): Likewise.
75961
75962 2012-10-16 Florian Weimer <fweimer@redhat.com>
75963
75964 [BZ #14700]
75965 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
75966 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
75967
75968 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
75969
75970 * NEWS: Mention BZ #14716.
75971 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
75972 when removing AVAILABLE1_USES_J macro.
75973
75974 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
75975
75976 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
75977 (__bswap_64): __uint64_t for unsigned 64-bit int.
75978
75979 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
75980
75981 * include/string.h (memmem): Declare libc hidden alias.
75982 * string/memmem.c (memmem): Define libc hidden alias.
75983 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
75984 __read, __close instead of open, read, close.
75985
75986 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
75987
75988 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
75989 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
75990 global and hidden.
75991 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
75992 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
75993 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
75994 Likewise.
75995 (__rawmemchr_sse2): Likewise.
75996 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
75997 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
75998 (__strchr_sse2): Likewise.
75999 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
76000 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
76001 (__strcasecmp_sse2): Likewise.
76002 (__strncasecmp_sse2): Likewise.
76003 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
76004 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
76005 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
76006 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
76007 (__strrchr_sse2): Likewise.
76008 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
76009 ifunc-impl-list.c.
76010 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
76011 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
76012 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
76013 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
76014 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
76015 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
76016 * sysdeps/x86_64/multiarch/memset.S: Likewise.
76017 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
76018 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
76019 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
76020 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
76021 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
76022 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
76023 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
76024 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
76025 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
76026 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
76027 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
76028 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
76029 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
76030 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
76031 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
76032 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
76033 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
76034 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
76035 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76036 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
76037 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
76038 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
76039 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
76040
76041 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
76042 global and hidden.
76043 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
76044 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
76045 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
76046 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
76047 Likewise.
76048 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
76049 Likewise.
76050 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
76051 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
76052 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
76053 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
76054 ifunc-impl-list.c.
76055 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
76056 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
76057 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
76058 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
76059 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
76060 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
76061 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
76062 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
76063 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
76064 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
76065 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
76066 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
76067 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
76068 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
76069 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
76070 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
76071 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
76072 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
76073 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
76074 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
76075 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
76076 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
76077 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
76078 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
76079 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
76080 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
76081 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
76082 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
76083 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
76084 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
76085 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
76086 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
76087 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
76088 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
76089 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
76090 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
76091 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
76092 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
76093 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
76094 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
76095 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
76096
76097 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
76098 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
76099 * include/ifunc-impl-list.h: New file.
76100 * misc/ifunc-impl-list.c: Likewise.
76101 * misc/Makefile (routines): Add ifunc-impl-list.
76102 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
76103 * string/test-string.h: Include <ifunc-impl-list.h>.
76104 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
76105 TEST_NAME]: New variables.
76106 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
76107 are defined.
76108 (test_init): Call __libc_ifunc_impl_list to initialize
76109 func_list if TEST_IFUNC and TEST_NAME are defined.
76110
76111 * string/Makefile (strop-tests): Add bcopy and bzero.
76112 * string/test-bcopy.c: New file.
76113 * string/test-bzero.c: Likewise.
76114 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
76115 defined.
76116 * string/test-memset.c: Support bzero test if TEST_BZERO is
76117 defined.
76118 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
76119 __libc_memmove.
76120 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
76121 __libc_memset.
76122 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
76123 of memset.
76124
76125 2012-10-10 Joseph Myers <joseph@codesourcery.com>
76126
76127 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
76128 * configure: Regenerated.
76129
76130 * Makeconfig (+link-static-before-libc): Don't include
76131 $(link-static-libc).
76132
76133 * libio/libio.h (_IO_pos_t): Remove.
76134
76135 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
76136
76137 * NEWS: Add note about FIPS mode. Wording suggested by Roland
76138 McGrath.
76139
76140 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
76141
76142 * crypt/crypt-entry.c: Include fips-private.h.
76143 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
76144 * crypt/md5c-test.c (main): Tolerate disabled MD5.
76145 * sysdeps/unix/sysv/linux/fips-private.h: New file.
76146 * sysdeps/generic/fips-private.h: New file, dummy fallback.
76147
76148 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
76149
76150 * crypt/crypt-private.h: Include stdbool.h.
76151 (_ufc_setup_salt_r): Return bool.
76152 * crypt/crypt-entry.c: Include errno.h.
76153 (__crypt_r): Return NULL with EINVAL for bad salt.
76154 * crypt/crypt_util.c (bad_for_salt): New.
76155 (_ufc_setup_salt_r): Check that salt is long enough and within
76156 the specified alphabet.
76157 * crypt/badsalttest.c: New file.
76158 * crypt/Makefile (tests): Add it.
76159 ($(objpfx)badsalttest): New.
76160
76161 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
76162
76163 * NEWS: Add entry for BZ #14602.
76164
76165 2012-10-09 Joseph Myers <joseph@codesourcery.com>
76166
76167 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
76168 type-generic.
76169 * math/libm-test.inc: Update comment listing what functions and
76170 macros are tested.
76171 (isgreater_test): New function.
76172 (isgreaterequal_test): Likewise.
76173 (isless_test): Likewise.
76174 (islessequal_test): Likewise.
76175 (islessgreater_test): Likewise.
76176 (isunordered_test): Likewise.
76177 (main): Call the new functions.
76178
76179 2012-10-09 Roland McGrath <roland@hack.frob.com>
76180
76181 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
76182 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
76183 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
76184 * sysdeps/i386/configure: Regenerated.
76185 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
76186 * sysdeps/mach/configure: Regenerated.
76187 * sysdeps/mach/hurd/configure: Regenerated.
76188 * sysdeps/powerpc/configure: Regenerated.
76189 * sysdeps/powerpc/powerpc32/configure: Regenerated.
76190 * sysdeps/powerpc/powerpc64/configure: Regenerated.
76191 * sysdeps/s390/s390-32/configure: Regenerated.
76192 * sysdeps/s390/s390-64/configure: Regenerated.
76193 * sysdeps/sh/configure: Regenerated.
76194 * sysdeps/sparc/configure: Regenerated.
76195 * sysdeps/unix/sysv/linux/configure: Regenerated.
76196 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
76197 * sysdeps/x86_64/configure: Regenerated.
76198
76199 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
76200 defined. Don't check if MAP is NULL.
76201
76202 2012-10-09 Joseph Myers <joseph@codesourcery.com>
76203
76204 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
76205 (_G_stat64): Likewise.
76206 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
76207 (_G_stat64): Likewise.
76208 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
76209 instead of struct _G_stat64.
76210 * libio/fileops.c (mmap_remap_check): Likewise.
76211 (decide_maybe_mmap): Likewise.
76212 (_IO_new_file_seekoff): Likewise.
76213 (_IO_file_stat): Likewise.
76214 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
76215 _G_off64_t.
76216 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
76217 instead of struct _G_stat64.
76218 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76219
76220 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
76221
76222 [BZ #14602]
76223 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76224 Replace with ...
76225 (CHECK_EOL): New macro.
76226 (two_way_short_needle): Check beginning of haystack for EOL. Use
76227 CHECK_EOL.
76228 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76229 Replace with CHECK_EOL.
76230 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76231 Replace with CHECK_EOL.
76232
76233 2012-10-08 Joseph Myers <joseph@codesourcery.com>
76234
76235 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
76236 type-generic.
76237 * math/libm-test.inc: Update comment listing what functions and
76238 macros are tested.
76239 (finite_test): New function.
76240 (isinf_test): Likewise.
76241 (isnan_test): Likewise.
76242 (fpclassify_test): Test subnormal input.
76243 (isfinite_test): Likewise.
76244 (isnormal_test): Likewise.
76245 (main): Call the new functions.
76246
76247 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
76248
76249 [BZ #14660]
76250 * Makerules (%.dynsym): Force C locale when running
76251 $(OBJDUMP) --dynamic-syms.
76252
76253 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
76254
76255 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
76256 <stdint.h>.
76257
76258 2012-10-06 David S. Miller <davem@davemloft.net>
76259
76260 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
76261 upper 32-bits of the length value in %o2 since we use branch-on-register
76262 tests which consider the entire 64-bit register.
76263
76264 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
76265
76266 * string/test-strstr.c (check2): Add a test for page boundary.
76267
76268 2012-10-05 David S. Miller <davem@davemloft.net>
76269
76270 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
76271 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
76272 file.
76273 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76274 sysdep_routines.
76275 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76276 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
76277 and bzero when HWCAP_SPARC_CRYPTO is present.
76278
76279 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
76280
76281 [BZ #14602]
76282 * string/test-strstr.c (check2): New function.
76283 (test_main): Call check2.
76284
76285 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
76286 and bug-strchr1.
76287 * string/bug-strcasestr1.c (do_test): Moved to ...
76288 * string/test-strcasestr.c (check1): Here. New function.
76289 (do_one_test): Break out result checking code into ...
76290 (check_result): This. New function.
76291 (do_one_test): Call check_result.
76292 (test_main): Call check1.
76293 * string/bug-strchr1.c (do_test): Moved to ...
76294 * string/test-strchr.c (check1): Here. New function.
76295 (do_one_test): Break out result checking code into ...
76296 (check_result): This. New function.
76297 (do_one_test): Call check_result.
76298 (test_main): Call check1.
76299 * string/bug-strstr1.c (main): Moved to ...
76300 * string/test-strstr.c (check1): Here. New function.
76301 (do_one_test): Break out result checking code into ...
76302 (check_result): This. New function.
76303 (do_one_test): Call check_result.
76304 (test_main): Call check1.
76305 * string/bug-strcasestr1.c: Removed.
76306 * string/bug-strchr1.c: Likewise.
76307 * string/bug-strstr1.c: Likewise.
76308
76309 * elf/Makefile (dl-routines): Add hwcaps.
76310 * elf/dl-support.c (_dl_important_hwcaps): Removed.
76311 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
76312 (_dl_important_hwcaps): Moved to ...
76313 * elf/dl-hwcaps.c: Here. New file.
76314 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
76315
76316 [BZ #14557]
76317 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
76318 if IS_IN_rtld isn't defined.
76319
76320 * elf/dl-support.c (_dl_sysinfo_map): New.
76321 Include "get-dynamic-info.h" and "setup-vdso.h".
76322 (_dl_non_dynamic_init): Call setup_vdso.
76323 * elf/dynamic-link.h: Don't include <assert.h>.
76324 (elf_get_dynamic_info): Moved to ...
76325 * elf/get-dynamic-info.h: Here. New file.
76326 * elf/dynamic-link.h: Include "get-dynamic-info.h".
76327 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
76328 * elf/setup-vdso.h: Here. New file.
76329 * elf/rtld.c: Include "setup-vdso.h".
76330 (dl_main): Call setup_vdso.
76331
76332 2012-10-05 Joseph Myers <joseph@codesourcery.com>
76333
76334 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
76335 creal in comment listing functions tested. List finite, isinf,
76336 isnan, isless, islessequal, isgreater, isgreaterequal,
76337 islessgreater, isunordered, lgamma_r and pow10 as functions and
76338 macros not tested. Mention which functions not tested are aliases
76339 for other functions. Fix typo. Note that signs of NaNs are not
76340 tested.
76341
76342 * scripts/config.guess: Update from config.git.
76343 * scripts/config.sub: Likewise.
76344
76345 2012-10-04 Roland McGrath <roland@hack.frob.com>
76346
76347 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
76348 * misc/madvise.c (madvise): Renamed to __madvise.
76349 Make madvise a weak alias.
76350 * include/sys/mman.h: Declare __madvise.
76351 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
76352 * sysdeps/unix/syscalls.list
76353 (madvise): Make __madvise the strong name, and madvise a weak alias.
76354 * sysdeps/unix/sysv/linux/syscalls.list
76355 (madvise, mmap): Remove redundant entries.
76356 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
76357 * malloc/malloc.c (mtrim): Likewise.
76358 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
76359
76360 2012-10-03 Roland McGrath <roland@hack.frob.com>
76361
76362 * sysdeps/mach/hurd/dl-cache.c: File removed.
76363 * config.h.in (USE_LDCONFIG): New #undef.
76364 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
76365 * configure: Regenerated.
76366 * elf/Makefile (dl-routines): Add dl-cache only under
76367 [$(use-ldconfig) = yes].
76368 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
76369 cache on [USE_LDCONFIG].
76370 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
76371 [USE_LDCONFIG].
76372 * elf/rtld.c (dl_main): Likewise.
76373
76374 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
76375
76376 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
76377 _SC_LEVEL4_CACHE_LINESIZE.
76378
76379 2012-10-03 Roland McGrath <roland@hack.frob.com>
76380
76381 * sysdeps/unix/bsd/confstr.h: File removed.
76382
76383 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
76384
76385 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
76386 sys/sdt-config.h.
76387
76388 2012-10-02 Roland McGrath <roland@hack.frob.com>
76389
76390 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
76391 Make 'mapoff' field ElfW(Off) rather than off_t.
76392
76393 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
76394
76395 * nscd/Makefile: Remove nscd-cflags and all its users.
76396 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
76397 (CFLAGS-nonlib): Add compiler flags for nscd modules.
76398
76399 [BZ #10631]
76400 * malloc.c (malloc_printerr): Clarify error message.
76401
76402 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
76403
76404 [BZ #14648]
76405 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76406 Set bit_FMA_Usable if FMA is supported.
76407 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
76408 macro.
76409 (bit_FMA4_Usable): Updated.
76410 (index_FMA_Usable): New macro.
76411 (CPUID_FMA): Likewise.
76412 (HAS_FMA): Defined with bit_FMA_Usable.
76413
76414 2012-10-01 Roland McGrath <roland@hack.frob.com>
76415
76416 * bits/types.h (__swblk_t): Type removed.
76417 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
76418 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
76419 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76420 (__SWBLK_T_TYPE): Likewise.
76421 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76422 (__SWBLK_T_TYPE): Likewise.
76423 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76424 (__SWBLK_T_TYPE): Likewise.
76425 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76426 (__SWBLK_T_TYPE): Likewise.
76427
76428 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
76429 Honza Horak <hhorak@redhat.com>
76430
76431 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
76432 (xdr_mapname): Use YPMAXMAP as maxsize.
76433 (xdr_peername): Use YPMAXPEER as maxsize.
76434 (xdr_keydat): Use YPAXRECORD as maxsize.
76435 (xdr_valdat): Use YPMAXRECORD as maxsize.
76436
76437 2012-10-01 Roland McGrath <roland@hack.frob.com>
76438
76439 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
76440
76441 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
76442 * csu/init-first.c: ... here.
76443 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
76444 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
76445 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
76446 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
76447 * sysdeps/i386/init-first.c: File removed.
76448 * sysdeps/sh/init-first.c: File removed.
76449
76450 2012-10-01 Joseph Myers <joseph@codesourcery.com>
76451
76452 [BZ #14645]
76453 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
76454 if x * y might underflow to zero and z is zero.
76455 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
76456 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76457 * math/libm-test.inc (min_subnorm_value): New variable.
76458 (fma_test): Add more tests.
76459 (fma_test_towardzero): Likewise.
76460 (fma_test_downward): Likewise.
76461 (fma_test_upward): Likewise.
76462 (initialize): Set min_subnorm_value.
76463
76464 2012-09-29 Joseph Myers <joseph@codesourcery.com>
76465
76466 [BZ #14638]
76467 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
76468 0 + 0.
76469 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
76470 mode for addition resulting in exact zero.
76471 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
76472 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
76473 exact 0 + 0.
76474 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
76475 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76476 * math/libm-test.inc (fma_test): Add more tests.
76477 (fma_test_towardzero): New function.
76478 (fma_test_downward): Likewise.
76479 (fma_test_upward): Likewise.
76480 (main): Call the new functions.
76481
76482 2012-09-28 David S. Miller <davem@davemloft.net>
76483
76484 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
76485
76486 2012-09-28 Roland McGrath <roland@hack.frob.com>
76487
76488 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
76489 instead of SIGALRM.
76490
76491 * sysdeps/gnu/_G_config.h: Moved to ...
76492 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
76493 * sysdeps/mach/hurd/_G_config.h: Moved to ...
76494 * sysdeps/generic/_G_config.h: ... here.
76495
76496 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
76497
76498 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
76499
76500 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
76501 Conditionalize target on [libnss_test1.so-version].
76502
76503 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
76504
76505 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
76506 (elfobjdir): Move out of conditionals.
76507
76508 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
76509 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
76510 (__nss_lookup_function): Conditionalize label remove_from_tree on
76511 [!DO_STATIC_NSS || SHARED], matching its only use.
76512
76513 2012-09-28 David S. Miller <davem@davemloft.net>
76514
76515 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
76516 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
76517 file.
76518 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76519 sysdep_routines.
76520 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76521 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
76522 when HWCAP_SPARC_CRYPTO is present.
76523
76524 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
76525
76526 * io/tst-mknodat.c: Create a FIFO instead of a socket.
76527
76528 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
76529
76530 [BZ #6530]
76531 * stdio-common/vfprintf.c (process_string_arg): Revert
76532 2000-07-22 change.
76533
76534 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
76535
76536 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
76537 for testcase.
76538 * stdio-common/tst-sprintf.c: Include <locale.h>
76539 (main): Test sprintf's handling of incomplete multibyte
76540 characters.
76541
76542 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
76543
76544 * elf/dl-runtime.c (VERSYMIDX): Removed.
76545 * elf/dl-version.c (VERSYMIDX): Likewise.
76546 * elf/do-rel.h (VERSYMIDX): Likewise.
76547 (VALIDX): Likewise.
76548 * elf/dynamic-link.h (VERSYMIDX): Likewise.
76549 * elf/rtld.c (VALIDX): Likewise.
76550 (ADDRIDX): Likewise.
76551 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
76552 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
76553 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
76554 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
76555 (VALIDX): Likewise.
76556 (ADDRIDX): Likewise.
76557
76558 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
76559
76560 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
76561
76562 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
76563
76564 [BZ #11438]
76565 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
76566 to global scope.
76567 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
76568 addresses are in the same scope as 192.0.2/24.
76569 * posix/gai.conf: Document new scope table defaults.
76570
76571 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
76572
76573 [BZ #5298]
76574 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
76575 for ftell. Compute offsets from write pointers instead.
76576 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76577
76578 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
76579
76580 [BZ #14543]
76581 * libio/Makefile (tests): New test case tst-fseek.
76582 * libio/tst-fseek.c: New test case to verify that fseek/ftell
76583 combination works in wide mode.
76584 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
76585 state when the external buffer state changes.
76586
76587 2012-09-27 David S. Miller <davem@davemloft.net>
76588
76589 [BZ #14376]
76590 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
76591 pass reloc->r_addend in as the 'high' argument to
76592 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
76593
76594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76595
76596 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
76597
76598 * rt/tst-aio2.c: Include <pthread.h>.
76599 * rt/tst-aio3.c: Likewise.
76600
76601 2012-09-27 Steve Ellcey <sellcey@mips.com>
76602
76603 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
76604
76605 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
76606
76607 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
76608 contents on [SHARED].
76609
76610 2012-09-26 Marek Polacek <polacek@redhat.com>
76611
76612 [BZ #14530]
76613 [BZ #13741]
76614 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
76615 for C++ and GCC <4.3 as well as for non GCC compilers.
76616
76617 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
76618
76619 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76620
76621 2012-09-25 Roland McGrath <roland@hack.frob.com>
76622
76623 * Makefile.in (all, install): Declare with .PHONY.
76624 Reported by Michael Hope <michael.hope@linaro.org>.
76625
76626 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
76627
76628 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
76629 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
76630 system header.
76631 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
76632 Likewise.
76633 (sydep_routines): Add the new and the internal functions.
76634 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
76635 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
76636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
76637 (GLIBC_2.17): Add the new function.
76638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
76639 (GLIBC_2.17): Likewise.
76640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
76641 (GLIBC_2.17): Likewise.
76642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
76643 (GLIBC_2.17): Likewise.
76644 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
76645
76646 2012-09-25 Alan Modra <amodra@gmail.com>
76647
76648 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
76649 Add release barrier before setting once_control to say
76650 initialisation is done. Add hints on lwarx. Use macro in
76651 place of isync.
76652 (clear_once_control): Add release barrier.
76653
76654 2012-09-25 Joseph Myers <joseph@codesourcery.com>
76655
76656 [BZ #13629]
76657 * math/s_clog.c (__clog): Handle more values close to |z| = 1
76658 specially.
76659 * math/s_clog10.c (__clog10): Likewise.
76660 * math/s_clog10f.c (__clog10f): Likewise.
76661 * math/s_clog10l.c (__clog10l): Likewise.
76662 * math/s_clogf.c (__clogf): Likewise.
76663 * math/s_clogl.c (__clogl): Likewise.
76664 * math/Makefile (libm-calls): Add x2y2m1.
76665 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
76666 (__x2y2m1): Likewise.
76667 (__x2y2m1l): Likewise.
76668 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
76669 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
76670 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
76671 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
76672 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
76673 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
76674 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
76675 * sysdeps/i386/fpu/libm-test-ulps: Update.
76676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76677
76678 [BZ #14621]
76679 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
76680 int as type of variable DEPTH.
76681 (glob): Use size_t instead of int as type of variables NEWCOUNT
76682 and OLD_PATHC.
76683
76684 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
76685
76686 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
76687 Add s_sincosf-sse2.
76688 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
76689 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
76690 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
76691 macros for using routine as __sincosf_ia32.
76692 Use macro for function declaration and weak_alias.
76693 * sysdeps/i386/fpu/libm-test-ulps: Update.
76694
76695 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
76696 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76697
76698 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
76699 subnormal argument.
76700 * math/s_cexpf.c (__cexpf): Likewise.
76701 * math/s_csinf.c (__csinf): Likewise.
76702 * math/s_csinhf.c (__csinhf): Likewise.
76703 * math/s_ctanf.c (__ctanf): Likewise.
76704 * math/s_ctanhf.c (__ctanhf): Likewise.
76705 * math/s_ccosh.c (__ccoshf): Likewise.
76706 * math/s_cexp.c (__cexpl): Likewise.
76707 * math/s_csin.c (__csin): Likewise.
76708 * math/s_csinh.c (__csinh): Likewise.
76709 * math/s_ctan.c (__ctan): Likewise.
76710 * math/s_ctanh.c (ctanh): Likewise.
76711 * math/s_ccoshl.c (__ccoshl): Likewise.
76712 * math/s_cexpl.c (__cexpl): Likewise.
76713 * math/s_csinl.c (__csinl): Likewise.
76714 * math/s_csinhl.c (__csinhl): Likewise.
76715 * math/s_ctanl.c (__ctanl): Likewise.
76716 * math/s_ctanhl.c (__ctanhl): Likewise.
76717
76718 2012-09-25 Joseph Myers <joseph@codesourcery.com>
76719
76720 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
76721 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
76722 (_IO_off_t): Define to __off_t, not _G_off_t.
76723 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
76724 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
76725 (_IO_wint_t): Define to wint_t, not _G_wint_t.
76726 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
76727 type of __dummy and __dummy2 fields.
76728 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
76729 (_G_ssize_t): Likewise.
76730 (_G_off_t): Likewise.
76731 (_G_pid_t): Likewise.
76732 (_G_uid_t): Likewise.
76733 (_G_wchar_t): Likewise.
76734 (_G_wint_t): Likewise.
76735 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
76736 (_G_ssize_t): Likewise.
76737 (_G_off_t): Likewise.
76738 (_G_pid_t): Likewise.
76739 (_G_uid_t): Likewise.
76740 (_G_wchar_t): Likewise.
76741 (_G_wint_t): Likewise.
76742 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
76743 (_G_ssize_t): Likewise.
76744 (_G_off_t): Likewise.
76745 (_G_pid_t): Likewise.
76746 (_G_uid_t): Likewise.
76747 (_G_wchar_t): Likewise.
76748 (_G_wint_t): Likewise.
76749
76750 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
76751
76752 * malloc/arena.c: Include malloc-sysdep.h.
76753 (shrink_heap): Use check_may_shrink_heap to decide if madvise
76754 is sufficient to shrink the heap or an unmap is needed.
76755 * sysdeps/generic/malloc-sysdep.h: New file. Define
76756 new function check_may_shrink_heap.
76757 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
76758 new function check_may_shrink_heap.
76759
76760 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
76761
76762 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
76763 comments.
76764
76765 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
76766
76767 * catgets/test-gencat.sh: Add "set -e".
76768 * elf/tst-pathopt.sh: Likewise.
76769 * grp/tst_fgetgrent.sh: Likewise.
76770 * iconvdata/run-iconv-test.sh: Likewise.
76771 * intl/tst-gettext.sh: Likewise.
76772 * intl/tst-gettext2.sh: Likewise.
76773 * intl/tst-gettext4.sh: Likewise.
76774 * intl/tst-gettext6.sh: Likewise.
76775 * intl/tst-translit.sh: Likewise.
76776 * io/ftwtest-sh: Likewise.
76777 * libio/test-freopen.sh: Likewise.
76778 * malloc/tst-mtrace.sh: Likewise.
76779 * posix/globtest.sh: Likewise.
76780 * posix/tst-getconf.sh: Likewise.
76781 * posix/wordexp-tst.sh: Likewise.
76782 * stdio-common/tst-printf.sh: Likewise.
76783 * stdio-common/tst-unbputc.sh: Likewise.
76784 * stdlib/tst-fmtmsg.sh: Likewise.
76785 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
76786 * catgets/Makefile: Do not specify -e option when running
76787 testsuite shell scripts.
76788 * elf/Makefile: Likewise.
76789 * grp/Makefile: Likewise.
76790 * iconvdata/Makefile: Likewise.
76791 * intl/Makefile: Likewise.
76792 * io/Makefile: Likewise.
76793 * libio/Makefile: Likewise.
76794 * malloc/Makefile: Likewise.
76795 * posix/Makefile: Likewise.
76796 * stdio-common/Makefile: Likewise.
76797 * stdlib/Makefile: Likewise.
76798 * sysdeps/x86_64/Makefile: Likewise.
76799
76800 * io/ftwtest-sh: Add copyright header.
76801 * posix/globtest.sh: Likewise.
76802 * posix/tst-getconf.sh: Likewise.
76803 * posix/wordexp-tst.sh: Likewise.
76804 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
76805
76806 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
76807
76808 [BZ #13679]
76809 * Makeconfig (+link): Defined as $(+link-static) if
76810 $(build-shared) isn't yes.
76811 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
76812 isn't yes.
76813 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
76814
76815 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
76816
76817 [BZ #14562]
76818 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
76819 new chunk size with MALLOC_ALIGN_MASK.
76820
76821 2012-09-24 Joseph Myers <joseph@codesourcery.com>
76822
76823 [BZ #5044]
76824 * stdio-common/printf_fphex.c: Include <stdbool.h> and
76825 <rounding-mode.h>.
76826 (__printf_fphex): Determine rounding using get_rounding_mode and
76827 round_away.
76828 * stdio-common/tst-printf-round.c (struct hex_test): New
76829 structure.
76830 (hex_tests): New variable.
76831 (test_hex_in_one_mode): New function.
76832 (do_test): Also run tests for hex float output.
76833
76834 2012-09-21 Joseph Myers <joseph@codesourcery.com>
76835
76836 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
76837 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
76838 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
76839 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
76840 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
76841 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
76842 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
76843 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
76844
76845 2012-09-20 Joseph Myers <joseph@codesourcery.com>
76846
76847 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
76848 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
76849 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
76850 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
76851
76852 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
76853
76854 [BZ #14579]
76855 * elf/rtld.c (dl_main): Limit the check for self loading to normal
76856 mode only.
76857 * elf/tst-rtld-load-self.sh: New test.
76858 * elf/Makefile: Run it.
76859
76860 2012-09-18 Joseph Myers <joseph@codesourcery.com>
76861
76862 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
76863 (tst-writev-ENV): Remove.
76864 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
76865
76866 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
76867
76868 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
76869
76870 2012-09-17 Joseph Myers <joseph@codesourcery.com>
76871
76872 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
76873 unconditional.
76874 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
76875 Likewise.
76876 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
76877 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
76878 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
76879 Likewise.
76880
76881 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
76882
76883 [BZ #14587]
76884 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
76885 * config.make.in (have-cpp-asm-debuginfo): Removed.
76886 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
76887 * configure: Regenerated.
76888
76889 2012-09-14 Joseph Myers <joseph@codesourcery.com>
76890
76891 [BZ #5044]
76892 * stdio-common/printf_fp.c: Include <stdbool.h> and
76893 <rounding-mode.h>.
76894 (___printf_fp): Determine rounding using get_rounding_mode and
76895 round_away.
76896 * stdio-common/tst-printf-round.c: New file.
76897 * stdio-common/Makefile (tests): Add tst-printf-round.
76898 (link-libm): New variable.
76899 ($(objpfx)tst-printf-round): Depend in $(link-libm).
76900
76901 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
76902
76903 [BZ #14576]
76904 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
76905 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
76906 Likewise.
76907 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
76908 Likewise.
76909
76910 2012-09-13 Joseph Myers <joseph@codesourcery.com>
76911
76912 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
76913 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
76914 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
76915 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
76916
76917 2012-09-12 Joseph Myers <joseph@codesourcery.com>
76918
76919 [BZ #14518]
76920 * include/rounding-mode.h: New file.
76921 * sysdeps/generic/get-rounding-mode.h: Likewise.
76922 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
76923 * stdlib/strtod_l.c: Include <rounding-mode.h>.
76924 (MAX_VALUE): New macro.
76925 (MIN_VALUE): Likewise.
76926 (overflow_value): New function.
76927 (underflow_value): Likewise.
76928 (round_and_return): Use overflow_value and underflow_value to
76929 determine return values in overflow and underflow cases. Use
76930 round_away to determine rounding depending on rounding mode.
76931 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
76932 determine return values in overflow and underflow cases.
76933 * stdlib/tst-strtod-round.c: Include <fenv.h>.
76934 (struct test_results): New structure.
76935 (struct test): Use struct test_results to store expected results
76936 for all rounding modes.
76937 (TEST): Include expected results for all rounding modes.
76938 (test_in_one_mode): New function.
76939 (do_test): Use test_in_one_mode to compute and check results.
76940 Check results for all rounding modes.
76941 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
76942 $(link-libm).
76943
76944 2012-12-09 Allan McRae <allan@archlinux.org>
76945
76946 * sysdeps/i386/fpu/libm-test-ulps: Update
76947
76948 2012-09-11 Joseph Myers <joseph@codesourcery.com>
76949
76950 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
76951 (_G_int32_t): Likewise.
76952 (_G_uint16_t): Likewise.
76953 (_G_uint32_t): Likewise.
76954 (_G_HAVE_BOOL): Likewise.
76955 (_G_HAVE_ATEXIT): Likewise.
76956 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
76957 (_G_HAVE_IO_FILE_OPEN): Likewise.
76958 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
76959 (_G_int32_t): Likewise.
76960 (_G_uint16_t): Likewise.
76961 (_G_uint32_t): Likewise.
76962 (_G_HAVE_BOOL): Likewise.
76963 (_G_HAVE_ATEXIT): Likewise.
76964 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
76965 (_G_HAVE_IO_FILE_OPEN): Likewise.
76966 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
76967 (_G_int32_t): Likewise.
76968 (_G_uint16_t): Likewise.
76969 (_G_uint32_t): Likewise.
76970 (_G_HAVE_BOOL): Likewise.
76971 (_G_HAVE_ATEXIT): Likewise.
76972 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
76973 (_G_HAVE_IO_FILE_OPEN): Likewise.
76974
76975 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
76976
76977 * csu/libc-tls.c: Update copyright years.
76978
76979 2012-09-10 Joseph Myers <joseph@codesourcery.com>
76980
76981 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
76982 [!_G_USING_THUNKS]: Remove conditional code.
76983 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
76984 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
76985
76986 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
76987 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
76988 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
76989 (_G_VTABLE_LABEL_PREFIX): Likewise.
76990 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
76991 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
76992 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
76993 (_G_VTABLE_LABEL_PREFIX): Likewise.
76994 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
76995 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
76996 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
76997 (_G_VTABLE_LABEL_PREFIX): Likewise.
76998 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
76999
77000 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
77001
77002 * libio/Makefile: Include ../Makeconfig before tests.
77003 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
77004 only if $(build-shared) is yes.
77005
77006 * iconv/gconv_db.c: Update copyright years.
77007
77008 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77009
77010 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
77011 unwind info if defined PIC. Fix special cases description.
77012 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
77013
77014 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
77015 DP_HI_MASK entry.
77016 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
77017
77018 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
77019
77020 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
77021
77022 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
77023 is NULL.
77024
77025 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
77026 (LDLIBS-tst-chk4): This.
77027 (LDFLAGS-tst-chk5): Renamed to ...
77028 (LDLIBS-tst-chk5): This.
77029 (LDFLAGS-tst-chk6): Renamed to ...
77030 (LDLIBS-tst-chk6): This.
77031 (LDFLAGS-tst-lfschk4): Renamed to ...
77032 (LDLIBS-tst-lfschk4): This.
77033 (LDFLAGS-tst-lfschk5): Renamed to ...
77034 (LDLIBS-tst-lfschk5): This.
77035 (LDFLAGS-tst-lfschk6): Renamed to ...
77036 (LDLIBS-tst-lfschk6): This.
77037
77038 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
77039 on $(common-objpfx)soversions.mk.
77040
77041 2012-09-07 Joseph Myers <joseph@codesourcery.com>
77042
77043 [BZ #10014]
77044 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
77045 example host name.
77046
77047 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
77048
77049 * malloc/arena.c (arena_get_retry): New function that gets
77050 another arena for the caller to try its request on.
77051 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
77052 current arena cannot fulfill the request.
77053 (__libc_memalign): Likewise.
77054 (__libc_memalign): Likewise.
77055 (__libc_pvalloc): Likewise.
77056 (__libc_calloc): Likewise.
77057
77058 2012-09-05 John Tobey <john.tobey@gmail.com>
77059
77060 [BZ #13542]
77061 * manual/arith.texi (Operations on Complex): Fix description
77062 of carg branch cut.
77063
77064 2012-09-06 Joseph Myers <joseph@codesourcery.com>
77065
77066 [BZ #10014]
77067 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
77068 host name.
77069
77070 [BZ #10038]
77071 * manual/memory.texi (Memory): Make order of menu items match
77072 order of sections.
77073
77074 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77075
77076 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
77077 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
77078 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
77079
77080 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77081
77082 * csu/libc-tls.c (static_dtv): Renamed to ...
77083 (_dl_static_dtv): This. Make it global.
77084 (_dl_initial_dtv): Removed.
77085 (__libc_setup_tls): Updated.
77086 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
77087 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
77088 DL_INITIAL_DTV.
77089
77090 2012-09-06 Petr Machata <pmachata@redhat.com>
77091
77092 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
77093 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
77094 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
77095 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
77096
77097 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77098
77099 [BZ #14545]
77100 * csu/libc-tls.c (_dl_initial_dtv): New variable.
77101 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
77102 freeing dtv[-1].
77103
77104 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77105
77106 [BZ #14544]
77107 * Makeconfig (link-static-before-libc): Replace $(+prector)
77108 with $(+prectorT).
77109 (link-static-after-libc): Replace $(+postctor) with
77110 $(+postctorT).
77111 (link-bounded): Replace $(+prector)/$(+postctor) with
77112 $(+prectorT)/$(+postctorT).
77113 (+prectorT): New macro.
77114 (+postctorT): Likewise.
77115
77116 2012-09-06 Joseph Myers <joseph@codesourcery.com>
77117
77118 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
77119 (round_str): Handle values above the maximum for IBM long double
77120 as inexact.
77121 * stdlib/tst-strtod-round.c (tests): Regenerated.
77122
77123 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77124
77125 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
77126 assembler flag.
77127 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
77128 zarch_nohighgprs around the zarch optimized routines.
77129 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
77130 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
77131 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
77132 for zarch.
77133
77134 2012-09-05 David S. Miller <davem@davemloft.net>
77135
77136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
77137
77138 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
77139 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
77140 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
77141 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
77142 entries.
77143
77144 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77145
77146 * malloc/arena.c: Fold copyright years.
77147 * malloc/mcheck.c, malloc/memusage.c: Likewise.
77148
77149 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77150
77151 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
77152
77153 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77154
77155 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
77156
77157 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77158
77159 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
77160 change internal state upon failure.
77161
77162 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77163
77164 * malloc/mcheck.c (mcheck_check_all): Fix typo.
77165 * malloc/memusage.c (mmap): Likewise.
77166 (mmap64, mremap): Likewise. Adjust name in comment.
77167
77168 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
77169
77170 * libio/fileops.c: Fix typos in comments.
77171 * libio/oldfileops.c: Likewise.
77172 * libio/wfileops.c: Likewise.
77173
77174 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
77175
77176 [BZ #1349]
77177 * malloc/Makefile (tests): Add tst-malloc-usable test case.
77178 (tst-malloc-usable-ENV): Set environment for test case.
77179 * malloc/hooks.c (malloc_check_get_size): New function to get
77180 requested size.
77181 * malloc/malloc.c (musable): Use malloc_check_get_size.
77182 * malloc/tst-malloc-usable.c: New test case.
77183
77184 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
77185
77186 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
77187
77188 2012-09-05 Allan McRae <allan@archlinux.org>
77189
77190 [BZ #13966]
77191 * configure.in (CXX_SYSINCLUDES): Use compiler output to
77192 determine header location.
77193 * configure: Regenerated.
77194
77195 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
77196
77197 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
77198 float format.
77199 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
77200 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
77201 format.
77202 (test): Regenerate.
77203
77204 2012-09-04 David S. Miller <davem@davemloft.net>
77205
77206 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
77207 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
77208 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
77209
77210 2012-09-04 Florian Weimer <fweimer@redhat.com>
77211
77212 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
77213 failures.
77214
77215 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
77216
77217 2012-09-04 Joseph Myers <joseph@codesourcery.com>
77218
77219 [BZ #9914]
77220 * libio/iogetdelim.c: Include <limits.h>.
77221 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
77222 + len + 1 would overflow.
77223
77224 2012-09-03 Andreas Jaeger <aj@suse.de>
77225
77226 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77227 * sysdeps/i386/fpu/libm-test-ulps: Update.
77228
77229 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77230
77231 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
77232 Add s_sinf-sse2, s_conf-sse2.
77233
77234 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
77235 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
77236 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
77237 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
77238
77239 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
77240 for using routine as __sinf_ia32.
77241 Use macro for function declaration and weak_alias.
77242 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
77243 for using routine as __cosf_ia32.
77244 Use macro for function declaration and weak_alias.
77245
77246 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
77247 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
77248
77249 * sysdeps/x86_64/fpu/s_sinf.S: New file.
77250 * sysdeps/x86_64/fpu/s_cosf.S: New file.
77251 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77252
77253 * math/libm-test.inc (cos_test): Add more test cases.
77254 (sin_test): Likewise.
77255 (sincos_test): Likewise.
77256
77257 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77258
77259 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
77260 (IFUNC_RESOLVE): Make pointers to the specialized implementations
77261 hidden.
77262 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
77263
77264 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
77265
77266 [BZ #14538]
77267 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
77268 first element of the GOT.
77269 (elf_machine_load_address): Return the difference between
77270 the runtime address of _DYNAMIC and elf_machine_dynamic ().
77271
77272 2012-09-01 Allan McRae <allan@archlinux.org>
77273
77274 [BZ #13412]
77275 * configure.in (AWK): Require gawk version 3.0 or later.
77276 * configure: Regenerated.
77277
77278 2012-09-01 Joseph Myers <joseph@codesourcery.com>
77279
77280 * sysdeps/unix/sysv/linux/kernel-features.h
77281 (__ASSUME_POSIX_CPU_TIMERS): Remove.
77282 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
77283 [__NR_clock_getres]: Make code unconditional.
77284 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
77285 (clock_getcpuclockid): Remove code left unreachable by removal of
77286 conditionals.
77287 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
77288 code unconditional.
77289 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77290 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77291 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
77292 Make code unconditional.
77293 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77294 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77295 * sysdeps/unix/sysv/linux/clock_settime.c
77296 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
77297 conditional code.
77298 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
77299 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77300
77301 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
77302
77303 [BZ #14476]
77304 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
77305 scripts/test-installation.pl.
77306
77307 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
77308 and $ld_so_version if it is set.
77309
77310 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
77311
77312 [BZ #14516]
77313 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
77314 failure if reading from procfs failed.
77315 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
77316
77317 2012-08-27 Joseph Myers <joseph@codesourcery.com>
77318
77319 * sysdeps/unix/sysv/linux/kernel-features.h
77320 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
77321 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77322 Remove conditional code.
77323 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77324 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
77325 Remove conditional code.
77326 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77327 * sysdeps/unix/sysv/linux/i386/fxstat.c
77328 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77329 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77330 * sysdeps/unix/sysv/linux/i386/fxstatat.c
77331 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77332 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77333 * sysdeps/unix/sysv/linux/i386/lxstat.c
77334 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77335 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77336 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
77337 Remove conditional code.
77338 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77339 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77340 Remove conditional code.
77341 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77342 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
77343 <kernel-features.h>.
77344 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
77345 Remove.
77346 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
77347 Remove conditional code.
77348 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77349 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
77350 Remove conditional.
77351
77352 2012-08-27 Mike Frysinger <vapier@gentoo.org>
77353
77354 [BZ #5400]
77355 * NEWS: Add fixed bug number.
77356
77357 2012-08-27 Joseph Myers <joseph@codesourcery.com>
77358
77359 [BZ #14519]
77360 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
77361 underflowing exponent in case of negative sign.
77362 * stdlib/tst-strtod-round-data: Add more tests.
77363 * stdlib/tst-strtod-round.c (tests): Regenerated.
77364
77365 [BZ #3479]
77366 * stdlib/strtod_l.c (NDIG): Remove.
77367 (HEXNDIG): Likewise.
77368 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
77369 smallest representable value.
77370 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
77371 lie within an exact representation of 1/2 ulp of the result.
77372 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
77373 unconditionally.
77374 (TENS_P9_IDX): Define unconditionally.
77375 (TENS_P9_SIZE): Likewise.
77376 (TENS_P10_IDX): Likewise.
77377 (TENS_P10_SIZE): Likewise.
77378 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
77379 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
77380 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
77381 entries for 10^2^13 and 10^2^14.
77382 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
77383 (TENS_P13_IDX): Define.
77384 (TENS_P13_SIZE): Likewise.
77385 (TENS_P14_IDX): Likewise.
77386 (TENS_P14_SIZE): Likewise.
77387 (_fpioconst_pow10): Change array size to
77388 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
77389 unconditional.
77390 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
77391 1024]: Add entries for 10^2^13 and 10^2^14.
77392 [LAST_POW10 > _LAST_POW10]: Remove #error.
77393 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
77394 (_fpioconst_pow10): Change array size to
77395 FPIOCONST_POW10_ARRAY_SIZE.
77396 * stdlib/gen-fpioconst.c: New file.
77397 * stdlib/gen-tst-strtod-round.c: Likewise.
77398 * stdlib/tst-strtod-round-data: Likewise.
77399 * stdlib/tst-strtod-round.c: Likewise.
77400 * stdlib/Makefile (tests): Add tst-strtod-round.
77401
77402 [BZ #14459]
77403 * stdlib/strtod_l.c: Include <stdint.h>.
77404 (NDEBUG): Do not define.
77405 (round_and_return): Change EXPONENT parameter to type intmax_t.
77406 Rearrange calculations to avoid internal overflow possibilities.
77407 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
77408 Rearrange calculations to avoid internal overflow possibilities.
77409 Assert that number fits inside MPNSIZE limbs.
77410 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
77411 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
77412 calculations and add assertions to avoid internal overflow
77413 possibilities. Add casts to avoid signed/unsigned operations.
77414 * stdlib/tst-strtod-overflow.c: New file.
77415 * stdlib/Makefile (tests): Add tst-strtod-overflow.
77416
77417 2012-08-25 Marek Polacek <polacek@redhat.com>
77418
77419 * time/time.h: Fix some typos in comments.
77420
77421 2012-08-23 Roland McGrath <roland@hack.frob.com>
77422
77423 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
77424 * posix/tst-rfc3484-2.c: Likewise.
77425 * posix/tst-rfc3484-3.c: Likewise.
77426
77427 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
77428
77429 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
77430 (EF_ARM_ABI_FLOAT_HARD): Likewise.
77431
77432 2012-08-23 Joseph Myers <joseph@codesourcery.com>
77433
77434 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
77435 #include of fxstatat64.c.
77436
77437 2012-08-22 Roland McGrath <roland@hack.frob.com>
77438
77439 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
77440 * shadow/getspent_r.c: Likewise.
77441 * shadow/getspnam.c: Likewise.
77442 * shadow/getspnam_r.c: Likewise.
77443 * gshadow/getsgent.c: Likewise.
77444 * gshadow/getsgent_r.c: Likewise.
77445 * gshadow/getsgnam.c: Likewise.
77446 * gshadow/getsgnam_r.c: Likewise.
77447 * inet/getnetbyad.c: Likewise.
77448 * inet/getnetbyad_r.c: Likewise.
77449 * inet/getnetbynm.c: Likewise.
77450 * inet/getnetbynm_r.c: Likewise.
77451 * inet/getnetent.c: Likewise.
77452 * inet/getnetent_r.c: Likewise.
77453 * inet/getproto.c: Likewise.
77454 * inet/getproto_r.c: Likewise.
77455 * inet/getprtent.c: Likewise.
77456 * inet/getprtent_r.c: Likewise.
77457 * inet/getprtname.c: Likewise.
77458 * inet/getprtname_r.c: Likewise.
77459 * inet/getrpcbyname.c: Likewise.
77460 * inet/getrpcbyname_r.c: Likewise.
77461 * inet/getrpcbynumber.c: Likewise.
77462 * inet/getrpcbynumber_r.c: Likewise.
77463 * inet/getrpcent.c: Likewise.
77464 * inet/getrpcent_r.c: Likewise.
77465 * inet/getaliasent.c: Likewise.
77466 * inet/getaliasent_r.c: Likewise.
77467 * inet/getaliasname.c: Likewise.
77468 * inet/getaliasname_r.c: Likewise.
77469 * nscd/getgrgid_r.c: Likewise.
77470 * nscd/getgrnam_r.c: Likewise.
77471 * nscd/gethstbyad_r.c: Likewise.
77472 * nscd/gethstbynm3_r.c: Likewise.
77473 * nscd/getpwnam_r.c: Likewise.
77474 * nscd/getpwuid_r.c: Likewise.
77475 * nscd/getsrvbynm_r.c: Likewise.
77476 * nscd/getsrvbypt_r.c: Likewise.
77477 * nscd/gai.c: Likewise.
77478
77479 * configure.in (build_nscd): New substituted variable, set
77480 by --disable-build-nscd and defaults to $use_nscd.
77481 * configure: Regenerated.
77482 * config.make.in (build-nscd): New substituted variable.
77483 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
77484 Change conditional to require [$(build-nscd) = yes] as well.
77485 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
77486
77487 [BZ #13696]
77488 * configure.in (use_nscd): New substituted variable, set by
77489 --disable-nscd. If enabled, define USE_NSCD.
77490 * configure: Regenerated.
77491 * config.h.in: Add USE_NSCD.
77492 * config.make.in (use-nscd): New substituted variable.
77493 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
77494 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
77495 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
77496 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
77497 (CFLAGS-getgrnam_r.c): Likewise.
77498 (CFLAGS-initgroups.c): Likewise.
77499 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
77500 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
77501 Variables removed.
77502 * inet/getnetgrent_r.c
77503 (nscd_setnetgrent): New function, broken out of ...
77504 (setnetgrent): ... here. Call it.
77505 (innetgr): Conditionalize nscd bits on [USE_NSCD].
77506 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
77507 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
77508 * nscd/Makefile (routines, aux): Move definitions after include of
77509 Makeconfig. Conditionalize on [$(use-nscd) != no].
77510 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
77511 Conditionalize on [USE_NSCD].
77512 (is_nscd, nscd_init_cb): Likewise.
77513 (nss_load_library): Conditionalize init callback on [USE_NSCD].
77514 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
77515 * nss/nss_db/db-init.c: Likewise.
77516 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
77517 [USE_NSCD].
77518 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
77519 (make_request): Use it.
77520 (cache_valid_p): New function.
77521 (__check_pf): Use it.
77522 * NEWS: Add item for --disable-nscd.
77523
77524 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
77525
77526 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
77527 to support sed >= 4.2.1-20-ga9bf076.
77528 * configure: Regenerated.
77529
77530 2012-08-22 Roland McGrath <roland@hack.frob.com>
77531
77532 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
77533 Conditionalize whole body on [IREL].
77534
77535 2012-08-22 Jeff Law <law@redhat.com>
77536
77537 [BZ #14505]
77538 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
77539 if the family is PF_UNSPEC.
77540
77541 2012-08-22 Mike Frysinger <vapier@gentoo.org>
77542
77543 * Makerules (lib-version): Rename from V.
77544 (install-lib-nosubdir): Change V to lib-version.
77545
77546 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
77547
77548 [BZ #14252]
77549 * powerpc32/power6/wcschr.c: New file.
77550 * powerpc32/power6/wcscpy.c: New file.
77551 * powerpc32/power6/wcsrchr.c: New file.
77552 * powerpc64/power6/wcschr.c: New file.
77553 * powerpc64/power6/wcscpy.c: New file.
77554 * powerpc64/power6/wcsrchr.c: New file.
77555
77556 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
77557
77558 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
77559 (two_way_short_needle): Use it.
77560 * string/strstr.c (AVAILABLE1_USES_J): Define.
77561 * string/strcasestr.c: Likewise.
77562
77563 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
77564 array references.
77565 * string/strcasestr.c (TOLOWER): Make side-effect safe.
77566
77567 [BZ #11607]
77568 * NEWS: Add an entry.
77569 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
77570 define their defaults.
77571 (two_way_short_needle): Detect end-of-string on-the-fly.
77572 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
77573 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
77574 * string/bug-strcasestr1.c: New test.
77575 * string/Makefile: Run it.
77576
77577 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
77578
77579 [BZ #11607]
77580 * string/str-two-way.h (two_way_short_needle): Optimize matching of
77581 the first character.
77582
77583 2012-08-21 Roland McGrath <roland@hack.frob.com>
77584
77585 * csu/elf-init.c (__libc_csu_irel): Function removed.
77586 * csu/libc-start.c (apply_irel): New function.
77587 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
77588
77589 2012-08-21 Joseph Myers <joseph@codesourcery.com>
77590
77591 * sysdeps/unix/sysv/linux/kernel-features.h
77592 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
77593 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
77594 <kernel-features.h>.
77595 [__NR_fadvise64_64]: Make code unconditional.
77596 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
77597 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77598 !__NR_fadvise64_64)]: Likewise.
77599 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77600 !__NR_fadvise64_64))]: Likewise.
77601 [__NR_fadvise64]: Make code unconditional.
77602 [!__NR_fadvise64]: Remove conditional code.
77603 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
77604 <kernel-features.h>.
77605 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77606 unconditional.
77607 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77608 conditional code.
77609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
77610 not include <kernel-features.h>.
77611 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77612 unconditional.
77613 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77614 conditional code.
77615 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
77616 include <kernel-features.h>.
77617 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77618 unconditional.
77619 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77620 conditional code.
77621
77622 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
77623
77624 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
77625 slight instruction rearrangements per scrollpipe analysis.
77626 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
77627
77628 2012-08-20 Roland McGrath <roland@hack.frob.com>
77629
77630 * manual/syslog.texi (syslog; vsyslog, closelog):
77631 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
77632 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
77633
77634 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
77635 DSOCAPS to match condition on defining it.
77636
77637 2012-08-20 Joseph Myers <joseph@codesourcery.com>
77638
77639 * sysdeps/unix/sysv/linux/kernel-features.h
77640 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
77641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
77642 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77643 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
77645 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77646 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
77648 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77649 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77650
77651 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
77652 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
77653
77654 * sysdeps/unix/sysv/linux/kernel-features.h
77655 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
77656 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
77657 unconditional.
77658 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77659 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
77660 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77661 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77662 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
77663 Make code unconditional.
77664 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77665 (__mmap64) [!__NR_mmap2]: Likewise.
77666 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
77667 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77668 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77669 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
77670 [__NR_mmap2]: Make code unconditional.
77671 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77672 (__mmap64) [!__NR_mmap2]: Likewise.
77673
77674 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77675
77676 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
77677
77678 2012-08-18 Andreas Jaeger <aj@suse.de>
77679
77680 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
77681
77682 2012-08-18 Mike Frysinger <vapier@gentoo.org>
77683
77684 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
77685 * include/unistd.h (__have_sock_cloexec): Likewise.
77686 (__have_pipe2): Likewise.
77687 (__have_dup3): Likewise.
77688
77689 2012-08-18 Mike Frysinger <vapier@gentoo.org>
77690
77691 [BZ #9685]
77692 * include/unistd.h (__have_pipe2): Change define into an extern int.
77693 (__have_dup3): Likewise.
77694 * socket/have_sock_cloexec.c: Include fcntl.h.
77695 (__have_pipe2): New variable.
77696 (__have_dup3): Likewise.
77697
77698 2012-08-17 Mike Frysinger <vapier@gentoo.org>
77699
77700 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
77701
77702 2012-08-17 Marek Polacek <polacek@redhat.com>
77703
77704 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
77705 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
77706
77707 2012-08-17 Roland McGrath <roland@hack.frob.com>
77708
77709 * configure.in: Add AC_SUBST for sysheaders.
77710 * configure: Regenerated.
77711 * config.make.in (sysheaders): New substituted variable.
77712
77713 * sysdeps/unix/mkfifo.c: Moved ...
77714 * sysdeps/posix/mkfifo.c: ... here.
77715 * sysdeps/unix/mkfifoat.c: Moved ...
77716 * sysdeps/posix/mkfifoat.c: ... here.
77717
77718 * sysdeps/unix/utime.c: Moved ...
77719 * sysdeps/posix/utime.c: ... here.
77720
77721 * sysdeps/unix/time.c: Moved ...
77722 * sysdeps/posix/time.c: ... here.
77723 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
77724 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
77725
77726 * sysdeps/unix/nice.c: Moved ...
77727 * sysdeps/posix/nice.c: ... here.
77728
77729 * sysdeps/unix/alarm.c: Moved ...
77730 * sysdeps/posix/alarm.c: ... here.
77731
77732 * intl/Makefile ($(codeset_mo)): Depend on the input file.
77733
77734 2012-08-17 Jeff Law <law@redhat.com>
77735
77736 * intl/Makefile (codeset_mo): New variable.
77737 ($(codeset_mo)): New target.
77738 (tst-codeset.out): Depend on that. Remove explicit rule.
77739 (tst-gettext3.out, tst-gettext5.out): Likewise.
77740 (LOCPATH-ENV, tst-codeset-ENV): New variables.
77741 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
77742 * intl/tst-codeset.sh: Remove.
77743 * intl/tst-gettext3.sh: Likewise.
77744 * intl/tst-gettext5.sh: Likewise.
77745
77746 2012-08-17 Roland McGrath <roland@hack.frob.com>
77747
77748 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
77749 * sysdeps/unix/syscalls.list: ... here.
77750
77751 * sysdeps/posix/getaddrinfo.c
77752 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
77753 (gaiconf_init, gaiconf_reload): Use them.
77754 [!_STATBUF_ST_NSEC]
77755 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
77756 Define using time_t rather than struct timespec.
77757
77758 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
77759 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
77760 Macros removed.
77761 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
77762 [!NO_THREADS].
77763 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
77764 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
77765 Likewise.
77766
77767 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
77768 __libc_cleanup_push argument.
77769
77770 * bits/param.h: New file.
77771 * misc/sys/param.h: New file.
77772 * include/sys/param.h: New file.
77773 * misc/Makefile (headers): Add bits/param.h.
77774 * sysdeps/generic/sys/param.h: File removed.
77775 * sysdeps/unix/sysv/linux/bits/param.h: New file.
77776 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
77777 * sysdeps/mach/hurd/bits/param.h: New file.
77778 * sysdeps/mach/hurd/sys/param.h: File removed.
77779
77780 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
77781 last change.
77782
77783 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
77784 [_IO_MTSAFE_IO].
77785 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
77786 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
77787 New macros.
77788
77789 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
77790 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
77791 rather than -D_IO_MTSAFE_IO conditionally.
77792 * stdio-common/Makefile (CPPFLAGS): Likewise.
77793 * wcsmbs/Makefile (CPPFLAGS): Likewise.
77794 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
77795 Use $(libio-mtsafe).
77796 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
77797 of -D_IO_MTSAFE_IO.
77798 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
77799 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
77800 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
77801 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
77802 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
77803 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
77804 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
77805 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
77806 (CFLAGS-fread_u_chk.c): Likewise.
77807 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
77808 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
77809 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
77810 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
77811 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
77812 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
77813 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
77814 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
77815 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
77816
77817 * libio/Makefile: Test [$(libc-reentrant) = yes]
77818 instead of [$(filter %REENTRANT, $(defines)) nonempty].
77819
77820 * Makeconfig
77821 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
77822 * sysdeps/pthread/configure: File removed.
77823 * sysdeps/pthread/Makeconfig: New file.
77824 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
77825 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
77826
77827 2012-08-16 Gary Benson <gbenson@redhat.com>
77828
77829 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
77830 unmapping the first object in a namespace.
77831
77832 2012-08-16 Roland McGrath <roland@hack.frob.com>
77833
77834 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
77835 (__internal_setnetgrent): ... this. Add internal_function to
77836 definition. Add libc_hidden_def.
77837 (setnetgrent): Update caller.
77838 (internal_endnetgrent): Renamed to ...
77839 (__internal_endnetgrent): ... this. Add internal_function to
77840 definition. Add libc_hidden_def.
77841 (endnetgrent): Update caller.
77842 (internal_getnetgrent_r): Renamed to ...
77843 (__internal_getnetgrent_r): ... this. Add internal_function to
77844 definition. Add libc_hidden_def.
77845 (__getnetgrent_r): Update caller.
77846 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
77847
77848 2012-08-16 Joseph Myers <joseph@codesourcery.com>
77849
77850 * stdlib/longlong.h: Update from GCC.
77851
77852 2012-08-16 Roland McGrath <roland@hack.frob.com>
77853
77854 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
77855 on _QL, which is set by umul_ppmm but never used.
77856 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
77857 variables, which are set by GMP macros but never used.
77858 * stdio-common/_itowa.c (_itowa): Likewise.
77859 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
77860 * stdlib/mod_1.c (mpn_mod_1): Likewise.
77861
77862 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
77863
77864 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
77865 struct La_sh_regs is not constant.
77866 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
77867 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
77868 and struct La_sparc64_regs are not constant.
77869
77870 2012-08-16 Joseph Myers <joseph@codesourcery.com>
77871
77872 * sysdeps/unix/sysv/linux/kernel-features.h
77873 (__ASSUME_POSIX_TIMERS): Remove.
77874 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
77875 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77876 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
77877 Make code unconditional.
77878 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77879 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
77880 Make code unconditional.
77881 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77882 * sysdeps/unix/sysv/linux/clock_nanosleep.c
77883 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
77884 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77885 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
77886 Make code unconditional.
77887 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77888 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
77889 (__libc_missing_posix_timers): Remove.
77890
77891 2012-08-15 Roland McGrath <roland@hack.frob.com>
77892
77893 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
77894 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
77895
77896 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
77897
77898 * elf/dl-sym.c: Include <stdlib.h>.
77899
77900 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
77901 constants, which avoids warnings in 32-bit builds.
77902
77903 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
77904 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
77905
77906 * misc/lseek.c: File moved to ...
77907 * io/lseek.c: ... here.
77908
77909 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
77910
77911 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
77912 shifting LEN more than 31 bits at once.
77913
77914 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77915
77916 [BZ #14195]
77917 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
77918 segmentation fault for a case of two empty input strings.
77919 * string/test-strncasecmp.c (check1): Renamed to...
77920 (bz12205): ...this.
77921 (bz14195): Add new testcase for two empty input strings and N > 0.
77922 (test_main): Call new testcase, adapt for renamed function.
77923
77924 2012-08-15 Andreas Jaeger <aj@suse.de>
77925
77926 [BZ #14090]
77927 * crypt/md5test2.c: New test, based on test supplied by Serge
77928 Belyshev <belyshev@depni.sinp.msu.ru>.
77929 * crypt/Makefile (xtests): Add md5test-giant..
77930 * crypt/Makefile ($(objpfx)md5test-giant): Add.
77931
77932 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
77933
77934 [BZ #14090]
77935 * crypt/md5.c (md5_process_block): Don't assume the buffer
77936 length is less than 2**32.
77937 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
77938 length is less than 2**64.
77939
77940 2012-08-15 Roland McGrath <roland@hack.frob.com>
77941
77942 * string/str-two-way.h: Include <sys/param.h>.
77943 (MAX): Macro removed.
77944
77945 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
77946 Move #define and #undef of memmove to just before and after
77947 including <string.h>.
77948
77949 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
77950 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
77951 and after including <string.h>. Move declarations of
77952 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
77953 to before #include "string/memmove.c".
77954
77955 * include/dirent.h: Declare __getdirentries.
77956
77957 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
77958 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
77959
77960 2012-08-14 Mike Frysinger <vapier@gentoo.org>
77961
77962 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
77963 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
77964 * sysdeps/i386/configure: Regenerated.
77965 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
77966 STABS_CURRENT_FILE, and STABS_FUN.
77967 (END): Remove call to STABS_FUN_END.
77968 (STABS_CURRENT_FILE1): Delete.
77969 (STABS_CURRENT_FILE): Likewise.
77970 (STABS_FUN): Likewise.
77971 (STABS_FUN_END): Likewise.
77972 (STABS_FUN2): Likewise.
77973 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
77974 * sysdeps/x86_64/configure: Regenerated.
77975
77976 2012-08-14 Roland McGrath <roland@hack.frob.com>
77977
77978 * elf/dl-open.c: Include <atomic.h>.
77979 * elf/dl-lookup.c: Likewise.
77980
77981 2012-08-14 Joseph Myers <joseph@codesourcery.com>
77982
77983 * sysdeps/unix/sysv/linux/kernel-features.h
77984 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
77985 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
77986 unconditionally.
77987 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
77988 unconditionally.
77989 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
77990 condition on __ASSUME_CLONE_THREAD_FLAGS.
77991
77992 2012-08-14 Andreas Jaeger <aj@suse.de>
77993
77994 * sysdeps/i386/fpu/libm-test-ulps: Update.
77995
77996 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
77997
77998 * include/atomic.h (atomic_exchange_and_add): Split into ...
77999 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
78000 New atomic macros.
78001
78002 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
78003
78004 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78005
78006 2012-08-13 Jeff Law <law@redhat.com>
78007
78008 * manual/stdio.texi (snprintf): Clarify handling of the trailing
78009 null byte in the output string.
78010
78011 2012-08-10 Joseph Myers <joseph@codesourcery.com>
78012
78013 * sysdeps/unix/sysv/linux/kernel-features.h
78014 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
78015 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
78016 (__ASSUME_ARG_MAX_STACK_BASED): Define.
78017 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
78018 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
78019 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
78020 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
78021
78022 2012-08-09 Jeff Law <law@redhat.com>
78023
78024 [BZ #13939]
78025 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
78026 When avoid_arena is set, don't retry in the that arena. Pick the
78027 next one, whatever it might be.
78028 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
78029 (arena_lock): Pass in new parameter to arena_get2.
78030 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
78031 arena_get2.
78032 (__libc_malloc): Unify retrying after main arena failure with
78033 __libc_memalign version.
78034 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
78035
78036 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
78037
78038 [BZ #14166]
78039 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
78040 to __redirect_strstr.
78041 (__strstr_sse42): Use typeof __redirect_strstr.
78042 (__strstr_ia32): Likewise.
78043 (__libc_strstr): New prototype.
78044 (strstr): Renamed to ...
78045 (__libc_strstr): This.
78046 (strstr): New strong alias of __libc_strstr.
78047 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
78048 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
78049 __redirect_time.
78050 Include <time.h>.
78051 (__libc_time): New prototype.
78052 (time_ifunc): Replace time with __libc_time.
78053 (time): New strong alias and hidden definition of __libc_time.
78054 (__GI_time): Remove strong alias.
78055 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
78056 Include <stddef.h>.
78057 (memmove): Redefined to __redirect_memmove.
78058 (__memmove_sse2): Use typeof __redirect_memmove.
78059 (__memmove_ssse3): Likewise.
78060 (__memmove_ssse3_back): Likewise.
78061 (__libc_memmove): New prototype.
78062 (memmove): Renamed to ...
78063 (__libc_memmove): This.
78064 (memmove): New strong alias of __libc_memmove.
78065
78066 2012-08-08 Mark Salter <msalter@redhat.com>
78067
78068 * elf/elf.h
78069 (R_MN10300_TLS_GD): Define.
78070 (R_MN10300_TLS_LD): Likewise.
78071 (R_MN10300_TLS_LDO): Likewise.
78072 (R_MN10300_TLS_GOTIE): Likewise.
78073 (R_MN10300_TLS_IE): Likewise.
78074 (R_MN10300_TLS_LE): Likewise.
78075 (R_MN10300_TLS_DTPMOD): Likewise.
78076 (R_MN10300_TLS_DTPOFF): Likewise.
78077 (R_MN10300_TLS_TPOFF): Likewise.
78078 (R_MN10300_SYM_DIFF): Likewise.
78079 (R_MN10300_ALIGN): Likewise.
78080 (R_MN10300_NUM): Update.
78081
78082 2012-08-08 Joseph Myers <joseph@codesourcery.com>
78083
78084 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
78085 Remove.
78086
78087 2012-08-08 Roland McGrath <roland@hack.frob.com>
78088
78089 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
78090
78091 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
78092 sysdeps/unix -> sysdeps/posix move.
78093 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
78094
78095 2012-08-07 Allan McRae <allan@archlinux.org>
78096
78097 [BZ #14303]
78098 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
78099 (SUNOS_CPP): Likewise.
78100 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
78101 not found.
78102 (open_input): Call CPP using execvp.
78103
78104 2012-08-07 Joseph Myers <joseph@codesourcery.com>
78105
78106 * sysdeps/unix/sysv/linux/kernel-features.h
78107 (__ASSUME_PROT_GROWSUPDOWN): Remove.
78108 (__ASSUME_NO_CLONE_DETACHED): Likewise.
78109 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78110 (__ASSUME_WAITID_SYSCALL): Likewise.
78111 * sysdeps/unix/sysv/linux/dl-execstack.c
78112 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
78113 code unconditional.
78114 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
78115 conditional code.
78116 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
78117 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
78118 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
78119 code.
78120 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
78121 unconditional.
78122 [__ASSUME_WAITID_SYSCALL]: Likewise.
78123 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
78124
78125 2012-08-07 Roland McGrath <roland@hack.frob.com>
78126
78127 * sysdeps/unix/closedir.c: Renamed to ...
78128 * sysdeps/posix/closedir.c: ... here.
78129 * sysdeps/unix/dirfd.c: Renamed to ...
78130 * sysdeps/posix/dirfd.c: ... here.
78131 * sysdeps/unix/dirstream.h: Renamed to ...
78132 * sysdeps/posix/dirstream.h: ... here.
78133 * sysdeps/unix/fdopendir.c: Renamed to ...
78134 * sysdeps/posix/fdopendir.c: ... here.
78135 * sysdeps/unix/opendir.c: Renamed to ...
78136 * sysdeps/posix/opendir.c: ... here.
78137 * sysdeps/unix/readdir.c: Renamed to ...
78138 * sysdeps/posix/readdir.c: ... here.
78139 * sysdeps/unix/readdir_r.c: Renamed to ...
78140 * sysdeps/posix/readdir_r.c: ... here.
78141 * sysdeps/unix/rewinddir.c: Renamed to ...
78142 * sysdeps/posix/rewinddir.c: ... here.
78143 * sysdeps/unix/seekdir.c: Renamed to ...
78144 * sysdeps/posix/seekdir.c: ... here.
78145 * sysdeps/unix/telldir.c: Renamed to ...
78146 * sysdeps/posix/telldir.c: ... here.
78147 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
78148 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
78149 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
78150 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
78151
78152 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
78153 * bits/fcntl.h: ... here.
78154
78155 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
78156 not 0.
78157 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
78158 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
78159 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
78160 (struct flock): Move l_start, l_len to the beginning.
78161 Use __pid_t for l_pid.
78162 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
78163 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
78164 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
78165 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
78166 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
78167 [__USE_LARGEFILE64] (struct flock64): New type.
78168 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
78169
78170 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
78171 * bits/dirent.h: ... here.
78172
78173 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
78174 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
78175
78176 2012-08-07 Joseph Myers <joseph@codesourcery.com>
78177
78178 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78179 Change from 2.6.0 to 2.6.16.
78180 * sysdeps/unix/sysv/linux/configure: Regenerated.
78181 * sysdeps/unix/sysv/linux/kernel-features.h
78182 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
78183 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
78184 version.
78185 (__ASSUME_UTIMES): Likewise.
78186 (__ASSUME_CLONE_STOPPED): Remove.
78187 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
78188 architectures, not kernel version.
78189 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
78190 (__ASSUME_NO_CLONE_DETACHED): Likewise.
78191 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78192 (__ASSUME_WAITID_SYSCALL): Likewise.
78193 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
78194 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
78195 * README: State 2.6.16 as minimum Linux kernel version. Do not
78196 refer to older versions.
78197
78198 2012-08-06 Roland McGrath <roland@hack.frob.com>
78199
78200 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
78201 Define alphasort64 as an alias.
78202 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
78203 Define versionsort64 as an alias.
78204 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
78205 Define scandir64 as an alias.
78206 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
78207 Define scandirat64 as an alias.
78208 * dirent/alphasort64.c (alphasort64):
78209 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
78210 * dirent/versionsort64.c: Likewise.
78211 * dirent/scandir64.c: Likewise.
78212 * dirent/scandirat64.c: Likewise.
78213 * sysdeps/wordsize-64/alphasort.c: File removed.
78214 * sysdeps/wordsize-64/alphasort64.c: File removed.
78215 * sysdeps/wordsize-64/scandir.c: File removed.
78216 * sysdeps/wordsize-64/scandir64.c: File removed.
78217 * sysdeps/wordsize-64/scandirat.c: File removed.
78218 * sysdeps/wordsize-64/scandirat64.c: File removed.
78219 * sysdeps/wordsize-64/versionsort.c: File removed.
78220 * sysdeps/wordsize-64/versionsort64.c: File removed.
78221 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
78222 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
78223 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
78224 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
78225 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
78226 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
78227 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
78228 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
78229
78230 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
78231 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78232 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
78233 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78234 [defined __arch64__ || defined __sparcv9]
78235 (__INO_T_MATCHES_INO64_T): New macro.
78236 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78237 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
78238 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
78239 * sysdeps/unix/sysv/linux/bits/dirent.h
78240 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
78241 (_DIRENT_MATCHES_DIRENT64): New macro.
78242
78243 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
78244 Define lockf64 as an alias.
78245 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
78246 Define fseeko64 as an alias.
78247 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
78248 Define ftello64 as an alias.
78249 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
78250 Define _IO_fgetpos64 and fgetpos64 as aliases.
78251 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
78252 Define _IO_fsetpos64 and fsetpos64 as aliases.
78253 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
78254 Conditionalize body on this.
78255 * libio/fseeko64.c: Likewise.
78256 * libio/ftello64.c: Likewise.
78257 * libio/iofgetpos64.c: Likewise.
78258 * libio/iofsetpos64.c: Likewise.
78259 * sysdeps/wordsize-64/lockf.c: File removed.
78260 * sysdeps/wordsize-64/lockf64.c: File removed.
78261 * sysdeps/wordsize-64/fseeko.c: File removed.
78262 * sysdeps/wordsize-64/fseeko64.c: File removed.
78263 * sysdeps/wordsize-64/ftello.c: File removed.
78264 * sysdeps/wordsize-64/ftello64.c: File removed.
78265 * sysdeps/wordsize-64/iofgetpos.c: File removed.
78266 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
78267 * sysdeps/wordsize-64/iofsetpos.c: File removed.
78268 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
78269 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
78270 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
78271 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
78272 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
78273 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
78274 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
78275 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
78276 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
78277 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
78278 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
78279
78280 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78281 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78282 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
78283 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78284 [defined __arch64__ || defined __sparcv9]
78285 (__OFF_T_MATCHES_OFF64_T): New macro.
78286 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78287 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78288 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78289 (__OFF_T_MATCHES_OFF64_T): New macro.
78290
78291 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
78292
78293 * stdlib/secure-getenv.c (__secure_getenv): Replace
78294 GLIBC_2_16 with GLIBC_2_17.
78295
78296 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
78297
78298 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
78299 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
78300
78301 2012-08-03 David S. Miller <davem@davemloft.net>
78302
78303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78304
78305 2012-08-03 Joseph Myers <joseph@codesourcery.com>
78306
78307 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
78308 Remove.
78309 (__ASSUME_CORRECT_SI_PID): Likewise.
78310 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
78311 (__ASSUME_TMPFS_NAME): Likewise.
78312 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
78313 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
78314 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
78315 (HAVE_AUX_SECURE): Make definition unconditional.
78316 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
78317 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
78318
78319 2012-08-03 Roland McGrath <roland@hack.frob.com>
78320
78321 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
78322 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
78323 * sysdeps/mach/hurd/eloop-threshold.h: New file.
78324 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
78325 __eloop_threshold instead of SYMLOOP_MAX.
78326
78327 * sysdeps/generic/eloop-threshold.h: New file.
78328 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
78329 of MAXSYMLINKS.
78330 * elf/chroot_canon.c (chroot_canon): Likewise.
78331
78332 2012-08-03 Joseph Myers <joseph@codesourcery.com>
78333
78334 [BZ #13717]
78335 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78336 Change to 2.6.0 everywhere.
78337 * sysdeps/unix/sysv/linux/configure: Regenerated.
78338 * sysdeps/unix/sysv/linux/kernel-features.h
78339 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
78340 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
78341 kernel versions.
78342 (__ASSUME_POSIX_TIMERS): Define unconditionally.
78343 (__ASSUME_FUTEX_REQUEUE): Remove.
78344 (__ASSUME_STATFS64): Define unconditionally.
78345 (__ASSUME_AT_SECURE): Likewise.
78346 (__ASSUME_CORRECT_SI_PID): Likewise.
78347 (__ASSUME_TGKILL): Define without depending on kernel version for
78348 i386.
78349 (__ASSUME_UTIMES): Likewise.
78350 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
78351 kernel version.
78352 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
78353 (__ASSUME_TMPFS_NAME): Likewise.
78354 * README: Update reference to Linux kernel versions.
78355
78356 2012-08-02 Marek Polacek <polacek@redhat.com>
78357
78358 [BZ #14150]
78359 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
78360 libc_cv_asm_type_prefix with %.
78361 * configure: Regenerated.
78362 * include/libc-symbols.h: Remove comment about
78363 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78364 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
78365 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
78366 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
78367 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
78368 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78369 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
78370 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
78371 * elf/tst-unique2mod1.c: Likewise.
78372 * elf/tst-unique1mod2.c: Likewise.
78373 * elf/tst-unique1mod1.c: Likewise.
78374 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
78375 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
78376 Replace ASM_TYPE_DIRECTIVE with .type.
78377 * sysdeps/s390/s390-64/sysdep.h: Likewise.
78378 * sysdeps/i386/sysdep.h: Likewise.
78379 * sysdeps/x86_64/sysdep.h: Likewise.
78380 * sysdeps/sh/sysdep.h: Likewise.
78381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78382 Do not define ASM_TYPE_DIRECTIVE.
78383 * sysdeps/powerpc/sysdep.h: Likewise.
78384 * sysdeps/powerpc/powerpc32/sysdep.h:
78385 Replace ASM_TYPE_DIRECTIVE with .type.
78386 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
78387 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
78388 * sysdeps/i386/fpu/e_powf.S: Likewise.
78389 * sysdeps/i386/fpu/e_expl.S: Likewise.
78390 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78391 * sysdeps/i386/fpu/e_acosh.S: Likewise.
78392 * sysdeps/i386/fpu/e_pow.S: Likewise.
78393 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
78394 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78395 * sysdeps/i386/fpu/s_expm1.S: Likewise.
78396 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78397 * sysdeps/i386/fpu/e_log2.S: Likewise.
78398 * sysdeps/i386/fpu/e_log2l.S: Likewise.
78399 * sysdeps/i386/fpu/e_scalb.S: Likewise.
78400 * sysdeps/i386/fpu/e_powl.S: Likewise.
78401 * sysdeps/i386/fpu/e_log10f.S: Likewise.
78402 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78403 * sysdeps/i386/fpu/e_logl.S: Likewise.
78404 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78405 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78406 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78407 * sysdeps/i386/fpu/e_log2f.S: Likewise.
78408 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78409 * sysdeps/i386/fpu/e_log.S: Likewise.
78410 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78411 * sysdeps/i386/fpu/e_logf.S: Likewise.
78412 * sysdeps/i386/fpu/e_log10l.S: Likewise.
78413 * sysdeps/i386/fpu/e_atanh.S: Likewise.
78414 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78415 * sysdeps/i386/fpu/e_log10.S: Likewise.
78416 * sysdeps/i386/fpu/s_frexp.S: Likewise.
78417 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78418 * sysdeps/i386/fpu/s_asinh.S: Likewise.
78419 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78420 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78421 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
78422 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78423 * sysdeps/i386/i686/strtok.S: Likewise.
78424 * sysdeps/i386/i386-mcount.S: Likewise.
78425 * sysdeps/i386/strtok.S: Likewise.
78426 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
78427 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78428 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78429 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78430 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
78431 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78432 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78433 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78434 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78435 * sysdeps/x86_64/_mcount.S: Likewise.
78436 * sysdeps/x86_64/strtok.S: Likewise.
78437 * sysdeps/sh/_mcount.S: Likewise.
78438
78439 2012-08-01 Roland McGrath <roland@hack.frob.com>
78440
78441 * libio/iofopen.c: Include <fcntl.h>.
78442 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
78443 (_IO_fopen64, fopen64): Define as aliases.
78444 * libio/iofopen64.c: Include <fcntl.h>.
78445 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
78446 Conditionalize body on this.
78447 * sysdeps/wordsize-64/iofopen.c: File removed.
78448 * sysdeps/wordsize-64/iofopen64.c: File removed.
78449
78450 2012-08-01 Marek Polacek <polacek@redhat.com>
78451
78452 * libc/Makeconfig: Use elf in place of binfmt-subdir.
78453 Use dlfcn directly instead of a variable.
78454 (binfmt-subdir): Do not define.
78455 (dlfcn): Likewise.
78456
78457 2012-08-01 Joseph Myers <joseph@codesourcery.com>
78458
78459 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
78460 Remove all definitions.
78461 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
78462 <kernel-features.h>.
78463 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78464 (miss_F_GETOWN_EX): Remove all definitions.
78465 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
78466 macro definition.
78467 [!__ASSUME_FCNTL64]: Remove conditional code.
78468 [__ASSUME_FCNTL64]: Make code unconditional.
78469 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
78470 <kernel-features.h>.
78471 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78472 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
78473 (lockf64) [__NR_fcntl64]: Make code unconditional.
78474 (lockf64) [__ASSUME_FCNTL64]: Likewise.
78475
78476 * sysdeps/unix/sysv/linux/kernel-features.h
78477 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
78478 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
78479 Make code unconditional.
78480 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78481 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
78483 [__NR_vfork]: Make code unconditional.
78484 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78485 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
78487 [__NR_vfork]: Make code unconditional.
78488 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78489 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78490
78491 2012-08-01 Roland McGrath <roland@hack.frob.com>
78492
78493 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
78494 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
78495
78496 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78497 Define mkstemp64 as an alias.
78498 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78499 Define mkstemps64 as an alias.
78500 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78501 Define mkostemp64 as an alias.
78502 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78503 Define mkostemps64 as an alias.
78504 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
78505 Conditionalize body on this.
78506 * misc/mkostemp64.c: Likewise.
78507 * misc/mkostemps64.c: Likewise.
78508 * misc/mkstemps64.c: Likewise.
78509 * sysdeps/wordsize-64/mkstemp64.c: File removed.
78510 * sysdeps/wordsize-64/mkostemp64.c: File removed.
78511 * sysdeps/wordsize-64/mkostemp.c: File removed.
78512 * sysdeps/wordsize-64/mkstemp.c: File removed.
78513 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
78514 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
78515 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
78516 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
78517
78518 [BZ #14138]
78519 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
78520 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
78521 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
78522 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
78523
78524 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
78525 compat_symbol macros from <shlib-compat.h> rather than the underlying
78526 default_symbol_version and symbol_version macros, so that DEFAULT
78527 lines in shlib-versions are respected.
78528 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
78529
78530 2012-08-01 Florian Weimer <fweimer@redhat.com>
78531
78532 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
78533 Declare with warn_unused_result.
78534 (setgid, setregid, setegid, setresgid): Likewise.
78535 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
78536 Likewise.
78537 * WUR-REPORT: Remove set*id functions.
78538
78539 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
78540
78541 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
78542
78543 2012-07-31 Roland McGrath <roland@hack.frob.com>
78544
78545 [BZ #10191]
78546 * include/sys/socket.h (__libc_accept, __libc_accept4):
78547 Add attribute_hidden.
78548 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
78549
78550 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
78551 use of PTR_MANGLE.
78552 * inet/getnetgrent_r.c (setup): Likewise.
78553
78554 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
78555
78556 2012-07-31 David S. Miller <davem@davemloft.net>
78557
78558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78559
78560 2012-07-31 Joseph Myers <joseph@codesourcery.com>
78561
78562 [BZ #13629]
78563 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
78564 value between 1.0 and 2.0 and smaller part has absolute value less
78565 than 1.0.
78566 * math/s_clog10.c (__clog10): Likewise.
78567 * math/s_clog10f.c (__clog10f): Likewise.
78568 * math/s_clog10l.c (__clog10l): Likewise.
78569 * math/s_clogf.c (__clogf): Likewise.
78570 * math/s_clogl.c (__clogl): Likewise.
78571 * math/libm-test.inc (clog_test): Add more tests.
78572 (clog10_test): Likewise.
78573 * sysdeps/i386/fpu/libm-test-ulps: Update.
78574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78575
78576 2012-07-31 Florian Weimer <fweimer@redhat.com>
78577
78578 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
78579 Exit with zero in case no suitable GID is found, and write a
78580 message to standard error.
78581
78582 2012-07-30 Roland McGrath <roland@hack.frob.com>
78583
78584 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
78585 rather than to 1.
78586 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
78587 (MAXPATHLEN): Removed.
78588 (NOGROUP, NODEV): New macros.
78589 (setbit, clrbit, isset, isclr): New macros.
78590 (howmany, roundup, powerof2): New macros.
78591 (DEV_BSIZE): New macro.
78592
78593 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
78594 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
78595
78596 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
78597 definition on [!__NO_LONG_DOUBLE_MATH].
78598
78599 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
78600 PTR_MANGLE and PTR_DEMANGLE.
78601
78602 * socket/accept4.c (accept4): Rename to __libc_accept4.
78603 Define accept4 as a weak alias.
78604
78605 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
78606 on [_DIRENT_HAVE_D_TYPE].
78607 * io/ftw.c (ftw_dir): Likewise.
78608
78609 * io/xmknod.c (__xmknod): Don't check PATH for being null.
78610
78611 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
78612
78613 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
78614 Use the BSD numbers rather than the arbitrary ones we had.
78615 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
78616 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
78617 (SIGXCPU, SIGXFSZ): New macros.
78618 (_NSIG): Now 32.
78619
78620 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
78621 initializer on [_LIBC_REENTRANT].
78622
78623 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
78624 definitions inside [_POSIX_MAPPED_FILES].
78625
78626 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
78627
78628 * dirent/opendir.c: Include <fcntl.h>.
78629
78630 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
78631 (__libc_getspecific): Likewise.
78632 (__libc_key_create): Likewise.
78633
78634 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
78635 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
78636 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
78637 (tmpfile64): Define as alias.
78638 * sysdeps/wordsize-64/tmpfile.c: File removed.
78639 * sysdeps/wordsize-64/tmpfile64.c: File removed.
78640 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
78641 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
78642
78643 * stdio-common/vfscanf.c: Include <stdbool.h>.
78644 * nss/makedb.c: Likewise.
78645 * stdio-common/_i18n_number.h: Likewise.
78646 * argp/argp-help.c: Likewise.
78647 * posix/wordexp.c: Likewise.
78648 * sysdeps/posix/spawni.c: Likewise.
78649 * nss/nss_files/files-initgroups.c: Likewise.
78650 * stdio-common/reg-modifier.c: Include <stdlib.h>.
78651 * nss/nss_files/files-initgroups.c: Likewise.
78652 * nss/nss_db/db-netgrp.c: Likewise.
78653 * nss/nss_db/db-initgroups.c: Likewise.
78654 * io/fchmodat.c: Include <sys/stat.h>.
78655
78656 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
78657 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
78658
78659 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
78660 [HAVE_MMAP].
78661
78662 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
78663 Add multiple inclusion protection.
78664
78665 2012-07-27 David S. Miller <davem@davemloft.net>
78666
78667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78668
78669 2012-07-27 Gary Benson <gbenson@redhat.com>
78670
78671 [BZ #14298]
78672 * elf/rtld.c: Include <stap-probe.h>.
78673 (dl_main): Added static probes "init_start" and "init_complete".
78674 * elf/dl-load.c: Include <stap-probe.h>.
78675 (lose): Take new parameter "nsid".
78676 Added static probe "map_failed".
78677 (_dl_map_object_from_fd): Pass namespace id to lose.
78678 Added static probe "map_start".
78679 (open_verify): Pass namespace id to lose.
78680 * elf/dl-open.c: Include <stap-probe.h>.
78681 (dl_open_worker) Added static probes "map_complete", "reloc_start"
78682 and "reloc_complete".
78683 * elf/dl-close.c: Include <stap-probe.h>.
78684 (_dl_close_worker): Added static probes "unmap_start" and
78685 "unmap_complete".
78686 * elf/rtld-debugger-interface.txt: New file documenting the above.
78687
78688 2012-07-26 Roland McGrath <roland@hack.frob.com>
78689
78690 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
78691 rather than a string variable.
78692 * sunrpc/rpc_main.c (h_output): Likewise.
78693 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
78694
78695 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
78696
78697 * inet/check_native.c: New file.
78698
78699 2012-07-26 Joseph Myers <joseph@codesourcery.com>
78700
78701 [BZ #13629]
78702 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
78703 if larger part has absolute value 1.0.
78704 * math/s_clog10.c (__clog10): Likewise.
78705 * math/s_clog10f.c (__clog10f): Likewise.
78706 * math/s_clog10l.c (__clog10l): Likewise.
78707 * math/s_clogf.c (__clogf): Likewise.
78708 * math/s_clogl.c (__clogl): Likewise.
78709 * math/libm-test.inc (clog_test): Add more tests.
78710 (clog10_test): Likewise.
78711 * sysdeps/i386/fpu/libm-test-ulps: Update.
78712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78713
78714 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
78715 (pltexit): Likewise.
78716 (La_regs): Likewise.
78717 (La_retval): Likewise.
78718 (int_retval): Likewise.
78719 Update #error for removed macros to refer only to definitions in
78720 tst-audit.h.
78721 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
78722 macro.
78723 (pltexit): Likewise.
78724 (La_regs): Likewise.
78725 (La_retval): Likewise.
78726 (int_retval): Likewise.
78727 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
78728 macro.
78729 (pltexit): Likewise.
78730 (La_regs): Likewise.
78731 (La_retval): Likewise.
78732 (int_retval): Likewise.
78733 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
78734 macro.
78735 (pltexit): Likewise.
78736 (La_regs): Likewise.
78737 (La_retval): Likewise.
78738 (int_retval): Likewise.
78739 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
78740 macro.
78741 (pltexit): Likewise.
78742 (La_regs): Likewise.
78743 (La_retval): Likewise.
78744 (int_retval): Likewise.
78745 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
78746 macro.
78747 (pltexit): Likewise.
78748 (La_regs): Likewise.
78749 (La_retval): Likewise.
78750 (int_retval): Likewise.
78751 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
78752 macro.
78753 (pltexit): Likewise.
78754 (La_regs): Likewise.
78755 (La_retval): Likewise.
78756 (int_retval): Likewise.
78757 * sysdeps/generic/tst-audit.h: Update comment to refer only to
78758 macro definitions in tst-audit.h.
78759 * sysdeps/i386/tst-audit.h: New file.
78760 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
78761 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
78762 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
78763 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
78764 * sysdeps/sh/tst-audit.h: Likewise.
78765 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
78766 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
78767 * sysdeps/x86_64/tst-audit.h: Likewise.
78768
78769 2012-07-26 Andreas Jaeger <aj@suse.de>
78770
78771 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
78772 ptrace.
78773
78774 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
78775 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
78776 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
78777 PTRACE_O_MASK.
78778 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
78779 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
78780 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
78781
78782 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
78783 value.
78784
78785 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
78786 _sigsys.
78787 (si_call_addr, si_syscall, si_arch): Define new macro.
78788 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
78789 _sigsys.
78790 (si_call_addr, si_syscall, si_arch): Define new marcro.
78791 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
78792 _sigsys.
78793 (si_call_addr, si_syscall, si_arch): Define new macro.
78794 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
78795 _sigsys.
78796 (si_call_addr, si_syscall, si_arch): Define new macro.
78797
78798 2012-07-25 Joseph Myers <joseph@codesourcery.com>
78799
78800 [BZ #13717]
78801 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78802 Change to 2.4.21 where previously 2.4.1.
78803 * sysdeps/unix/sysv/linux/configure: Regenerated.
78804 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
78805 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
78806 Linux kernel version.
78807 (__ASSUME_STD_AUXV): Remove.
78808 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
78809 kernel version.
78810 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
78811 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
78812 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
78813 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
78814 (__ASSUME_NETLINK_SUPPORT): Likewise.
78815 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
78816 (__no_netlink_support): Remove conditional definition.
78817 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
78818 Remove.
78819 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
78820 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
78821 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
78822 (if_nameindex_ioctl): Remove.
78823 (if_nameindex_netlink): Do not handle __no_netlink_support.
78824 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
78825 code.
78826 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
78827 Remove conditional code.
78828 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
78829 code.
78830 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
78831 unconditional.
78832 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
78833 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
78834 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
78835 Remove.
78836 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
78837 [!__ASSUME_STD_AUXV]: Remove conditional code.
78838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
78839 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
78840 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
78841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
78842 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
78843 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
78844 code.
78845 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
78846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
78847 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
78848 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
78849 conditional code.
78850 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
78851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
78852 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
78853 code.
78854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
78855 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
78856 conditional code.
78857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
78858 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
78859 code unconditional.
78860 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78861 conditional code.
78862 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78863 unconditional.
78864 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78865 conditional code.
78866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
78867 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78868 unconditional.
78869 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78870 conditional code.
78871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
78872 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
78873 code unconditional.
78874 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78875 conditional code.
78876 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78877 unconditional.
78878 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78879 conditional code.
78880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
78881 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
78882 code unconditional.
78883 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78884 conditional code.
78885 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78886 unconditional.
78887 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78888 conditional code.
78889
78890 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
78891
78892 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
78893 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
78894 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
78895 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
78896 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
78897 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
78898 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
78899 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
78900 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
78901 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
78902 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
78903 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
78904 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
78905 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
78906 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
78907 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
78908 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
78909 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
78910 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
78911 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
78912 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
78913 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
78914 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
78915
78916 2012-07-25 Florian Weimer <fweimer@redhat.com>
78917
78918 * Versions.def: Add GLIBC_2.17.
78919 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
78920 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
78921 Introduce __libc_secure_getenv.
78922 * stdlib/Versions (2.17): Add secure_getenv
78923 (GLIBC_PRIVATE): Add __libc_secure_getenv.
78924 * stdlib/secure-getenv.c: Rename __secure_getenv to
78925 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
78926 symbol __secure_getenv for GLIBC_2.0.
78927 * stdlib/tst-secure-getenv.c: New.
78928 * stdlib/Makefile (tests): Add testcase.
78929 * manual/startup.texi (Environment Access): Document
78930 secure_getenv.
78931 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
78932 __libc_secure_getenv.
78933 * inet/ruserpass.c (ruserpass): Likewise.
78934 * malloc/mtrace.c (mtrace): Likewise.
78935 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
78936 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
78937 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
78938 * sysdeps/posix/tempname.c: Likewise. Evaluate
78939 HAVE_SECURE_GETENV.
78940 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
78941 __secure_getenv to __libc_secure_getenv.
78942 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
78943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
78944 Likewise.
78945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
78946 Likewise.
78947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
78948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
78949 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
78950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
78951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
78952 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
78953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
78954
78955 2012-07-25 Joseph Myers <joseph@codesourcery.com>
78956
78957 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
78958 (struct La_i86_retval): Likewise.
78959 (struct La_x86_64_regs): Likewise.
78960 (struct La_x86_64_retval): Likewise.
78961 (struct La_x32_regs): Likewise.
78962 (struct La_x32_retval): Likewise.
78963 (struct La_ppc32_regs): Likewise.
78964 (struct La_ppc32_retval): Likewise.
78965 (struct La_ppc64_regs): Likewise.
78966 (struct La_ppc64_retval): Likewise.
78967 (struct La_sh_regs): Likewise.
78968 (struct La_sh_retval): Likewise.
78969 (struct La_s390_32_regs): Likewise.
78970 (struct La_s390_32_retval): Likewise.
78971 (struct La_s390_64_regs): Likewise.
78972 (struct La_s390_64_retval): Likewise.
78973 (struct La_sparc32_regs): Likewise.
78974 (struct La_sparc32_retval): Likewise.
78975 (struct La_sparc64_regs): Likewise.
78976 (struct La_sparc64_retval): Likewise.
78977 (struct audit_ifaces): Remove architecture-specific pltenter and
78978 pltexit members.
78979 * sysdeps/i386/ldsodefs.h: New file.
78980 * sysdeps/powerpc/ldsodefs.h: Likewise.
78981 * sysdeps/s390/ldsodefs.h: Likewise.
78982 * sysdeps/sh/ldsodefs.h: Likewise.
78983 * sysdeps/sparc/ldsodefs.h: Likewise.
78984 * sysdeps/x86_64/ldsodefs.h: Likewise.
78985
78986 2012-07-25 Marek Polacek <polacek@redhat.com>
78987
78988 [BZ #6808]
78989 * math/libm-test.inc (yn_test): Add another test.
78990 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
78991 to ERANGE when the result is +-Inf.
78992 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
78993 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
78994 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
78995 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
78996
78997 2012-07-24 Joseph Myers <joseph@codesourcery.com>
78998
78999 * conform/data/time.h-data (NULL): Use macro-constant. Require
79000 equal to 0.
79001 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
79002 clock_t.
79003 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
79004
79005 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
79006
79007 * configure.in <sysdeps resolving>: Correct printing
79008 Implies_before.
79009 * configure: Regenerate.
79010
79011 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
79012
79013 * math/w_ilogb.c: Include <limits.h>.
79014 * math/w_ilogbl.c: Likewise.
79015
79016 2012-07-20 Joseph Myers <joseph@codesourcery.com>
79017
79018 * manual/lang.texi (__va_copy): Document primarily as ISO C99
79019 va_copy. Document allowing for unavailable va_copy only as
79020 pre-C99 compatibility.
79021 * manual/string.texi (Copying and Concatenation): Use va_copy
79022 instead of __va_copy in concat example.
79023
79024 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
79025
79026 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
79027 (__sendto): Use create_address_port. Initialize APORT and deallocate
79028 it if not null.
79029
79030 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
79031 with O_NOLINK passed to __file_name_lookup.
79032
79033 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
79034 with O_NOLINK passed to __file_name_lookup.
79035
79036 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
79037 negative N or less than NGIDS.
79038
79039 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
79040 type to string_t. Set ERANGE as errno and return it if NAME is not big
79041 enough. Use memcpy instead of strncpy.
79042
79043 2012-07-20 Joseph Myers <joseph@codesourcery.com>
79044
79045 * elf/Makefile (check-data): Remove.
79046 (localplt.data): New vpath directive.
79047 ($(objpfx)check-localplt.out): Use localplt.data from vpath
79048 instead of $(check-data).
79049 * scripts/data/localplt-generic.data: Move to ...
79050 * sysdeps/generic/localplt.data: ... here.
79051 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
79052 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
79053 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
79054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
79055 ... here.
79056 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
79057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
79058 ... here.
79059 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
79060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
79061 ... here.
79062 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
79063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
79064 ... here.
79065 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
79066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
79067 ... here.
79068 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
79069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
79070 ... here.
79071
79072 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79073
79074 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
79075 PPC32 and PPC64 files.
79076 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
79077 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
79078
79079 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79080
79081 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
79082 __makecontext_ret to ...
79083 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
79084 ... here and call exit if uc_link is NULL. New file.
79085 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
79086 __makecontext_ret.S.
79087 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
79088 __makecontext_ret to ...
79089 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
79090 ... here and call exit if uc_link is NULL. New file.
79091 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
79092 __makecontext_ret.S.
79093
79094 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79095
79096 * elf/elf.h (R_390_IRELATIVE): New definition.
79097 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
79098 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
79099 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
79100 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
79101 (elf_machine_lazy_rel): Likewise.
79102 * sysdeps/s390/dl-irel.h: New file.
79103 * sysdeps/s390/s390-64/memcpy.S: New asm code.
79104 * sysdeps/s390/s390-64/memset.S: New asm code.
79105 * sysdeps/s390/s390-64/memcmp.S: New asm code.
79106 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
79107 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
79108 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
79109 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
79110 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
79111 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
79112 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
79113 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
79114 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
79115 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
79116 * sysdeps/s390/s390-32/memcpy.S: New asm code.
79117 * sysdeps/s390/s390-32/memset.S: New asm code.
79118 * sysdeps/s390/s390-32/memcmp.S: New asm code.
79119
79120 2012-07-17 Marek Polacek <polacek@redhat.com>
79121
79122 [BZ #14349]
79123 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
79124 * sysdeps/s390/s390-64/configure.in: Likewise.
79125 * sysdeps/sparc/configure.in: Likewise.
79126 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
79127 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
79128 * sysdeps/i386/configure.in: Likewise.
79129 * sysdeps/x86_64/configure.in: Likewise.
79130 * sysdeps/sh/configure.in: Likewise.
79131 * sysdeps/s390/s390-32/configure: Regenerated.
79132 * sysdeps/s390/s390-64/configure: Likewise.
79133 * sysdeps/x86_64/configure: Likewise.
79134 * sysdeps/sh/configure: Likewise.
79135 * sysdeps/powerpc/powerpc64/configure: Likewise.
79136 * sysdeps/powerpc/powerpc32/configure: Likewise.
79137 * sysdeps/sparc/configure: Likewise.
79138 * sysdeps/i386/configure: Likewise.
79139
79140 * elf/dl-open.c: Comment fixes.
79141
79142 2012-07-17 Joseph Myers <joseph@codesourcery.com>
79143
79144 * Makefile [CXX] (check-data): Remove.
79145 [CXX] (c++-types.data): New vpath directive.
79146 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
79147 vpath. Do not allow for C++ type data being missing.
79148 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
79149 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
79150 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
79151 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
79152 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
79153 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
79154 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
79155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
79156 ... here.
79157 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
79158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
79159 ... here.
79160 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
79161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
79162 ... here.
79163 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
79164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
79165 ... here.
79166 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
79167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
79168 ... here.
79169 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
79170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
79171 ... here.
79172 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
79173 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
79174 ... here.
79175 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
79176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
79177
79178 * elf/tls-macros.h (TLS_LE): Move architecture-specific
79179 definitions to architecture-specific files.
79180 (TLS_IE): Likewise.
79181 (TLS_LD): Likewise.
79182 (TLS_GD): Likewise.
79183 * sysdeps/i386/tls-macros.h: New file.
79184 * sysdeps/powerpc/tls-macros.h: Likewise.
79185 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
79186 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
79187 * sysdeps/sh/tls-macros.h: Likewise.
79188 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
79189 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
79190 * sysdeps/x86_64/tls-macros.h: Likewise.
79191
79192 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
79193
79194 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
79195 zero value for regular exit case.
79196
79197 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
79198 (__start_context): Preserve zero value for regular exit case.
79199
79200 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
79201 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79202
79203 * manual/setjmp.texi (setcontext): Clarify normal process
79204 termination when uc_link is the null pointer.
79205 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
79206 exit call.
79207
79208 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
79209
79210 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
79211 preprocessor. Test for each exception mask separately.
79212
79213 2012-07-16 Andreas Jaeger <aj@suse.de>
79214
79215 * po/ru.po: Update from translation team.
79216
79217 2012-07-15 Joseph Myers <joseph@codesourcery.com>
79218
79219 * conform/data/string.h-data (NULL): Use macro-constant. Require
79220 equal to 0.
79221 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
79222 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
79223 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
79224 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
79225 [ISO || ISO99 || ISO11] (*_t): Do not allow.
79226
79227 2012-07-13 Andreas Jaeger <aj@suse.de>
79228
79229 * po/fr.po: Update from translation team.
79230
79231 2012-07-12 Marek Polacek <polacek@redhat.com>
79232
79233 [BZ #14173]
79234 * math/libm-test.inc (yn_test): Add test for BZ #14173.
79235 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
79236 loop condition.
79237
79238 2012-07-12 Joseph Myers <joseph@codesourcery.com>
79239
79240 [BZ #13717]
79241 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
79242 Change to 2.4.1 where previously 2.4.0.
79243 * sysdeps/unix/sysv/linux/configure: Regenerated.
79244 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
79245 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
79246 version.
79247 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
79248 (__ASSUME_AT_CLKTCK): Remove.
79249 (__ASSUME_AT_PAGESIZE): Likewise.
79250 (__ASSUME_AT_XID): Likewise.
79251 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
79252 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
79253 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
79254 unconditionally.
79255 (HAVE_AUX_PAGESIZE): Likewise.
79256 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
79257 [__ASSUME_AT_CLKTCK]: Make code unconditional.
79258 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
79259
79260 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
79261
79262 [BZ #14307]
79263 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
79264 the temporary buffer used to invoke __gethostbyname2_r,
79265 __gethostbyaddr_r and gethostbyname4_r to make room for struct
79266 host_data / struct gaih_addrtuple.
79267 * resolv/nss_dns/dns-host.c (global scope): Move definition of
79268 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
79269 header file nss/nsswitch.h.
79270 * nss/nsswitch.h (global scope): Add definition of implementation
79271 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
79272 resolv/nss_dns/dns-host.c).
79273
79274 2012-07-11 Andreas Jaeger <aj@suse.de>
79275
79276 * po/fr.po: Update from translation team.
79277
79278 * po/sv.po: Update from translation team
79279 * po/fr.po: Another update from translation team.
79280
79281 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79282
79283 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
79284 for subnormals or multiply small sinh result by itself.
79285 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
79286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79287
79288 2012-07-11 David S. Miller <davem@davemloft.net>
79289
79290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
79291
79292 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
79293
79294 [BZ #14347]
79295 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
79296 (INTERNAL_MARK): Shift it here.
79297
79298 2012-07-10 Marek Polacek <polacek@redhat.com>
79299
79300 [BZ #14151]
79301 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
79302 libc_cv_asm_global_directive with .globl.
79303 * configure: Regenerated.
79304 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
79305 with .globl.
79306 * sysdeps/i386/configure: Regenerated.
79307 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
79308 with .globl.
79309 * sysdeps/x86_64/configure: Regenerated.
79310 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
79311 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
79312 * elf/tst-unique2mod2.c: Likewise.
79313 * elf/tst-unique2mod1.c: Likewise.
79314 * elf/tst-unique1mod2.c: Likewise.
79315 * elf/tst-unique1mod1.c: Likewise.
79316 * sysdeps/s390/s390-32/sysdep.h: Likewise.
79317 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
79318 * sysdeps/s390/s390-64/sysdep.h: Likewise.
79319 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
79320 * sysdeps/mach/sysdep.h: Likewise.
79321 * sysdeps/i386/sysdep.h: Likewise.
79322 * sysdeps/i386/i386-mcount.S: Likewise.
79323 * sysdeps/x86_64/_mcount.S: Likewise.
79324 * sysdeps/x86_64/sysdep.h: Likewise.
79325 * sysdeps/sh/_mcount.S: Likewise.
79326 * sysdeps/sh/sysdep.h: Likewise.
79327 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
79328 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
79329 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
79330 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
79331 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
79332 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
79333 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
79334 * locale/localeinfo.h: Likewise.
79335 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
79336 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
79337
79338 2012-07-09 Roland McGrath <roland@hack.frob.com>
79339
79340 [BZ #14336]
79341 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
79342 system".
79343 * manual/message.texi (The Uniforum approach): Likewise.
79344 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
79345 (glibc iconv Implementation): Likewise.
79346
79347 2012-07-09 Joseph Myers <joseph@codesourcery.com>
79348
79349 [BZ #14337]
79350 * math/s_clog.c (__clog): Avoid scaling a value down where that
79351 could result in underflow.
79352 * math/s_clog10.c (__clog10): Likewise.
79353 * math/s_clog10f.c (__clog10f): Likewise.
79354 * math/s_clog10l.c (__clog10l): Likewise.
79355 * math/s_clogf.c (__clogf): Likewise.
79356 * math/s_clogl.c (__clogl): Likewise.
79357 * math/libm-test.inc (clog_test): Add more tests.
79358 (clog10_test): Likewise.
79359 * sysdeps/i386/fpu/libm-test-ulps: Update.
79360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79361
79362 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
79363
79364 [BZ #14283]
79365 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
79366 by 7 not 8 to examine high bit of fractional part.
79367
79368 [BZ #14042]
79369 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
79370 for call to __mcount_internal.
79371 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
79372 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
79373 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
79374
79375 2012-07-06 Joseph Myers <joseph@codesourcery.com>
79376
79377 [BZ #14154]
79378 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
79379 approximation for values within 0x1p-13f of an odd multiple of
79380 pi/4.
79381 * math/libm-test.inc (tan_test): Do not allow spurious underflow
79382 exception. Add more tests.
79383 * sysdeps/i386/fpu/libm-test-ulps: Update.
79384
79385 [BZ #6778]
79386 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
79387 inputs and return -1 for them. Do not check for +Inf in case not
79388 reachable for +Inf.
79389 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
79390 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
79391 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79392 and return -1 for them. Do not check for +Inf in case not
79393 reachable for +Inf.
79394 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
79395 define.
79396 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79397 and return -1 for them. Do not check for +Inf in case not
79398 reachable for +Inf.
79399 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
79400 spurious underflow.
79401 * sysdeps/i386/fpu/libm-test-ulps: Update.
79402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79403
79404 2012-07-06 Mike Frysinger <vapier@gentoo.org>
79405
79406 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
79407
79408 2012-07-05 Joseph Myers <joseph@codesourcery.com>
79409
79410 [BZ #14157]
79411 [BZ #14331]
79412 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
79413 could result in spurious underflow. Scale down values above
79414 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
79415 * math/s_csqrtf.c (__csqrtf): Likewise.
79416 * math/s_csqrtl.c (__csqrtl): Likewise.
79417 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
79418 spurious underflow.
79419 * sysdeps/i386/fpu/libm-test-ulps: Update.
79420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79421
79422 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
79423
79424 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
79425 xopen-msg.sed.
79426 * catgets/xopen-msg.awk: New file.
79427 * catgets/xopen-msg.sed: Removed.
79428
79429 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
79430 po2text.sed.
79431 * intl/po2test.awk: New file.
79432 * intl/po2test.sed: Removed.
79433
79434 2012-07-04 Joseph Myers <joseph@codesourcery.com>
79435
79436 [BZ #14328]
79437 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
79438 or multiply small sinh result by itself.
79439 * math/s_ctanf.c (__ctanf): Likewise.
79440 * math/s_ctanh.c (__ctanh): Likewise.
79441 * math/s_ctanhf.c (__ctanhf): Likewise.
79442 * math/s_ctanhl.c (__ctanhl): Likewise.
79443 * math/s_ctanl.c (__ctanl): Likewise.
79444 * math/libm-test.inc (ctan_test_tonearest): New function.
79445 (ctan_test_towardzero): Likewise.
79446 (ctan_test_downward): Likewise.
79447 (ctan_test_upward): Likewise.
79448 (ctanh_test_tonearest): Likewise.
79449 (ctanh_test_towardzero): Likewise.
79450 (ctanh_test_downward): Likewise.
79451 (ctanh_test_upward): Likewise.
79452 (main): Call these new functions.
79453 * sysdeps/i386/fpu/libm-test-ulps: Update.
79454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79455
79456 2012-07-03 Mike Frysinger <vapier@gentoo.org>
79457
79458 * .gitignore: Delete /ports entry.
79459
79460 2012-07-03 Andreas Jaeger <aj@suse.de>
79461
79462 * po/bg.po: Update from translation team.
79463 * po/cs.po: Likewise.
79464 * po/de.po: Likewise.
79465 * po/hr.po: Likewise.
79466 * po/nl.pl: Likewise.
79467 * po/pl.po: Likewise.
79468 * po/vi.po: Likewise.
79469
79470 2012-07-03 Joseph Myers <joseph@codesourcery.com>
79471
79472 * Makeconfig [!+link] (+link-before-libc): New variable.
79473 [!+link] (+link-after-libc): Likewise.
79474 [!+link] (+link-tests): Likewise.
79475 [!+link] (+link): Define in terms of $(+link-before-libc) and
79476 $(+link-after-libc).
79477 [!+link-static] (+link-static-before-libc): New variable.
79478 [!+link-static] (+link-static-after-libc): Likewise.
79479 [!+link-static] (+link-static-tests): Likewise.
79480 [!+link-static] (+link-static): Define in terms of
79481 $(+link-static-before-libc) and $(+link-static-after-libc).
79482 [build-shared] (link-libc-before-gnulib): New variable.
79483 [build-shared] (link-libc-tests): Likewise.
79484 [build-shared] (link-libc): Define in terms of
79485 $(link-libc-before-gnulib).
79486 [!build-shared] (link-libc-tests): New variable.
79487 (link-libc-static-tests): New variable.
79488 [!gnulib] (gnulib-arch): New variable.
79489 [!gnulib] (gnulib-tests): Likewise.
79490 [!gnulib] (static-gnulib-arch): Likewise.
79491 [!gnulib] (static-gnulib-tests): Likewise.
79492 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
79493 Define with "=" instead of ":=".
79494 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
79495 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
79496 * Rules (binaries-all-notests): New variable.
79497 (binaries-all-tests): Likewise.
79498 (binaries-static-notests): Likewise.
79499 (binaries-static-tests): Likewise.
79500 (binaries-all): Define using $(binaries-all-notests) and
79501 $(binaries-all-tests).
79502 (binaries-static): Define using $(binaries-static-notests) and
79503 $(binaries-static-tests).
79504 (binaries-shared-tests): New variable.
79505 (binaries-shared-notests): Likewise.
79506 (binaries-shared): Remove variable.
79507 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
79508 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
79509 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
79510 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
79511 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
79512 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
79513 * elf/Makefile (sln-modules): New variable.
79514 (extra-objs): Add $(sln-modules:=.o).
79515 (ldconfig-modules): Add static-stubs.
79516 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
79517 * elf/static-stubs.c: New file.
79518
79519 [BZ #14283]
79520 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
79521 by 7 not 8 to examine high bit of fractional part. Use volatile
79522 variables when splitting into final array of floats if
79523 __FLT_EVAL_METHOD__ != 0.
79524 * math/libm-test.inc (cos_test): Add another test.
79525 (sin_test): Likewise.
79526 * sysdeps/i386/fpu/libm-test-ulps: Update.
79527
79528 [BZ #14273]
79529 * math/libm-test.inc (cosh_test): Add more tests.
79530
79531 * version.h (RELEASE): Set to "development".
79532 (VERSION): Set to "2.16.90".
79533
79534 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
79535
79536 * NEWS: Update copyright. Remove last-updated date.
79537 Mention math library bug fixes and timezone data changes.
79538 * README: Mention GNU/Hurd, x32, and HPPA support status.
79539
79540 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
79541
79542 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
79543
79544 2012-06-27 Andreas Jaeger <aj@suse.de>
79545
79546 * manual/contrib.texi (Contributors): Add Samuel Thibault.
79547
79548 2012-06-25 Andreas Jaeger <aj@suse.de>
79549
79550 * sysdeps/s390/fpu/libm-test-ulps: Update.
79551
79552 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
79553 Thomas Schwinge <thomas@codesourcery.com>
79554
79555 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
79556 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
79557 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
79558 fanotify_mark.
79559
79560 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
79561
79562 * sysdeps/mach/start.c: Remove file.
79563 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
79564 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
79565 * sysdeps/sh/init-first.c: Likewise.
79566
79567 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
79568 registers for frame unwinding purposes, add CFI directives.
79569 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79570 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
79571 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
79572 Likewise.
79573
79574 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
79575 __fortify_fail returning.
79576 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79577
79578 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
79579 sysdeps/sh/____longjmp_chk.S.
79580 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
79581 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
79582 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
79583 (gen-as-const-headers): Append sigaltstack-offsets.sym.
79584
79585 * sysdeps/sh/abort-instr.h: New file.
79586 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
79587 process in case exit returns.
79588
79589 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
79590 initialize the GOT register before use.
79591
79592 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
79593 calculation of ARGC > 4.
79594
79595 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
79596 meaningful names to some local labels.
79597
79598 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
79599 Kaz Kojima <kkojima@rr.iij4u.or.jp>
79600
79601 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
79602 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
79603 (__arch_compare_and_exchange_val_16_acq): Likewise.
79604 (__arch_compare_and_exchange_val_32_acq): Likewise.
79605 (atomic_exchange_and_add): Fix gUSA sequence.
79606 (atomic_add): Likewise.
79607 (atomic_add_negative): Likewise.
79608 (atomic_add_zero): Likewise.
79609 (atomic_bit_test_set): Likewise.
79610
79611 2012-06-22 Andreas Schwab <schwab@redhat.com>
79612
79613 [BZ #13579]
79614 * include/link.h (struct link_map): Add l_free_initfini.
79615 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
79616 l_initfini.
79617 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
79618 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
79619 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
79620 set.
79621
79622 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
79623
79624 * configure.in: Use AC_LANG_SOURCE.
79625 * configure: Regenerate.
79626
79627 2012-06-22 Roland McGrath <roland@hack.frob.com>
79628
79629 * configure.in (libc_cv_localstatedir): New substituted variable.
79630 * configure: Regenerated.
79631 * config.make.in (localstatedir): New variable, substituted from
79632 libc_cv_localstatedir.
79633 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
79634 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
79635 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
79636 * sysdeps/gnu/configure: Regenerated.
79637
79638 2012-06-21 Jeff Law <law@redhat.com>
79639
79640 [BZ #14277]
79641 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
79642 free. Simplify list management for _LIBC case.
79643
79644 2012-06-21 Joseph Myers <joseph@codesourcery.com>
79645
79646 [BZ #14273]
79647 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
79648 Clear sign bit of 64-bit integer value before comparing against
79649 overflow value.
79650
79651 * sysdeps/mach/configure: Regenerated.
79652
79653 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
79654
79655 [BZ #14278]
79656 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
79657
79658 2012-06-21 Jeff Law <law@redhat.com>
79659
79660 [BZ #13882]
79661 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
79662 uint16_t for elements in the "seen" array to avoid char overflows.
79663 * elf/dl-fini.c (_dl_sort_fini): Likewise.
79664 * elf/dl-open.c (dl_open_worker): Likewise.
79665
79666 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
79667
79668 * scripts/list-sources.sh: Scan PORTS for translations.
79669 * po/libc.pot: Regenerated.
79670
79671 2012-06-21 Andreas Jaeger <aj@suse.de>
79672
79673 [BZ #12194]
79674 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
79675 warning.
79676 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
79677 * bits/byteswap-16.h (__bswap_16): Likewise.
79678 * bits/byteswap.h (__bswap_constant_16): Likewise.
79679
79680 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
79681
79682 [BZ #14117]
79683 * sysdeps/i386/fpu_control.h: Removed.
79684 * sysdeps/x86_64/fpu_control.h: Moved to ...
79685 * sysdeps/x86/fpu_control.h: Here.
79686
79687 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
79688 (_FPU_SETCW): Likewise.
79689
79690 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
79691
79692 [BZ #14117]
79693 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
79694 * sysdeps/x86/fpu/bits/mathinline.h: This.
79695 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
79696
79697 [BZ #14050]
79698 [BZ #14117]
79699 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
79700 functions if __x86_64__ is defined.
79701
79702 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
79703
79704 * string/endian.h: Add !__ASSEMBLER__ condition for including
79705 conversion interfaces.
79706
79707 2012-06-15 Joseph Myers <joseph@codesourcery.com>
79708
79709 [BZ #14241]
79710 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
79711 of ABS(x) in calculating zero to negative powers other than odd
79712 integers.
79713 * math/libm-test.inc (pow_test): Add more tests.
79714
79715 2012-06-15 Andreas Jaeger <aj@suse.de>
79716
79717 * manual/contrib.texi (Contributors): Update entry of Liubov
79718 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
79719 Machado Filho.
79720
79721 2012-06-15 Cyril Hrubis <metan@ucw.cz>
79722
79723 * string/string.h: Add __wur to GNU version of strerror_r.
79724
79725 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
79726
79727 [BZ #14229]
79728 * string/Makefile (tests): Add tst-strtok_r.
79729 * string/tst-strtok_r.c: New file.
79730 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
79731 RAX_LP/RDX_LP on SAVE_PTR.
79732
79733 2012-06-14 Roland McGrath <roland@hack.frob.com>
79734
79735 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
79736
79737 2012-06-14 Joseph Myers <joseph@codesourcery.com>
79738
79739 * libm_test.inc (csqrt_test): Allow more spurious underflow
79740 exceptions.
79741 (j0_test): Likewise.
79742 (j1_test): Likewise.
79743 (y0_test): Likewise.
79744 (y1_test): Likewise.
79745
79746 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
79747
79748 * po/Makefile (libc.pot): Use UTF-8 charset.
79749
79750 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
79751
79752 [BZ #14210]
79753 Suppress sign-conversion warning from FD_SET.
79754 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
79755 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
79756 not unsigned long int.
79757 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
79758
79759 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
79760
79761 [BZ #14050]
79762 [BZ #14117]
79763 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
79764 __extern_always_inline instead of __extern_inline.
79765 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
79766 (__signbit): Likewise.
79767 (__signbitl): Support C++ namespace.
79768 (lrintf): New inline function.
79769 (lrint): Likewise.
79770 (llrintf): Likewise.
79771 (llrint): Likewise.
79772 (fmaxf): Likewise.
79773 (fmax): Likewise.
79774 (fminf): Likewise.
79775 (fmin): Likewise.
79776 (rint): Likewise.
79777 (rintf): Likewise.
79778 (ceil): Likewise.
79779 (ceilf): Likewise.
79780 (floor): Likewise.
79781 (floorf): Likewise.
79782 (nearbyint): Likewise.
79783 (nearbyintf): Likewise.
79784
79785 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
79786
79787 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
79788 non-default versions.
79789
79790 2012-06-11 Roland McGrath <roland@hack.frob.com>
79791
79792 [BZ #14218]
79793 * manual/argp.texi (Argp): Reword argp_parse description slightly.
79794
79795 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
79796
79797 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
79798 (FE_UPWARD, FE_DOWNWARD): Don't define.
79799 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
79800 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
79801
79802 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
79803 reading it.
79804 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
79805 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79806
79807 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
79808
79809 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
79810 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
79811 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
79812 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
79813
79814 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
79815
79816 [BZ #14117]
79817 * sysdeps/i386/fpu/bits/fenv.h: Removed.
79818 * sysdeps/i386/fpu/Implies: New file.
79819 * sysdeps/x86_64/fpu/Implies: Likewise.
79820 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
79821 * sysdeps/x86/fpu/bits/fenv.h: This.
79822
79823 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
79824 __SSE_MATH__.
79825
79826 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
79827
79828 [BZ #14134]
79829 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
79830 character 0xffff that matches the last element of the
79831 conversion table.
79832
79833 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79834
79835 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
79836 fmodl commit.
79837
79838 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79839
79840 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
79841 values higher than 25.6283.
79842
79843 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79844
79845 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
79846 subnormal exponent extraction and add some __builtin_expect.
79847 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
79848 Fix for subnormal mantissa calculation.
79849
79850 2012-06-04 Mike Frysinger <vapier@gentoo.org>
79851
79852 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
79853 cpu2 is -1 and errno is not ENOSYS.
79854
79855 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
79856
79857 [BZ #14117]
79858 * sysdeps/i386/i486/bits/string.h: Renamed to ...
79859 * sysdeps/x86/bits/string.h: This.
79860 * sysdeps/x86_64/bits/string.h: Removed.
79861
79862 * sysdeps/i386/i486/bits/string.h: Define inline functions only
79863 if not compiling for x86-64, but compiling for >= i486.
79864
79865 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
79866 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
79867
79868 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
79869 New macro from Linux kernel 3.4.0.
79870 (FP_XSTATE_MAGIC2): Likewise.
79871 (FP_XSTATE_MAGIC2_SIZE): Likewise.
79872 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
79873 (struct _fpx_sw_bytes): New struct.
79874 (struct _xsave_hdr): Likewise.
79875 (struct _ymmh_state): Likewise.
79876 (struct _xstate): Likewise.
79877
79878 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
79879 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
79880 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
79881 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
79882 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
79883 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
79884
79885 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
79886 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
79887 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
79888 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
79889 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
79890 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
79891
79892 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
79893
79894 [BZ #13743]
79895 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
79896 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
79897 (sysdep_headers): Include sys/platform/ppc.h.
79898 * sysdeps/powerpc/test-gettimebase.c: Test for
79899 __ppc_get_timebase() to catch future ISA opcode/insn changes.
79900 * manual/Makefile (appendices): Include platform.texi.
79901 * manual/contrib.texi (Contributors): Update @node pointers.
79902 * manual/maint.texi (Maintenance): Likewise.
79903 (Platform): New node.
79904 * manual/platform.texi: New file. Document the new features.
79905
79906 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
79907 Jakub Jelinek <jakub@redhat.com>
79908
79909 [BZ #14188]
79910 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
79911 where __builtin_expect is unavailable.
79912
79913 2012-06-03 David S. Miller <davem@davemloft.net>
79914
79915 * stdlib/longlong.h: Updated from GCC.
79916
79917 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
79918
79919 [BZ #14042]
79920 * sysdeps/powerpc/powerpc32/mcount.c: New file.
79921 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
79922 __mcount_internal.
79923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
79924 (GLIBC_2.16): Likewise.
79925
79926 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
79927
79928 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
79929
79930 2012-06-01 Joseph Myers <joseph@codesourcery.com>
79931
79932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
79933 (default-abi): New variable.
79934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
79935 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
79936 variable.
79937 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
79938 Likewise.
79939 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
79940 Likewise.
79941 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
79942 Likewise.
79943
79944 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
79945 definition. Document in comment.
79946
79947 2012-06-01 David S. Miller <davem@davemloft.net>
79948
79949 * stdlib/longlong.h: Updated from GCC.
79950
79951 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
79952
79953 [BZ #14117]
79954 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
79955 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
79956 sys/debugreg.h sys/io.h here.
79957 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
79958 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
79959 sys/io.h.
79960 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
79961 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
79962 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
79963 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
79964 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
79965 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
79966
79967 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
79968 Define only if __x86_64__ is defined.
79969
79970 2012-06-01 Joseph Myers <joseph@codesourcery.com>
79971
79972 [BZ #14048]
79973 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
79974 Use int64_t for variable i.
79975 * math/libm-test.inc (fmod_test): Add more tests.
79976
79977 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
79978 z computation is not scheduled after fetestexcept.
79979 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
79980 Use math_force_eval instead of asm to ensure calculation scheduled
79981 before exception test.
79982 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
79983 Ensure a1 + u.d computation is not scheduled after fetestexcept.
79984
79985 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
79986
79987 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
79988 computation is not scheduled after fetestexcept.
79989
79990 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
79991
79992 [BZ #14117]
79993 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
79994 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
79995
79996 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79997
79998 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
79999 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
80000
80001 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
80002
80003 [BZ #14117]
80004 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
80005 <bits/wordsize.h>.
80006 (__WCHAR_MIN): Support __WORDSIZE == 64.
80007 (__WCHAR_MAX): Likewise.
80008
80009 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
80010 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
80011
80012 [BZ #14183]
80013 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
80014 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
80015
80016 [BZ #14117]
80017 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
80018 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
80019
80020 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
80021 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
80022
80023 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
80024 Defined to 1 if __x86_64__ isn't defined.
80025 (_STAT_VER_LINUX_OLD): New.
80026 (st_atime): Remove duplicate.
80027 (st_mtime): Likewise.
80028 (st_ctime): Likewise.
80029
80030 2012-05-31 David S. Miller <davem@davemloft.net>
80031
80032 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
80033 entries.
80034
80035 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
80036
80037 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
80038 gen-libm-test.pl.
80039
80040 [BZ #14132]
80041 * elf/dl-reloc.c: Include <_itoa.h>.
80042 (_dl_reloc_bad_type): Remove use of INTUSE.
80043 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
80044 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
80045 * stdio-common/psiginfo.c (psiginfo): Likewise.
80046 * stdio-common/psignal.c (psignal): Likewise.
80047 * string/strsignal.c (strsignal): Likewise.
80048 * include/signal.h (_sys_siglist): Declare hidden proto.
80049 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
80050 INTVARDEF with libc_hidden_data_def.
80051 * stdio-common/itoa-udigits.c: Likewise.
80052 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
80053 (_itoa_lower_digits_internal): Remove declaration.
80054 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
80055 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
80056 (_sys_sigabbrev_internal): Remove aliases.
80057 (_sys_siglist): Define hidden alias.
80058
80059 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
80060
80061 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80062 bits/sysctl.h.
80063
80064 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
80065
80066 [BZ #14117]
80067 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
80068 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
80069
80070 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
80071 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
80072 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
80073 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
80074 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
80075 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
80076
80077 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
80078 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
80079 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
80080
80081 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
80082 with __addr.
80083 (insw): Likewise.
80084 (insl): Likewise.
80085 (outsb): Likewise.
80086 (outsw): Likewise.
80087 (outsl): Likewise.
80088
80089 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
80090 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
80091 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
80092
80093 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
80094 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
80095 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
80096 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
80097 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
80098 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
80099
80100 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
80101 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
80102
80103 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
80104 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
80105
80106 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
80107 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
80108 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
80109
80110 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
80111 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
80112 to ...
80113 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
80114
80115 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
80116 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
80117 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
80118
80119 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
80120 for x86-64.
80121 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
80122
80123 2012-05-31 Joseph Myers <joseph@codesourcery.com>
80124
80125 * math/math.h (M_El): Use two more decimal places.
80126 (M_LOG2El): Likewise.
80127 (M_LOG10El): Likewise.
80128 (M_LN2l): Likewise.
80129 (M_LN10l): Likewise.
80130 (M_PIl): Likewise.
80131 (M_PI_2l): Likewise.
80132 (M_PI_4l): Likewise.
80133 (M_1_PIl): Likewise.
80134 (M_2_PIl): Likewise.
80135 (M_2_SQRTPIl): Likewise.
80136 (M_SQRT2l): Likewise.
80137 (M_SQRT1_2l): Likewise.
80138
80139 2012-05-31 David S. Miller <davem@davemloft.net>
80140
80141 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
80142 values between float registers.
80143 * sysdeps/sparc/sparc64/memset.S: Likewise.
80144 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
80145
80146 2012-05-31 Mike Frysinger <vapier@gentoo.org>
80147
80148 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
80149 -D_FORTIFY_SOURCE=1.
80150 (CPPFLAGS-tst-longjmp_chk.c): Define.
80151 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
80152 (CPPFLAGS-tst-longjmp_chk2.c): Define.
80153 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
80154 CFLAGS-tst-wchar-h.c.
80155
80156 2012-05-31 Marek Polacek <polacek@redhat.com>
80157
80158 [BZ #14132]
80159 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
80160 __endmntent_internal): Remove declaration.
80161 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
80162 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
80163 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
80164
80165 2012-05-30 David S. Miller <davem@davemloft.net>
80166
80167 * sysdeps/sparc/sparc32/soft-fp/q_util.c
80168 (___Q_simulate_exceptions): Use real FP ops rather than writing
80169 into the %fsr.
80170 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
80171 Likewise.
80172
80173 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80174
80175 [BZ #14117]
80176 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
80177 * sysdeps/x86/bits/xtitypes.h: This.
80178
80179 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
80180 * sysdeps/x86/bits/wordsize.h: This.
80181
80182 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
80183 * sysdeps/x86/bits/huge_vall.h: This.
80184
80185 * sysdeps/i386/bits/select.h: Removed.
80186 * sysdeps/x86_64/bits/select.h: Renamed to ...
80187 * sysdeps/x86/bits/select.h: This.
80188
80189 * sysdeps/i386/bits/setjmp.h: Removed.
80190 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
80191 * sysdeps/x86/bits/setjmp.h: This.
80192
80193 * sysdeps/i386/bits/mathdef.h: Removed.
80194 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
80195 * sysdeps/x86/bits/mathdef.h: This.
80196
80197 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
80198
80199 [BZ #14132]
80200 * include/sys/socket.h (__connect_internal)
80201 (__libc_sa_len_internal): Remove declaration.
80202 (__connect, __libc_sa_len): Declare hidden_proto.
80203 (SA_LEN): Remove use of INTUSE.
80204 * socket/connect.c: Add libc_hidden_def.
80205 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
80206 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
80207 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
80208 alias.
80209 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
80210 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
80211 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
80212 of adding _internal alias.
80213
80214 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80215
80216 [BZ #14117]
80217 * sysdeps/i386/bits/link.h: Removed.
80218 * sysdeps/i386/bits/linkmap.h: Likewise.
80219 * sysdeps/x86_64/bits/link.h: Renamed to ...
80220 * sysdeps/x86/bits/link.h: This.
80221 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
80222 * sysdeps/x86/bits/linkmap.h: This.
80223
80224 * sysdeps/i386/bits/endian.h: Removed.
80225 * sysdeps/x86_64/bits/endian.h: Renamed to ...
80226 * sysdeps/x86/bits/endian.h: This.
80227
80228 * sysdeps/i386/bits/byteswap.h: Removed.
80229 * sysdeps/i386/bits/byteswap-16.h: Likewise.
80230 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
80231 * sysdeps/x86/bits/byteswap.h: This.
80232 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
80233 * sysdeps/x86/bits/byteswap-16.h: This.
80234 * sysdeps/i386/Implies: Add x86.
80235 * sysdeps/x86_64/Implies: Likewise.
80236
80237 2012-05-30 David S. Miller <davem@davemloft.net>
80238
80239 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
80240 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
80241 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
80242 (FP_TRAPPING_EXCEPTIONS): Define.
80243 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
80244 (FP_TRAPPING_EXCEPTIONS): Define.
80245 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
80246 subnormals only when inexact has been signalled or underflow
80247 exceptions are enabled.
80248 (_FP_PACK_CANONICAL): Likewise.
80249
80250 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80251
80252 [BZ #14183]
80253 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
80254 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
80255
80256 2012-05-30 Richard Henderson <rth@twiddle.net>
80257
80258 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
80259 with #ifndef NOT_IN_libc.
80260
80261 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
80262 marked to avoid plt entry.
80263
80264 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80265
80266 [BZ #14112]
80267 * Makeconfig (default-abi): New macro.
80268 (abi-includes): Likewise.
80269 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
80270 $(abi-$(default-abi)-lib-soname) for soname if defined.
80271 ($(common-objpfx)gnu/lib-names.stmp): Generate from
80272 abi-variants.
80273 * Makefile (installed-stubs): Likewise.
80274 * include/stubs-biarch.h: Removed.
80275 * scripts/lib-names.awk: Only handle one library at a time.
80276 * scripts/soversions.awk: Remove WORDSIZE support.
80277 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
80278 entries.
80279 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
80280 Removed.
80281 (syscall-list-default-condition): Likewise.
80282 (syscall-list-default-condition): Likewise.
80283 (syscall-list-includes): Likewise.
80284 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
80285 syscall-list-* with abi-*. Handle undefined abi-variants.
80286 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
80287 * sysdeps/unix/sysv/linux/i386/Implies: New file.
80288 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
80289 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
80290 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
80291 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
80292 Removed.
80293 (syscall-list-32-options): Likewise.
80294 (syscall-list-32-condition): Likewise.
80295 (syscall-list-64-options): Likewise.
80296 (syscall-list-64-condition): Likewise.
80297 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
80298 macro.
80299 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
80300 Renamed to ...
80301 (abi-*): This.
80302 (abi-64-ld-soname): New macro.
80303 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
80304 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
80305 Renamed to ...
80306 (abi-*): This.
80307 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
80308 * sysdeps/x86_64/x32/shlib-versions: Likewise.
80309
80310 2012-05-30 Joseph Myers <joseph@codesourcery.com>
80311
80312 * sysdeps/unix/sysv/linux/kernel-features.h
80313 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
80314 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
80315 include <kernel-features.h>.
80316 [!__NR_ftruncate64]: Remove conditional code.
80317 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80318 [__NR_ftruncate64]: Make code unconditional.
80319 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80320 * sysdeps/unix/sysv/linux/truncate64.c: Do not
80321 include <kernel-features.h>.
80322 [!__NR_ftruncate64]: Remove conditional code.
80323 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80324 [__NR_ftruncate64]: Make code unconditional.
80325 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
80327 include <kernel-features.h>.
80328 [!__NR_ftruncate64]: Remove conditional code.
80329 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80330 [__NR_ftruncate64]: Make code unconditional.
80331 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
80333 include <kernel-features.h>.
80334 [!__NR_ftruncate64]: Remove conditional code.
80335 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80336 [__NR_ftruncate64]: Make code unconditional.
80337 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80338
80339 * configure.in (libc_cv_fpie): Weaken to a compile test using
80340 LIBC_TRY_CC_OPTION.
80341 * configure: Regenerated.
80342
80343 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
80344
80345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
80346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
80347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
80348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
80349 Refreshed.
80350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
80351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
80352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
80353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
80354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
80355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
80356 Refreshed.
80357
80358 2012-05-27 David S. Miller <davem@davemloft.net>
80359
80360 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
80361 (___Q_zero): New.
80362 (__Q_simulate_exceptions): Return void. Change to simulate
80363 exceptions by writing into the %fsr.
80364 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
80365 (__Qp_handle_exceptions): Likewise.
80366 (numbers): Delete.
80367 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
80368 __Qp_handle_exceptions.
80369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
80370 __Qp_handle_exceptions.
80371 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80372 as unused and give dummy FP_RND_NEAREST initializer.
80373 (FP_INHIBIT_RESULTS): Define.
80374 (___Q_simulate_exceptions): Update declaration.
80375 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
80376 formatting.
80377 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80378 as unused and give dummy FP_RND_NEAREST initializer.
80379 (__Qp_handle_exceptions): Update declaration.
80380 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
80381 formatting.
80382
80383 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
80384
80385 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
80386 the temporary FPU control word.
80387 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
80388 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
80389 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
80390 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80391 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
80392 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
80393 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
80394 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
80395 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
80396 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
80397 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80398
80399 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
80400
80401 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
80402 fields.
80403
80404 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
80405
80406 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
80407 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
80408 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
80409 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
80410 Likewise.
80411 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
80412 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
80413 Likewise.
80414
80415 2012-05-27 Ulrich Drepper <drepper@gmail.com>
80416
80417 * po/h.po: Update from translation team.
80418
80419 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
80420
80421 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
80422
80423 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
80424 handling of denormals.
80425 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
80426 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
80427 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
80428 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
80429 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
80430 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
80431 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
80432 Likewise.
80433
80434 2012-05-26 Marek Polacek <polacek@redhat.com>
80435
80436 [BZ #14152]
80437 * math/libm-test.inc (fma_test): Don't always expect underflow
80438 exception.
80439
80440 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
80441
80442 [BZ #12416]
80443 * elf/tst-execstack.c: Include stackinfo.h.
80444 (do_test): Adjust test case to ensure that pthread_getattr_np
80445 behaviour remains the same after marking stack executable.
80446
80447 2012-05-25 Joseph Myers <joseph@codesourcery.com>
80448
80449 * sysdeps/unix/sysv/linux/kernel-features.h
80450 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
80451 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
80452 kernel-features.h.
80453 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80454 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80455 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
80456 kernel-features.h.
80457 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80458 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80459
80460 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
80461
80462 * configure.in: Define the default includes to being none.
80463 * configure: Regenerated.
80464
80465 2012-05-25 Roland McGrath <roland@hack.frob.com>
80466
80467 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
80468 * sysdeps/x86_64/setjmp.S: Likewise.
80469 * sysdeps/i386/bsd-setjmp.S: Likewise.
80470 * sysdeps/i386/bsd-_setjmp.S: Likewise.
80471 * sysdeps/i386/setjmp.S: Likewise.
80472 * sysdeps/i386/__longjmp.S: Likewise.
80473 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
80474 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
80475
80476 * include/stap-probe.h: New file.
80477 * configure.in: Handle --enable-systemtap.
80478 * configure: Regenerated.
80479 * config.h.in (USE_STAP_PROBE): New #undef.
80480 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
80481 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
80482 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
80483
80484 2012-05-25 Joseph Myers <joseph@codesourcery.com>
80485
80486 [BZ #13717]
80487 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80488 to 2.4.0 where earlier.
80489 * sysdeps/unix/sysv/linux/configure: Regenerated.
80490 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
80491 <kernel-features.h>.
80492 [__ASSUME_32BITUIDS]: Make code unconditional.
80493 [!__ASSUME_32BITUIDS]: Remove conditional code.
80494 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
80495 <kernel-features.h>.
80496 [__ASSUME_32BITUIDS]: Make code unconditional.
80497 [!__ASSUME_32BITUIDS]: Remove conditional code.
80498 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
80499 [__ASSUME_32BITUIDS]: Make code unconditional.
80500 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
80501 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
80502 <kernel-features.h>.
80503 [__ASSUME_32BITUIDS]: Make code unconditional.
80504 [!__ASSUME_32BITUIDS]: Remove conditional code.
80505 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
80506 <kernel-features.h>.
80507 [__ASSUME_32BITUIDS]: Make code unconditional.
80508 [!__ASSUME_32BITUIDS]: Remove conditional code.
80509 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
80510 <kernel-features.h>.
80511 [__ASSUME_32BITUIDS]: Make code unconditional.
80512 [!__ASSUME_32BITUIDS]: Remove conditional code.
80513 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
80514 <kernel-features.h>.
80515 [__ASSUME_32BITUIDS]: Make code unconditional.
80516 [!__ASSUME_32BITUIDS]: Remove conditional code.
80517 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
80518 <kernel-features.h>.
80519 [__ASSUME_32BITUIDS]: Make code unconditional.
80520 [!__ASSUME_32BITUIDS]: Remove conditional code.
80521 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
80522 <kernel-features.h>.
80523 [__ASSUME_32BITUIDS]: Make code unconditional.
80524 [!__ASSUME_32BITUIDS]: Remove conditional code.
80525 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
80526 <kernel-features.h>.
80527 [__ASSUME_32BITUIDS]: Make code unconditional.
80528 [!__ASSUME_32BITUIDS]: Remove conditional code.
80529 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
80530 <kernel-features.h>.
80531 [__ASSUME_32BITUIDS]: Make code unconditional.
80532 [!__ASSUME_32BITUIDS]: Remove conditional code.
80533 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
80534 <kernel-features.h>.
80535 [__ASSUME_32BITUIDS]: Make code unconditional.
80536 [!__ASSUME_32BITUIDS]: Remove conditional code.
80537 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
80538 <kernel-features.h>.
80539 [__ASSUME_32BITUIDS]: Make code unconditional.
80540 [!__ASSUME_32BITUIDS]: Remove conditional code.
80541 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
80542 <kernel-features.h>.
80543 [__NR_setresgid] (__setresgid): Do not declare.
80544 [__ASSUME_32BITUIDS]: Make code unconditional.
80545 [!__ASSUME_32BITUIDS]: Remove conditional code.
80546 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
80547 <kernel-features.h>.
80548 [__NR_setresuid] (__setresuid): Do not declare.
80549 [__ASSUME_32BITUIDS]: Make code unconditional.
80550 [!__ASSUME_32BITUIDS]: Remove conditional code.
80551 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
80552 <kernel-features.h>.
80553 [__ASSUME_32BITUIDS]: Make code unconditional.
80554 [!__ASSUME_32BITUIDS]: Remove conditional code.
80555 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
80556 <kernel-features.h>.
80557 [__ASSUME_32BITUIDS]: Make code unconditional.
80558 [!__ASSUME_32BITUIDS]: Remove conditional code.
80559 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
80560 <kernel-features.h>.
80561 [__ASSUME_32BITUIDS]: Make code unconditional.
80562 [!__ASSUME_32BITUIDS]: Remove conditional code.
80563 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
80564 <kernel-features.h>.
80565 [__ASSUME_32BITUIDS]: Make code unconditional.
80566 [!__ASSUME_32BITUIDS]: Remove conditional code.
80567 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
80568 <kernel-features.h>.
80569 [__ASSUME_32BITUIDS]: Make code unconditional.
80570 [!__ASSUME_32BITUIDS]: Remove conditional code.
80571 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
80572 <kernel-features.h>.
80573 [__ASSUME_32BITUIDS]: Make code unconditional.
80574 [!__ASSUME_32BITUIDS]: Remove conditional code.
80575 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
80576 <kernel-features.h>.
80577 [__ASSUME_32BITUIDS]: Make code unconditional.
80578 [!__ASSUME_32BITUIDS]: Remove conditional code.
80579 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
80580 <kernel-features.h>.
80581 [__ASSUME_32BITUIDS]: Make code unconditional.
80582 [!__ASSUME_32BITUIDS]: Remove conditional code.
80583 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
80584 <kernel-features.h>.
80585 [__ASSUME_32BITUIDS]: Make code unconditional.
80586 [!__ASSUME_32BITUIDS]: Remove conditional code.
80587 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
80588 <kernel-features.h>.
80589 [__ASSUME_32BITUIDS]: Make code unconditional.
80590 [!__ASSUME_32BITUIDS]: Remove conditional code.
80591 * sysdeps/unix/sysv/linux/kernel-features.h
80592 (__ASSUME_SETRESUID_SYSCALL): Remove.
80593 (__ASSUME_SETRESGID_SYSCALL): Likewise.
80594 (__ASSUME_32BITUIDS): Likewise.
80595 (__ASSUME_LDT_WORKS): Likewise.
80596 (__ASSUME_O_DIRECTORY): Likewise.
80597 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
80598 architecture but not kernel version.
80599 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
80600 (__ASSUME_MMAP2_SYSCALL): Likewise.
80601 (__ASSUME_STAT64_SYSCALL): Likewise.
80602 (__ASSUME_IPC64): Likewise.
80603 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
80604 <kernel-features.h>.
80605 [__ASSUME_32BITUIDS]: Make code unconditional.
80606 [!__ASSUME_32BITUIDS]: Remove conditional code.
80607 * sysdeps/unix/sysv/linux/opendir.c: Do not include
80608 <kernel-features.h>.
80609 [__ASSUME_O_DIRECTORY]: Make code unconditional.
80610 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
80611 132096]: Remove conditional code.
80612 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
80613 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
80614 <kernel-features.h>.
80615 [__ASSUME_32BITUIDS]: Make code unconditional.
80616 [!__ASSUME_32BITUIDS]: Remove conditional code.
80617 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
80618 <kernel-features.h>.
80619 [__ASSUME_32BITUIDS]: Make code unconditional.
80620 [!__ASSUME_32BITUIDS]: Remove conditional code.
80621 * sysdeps/unix/sysv/linux/setegid.c: Do not include
80622 <kernel-features.h>.
80623 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
80624 unconditional.
80625 (__setresgid): Do not declare.
80626 [__ASSUME_32BITUIDS]: Make code unconditional.
80627 [!__ASSUME_32BITUIDS]: Remove conditional code.
80628 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
80629 <kernel-features.h>.
80630 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
80631 unconditional.
80632 (__setresuid): Do not declare.
80633 [__ASSUME_32BITUIDS]: Make code unconditional.
80634 [!__ASSUME_32BITUIDS]: Remove conditional code.
80635 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
80636 <kernel-features.h>.
80637 [__ASSUME_32BITUIDS]: Make code unconditional.
80638 [!__ASSUME_32BITUIDS]: Remove conditional code.
80639 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
80640 <kernel-features.h>.
80641 [__ASSUME_32BITUIDS]: Make code unconditional.
80642 [!__ASSUME_32BITUIDS]: Remove conditional code.
80643
80644 2012-05-25 Richard Henderson <rth@twiddle.net>
80645
80646 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
80647 dl_hwcap to ifunc resolver.
80648 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
80649 elf_ifunc_invoke.
80650 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
80651 dl_hwcap to ifunc resolver.
80652 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
80653
80654 2012-05-24 Joseph Myers <joseph@codesourcery.com>
80655
80656 [BZ #14153]
80657 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
80658 for |x| <= 2**-26, not 2**-57.
80659 * math/libm-test.inc (acos_test): Do not allow spurious underflow
80660 exception.
80661
80662 2012-05-24 Jeff Law <law@redhat.com>
80663
80664 * stdio-common/Makefile (tests): Add bug25.
80665 * stdio-common/bug25.c: New test.
80666
80667 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
80668
80669 [BZ #13576]
80670 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
80671 multiple of MALLOC_ALIGNMENT in size.
80672 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
80673
80674 2012-05-24 Joseph Myers <joseph@codesourcery.com>
80675
80676 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
80677 Require >= 256.
80678 (FILENAME_MAX): Use macro-int-constant.
80679 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
80680 (_IOFBF): Use macro-int-constant.
80681 (_IOLBF): Likewise.
80682 (_IONBF): Likewise.
80683 (SEEK_CUR): Likewise.
80684 (SEEK_END): Likewise.
80685 (SEEK_SET): Likewise.
80686 (TMP_MAX): Likewise.
80687 (EOF): Use macro-int-constant. Require < 0.
80688 (NULL): Use macro-constant. Require == 0.
80689 (stdin): Require type to be FILE *.
80690 (stdout): Likewise.
80691 (stderr): Likewise.
80692 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
80693 macro-int-constant.
80694 (EXIT_SUCCESS): Likewise.
80695 (NULL): Use macro-constant. Require == 0.
80696 (RAND_MAX): Use macro-int-constant.
80697 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
80698 [C99-based standards] (strtof): Require function.
80699 [C99-based standards] (strtold): Likewise.
80700 [C99-based standards] (strtoll): Likewise.
80701 [C99-based standards] (strtoull): Likewise.
80702 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
80703 [ISO || ISO99 || ISO11] (limits.h): Likewise.
80704 [ISO || ISO99 || ISO11] (math.h): Likewise.
80705 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
80706 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
80707 [ISO || ISO99 || ISO11] (*_t): Do not allow.
80708
80709 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
80710
80711 [BZ #14132]
80712 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
80713 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
80714 * intl/dgettext.c (DCGETTEXT): Likewise.
80715 * intl/gettext.c (DCGETTEXT): Likewise.
80716 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
80717 * posix/regex_internal.h (gettext): Likewise.
80718 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
80719 Remove declaration.
80720 * include/argz.h (__argz_count_internal)
80721 (__argz_stringify_internal): Remove declaration.
80722 (__argz_count, __argz_stringify): Declare hidden proto.
80723 * intl/dcgettext.c: Remove use of INTDEF.
80724 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
80725 * string/argz-stringify.c: Likewise.
80726 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
80727 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
80728 Declare hidden proto.
80729 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
80730 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
80731 Declare hidden proto.
80732 * include/stdio.h (__asprintf_internal): Don't declare.
80733 (__asprintf): Don't define as macro. Declare hidden proto.
80734 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
80735 (__fsetlocking): Declare hidden proto.
80736 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
80737 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
80738 hidden proto.
80739 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
80740 (_IO_setlinebuf): Remove use of INTUSE.
80741 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
80742 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
80743 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
80744 Remove declaration.
80745 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
80746 (_IO_do_flush): Remove use of INTUSE.
80747 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
80748 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
80749 (_IO_adjust_column, _IO_least_wmarker)
80750 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
80751 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
80752 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
80753 (_IO_default_doallocate, _IO_wdefault_doallocate)
80754 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
80755 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
80756 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
80757 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
80758 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
80759 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
80760 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
80761 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
80762 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
80763 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
80764 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
80765 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
80766 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
80767 proto.
80768 (_IO_flush_all_internal, _IO_adjust_column_internal)
80769 (_IO_default_uflow_internal, _IO_default_finish_internal)
80770 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
80771 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
80772 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
80773 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
80774 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
80775 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
80776 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
80777 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
80778 (_IO_file_close_internal, _IO_file_close_it_internal)
80779 (_IO_file_underflow_internal, _IO_file_overflow_internal)
80780 (_IO_file_init_internal, _IO_file_attach_internal)
80781 (_IO_file_fopen_internal, _IO_file_read_internal)
80782 (_IO_file_sync_internal, _IO_file_seek_internal)
80783 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
80784 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
80785 (_IO_str_underflow_internal, _IO_str_overflow_internal)
80786 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
80787 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
80788 (_IO_list_all_internal, _IO_link_in_internal)
80789 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
80790 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
80791 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
80792 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
80793 (_IO_do_write_internal, _IO_padn_internal)
80794 (_IO_getline_info_internal, _IO_getline_internal)
80795 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
80796 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
80797 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
80798 (_IO_vfscanf_internal, _IO_vfprintf_internal)
80799 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
80800 (_IO_init_internal, _IO_un_link_internal): Don't declare.
80801 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
80802 with libc_hidden_ver, remove use of INTUSE.
80803 * libio/genops.c: Likewise.
80804 * libio/freopen.c: Likewise.
80805 * libio/freopen64.c: Likewise.
80806 * libio/iofclose.c: Likewise.
80807 * libio/iofdopen.c: Likewise.
80808 * libio/iofflush.c: Likewise.
80809 * libio/iofflush_u.c: Likewise.
80810 * libio/iofgets.c: Likewise.
80811 * libio/iofgets_u.c: Likewise.
80812 * libio/iofopen.c: Likewise.
80813 * libio/iofopncook.c: Likewise.
80814 * libio/iofread.c: Likewise.
80815 * libio/iofread_u.c: Likewise.
80816 * libio/ioftell.c: Likewise.
80817 * libio/iofwrite.c: Likewise.
80818 * libio/iogetline.c: Likewise.
80819 * libio/iogets.c: Likewise.
80820 * libio/iogetwline.c: Likewise.
80821 * libio/iopadn.c: Likewise.
80822 * libio/iopopen.c: Likewise.
80823 * libio/ioseekoff.c: Likewise.
80824 * libio/ioseekpos.c: Likewise.
80825 * libio/iosetbuffer.c: Likewise.
80826 * libio/iosetvbuf.c: Likewise.
80827 * libio/ioungetc.c: Likewise.
80828 * libio/ioungetwc.c: Likewise.
80829 * libio/iovdprintf.c: Likewise.
80830 * libio/iovsprintf.c: Likewise.
80831 * libio/iovsscanf.c: Likewise.
80832 * libio/memstream.c: Likewise.
80833 * libio/obprintf.c: Likewise.
80834 * libio/oldfileops.c: Likewise.
80835 * libio/oldiofclose.c: Likewise.
80836 * libio/oldiofdopen.c: Likewise.
80837 * libio/oldiofopen.c: Likewise.
80838 * libio/oldiopopen.c: Likewise.
80839 * libio/oldstdfiles.c: Likewise.
80840 * libio/putc.c: Likewise.
80841 * libio/setbuf.c: Likewise.
80842 * libio/setlinebuf.c: Likewise.
80843 * libio/stdfiles.c: Likewise.
80844 * libio/strops.c: Likewise.
80845 * libio/vasprintf.c: Likewise.
80846 * libio/vscanf.c: Likewise.
80847 * libio/vsnprintf.c: Likewise.
80848 * libio/vswprintf.c: Likewise.
80849 * libio/wfiledoalloc.c: Likewise.
80850 * libio/wfileops.c: Likewise.
80851 * libio/wgenops.c: Likewise.
80852 * libio/wmemstream.c: Likewise.
80853 * libio/wstrops.c: Likewise.
80854 * libio/__fpurge.c: Likewise.
80855 * libio/__fsetlocking.c: Likewise.
80856 * assert/assert.c: Likewise.
80857 * debug/fgets_chk.c: Likewise.
80858 * debug/fgets_u_chk.c: Likewise.
80859 * debug/fread_chk.c: Likewise.
80860 * debug/fread_u_chk.c: Likewise.
80861 * debug/gets_chk.c: Likewise.
80862 * debug/obprintf_chk.c: Likewise.
80863 * debug/vasprintf_chk.c: Likewise.
80864 * debug/vdprintf_chk.c: Likewise.
80865 * debug/vsnprintf_chk.c: Likewise.
80866 * debug/vsprintf_chk.c: Likewise.
80867 * malloc/mtrace.c: Likewise.
80868 * misc/error.c: Likewise.
80869 * misc/syslog.c: Likewise.
80870 * stdio-common/asprintf.c: Likewise.
80871 * stdio-common/fxprintf.c: Likewise.
80872 * stdio-common/getw.c: Likewise.
80873 * stdio-common/isoc99_fscanf.c: Likewise.
80874 * stdio-common/isoc99_scanf.c: Likewise.
80875 * stdio-common/isoc99_vfscanf.c: Likewise.
80876 * stdio-common/isoc99_vscanf.c: Likewise.
80877 * stdio-common/isoc99_vsscanf.c: Likewise.
80878 * stdio-common/printf-prs.c: Likewise.
80879 * stdio-common/printf_fp.c: Likewise.
80880 * stdio-common/printf_fphex.c: Likewise.
80881 * stdio-common/printf_size.c: Likewise.
80882 * stdio-common/putw.c: Likewise.
80883 * stdio-common/scanf.c: Likewise.
80884 * stdio-common/sprintf.c: Likewise.
80885 * stdio-common/tmpfile.c: Likewise.
80886 * stdio-common/vfprintf.c: Likewise.
80887 * stdio-common/vfscanf.c: Likewise.
80888 * stdlib/strfmon_l.c: Likewise.
80889 * sunrpc/openchild.c: Likewise.
80890 * sunrpc/xdr_stdio.c: Likewise.
80891 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
80892 * sysdeps/mach/hurd/tmpfile.c: Likewise.
80893
80894 2012-05-24 Roland McGrath <roland@hack.frob.com>
80895
80896 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
80897
80898 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
80899 in the third column, to generate for the shared library an IFUNC
80900 that uses _dl_vdso_vsym.
80901 * Makerules (COMPILE.c, compile-stdin.c): New variables.
80902 * Makeconfig (object-suffixes-noshared): New variable.
80903
80904 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
80905 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
80906 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
80907 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
80908
80909 [BZ #14132]
80910 * include/sys/time.h (__gettimeofday): Remove macro.
80911 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
80912 * time/gettimeofday.c (__gettimeofday): Remove #undef.
80913 Remove INTDEF.
80914 (__gettimeofday): Add libc_hidden_def.
80915 (gettimeofday): Add libc_hidden_weak.
80916 * sysdeps/mach/gettimeofday.c: Likewise.
80917 * sysdeps/posix/gettimeofday.c: Likewise.
80918 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
80919 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
80920 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
80921 (__gettimeofday_internal): Remove strong_alias.
80922 (__gettimeofday): Add libc_hidden_def.
80923 (gettimeofday): Add libc_hidden_weak.
80924 * sysdeps/unix/syscalls.list (gettimeofday):
80925 Remove __gettimeofday_internal alias.
80926
80927 2012-05-24 Daniel Jacobowitz <drow@false.org>
80928 H.J. Lu <hongjiu.lu@intel.com>
80929
80930 [BZ #12495]
80931 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
80932 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
80933 (largebin_index_32_big): New.
80934 (largebin_index): Use it for 16-byte alignment.
80935 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
80936 correction with front_misalign.
80937
80938 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
80939
80940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
80941 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
80942 Likewise.
80943 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
80944 Likewise.
80945 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
80946 Likewise.
80947 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
80948 Likewise.
80949 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
80950 Likewise.
80951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
80952 Likewise.
80953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
80954 Likewise.
80955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
80956 Likewise.
80957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
80958 Likewise.
80959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
80960 Likewise.
80961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
80962 Likewise.
80963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
80964 Likewise.
80965
80966 * scripts/data/c++-types-x32-linux-gnu.data: New file.
80967 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
80968
80969 2012-05-24 Joseph Myers <joseph@codesourcery.com>
80970
80971 [BZ #10846]
80972 [BZ #14036]
80973 * math/libm-test.inc (exp_test): Add test from bug 14036.
80974 (pow_test): Add test from bug 10846.
80975
80976 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
80977 and other flags.
80978 (special_function): Do not include flags in test name.
80979 (parse_args): Likewise.
80980 * sysdeps/i386/fpu/libm-test-ulps: Update.
80981 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
80982 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
80983 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
80984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80985
80986 * math/gen-libm-test.pl (%beautify): Add entries for underflow
80987 exceptions.
80988 * math/libm-test.inc ("Philosophy"): Update comment about
80989 exception testing.
80990 (UNDERFLOW_EXCEPTION): New macro.
80991 (UNDERFLOW_EXCEPTION_OK): Likewise.
80992 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
80993 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
80994 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
80995 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
80996 (INVALID_EXCEPTION_OK): Update value.
80997 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
80998 (OVERFLOW_EXCEPTION_OK): Likewise.
80999 (IGNORE_ZERO_INF_SIGN): Likewise.
81000 (test_exceptions): Handle underflow exceptions.
81001 (acos_test): Update for underflow exception expectations.
81002 (cexp_test): Likewise.
81003 (clog_test): Likewise.
81004 (clog10_test): Likewise.
81005 (csqrt_test): Likewise.
81006 (ctan_test): Likewise.
81007 (ctanh_test): Likewise.
81008 (exp_test): Likewise.
81009 (exp10_test): Likewise.
81010 (exp2_test): Likewise.
81011 (expm1_test): Likewise.
81012 (fma_test): Likewise.
81013 (j0_test): Likewise.
81014 (jn_test): Likewise.
81015 (nexttoward_test): Likewise.
81016 (pow_test): Likewise.
81017 (scalbn_test): Likewise.
81018 (scalbln_test): Likewise.
81019 (tan_test): Likewise.
81020 (y1_test): Likewise.
81021 * sysdeps/i386/fpu/libm-test-ulps: Update.
81022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81023
81024 2012-05-23 David S. Miller <davem@davemloft.net>
81025
81026 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
81027 (__libc_sigaction): Remove unused local variables.
81028
81029 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
81030
81031 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
81032
81033 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
81034
81035 mktime: avoid signed integer overflow
81036 * time/mktime.c (__mktime_internal): Do not mishandle the case
81037 where diff == INT_MIN.
81038
81039 mktime: simplify computation of average
81040 * time/mktime.c (ranged_convert): Use new time_t_avg function
81041 instead of rolling our own (probably-slower) code.
81042
81043 mktime: do not assume signed right shift propagates sign bit
81044 * time/mktime.c (isdst_differ): New static function.
81045 (__mktime_internal): No need to normalize tm_isdst now.
81046 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
81047 tm_isdst values.
81048
81049 mktime: merge another wrapv change from gnulib
81050 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
81051 from some compilers.
81052
81053 mktime: remove incorrect attempt at unusual arithmetics
81054 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
81055 The code didn't really work on such machines anyway.
81056 (TYPE_MINIMUM): Assume two's complement.
81057 (twos_complement_arithmetic): Verify that long_int and time_t
81058 are two's complement (or unsigned, in the latter case).
81059
81060 mktime: check signed shifts on long_int and time_t, too
81061 * time/mktime.c (SHR): Check that shifts work as desired
81062 on the types long_int and time_t too, as SHR is used on
81063 such types.
81064
81065 mktime: do not assume 'long' is wide enough
81066 * time/mktime.c (verify): Move decl up.
81067 (long_int): New type.
81068 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
81069 to remove assumption in the code that 'long' is wide enough to
81070 store year values. This assumption is not true on x32 and on
81071 some non-glibc platforms.
81072
81073 mktime: merge wrapv change from gnulib
81074 * time/mktime.c (WRAPV): New macro.
81075 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
81076 (guess_time_tm, __mktime_internal): Do not assume that signed
81077 integer overflow wraps around; modern compilers generate code
81078 where this assumption is no longer valid.
81079
81080 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
81081
81082 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81083 Replace "jmp L(pseudo_end)" with "ret".
81084 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
81085 Likewise.
81086
81087 2012-05-23 Andreas Jaeger <aj@suse.de>
81088
81089 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
81090 * sysdeps/unix/sysv/linux/poll.c: Remove file.
81091
81092 2012-05-23 Andreas Jaeger <aj@suse.de>
81093 Maximilian Attems <max@stro.at>
81094
81095 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
81096 New macros.
81097
81098 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
81099
81100 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
81101 code so that pseudo_end is just ret and the stack pointer is
81102 correct also for static library in error case.
81103
81104 2012-05-23 Joseph Myers <joseph@codesourcery.com>
81105
81106 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
81107 move to syscalls.list.
81108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
81109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
81110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
81111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
81112
81113 * manual/install.texi (Running make install): Do not mention Linux
81114 kernel version for which pt_chown is not needed.
81115 (Linux): Do not mention problems with nscd with 2.0 kernels.
81116 * INSTALL: Regenerated.
81117
81118 2012-05-23 Andreas Jaeger <aj@suse.de>
81119
81120 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
81121 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
81122 macro.
81123 * sysdeps/unix/sysv/linux/s390/bits/mman.h
81124 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81125 * sysdeps/unix/sysv/linux/sh/bits/mman.h
81126 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81127 * sysdeps/unix/sysv/linux/i386/bits/mman.h
81128 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81129 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
81130 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81131 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
81132 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81133 * sysdeps/unix/sysv/linux/bits/in.h
81134 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
81135
81136 2012-05-22 Roland McGrath <roland@hack.frob.com>
81137
81138 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
81139 (PREPARE_VERSION): Just use assert instead, it will be elided
81140 under [NDEBUG] anyway.
81141
81142 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81143
81144 * sysdeps/unix/sysv/linux/Makefile: Include
81145 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
81146 (sysdep_routines): Remove sysctl.
81147 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
81148 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
81149 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
81150 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
81151 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
81152
81153 2012-05-22 Andreas Jaeger <aj@suse.de>
81154
81155 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
81156 that pseudo_end is just ret and the stack pointer is correct also
81157 for static library in error case.
81158
81159 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
81160
81161 [BZ #14122]
81162 * nss/nsswitch.c (defconfig_entries): New variable.
81163 (__nss_database_lookup): Don't leak defconfig entries.
81164 (nss_parse_service_list): Don't leak on error paths.
81165 (free_database_entries): New function.
81166 (free_defconfig): New function.
81167 (free_mem): Move common code to free_database_entries.
81168
81169 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81170
81171 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
81172 Add arch_prctl.
81173 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
81174
81175 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
81176 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
81177 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
81178 New macro.
81179 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
81180 (INTERNAL_SYSCALL_TYPES): Likewise.
81181 (LOAD_ARGS_TYPES_[1-6]): Likewise.
81182 (LOAD_REGS_TYPES_[1-6]): Likewise.
81183 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
81184 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
81185
81186 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81187
81188 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
81189 copysignl for GLIBC_2_0.
81190 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
81191 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
81192 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
81193 logbl for GLIBC_2_0.
81194 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
81195 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
81196
81197 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81198
81199 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
81200 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
81201
81202 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81203 Use "neg %eax".
81204
81205 * time/mktime.c: Update copyright years.
81206
81207 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
81208
81209 mktime: merge comment-quoting-style change from gnulib
81210 * time/mktime.c: Quote 'like this' in comments.
81211 The GNU coding standards suggest that we no longer quote `like this',
81212 as "`" and "'" are typically rendered asymmetrically nowadays.
81213 The typical gnulib style is to quote 'like this' when quoting
81214 code, and "like this" when quoting English.
81215
81216 * time/mktime.c (compile-command): Add "-I.".
81217
81218 mktime: merge mktime-internal.h change from gnulib
81219 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
81220
81221 mktime: merge time_r change from gnulib
81222 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
81223
81224 mktime: merge DEBUG change from gnulib
81225 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
81226 case system <time.h> has a #define.
81227
81228 mktime: merge <sys/types.h> change from gnulib
81229 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
81230 since <time.t> is now guaranteed to define time_t.
81231
81232 mktime: merge HAVE_CONFIG_H change from gnulib
81233 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
81234
81235 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81236
81237 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81238 Use "neg %eax".
81239
81240 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
81241 __rlim_t cast.
81242 (struct rusage): Use anonymous union to pad each field to
81243 __syscall_slong_t.
81244
81245 2012-05-21 David S. Miller <davem@davemloft.net>
81246
81247 * Makefules (o-iterator): Remove .s cases.
81248 (compile-command.s): Delete.
81249 (COMPILE.s): Delete.
81250 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
81251
81252 2012-05-21 Joseph Myers <joseph@codesourcery.com>
81253
81254 * configure.in (libc_cv_predef_stack_protector): Only consider
81255 "foobar" and "__stack_chk_fail" lines in libc_undefs.
81256 * configure: Regenerated.
81257
81258 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81259
81260 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81261 New macro. Use R*LP on int and pointer.
81262 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
81263 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
81264 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
81265 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
81266
81267 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
81268 [__WORDSIZE_TIME64_COMPAT32] instead of
81269 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
81270 (struct utmp): Likewise.
81271 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
81272 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
81273 Renamed to ...
81274 (__WORDSIZE_TIME64_COMPAT32): This.
81275 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
81276 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
81277 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
81278 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
81279 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
81280 (__WORDSIZE_TIME64_COMPAT32): New macro.
81281
81282 2012-05-21 Andreas Jaeger <aj@suse.de>
81283
81284 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
81285 only if [SHARED]. Add prototype for __wcschr_ia32.
81286
81287 2012-05-21 Roland McGrath <roland@hack.frob.com>
81288
81289 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
81290 of %rbp unmolested in the jmp_buf while mangling the low bits.
81291 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
81292 unmolested high bits of %rbp while demangling the low bits.
81293 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
81294
81295 2012-05-21 Andreas Jaeger <aj@suse.de>
81296
81297 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
81298 * sunrpc/svc_simple.c: Use it for registerrpc.
81299 * sunrpc/xcrypt.c: Use it for passwd2des.
81300
81301 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
81302
81303 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81304
81305 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
81306 Don't define if [__SYSCALL_WORDSIZE != 32].
81307 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
81308 New macro.
81309
81310 2012-05-21 Bruno Haible <bruno@clisp.org>
81311 Andreas Jaeger <aj@suse.de>
81312
81313 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
81314 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
81315 inptr and inend for must_buffer_ch.
81316 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
81317 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
81318 * stdio-common/Makefile (tests): Remove bug15.
81319 (bug15-ENV): Remove macro.
81320 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
81321 anymore.
81322
81323 2012-05-19 Andreas Jaeger <aj@suse.de>
81324 Roland McGrath <roland@hack.frob.com>
81325
81326 * manual/contrib.texi: Completely rewritten. It contains now an
81327 alphabetical list of contributors and their contributions.
81328
81329 2012-05-21 Richard Henderson <rth@twiddle.net>
81330
81331 * misc/getauxval.c (__getauxval): Use unsigned long int.
81332 * misc/sys/auxv.h: Include <sys/cdefs.h>.
81333 (getauxval): Use unsigned long int.
81334
81335 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81336
81337 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81338
81339 2012-05-21 Roland McGrath <roland@hack.frob.com>
81340
81341 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
81342 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
81343 __alignof__ (long double).
81344
81345 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81346
81347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81348
81349 2012-05-20 Richard Henderson <rth@twiddle.net>
81350
81351 * misc/getauxval.c: New file.
81352 * misc/sys/auxv.h: New file.
81353 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
81354 (routines): Add getauxval.
81355 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
81356 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
81357 * elf/dl-sysdep.c (_dl_auxv): Remove.
81358 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
81359 * elf/dl-support.c (_dl_auxv): New variable.
81360 (_dl_aux_init): Initialize it.
81361 * manual/startup.texi (Auxiliary Vector): New node.
81362 * sysdeps/generic/bits/hwcap.h: New file.
81363 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
81364 * sysdeps/powerpc/sysdep.h: ... here. Include it.
81365 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
81366 * sysdeps/sparc/sysdep.h: ... here. Include it.
81367 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
81368 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
81369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
81370 Update.
81371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
81372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
81373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
81374 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
81375 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81376 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
81378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
81379
81380 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81381
81382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81383
81384 2012-05-19 David S. Miller <davem@davemloft.net>
81385
81386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
81387
81388 2012-05-19 Joseph Myers <joseph@codesourcery.com>
81389
81390 [BZ #14123]
81391 * math/s_ccosh.c: Include <float.h>
81392 (__ccosh): Avoid internal overflow calculating sinh and cosh
81393 values before multiplying by sin and cos values.
81394 * math/s_ccoshf.c: Likewise.
81395 * math/s_ccoshl.c: Likewise.
81396 * math/s_csin.c: Likewise.
81397 * math/s_csinf.c: Likewise.
81398 * math/s_csinl.c: Likewise.
81399 * math/s_csinh.c: Likewise.
81400 * math/s_csinhf.c: Likewise.
81401 * math/s_csinhl.c: Likewise.
81402 * math/libm-test.inc (ccos_test): Add more tests.
81403 (ccosh_test): Likewise.
81404 (csin_test): Likewise.
81405 (csinh_test): Likewise.
81406 * sysdeps/i386/fpu/libm-test-ulps: Update.
81407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81408
81409 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
81410
81411 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
81412 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
81413
81414 * sysdeps/x86_64/x32/_itoa.h: Add comment.
81415
81416 2012-05-19 Joseph Myers <joseph@codesourcery.com>
81417
81418 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
81419 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
81420 * sysdeps/powerpc/soft-fp/Versions: Likewise.
81421 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
81422 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
81423 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
81424 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
81425 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
81426 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
81427 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
81428 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
81429 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
81430 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
81431 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
81432 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
81433 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
81434 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
81435 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
81436 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
81437 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
81438 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
81439 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
81440 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
81441 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
81442 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
81443 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
81444 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
81445 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
81446 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
81447 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
81448 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
81449
81450 2012-05-18 Andreas Jaeger <aj@suse.de>
81451
81452 * csu/.gitignore: Delete.
81453
81454 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81455
81456 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
81457 (timex): Use __syscall_slong_t.
81458
81459 2012-05-18 Andreas Jaeger <aj@suse.de>
81460 Carlos O'Donell <carlos_odonell@mentor.com>
81461
81462 * manual/install.texi (Configuring and compiling): Update
81463 description about files modified in the source directory.
81464 * INSTALL: Regenerated.
81465
81466 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81467
81468 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
81469 value. Use "or" to set return value to -1.
81470 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
81471 negate return value.
81472
81473 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
81474
81475 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
81476 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
81477 failure if the compiler has Graphite support disabled.
81478 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
81479 Likewise.
81480 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
81481 (CFLAGS-memmove.c): Likewise.
81482 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
81483 Likewise.
81484
81485 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81486
81487 * sysdeps/x86_64/x32/_itoa.h: New file.
81488
81489 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
81490 getdents system call only if kernel and user dirents have the
81491 same d_ino and d_off.
81492
81493 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
81494 LLONG_MAX != LONG_MAX.
81495 (_itoa_word): Use _ITOA_WORD_TYPE on value.
81496 (_fitoa_word): Likewise.
81497
81498 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
81499 years.
81500 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
81501 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
81502 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
81503
81504 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
81505 include <bits/wordsize.h>. Check __x86_64__ instead of
81506 __WORDSIZE.
81507 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
81508 if __x86_64__ is defined. Use anonymous union on fpstate.
81509
81510 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
81511 anonymous union.
81512
81513 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
81514
81515 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
81516 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
81517 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
81518 Refer to _rtld_local_ro instead of _rtld_global_ro.
81519 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
81520 Likewise.
81521 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
81522 Likewise.
81523 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
81524 Likewise.
81525 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
81526 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
81527 of _rtld_global, and rtld_progname instead of _dl_argv[0].
81528
81529 [BZ #10882]
81530 * sysdeps/powerpc/powerpc32/dl-machine.c
81531 (__elf_machine_runtime_setup) [PROF]: Don't reference
81532 _dl_prof_resolve.
81533
81534 2012-05-18 Andreas Jaeger <aj@suse.de>
81535
81536 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
81537 function only available for GCCs before 3.4 since GCC 3.4
81538 introduced a builtin.
81539 (lrint): Likewise.
81540 (llrintf): Likewise.
81541 (llrint): Likewise.
81542 (fmaxf): Likewise.
81543 (fmax): Likewise.
81544 (fminf): Likewise.
81545 (fmin): Likewise.
81546 (rint): Likewise.
81547 (rintf): Likewise.
81548 (nearbyint): Likewise.
81549 (nearbyintf): Likewise.
81550 (ceil): Likewise.
81551 (ceilf): Likewise.
81552 (floor): Likewise.
81553 (floorf): Likewise.
81554
81555 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
81556
81557 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
81558 on both fields and cast pointer to __syscall_ulong_t.
81559
81560 * bits/types.h (__fsword_t): New type.
81561 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
81562 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
81563 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81564 (__FSWORD_T_TYPE): Likewise.
81565 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81566 (__FSWORD_T_TYPE): Likewise.
81567 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81568 (__FSWORD_T_TYPE): Likewise.
81569 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
81570 (__FSWORD_T_TYPE): Likewise.
81571 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
81572 __SWORD_TYPE with __fsword_t.
81573 (statfs64): Likewise.
81574
81575 2012-05-17 David S. Miller <davem@davemloft.net>
81576
81577 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
81578
81579 2012-05-17 Andreas Jaeger <aj@suse.de>
81580
81581 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
81582 warning.
81583
81584 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
81585
81586 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
81587
81588 2012-05-17 Andreas Jaeger <aj@suse.de>
81589
81590 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
81591 when it is used.
81592
81593 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
81594
81595 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
81596
81597 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
81598
81599 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
81600 * sysdeps/x86_64/tst-mallocalign1.c: New file.
81601
81602 2012-05-17 Andreas Jaeger <aj@suse.de>
81603 Carlos O'Donell <carlos_odonell@mentor.com>
81604
81605 [BZ #14059]
81606 * sysdeps/x86_64/multiarch/init-arch.h
81607 (bit_YMM_Usable): Rename to...
81608 (bit_AVX_Usable): ... this.
81609 (bit_FMA4_Usable): New macro.
81610 (bit_XMM_state): New macro.
81611 (bit_YMM_state): New macro.
81612 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
81613 [__ASSEMBLER__] (index_AVX_Usable): ... this.
81614 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
81615 (CPUID_OSXSAVE): New macro.
81616 (CPUID_AVX): New macro.
81617 (CPUID_FMA4): New macro.
81618 (index_YMM_Usable): Rename to...
81619 (index_AVX_Usable): ... this.
81620 (HAS_AVX): Use HAS_ARCH_FEATURE.
81621 (HAS_FMA4): Likewise.
81622 (HAS_YMM_USABLE): Remove.
81623 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81624 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
81625 are present.
81626 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
81627 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
81628 * sysdeps/x86_64/multiarch/Makefile: Likewise.
81629 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
81630 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
81631
81632 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
81633
81634 * math/libm-test.c: Support platforms without multiple rounding modes.
81635 * math/bug-nextafter.c: Support platforms without FP exceptions.
81636 * math/bug-nexttoward.c: Likewise.
81637 * math/test-fenv.c: Likewise.
81638 * math/test-misc.c: Likewise.
81639 * stdlib/bug-getcontext.c: Likewise.
81640
81641 2012-05-17 Andreas Jaeger <aj@suse.de>
81642
81643 * manual/examples/search.c (critter_cmp): Change signature to
81644 avoid warnings.
81645 * manual/string.texi (Collation Functions): Likewise.
81646
81647 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81648
81649 * bits/types.h: Fold copyright years.
81650 * bits/typesizes.h: Likewise.
81651 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
81652 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
81653 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
81654 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
81655 * time/time.h: Likewise.
81656
81657 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
81658
81659 [BZ #208]
81660 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
81661 in instead of returning them. Return void.
81662 (__libc_mallinfo): Accumulate over all arenas.
81663 (__malloc_stats): Adjust for change in int_mallinfo interface.
81664
81665 2012-05-16 Roland McGrath <roland@hack.frob.com>
81666
81667 [BZ #10375]
81668 * configure.in (NM): Add AC_CHECK_TOOL for it.
81669 (libc_extra_cflags): New substituted variable.
81670 Check for -fstack-protector being used implicitly.
81671 * configure: Regenerated.
81672 * config.make.in (config-extra-cflags): New variable,
81673 gets @libc_extra_cflags@.
81674 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
81675
81676 [BZ #10375]
81677 * configure.in: Check for _FORTIFY_SOURCE being predefined.
81678 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
81679 * configure: Regenerated.
81680 * config.make.in (CPPUNDEFS): New substituted variable.
81681 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
81682 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
81683 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
81684
81685 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81686
81687 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
81688 (mq_attr): Use __syscall_slong_t.
81689
81690 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81691
81692 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
81693 Check __x86_64__ instead of __WORDSIZE.
81694 (_STAT_VER_LINUX): Likewise.
81695 (stat): Check __x86_64__ instead of __WORDSIZE. Use
81696 __syscall_ulong_t and __syscall_slong_t.
81697 (stat64): Likewise.
81698
81699 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81700
81701 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
81702
81703 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81704
81705 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
81706
81707 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81708
81709 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
81710 __syscall_ulong_t.
81711
81712 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
81713 include <bits/wordsize.h>. Check __x86_64__ instead of
81714 __WORDSIZE.
81715 (greg_t): Use "__extension__ long long int" if __x86_64__ is
81716 defined.
81717 (mcontext_t): Replace "unsigned long" with "unsigned long long".
81718
81719 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
81720 include <bits/wordsize.h>. Check __x86_64__ instead of
81721 __WORDSIZE.
81722 (user_regs_struct): Use "__extension__ unsigned long long"
81723 instead of "unsigned long" if __x86_64__ is defined.
81724 (user): Likewise. Pad after pointer field if __ILP32__ is
81725 defined.
81726
81727 2012-05-16 Joseph Myers <joseph@codesourcery.com>
81728
81729 * configure.in (makeinfo): Require version 4.5 or later. Allow
81730 versions 5 to 9.
81731 * configure: Regenerated.
81732 * manual/install.texi (texinfo): Increase version requirement to
81733 4.5 or later.
81734 * INSTALL: Regenerated.
81735
81736 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
81737
81738 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81739
81740 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
81741
81742 * sysdeps/x86_64/x32/ffs.c: New file.
81743
81744 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
81745 __syscall_ulong_t.
81746 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
81747 defined. Use __syscall_ulong_t.
81748 (shminfo): Use __syscall_ulong_t.
81749 (shm_info): Likewise.
81750
81751 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
81752 __syscall_ulong_t.
81753
81754 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
81755 <bits/wordsize.h>.
81756 (msgqnum_t): Use __syscall_ulong_t.
81757 (msglen_t): Likewise.
81758 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
81759 __syscall_ulong_t.
81760
81761 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
81762 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
81763
81764 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
81765
81766 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
81767 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
81768
81769 * sysvipc/sys/msg.h (msgbuf): Replace long int with
81770 __syscall_slong_t.
81771
81772 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
81773 include <bits/wordsize.h>. Check __x86_64__ instead of
81774 __WORDSIZE.
81775
81776 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
81777 "unsigned long long int" if __x86_64__ is defined.
81778 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
81779
81780 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
81781 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
81782 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
81783
81784 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
81785 <stdint.h>.
81786 (GET_PC): Cast to uintptr_t first.
81787 (GET_FRAME): Likewise.
81788 (GET_STACK): Likewise.
81789
81790 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
81791 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
81792 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
81793 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
81794 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
81795 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
81796 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
81797 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
81798 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
81799 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
81800 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
81801 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
81802 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
81803 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
81804 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
81805 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
81806 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
81807 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
81808 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
81809 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
81810 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
81811 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
81812 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
81813 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
81814 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
81815 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
81816 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
81817 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
81818 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
81819
81820 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
81821
81822 * Makerules (+depfiles): Also collect depfiles from .oS in
81823 $(extra-objs).
81824 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
81825 .oS, $(libnldbl-routines)).
81826
81827 * Makerules (native-compile-mkdep-flags): Define.
81828 * sunrpc/Makefile (extra-objs): Add $(addprefix
81829 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
81830 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
81831 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
81832 calling $(make-target-directory).
81833
81834 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81835
81836 * bits/types.h (__snseconds_t): Removed.
81837 * time/time.h (struct timespec): Replace __snseconds_t with
81838 __syscall_slong_t.
81839 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
81840 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
81841 Likewise.
81842 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81843 (__SNSECONDS_T_TYPE): Likewise.
81844 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81845 (__SNSECONDS_T_TYPE): Likewise.
81846 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81847 (__SNSECONDS_T_TYPE): Likewise.
81848
81849 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81850
81851 * sysdeps/mach/hurd/bits/typesizes.h
81852 (__SYSCALL_SLONG_TYPE): New macro.
81853 (__SYSCALL_ULONG_TYPE): Likewise.
81854
81855 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81856
81857 * bits/types.h (__syscall_slong_t): New type.
81858 (__syscall_ulong_t): Likewise.
81859
81860 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
81861 (__SYSCALL_ULONG_TYPE): Likewise.
81862 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81863 (__SYSCALL_SLONG_TYPE): Likewise.
81864 (__SYSCALL_ULONG_TYPE): Likewise.
81865 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81866 (__SYSCALL_SLONG_TYPE): Likewise.
81867 (__SYSCALL_ULONG_TYPE): Likewise.
81868 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81869 (__SYSCALL_SLONG_TYPE): Likewise.
81870 (__SYSCALL_ULONG_TYPE): Likewise.
81871
81872 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81873
81874 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
81875 Add sigaltstack-offsets.sym.
81876 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
81877 <sigaltstack-offsets.h>.
81878 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
81879 longjmp_msg pointer.
81880 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
81881 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
81882 signal stack.
81883 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
81884
81885 2012-05-15 Joseph Myers <joseph@codesourcery.com>
81886
81887 * elf/stackguard-macros.h: Remove file.
81888 * sysdeps/generic/stackguard-macros.h: New file.
81889 * sysdeps/i386/stackguard-macros.h: Likewise.
81890 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
81891 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
81892 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
81893 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
81894 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
81895 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
81896 * sysdeps/x86_64/stackguard-macros.h: Likewise.
81897 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
81898 <elf/stackguard-macros.h>.
81899
81900 [BZ #14109]
81901 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
81902 __aligned__ in attribute.
81903 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
81904 (gregset_t): Likewise.
81905
81906 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81907
81908 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
81909 * sysdeps/x86_64/64/Implies-after: Here. New file.
81910 * sysdeps/x86_64/x32/Implies-after: New file.
81911
81912 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81913
81914 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
81915 and access return value for _dl_profile_fixup. Use R10_LP to
81916 load frame size.
81917
81918 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81919
81920 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
81921
81922 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81923
81924 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
81925 * sysdeps/x86_64/x32/sysdep.h: New file.
81926
81927 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81928
81929 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
81930 * sysdeps/x86_64/setjmp.S: Likewise.
81931
81932 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81933
81934 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
81935 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
81936 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
81937 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
81938 remove unused global constant.
81939
81940 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
81941
81942 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
81943 include of <not-cancel.h>.
81944
81945 2012-05-15 Roland McGrath <roland@hack.frob.com>
81946
81947 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
81948
81949 2012-05-15 Jeff Law <law@redhat.com>
81950 Andreas Jaeger <aj@suse.de>
81951
81952 [BZ #13594]
81953 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
81954 out from...
81955 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
81956 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
81957 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
81958 code changing __hst_map_handle.map.
81959
81960 2012-05-15 Roland McGrath <roland@hack.frob.com>
81961
81962 * configure.in (sysnames): Look for Implies-before and Implies-after
81963 files.
81964 * configure: Regenerated.
81965
81966 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81967
81968 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
81969 8-byte data alignment with LP_SIZE alignment.
81970
81971 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81972
81973 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
81974 into R10_LP.
81975
81976 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81977
81978 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
81979
81980 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81981
81982 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
81983 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
81984 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
81985 Likewise.
81986 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
81987
81988 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81989
81990 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
81991 (stackinfo_sub_sp): Likewise.
81992
81993 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81994
81995 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
81996 RAX_LP.
81997
81998 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81999
82000 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
82001 into R*_LP.
82002
82003 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82004
82005 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
82006 sizes into R*_LP.
82007
82008 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82009
82010 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
82011
82012 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82013
82014 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
82015 into R11_LP and load __x86_64_shared_cache_size_half into
82016 R8_LP.
82017
82018 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82019
82020 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
82021 R8_LP.
82022
82023 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82024
82025 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
82026 logb for POWER7.
82027 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
82028 logbf for POWER7.
82029 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
82030 logbl for POWER7.
82031 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
82032 powerpc32/power7/fpu/s_logb.c via #include.
82033 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
82034 powerpc32/power7/fpu/s_logbf.c via #include.
82035 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
82036 powerpc32/power7/fpu/s_logbl.c via #include.
82037
82038 2012-05-15 Joseph Myers <joseph@codesourcery.com>
82039
82040 * README.libm: Remove file.
82041
82042 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82043
82044 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
82045 count for x32. Use R*_LP and omit operand-size suffix.
82046
82047 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82048
82049 * shlib-versions: Move x86_64-.*-linux.* entries to ...
82050 * sysdeps/x86_64/64/shlib-versions: Here. New file.
82051 * sysdeps/x86_64/x32/shlib-versions: New file.
82052
82053 2012-05-14 Roland McGrath <roland@hack.frob.com>
82054
82055 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
82056 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
82057 Use _dl_fatal_printf instead.
82058
82059 2012-05-14 Joseph Myers <joseph@codesourcery.com>
82060
82061 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
82062 set if not set by the user. Do not allow for being unset.
82063 * sysdeps/unix/sysv/linux/configure: Regenerated.
82064
82065 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82066
82067 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
82068 the `q' suffix from lea and replace .quad with ASM_ADDR.
82069
82070 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82071
82072 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
82073 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
82074 instead of $17.
82075 (PTR_DEMANGLE): Likewise.
82076
82077 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82078
82079 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
82080 (LP_OP): Likewise.
82081 (ASM_ADDR): Likewise.
82082 (RAX_LP): Likewise.
82083 (RBP_LP): Likewise.
82084 (RBX_LP): Likewise.
82085 (RCX_LP): Likewise.
82086 (RDI_LP): Likewise.
82087 (RSI_LP): Likewise.
82088 (RSP_LP): Likewise.
82089 (R8_LP): Likewise.
82090 (R9_LP): Likewise.
82091 (R10_LP): Likewise.
82092 (R10_LP): Likewise.
82093 (R11_LP): Likewise.
82094 (R12_LP): Likewise.
82095 (R13_LP): Likewise.
82096 (R14_LP): Likewise.
82097 (R15_LP): Likewise.
82098
82099 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82100
82101 * sysdeps/x86_64/x32/dl-machine.h: New file.
82102
82103 2012-05-14 Andreas Jaeger <aj@suse.de>
82104
82105 * manual/Makefile (subdir): Remove export of subdir.
82106 (all): Remove target.
82107 (.PHONY): Remove all from list.
82108 (mkinstalldirs): Remove.
82109 (.PHONY): Remove installdirs from list.
82110 ($(inst_infodir)/libc.info): Use make-target-directory.
82111 (installdirs): Remove.
82112 (subdir_%): Remove.
82113 (glibc-targets): Remove.
82114 (lib): Remove.
82115 (stubs): Remove.
82116 ($(objpfx)stubs ../po/manual.pot): Remove.
82117 ($(objpfx)stamp%): Remove.
82118 (make-target-directory): Remove.
82119 (subdir_install): Remove.
82120 (routines): Remove.
82121 (aux): Remove.
82122 (sources): Remove.
82123 (objects): Remove.
82124 (headers): Remove.
82125
82126 [BZ #13750]
82127 * manual/.gitignore: Remove, it's not needed anymore.
82128 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
82129 all files in it.
82130 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
82131 directory.
82132 (texis): Renamed to $(objpfx)texis.
82133 (texis-path): New, contains path to generated files.
82134 (chapters.%): Use texis-path for complete path, add extra argument
82135 libc-texinfo.sh.
82136 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
82137 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
82138 (summary,texi, stamp-summary): Use complete path of
82139 files. Generate files in build dir.
82140 (dir-add.texi): Build in build dir.
82141 (libm-err.texi,stamp-libm-err): Likewise.
82142 (version.texi, stamp-version): Likewise.
82143 (.%c.texi): Likewise.
82144 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
82145 (mostlyclean): Remove target.
82146 (realclean): Remove target.
82147 (generated): Add new variable with contents from mostlyclean and
82148 realclean, remove entries duplicated in common-mostlyclean, add
82149 stamp-libm-err and stamp-version.
82150 (generated-dirs): Add libc directory.
82151 ($(inst_infodir)/libc.info): Install files from build dir.
82152
82153 * manual/install.texi (Configuring and compiling): Adjust since
82154 the info files are not part of the tar ball anymore.
82155
82156 2012-05-14 Andreas Jaeger <aj@suse.de>
82157
82158 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
82159 variable.
82160
82161 2012-05-14 Joseph Myers <joseph@codesourcery.com>
82162
82163 [BZ #13717]
82164 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
82165 to 2.2.0 where earlier.
82166 * sysdeps/unix/sysv/linux/configure: Regenerated.
82167 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
82168 Remove conditional code.
82169 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
82170 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
82171 Remove conditional code.
82172 [!__NR_lchown]: Likewise.
82173 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82174 [__NR_lchown]: Likewise.
82175 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
82176 comment referencing __ASSUME_LCHOWN_SYSCALL.
82177 * sysdeps/unix/sysv/linux/i386/sigaction.c
82178 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82179 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82180 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
82181 Remove conditional code.
82182 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
82183 (__protocol_available): Remove #if 0 code.
82184 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
82185 conditional code.
82186 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
82187 * sysdeps/unix/sysv/linux/kernel-features.h
82188 (__ASSUME_GETCWD_SYSCALL): Don't define.
82189 (__ASSUME_REALTIME_SIGNALS): Likewise.
82190 (__ASSUME_PREAD_SYSCALL): Likewise.
82191 (__ASSUME_PWRITE_SYSCALL): Likewise.
82192 (__ASSUME_POLL_SYSCALL): Likewise.
82193 (__ASSUME_LCHOWN_SYSCALL): Likewise.
82194 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
82195 non-SPARC.
82196 (__ASSUME_SIOCGIFNAME): Don't define.
82197 (__ASSUME_MSG_NOSIGNAL): Likewise.
82198 (__ASSUME_SENDFILE): Define unconditionally.
82199 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
82200 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
82201 conditional code.
82202 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
82203 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
82204 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82205 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82206 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
82207 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82208 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
82210 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82211 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
82213 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82214 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
82216 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82217 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
82219 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82220 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
82222 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82223 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
82225 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82226 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
82228 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82229 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
82231 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82232 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82233 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
82234 Remove conditional code.
82235 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82236 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82237 Remove conditional code.
82238 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82239 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
82240 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
82241 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82242 Remove conditional code.
82243 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82244 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
82245 Remove conditional code.
82246 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82247 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
82248 Remove conditional code.
82249 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82250 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82251 Remove conditional code.
82252 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82253 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82254 Remove conditional code.
82255 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82256 * sysdeps/unix/sysv/linux/sh/pwrite64.c
82257 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82258 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82259 * sysdeps/unix/sysv/linux/sigaction.c
82260 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82261 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82262 * sysdeps/unix/sysv/linux/sigpending.c
82263 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82264 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82265 * sysdeps/unix/sysv/linux/sigprocmask.c
82266 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82267 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82268 * sysdeps/unix/sysv/linux/sigsuspend.c
82269 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82270 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82271 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
82272 (__libc_missing_rt_sigs): Remove.
82273 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
82274 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
82275 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
82276 Remove conditional code.
82277 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
82278 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
82279 return 1.
82280 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
82281 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
82282 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
82283 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
82284
82285 2012-05-14 Andreas Jaeger <aj@suse.de>
82286
82287 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
82288 it's not used in glibc.
82289 (__coshm1): Likewise.
82290 (__acosh1p): Likewise.
82291 (__sgn): Likewise.
82292
82293 * manual/string.texi (Copying and Concatenation): Add missing
82294 variable in concat example.
82295 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
82296
82297 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82298
82299 [BZ #14103]
82300 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
82301 __builtin_clzl with __builtin_clzll.
82302
82303 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82304
82305 [BZ #14104]
82306 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
82307 libc_freeres_ptr.
82308
82309 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82310
82311 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
82312 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
82313 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
82314 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
82315
82316 2012-05-14 Mike Frysinger <vapier@gentoo.org>
82317
82318 * NEWS: Update ia64 info.
82319
82320 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
82321
82322 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
82323 used as bcopy.
82324
82325 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
82326
82327 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
82328 * sysdeps/unix/syscalls.list (dup3): Likewise.
82329 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
82330 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
82331
82332 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
82333
82334 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
82335 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
82336
82337 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
82338
82339 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
82340 thread pointer.
82341 (TLS_IE): Use mov/add instead of movq/addq to load thread
82342 pointer.
82343 (TLS_GD_PREFIX): New.
82344 (TLS_GD): Use it.
82345
82346 2012-05-11 David S. Miller <davem@davemloft.net>
82347
82348 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
82349 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
82350 (_FPU_SETCW): Likewise.
82351
82352 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82353
82354 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
82355 is 32-byte aligned.
82356
82357 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
82358
82359 [BZ #11837]
82360 * iconvdata/gb18030.c: Update tables.
82361 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
82362 characters specially.
82363 (BODY for TO_LOOP): Add encoding of missing ranges.
82364
82365 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
82366
82367 [BZ #13673]
82368 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
82369 * sysdeps/mach/hurd/dup3.c: Likewise.
82370 * sysdeps/mach/hurd/readlinkat.c: Likewise.
82371 * sysdeps/powerpc/memmove.c:: Likewise.
82372
82373 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82374
82375 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
82376 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
82377
82378 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82379
82380 * elf/elf.h (R_X86_64_RELATIVE64): New.
82381 (R_X86_64_NUM): Updated.
82382 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
82383 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
82384 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
82385 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
82386 tst-quad1pie tst-quad2pie
82387 (modules-names): Add tst-quadmod1 tst-quadmod2.
82388 ($(objpfx)tst-quad1): New dependency.
82389 ($(objpfx)tst-quad2): Likewise.
82390 ($(objpfx)tst-quad1pie): Likewise.
82391 ($(objpfx)tst-quad2pie): Likewise.
82392 * sysdeps/x86_64/tst-quad1.c: New file.
82393 * sysdeps/x86_64/tst-quad1pie.c: New file.
82394 * sysdeps/x86_64/tst-quad2.c: Likewise.
82395 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
82396 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
82397 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
82398 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
82399 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
82400
82401 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82402
82403 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
82404 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
82405 * streams/stropts.h (t_scalar_t): Define type.
82406
82407 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
82408 (_PATH_PRESERVE): Set to "/var/lib".
82409 (_PATH_RWHODIR): Set to "/var/spool/rwho".
82410
82411 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
82412 instead of int.
82413
82414 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
82415 if __dir_mkfile succeeded.
82416
82417 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
82418 checking for _hurd_dtablesize. Unlock it right after having
82419 finished _hurd_dtable allocation.
82420
82421 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82422
82423 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
82424 * sysdeps/mach/hurd/configure: Regenerated.
82425 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
82426 special-casing to...
82427 * sysdeps/gnu/configure.in: ... this new file.
82428 * sysdeps/unix/sysv/linux/configure: Regenerated.
82429 * sysdeps/gnu/configure: New generated file.
82430
82431 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
82432 for Linux: use nsec instead of usec, as well as:
82433 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
82434 members of type struct timespec.
82435 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
82436 New macros.
82437 (struct stat64): Likewise.
82438 (_STATBUF_ST_NSEC): New macro.
82439 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
82440
82441 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
82442 __strtoul_internal rather than strtoul.
82443
82444 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82445
82446 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
82447 and reject them.
82448
82449 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82450
82451 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
82452 which preserves existing values.
82453 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
82454
82455 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82456
82457 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
82458 TIMEOUT values. Return EINVAL for NFDS values either negative or
82459 greater than FD_SETSIZE.
82460
82461 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82462
82463 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
82464 allocated, call __vm_protect to finish enabling the existing space, and
82465 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
82466 allocate the remainder.
82467
82468 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82469
82470 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
82471 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
82472
82473 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82474
82475 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
82476 sysdeps/mach/hurd/readlink.c.
82477
82478 * posix/tst-sysconf.c (posix_options): Only use
82479 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
82480 _POSIX_SYNCHRONIZED_IO when they are defined
82481 * sysdeps/mach/hurd/bits/posix_opt.h:
82482 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
82483 (_XOPEN_REALTIME): Undefine macro.
82484 (_XOPEN_REALTIME_THREADS): Undefine macro.
82485 (_XOPEN_SHM): Undefine macro.
82486 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
82487 macro to -1.
82488 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
82489 macro to -1.
82490 (_POSIX_ASYNC_IO): Undefine macro.
82491 (_POSIX_PRIORITIZED_IO): Undefine macro.
82492 (_POSIX_SPIN_LOCKS): Define macro to -1.
82493
82494 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
82495 SA_NODEFER, SA_RESETHAND.
82496 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
82497 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
82498 F_DUPFD_CLOEXEC.
82499
82500 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82501
82502 * elf/Makefile (pldd-modules): Define unconditionally.
82503
82504 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82505
82506 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
82507
82508 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82509
82510 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
82511 Return ENOENT when name is empty.
82512 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
82513
82514 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82515
82516 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
82517
82518 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
82519
82520 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82521
82522 Fix mlock in all cases except non-readable pages.
82523 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
82524 instead of VM_PROT_ALL as parameter to __vm_wire function.
82525
82526 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
82527 (__mkdir): When path is `/', just fail with EEXIST.
82528 * sysdeps/mach/hurd/mkdirat.c: Likewise.
82529
82530 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82531
82532 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
82533 <sys/uio.h> (for writev).
82534 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
82535 and <sys/param.h> (for MIN).
82536
82537 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82538
82539 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
82540 REQUESTED_TIME. Properly set the remaining time and return EINTR
82541 if interrupted.
82542
82543 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82544
82545 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
82546 Depend on against $(link-rpcuserlibs).
82547
82548 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82549
82550 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
82551 (__libc_stack_end): Do not use attribute_relro.
82552 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
82553 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
82554 to libthread-provided value.
82555 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
82556 attribute_relro.
82557
82558 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82559
82560 [BZ #3748]
82561 * bits/libc-lock.h (__libc_once_get): New macro.
82562 * sysdeps/mach/bits/libc-lock.h: Likewise.
82563 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
82564 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
82565 instead of using implementation details.
82566
82567 * libio/fileops.c: Unconditionally include <kernel-features.h>.
82568 * libio/freopen.c: Likewise.
82569 * libio/freopen64.c: Likewise.
82570 * misc/syslog.c: Likewise.
82571 * nscd/connections.c: Likewise.
82572 * nscd/netgroupcache.c: Likewise.
82573 * sysdeps/posix/getcwd.c: Likewise.
82574
82575 2012-05-10 Roland McGrath <roland@hack.frob.com>
82576
82577 * math/w_ilogbf.c: Add #include <limits.h>.
82578
82579 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82580
82581 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
82582 path instead of returning without unlocking.
82583
82584 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
82585 immediate-write ioctls.
82586 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
82587
82588 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82589
82590 * sysdeps/mach/hurd/i386/init-first.c (init): Use
82591 __builtin_frame_address instead of making assumptions about the
82592 location of the return address relative to DATA. Force early load of
82593 the return address.
82594 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
82595 __builtin_frame_address.
82596
82597 dup3 for GNU Hurd.
82598 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
82599 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
82600 implement dup3 and do some further code clean-ups.
82601 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
82602 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
82603
82604 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82605
82606 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
82607
82608 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
82609 HURD_CRITICAL_END around holding _hurd_dtable_lock.
82610 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
82611 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
82612 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
82613 d->port.lock.
82614
82615 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
82616 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
82617 when handler == SIG_ERR, not when handler != SIG_ERR.
82618
82619 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82620
82621 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
82622 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
82623 definitions.
82624
82625 accept4 for GNU Hurd.
82626 * include/sys/socket.h (__libc_accept4): New prototype.
82627 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
82628 to implement __libc_accept4.
82629 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
82630 __libc_accept4.
82631 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
82632
82633 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
82634 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
82635 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
82636 signal-defines.sym.
82637
82638 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82639
82640 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
82641
82642 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82643
82644 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
82645 assertion on O_CLOEXEC flag.
82646 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
82647 * hurd/intern-fd.c: Likewise.
82648 * hurd/port2fd.c: Likewise.
82649
82650 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82651
82652 [BZ #3906]
82653 * bits/in.h (IPV6_PKTINFO): Define new macro.
82654 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
82655
82656 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82657
82658 [BZ #13954]
82659 [BZ #13955]
82660 [BZ #13956]
82661 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
82662 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
82663 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
82664 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
82665 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
82666 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
82667 * math/libm-test.inc (logb_test) : Additional logb tests.
82668
82669 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
82670 Andreas Jaeger <aj@suse.de>
82671
82672 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
82673 * configure: Regenerated.
82674 * config.h.in (LINK_OBSOLETE_RPC): New macro.
82675 * config.make.in (link-obsolete-rpc): New substituted variable.
82676 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
82677 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
82678 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82679 (shared-only-routines): Don't set it under [link-obsolete-rpc],
82680 so that libc.a contains the symbols.
82681 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82682 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
82683 * sunrpc/auth_none.c: Likewise.
82684 * sunrpc/auth_unix.c: Likewise.
82685 * sunrpc/authdes_prot.c: Likewise.
82686 * sunrpc/authuxprot.c: Likewise.
82687 * sunrpc/clnt_gen.c: Likewise.
82688 * sunrpc/clnt_perr.c: Likewise.
82689 * sunrpc/clnt_raw.c: Likewise.
82690 * sunrpc/clnt_simp.c: Likewise.
82691 * sunrpc/clnt_tcp.c: Likewise.
82692 * sunrpc/clnt_udp.c: Likewise.
82693 * sunrpc/clnt_unix.c: Likewise.
82694 * sunrpc/des_crypt.c: Likewise.
82695 * sunrpc/des_soft.c: Likewise.
82696 * sunrpc/get_myaddr.c: Likewise.
82697 * sunrpc/key_call.c: Likewise.
82698 * sunrpc/key_prot.c: Likewise.
82699 * sunrpc/netname.c: Likewise.
82700 * sunrpc/pm_getmaps.c: Likewise.
82701 * sunrpc/pm_getport.c: Likewise.
82702 * sunrpc/pmap_clnt.c: Likewise.
82703 * sunrpc/pmap_prot.c: Likewise.
82704 * sunrpc/pmap_prot2.c: Likewise.
82705 * sunrpc/pmap_rmt.c: Likewise.
82706 * sunrpc/publickey.c: Likewise.
82707 * sunrpc/rpc_cmsg.c: Likewise.
82708 * sunrpc/rpc_common.c: Likewise.
82709 * sunrpc/rpc_dtable.c: Likewise.
82710 * sunrpc/rpc_prot.c: Likewise.
82711 * sunrpc/rpc_thread.c: Likewise.
82712 * sunrpc/rtime.c: Likewise.
82713 * sunrpc/svc.c: Likewise.
82714 * sunrpc/svc_auth.c: Likewise.
82715 * sunrpc/svc_raw.c: Likewise.
82716 * sunrpc/svc_run.c: Likewise.
82717 * sunrpc/svc_tcp.c: Likewise.
82718 * sunrpc/svc_udp.c: Likewise.
82719 * sunrpc/svc_unix.c: Likewise.
82720 * sunrpc/svcauth_des.c: Likewise.
82721 * sunrpc/xcrypt.c: Likewise.
82722 * sunrpc/xdr.c: Likewise.
82723 * sunrpc/xdr_array.c: Likewise.
82724 * sunrpc/xdr_float.c: Likewise.
82725 * sunrpc/xdr_intXX_t.c: Likewise.
82726 * sunrpc/xdr_mem.c: Likewise.
82727 * sunrpc/xdr_rec.c: Likewise.
82728 * sunrpc/xdr_ref.c: Likewise.
82729 * sunrpc/xdr_sizeof.c: Likewise.
82730 * sunrpc/xdr_stdio.c: Likewise.
82731
82732 2012-05-10 Roland McGrath <roland@hack.frob.com>
82733
82734 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
82735 change. Update copyright years.
82736
82737 2012-05-10 Joseph Myers <joseph@codesourcery.com>
82738
82739 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
82740
82741 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
82742 Joseph Myers <joseph@codesourcery.com>
82743 Paul Pluzhnikov <ppluzhnikov@google.com>
82744
82745 [BZ #14012]
82746 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
82747 requiring rpcgen.
82748 [cross-compiling] (extra-libs): Likewise.
82749 [cross-compiling] (extra-libs-others): Likewise.
82750 [cross-compiling] (librpcsvc-routines): Likewise.
82751 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
82752 [cross-compiling] (omit-deps): Likewise.
82753 (sunrpc-CPPFLAGS): New variable.
82754 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
82755 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
82756 (cross-rpcgen-objs): New variable.
82757 (extra-objs): Append $(cross-rpcgen-objs).
82758 ($(cross-rpcgen-objs)): New rule.
82759 ($(objpfx)cross-rpcgen): Likewise.
82760 (rpcgen-cmd): Define to use $(built-program-file). Expand
82761 comment.
82762 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
82763 ($(objpfx)x%.stmp): Likewise.
82764 * sunrpc/proto.h [IS_IN_build] (_): Define.
82765 [IS_IN_build] (_libc_intl_domainname): Likewise.
82766
82767 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82768
82769 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
82770 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
82771 and R_X86_64_TPOFF64.
82772
82773 2012-05-10 Joseph Myers <joseph@codesourcery.com>
82774
82775 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
82776 sysdeps/unix/sysv/syscalls.list.
82777 (stime): Likewise.
82778 (utime): Likewise.
82779 * sysdeps/unix/sysv/syscalls.list: Remove file.
82780
82781 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
82782
82783 [BZ #3440]
82784 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
82785 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
82786 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
82787 (__LC_IDENTIFICATION): Make these macros useful in #if
82788 expressions, as required by C99.
82789
82790 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
82791
82792 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
82793 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
82794 after this.
82795
82796 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
82797
82798 * stdlib/longlong.h: Updated from GCC.
82799
82800 2012-05-09 Andreas Jaeger <aj@suse.de>
82801
82802 * nscd/nscd.c (run_modes): Make named enum, reorder so that
82803 default is first entry.
82804 (run_mode): Set type.
82805 (main): Remove informal message about syslog.
82806 (options): Fix typo.
82807
82808 [BZ #14053]
82809 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
82810 to asm.
82811 (lrint): Likewise.
82812 (llrintf): Likewise.
82813 (llrint): Likewise.
82814 (rint): Likewise.
82815 (rintf): Likewise.
82816 (nearbyint): Likewise.
82817 (nearbyintf): Likewise.
82818
82819 2012-05-09 Andreas Jaeger <aj@suse.de>
82820 Pedro Alves <palves@redhat.com>
82821
82822 * nscd/nscd.c (run_mode): Use enum.
82823 (main): Cleanup coding style issue.
82824
82825 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
82826 Andreas Jaeger <aj@suse.de>
82827
82828 * nscd/nscd.c (go_background): Replaced with...
82829 (run_mode): ... this.
82830 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
82831 (options): Add -F --foreground.
82832 (main): Implement it.
82833 (parse_opt): Parse it.
82834
82835 2012-05-09 Andreas Jaeger <aj@suse.de>
82836
82837 [BZ #14083]
82838 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
82839 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
82840 -Wconversion warning.
82841 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
82842 Likewise.
82843
82844 2012-05-09 Joseph Myers <joseph@codesourcery.com>
82845
82846 * conform/data/locale.h-data (NULL): Use macro-constant. Require
82847 == 0.
82848 (LC_ALL): Use macro-int-constant.
82849 (LC_COLLATE): Likewise.
82850 (LC_CTYPE): Likewise.
82851 (LC_MESSAGES): Likewise.
82852 (LC_MONETARY): Likewise.
82853 (LC_NUMERIC): Likewise.
82854 (LC_TIME): Likewise.
82855 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
82856 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
82857 [ISO || ISO99 || ISO11] (*_t): Do not allow.
82858 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
82859 Specify type.
82860 [C99-based standards] (float_t): Expect type.
82861 [C99-based standards] (double_t): Expect type.
82862 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
82863 type.
82864 [C99-based standards] (HUGE_VALL): Likewise.
82865 [C99-based standards] (INFINITY): Likewise.
82866 [C99-based standards] (NAN): Likewise.
82867 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
82868 [C99-based standards] (FP_NAN): Likewise.
82869 [C99-based standards] (FP_NORMAL): Likewise.
82870 [C99-based standards] (FP_SUBNORMAL): Likewise.
82871 [C99-based standards] (FP_ZERO): Likewise.
82872 [C99-based standards] (FP_FAST_FMA): Use
82873 optional-macro-int-constant. Specify type. Require == 1.
82874 [C99-based standards] (FP_FAST_FMAF): Likewise.
82875 [C99-based standards] (FP_FAST_FMAL): Likewise.
82876 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
82877 [C99-based standards] (FP_ILOGBNAN): Likewise.
82878 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
82879 Specify type.
82880 [C99-based standards] (MATH_ERREXCEPT): Likewise.
82881 [C99-based standards] (math_errhandling): Specify type.
82882 [ISO99 || ISO11] (signgam): Do not allow.
82883 [non-C99-based standards] (copysignf): Do not allow.
82884 [non-C99-based standards] (exp2f): Likewise.
82885 [non-C99-based standards] (log2f): Likewise.
82886 [non-C99-based standards] (modff): Allow.
82887 [non-C99-based standards] (erff): Do not allow.
82888 [non-C99-based standards] (erfcf): Likewise.
82889 [non-C99-based standards] (gammaf): Likewise.
82890 [non-C99-based standards] (hypotf): Likewise.
82891 [non-C99-based standards] (j0f): Likewise.
82892 [non-C99-based standards] (j1f): Likewise.
82893 [non-C99-based standards] (jnf): Likewise.
82894 [non-C99-based standards] (lgammaf): Likewise.
82895 [non-C99-based standards] (tgammaf): Likewise.
82896 [non-C99-based standards] (y0f): Likewise.
82897 [non-C99-based standards] (y1f): Likewise.
82898 [non-C99-based standards] (ynf): Likewise.
82899 [non-C99-based standards] (isnanf): Likewise.
82900 [non-C99-based standards] (acoshf): Likewise.
82901 [non-C99-based standards] (asinhf): Likewise.
82902 [non-C99-based standards] (atanhf): Likewise.
82903 [non-C99-based standards] (cbrtf): Likewise.
82904 [non-C99-based standards] (expm1f): Likewise.
82905 [non-C99-based standards] (ilogbf): Likewise.
82906 [non-C99-based standards] (log1pf): Likewise.
82907 [non-C99-based standards] (logbf): Likewise.
82908 [non-C99-based standards] (nextafterf): Likewise.
82909 [non-C99-based standards] (remainderf): Likewise.
82910 [non-C99-based standards] (rintf): Likewise.
82911 [non-C99-based standards] (scalbf): Likewise.
82912 [non-C99-based standards] (copysignl): Likewise.
82913 [non-C99-based standards] (exp2l): Likewise.
82914 [non-C99-based standards] (log2l): Likewise.
82915 [non-C99-based standards] (modfl): Allow.
82916 [non-C99-based standards] (erfl): Do not allow.
82917 [non-C99-based standards] (erfcl): Likewise.
82918 [non-C99-based standards] (gammal): Likewise.
82919 [non-C99-based standards] (hypotl): Likewise.
82920 [non-C99-based standards] (j0l): Likewise.
82921 [non-C99-based standards] (j1l): Likewise.
82922 [non-C99-based standards] (jnl): Likewise.
82923 [non-C99-based standards] (lgammal): Likewise.
82924 [non-C99-based standards] (tgammal): Likewise.
82925 [non-C99-based standards] (y0l): Likewise.
82926 [non-C99-based standards] (y1l): Likewise.
82927 [non-C99-based standards] (ynl): Likewise.
82928 [non-C99-based standards] (isnanl): Likewise.
82929 [non-C99-based standards] (acoshl): Likewise.
82930 [non-C99-based standards] (asinhl): Likewise.
82931 [non-C99-based standards] (atanhl): Likewise.
82932 [non-C99-based standards] (cbrtl): Likewise.
82933 [non-C99-based standards] (expm1l): Likewise.
82934 [non-C99-based standards] (ilogbl): Likewise.
82935 [non-C99-based standards] (log1pl): Likewise.
82936 [non-C99-based standards] (logbl): Likewise.
82937 [non-C99-based standards] (nextafterl): Likewise.
82938 [non-C99-based standards] (remainderl): Likewise.
82939 [non-C99-based standards] (rintl): Likewise.
82940 [non-C99-based standards] (scalbl): Likewise.
82941 [ISO || ISO99 || ISO11] (*_t): Do not allow.
82942 [non-C99-based standards] (FP_*): Do not allow.
82943 [C99-based standards] (FP_*): Change to
82944 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
82945 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
82946 allow.
82947 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
82948 (SIG_ERR): Likewise.
82949 [X/Open-based standards] (SIG_HOLD): Likewise.
82950 (SIG_IGN): Likewise.
82951 (SIGABRT): Use macro-int-constant. Specify type. Require
82952 positive value.
82953 (SIGFPE): Likewise.
82954 (SIGILL): Likewise.
82955 (SIGINT): Likewise.
82956 (SIGSEGV): Likewise.
82957 (SIGTER): Likewise.
82958 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
82959 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
82960 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
82961 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
82962 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
82963 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
82964 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
82965 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
82966 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
82967 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
82968 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
82969 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
82970 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
82971 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
82972 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
82973 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
82974 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
82975 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
82976 [X/Open-based standards] (SIGTRAP): Likewise.
82977 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
82978 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
82979 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
82980 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
82981 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
82982 allow.
82983
82984 2012-05-08 Ian Wienand <ianw@vmware.com>
82985
82986 [BZ #14080]
82987 * time/tzset.c (__tzset_parse_tz): Update default rules for
82988 daylight time changes in the Energy Policy Act of 2005.
82989
82990 2012-05-09 Andreas Jaeger <aj@suse.de>
82991
82992 [BZ #13983]
82993 * elf/ldconfig.c (parse_conf): Change string to make clear that
82994 ldconfig only issued a warning if ld.so.conf does not exist.
82995
82996 2012-05-08 David S. Miller <davem@davemloft.net>
82997
82998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
82999 movxtod instead of popping the value on the stack.
83000
83001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83002
83003 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
83004
83005 * config.h.in: Add HAVE_ARM_PCS_VFP.
83006
83007 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
83008
83009 [BZ #13979]
83010 * include/features.h: Warn if user requests __FORTIFY_SOURCE
83011 checking but the checks are disabled for any reason.
83012
83013 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
83014
83015 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
83016 and ELF64_R_TYPE with ELFW(R_TYPE).
83017
83018 2012-05-08 Joseph Myers <joseph@codesourcery.com>
83019
83020 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
83021 (ulimit): Likewise.
83022
83023 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
83024 (settimeofday): Likewise.
83025
83026 2012-05-08 Mike Frysinger <vapier@gentoo.org>
83027
83028 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
83029 a struct th_u2 inside the union, and move tu_block/tu_code into
83030 a new th_u3 union of tu_block/tu_code inside of that. Move
83031 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
83032 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
83033 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
83034 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
83035 (th_stuff): Change to th_u1.tu_stuff.
83036 (th_data): Define.
83037 (th_msg): Change to th_u1.th_u2.tu_data.
83038
83039 2012-05-07 David S. Miller <davem@davemloft.net>
83040
83041 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83042
83043 [BZ #14074]
83044 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
83045 (SETUP_PIC_REG): Use it.
83046 (SETUP_PIC_REG_LEAF): Use it.
83047
83048 2012-05-07 Joseph Myers <joseph@codesourcery.com>
83049
83050 [BZ #13885]
83051 [BZ #13923]
83052 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83053 USE_AS_EXPM1L.
83054 (EXPL_FINITE): Likewise.
83055 (FLDLOG): Likewise.
83056 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83057 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83058 e_expl.S.
83059 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83060 USE_AS_EXPM1L.
83061 (EXPL_FINITE): Likewise.
83062 (FLDLOG): Likewise.
83063 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83064 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83065 e_expl.S.
83066 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
83067 test of -max_value argument for long double.
83068 * sysdeps/i386/fpu/libm-test-ulps: Update.
83069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83070
83071 2012-05-06 David S. Miller <davem@davemloft.net>
83072
83073 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
83074 quad soft-float symbols whose references which are compiler
83075 generated.
83076 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
83077
83078 2012-05-06 Joseph Myers <joseph@codesourcery.com>
83079
83080 [BZ #13884]
83081 [BZ #13914]
83082 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83083 USE_AS_EXP10L.
83084 (EXPL_FINITE): Likewise.
83085 (FLDLOG): Likewise.
83086 (c0): Likewise.
83087 (c1): Likewise.
83088 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
83089 Adjust comments for base varying.
83090 (__expl_finite): Change alias to EXPL_FINITE.
83091 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
83092 e_expl.S.
83093 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
83094 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
83095 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
83096 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
83097 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83098 USE_AS_EXP10L.
83099 (EXPL_FINITE): Likewise.
83100 (FLDLOG): Likewise.
83101 (c0): Likewise.
83102 (c1): Likewise.
83103 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
83104 Adjust comments for base varying.
83105 (__expl_finite): Change alias to EXPL_FINITE.
83106 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
83107 tests for bugs.
83108 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83109
83110 [BZ #14064]
83111 * math/libm-test.inc (check_float_internal): Correct ulp
83112 calculation for subnormal expected results.
83113
83114 2012-05-06 Andreas Jaeger <aj@suse.de>
83115
83116 * Makeconfig (+math-flags): New, set to -frounding-math.
83117 (+cflags): Add +math-flags so that all of glibc gets compiled with
83118 it.
83119
83120 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
83121
83122 2012-05-05 Joseph Myers <joseph@codesourcery.com>
83123
83124 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
83125 Disable one test.
83126
83127 [BZ #13787]
83128 [BZ #13922]
83129 [BZ #14036]
83130 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
83131 (__ieee754_expl): Allow for and saturate large arguments.
83132 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
83133 (u_threshold): Likewise.
83134 (__exp): Call __ieee754_exp before checking for overflow and
83135 underflow.
83136 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
83137 (u_threshold): Likewise.
83138 (__expf): Call __ieee754_expf before checking for overflow and
83139 underflow.
83140 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
83141 (u_threshold): Likewise.
83142 (__expl): Call __ieee754_expl before checking for overflow and
83143 underflow.
83144 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
83145 (__ieee754_expl): Allow for and saturate large arguments.
83146 * math/libm-test.inc (exp_test): Add another test. Do not allow
83147 missing overflow exception on overflow.
83148 (expm1_test): Do not allow missing overflow exception on overflow.
83149
83150 * sysdeps/i386/fpu/e_expl.c: Move to ...
83151 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
83152 rather than using inline asm.
83153 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
83154 * sysdeps/x86_64/fpu/e_expl.S: Copy from
83155 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
83156
83157 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
83158 (nice): Likewise.
83159 (poll): Likewise.
83160 (signal): Likewise.
83161 (time): Likewise.
83162 (times): Likewise.
83163
83164 2012-05-04 Joseph Myers <joseph@codesourcery.com>
83165
83166 * sysdeps/unix/syscalls.list (adjtime): Add entry from
83167 sysdeps/unix/common/syscalls.list.
83168 (fchmod): Likewise.
83169 (fchown): Likewise.
83170 (ftruncate): Likewise.
83171 (getrusage): Likewise.
83172 (gettimeofday): Likewise.
83173 (setpgid): Likewise.
83174 (setregid): Likewise.
83175 (setreuid): Likewise.
83176 (sigaction): Likewise.
83177 (truncate): Likewise.
83178 (vhangup): Likewise.
83179 * sysdeps/unix/common/syscalls.list: Remove file.
83180 * sysdeps/unix/bsd/Implies: Don't include unix/common.
83181 * sysdeps/unix/sysv/linux/Implies: Likewise.
83182
83183 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
83184
83185 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
83186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
83187 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
83188 Moved to ...
83189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
83190 Here.
83191 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
83192 to ...
83193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
83194 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
83195 to ...
83196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
83197 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
83198 to ...
83199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
83200 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
83201 to ...
83202 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
83203 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
83204 to ...
83205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
83206 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
83207 to ...
83208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
83209 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
83210 to ...
83211 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
83212 Here.
83213 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
83214 to ...
83215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
83216 Here.
83217 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
83218 to ...
83219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
83220 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
83221 Moved to ...
83222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
83223 Here.
83224 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
83225 to ...
83226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
83227
83228 2012-05-04 Joseph Myers <joseph@codesourcery.com>
83229
83230 * sysdeps/unix/common/bits/dirent.h: Remove file.
83231 * sysdeps/unix/common/bits/fcntl.h: Likewise.
83232
83233 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
83234 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
83235 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
83236 * sysdeps/unix/bsd/isatty.c: Likewise.
83237 * sysdeps/unix/bsd/tcdrain.c: Likewise.
83238 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
83239 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
83240
83241 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
83242
83243 [BZ #13563]
83244 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
83245 long double comparison inaccuracies.
83246 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
83247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83248
83249 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
83250
83251 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
83252 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
83253
83254 2012-05-04 Joseph Myers <joseph@codesourcery.com>
83255
83256 [BZ #14049]
83257 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
83258 nonzero digits before rounding a hex value.
83259 * stdlib/tst-strtod.c (tests): Add another test.
83260
83261 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83262
83263 * sysdeps/s390/fpu/libm-test-ulps: Update.
83264
83265 2012-05-03 Andreas Jaeger <aj@suse.de>
83266
83267 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
83268 does not get optimized out.
83269 (malloc_opt_barrier): New.
83270
83271 2012-05-03 Andreas Jaeger <aj@suse.de>
83272 Roland McGrath <roland@hack.frob.com>
83273
83274 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
83275 intermediate file deletion.
83276 (generated): Add .symlist files.
83277
83278 2012-05-03 Joseph Myers <joseph@codesourcery.com>
83279
83280 [BZ #13775]
83281 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
83282 Redirect under this condition.
83283 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83284 [__USE_GNU] (__dprintf_chk): Not under this condition.
83285 [__USE_GNU] (__vdprintf_chk): Likewise.
83286 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
83287 under this condition.
83288 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83289 [__USE_XOPEN2K8] (dprintf): Define under this condition.
83290 [__USE_XOPEN2K8] (vdprintf): Likewise.
83291 [__USE_GNU] (__dprintf_chk): Not under this condition.
83292 [__USE_GNU] (__vdprintf_chk): Likewise.
83293 [__USE_GNU] (dprintf): Likewise.
83294 [__USE_GNU] (vdprintf): Likewise.
83295
83296 2012-05-03 Roland McGrath <roland@hack.frob.com>
83297
83298 * elf/Makefile (common-generated): Set this instead of generated for
83299 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
83300 $(all-built-dso)-derived lists.
83301
83302 2012-05-03 Andreas Jaeger <aj@suse.de>
83303
83304 * sysdeps/i386/fpu/libm-test-ulps: Update.
83305
83306 * FAQ: Removed.
83307 * FAQ.in: Likewise.
83308 * scripts/gen-FAQ.pl: Likewise.
83309 * manual/install.texi (Installation): Point to online location of
83310 FAQ.
83311 * Makefile (files-for-dist): Remove FAQ.
83312 (FAQ): Remove.
83313
83314 2012-05-02 Allan McRae <allan@archlinux.org>
83315
83316 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
83317 (LDFLAGS-reldepmod5.so): Likewise.
83318 (LDFLAGS-reldep6mod1.so): Likewise.
83319 (LDFLAGS-reldep6mod4.so): Likewise.
83320 (LDFLAGS-reldep8mod3.so): Likewise.
83321 (LDFLAGS-unload4mod1.so): Likewise.
83322 (LDFLAGS-unload4mod2.so): Likewise.
83323 (LDFLAGS-tst-initorder): Likewise.
83324 (LDFLAGS-tst-initordera2.so): Likewise.
83325 (LDFLAGS-tst-initordera3.so): Likewise.
83326 (LDFLAGS-tst-initordera4.so): Likewise.
83327 (LDFLAGS-tst-initorderb2.so): Likewise.
83328 (LDFLAGS-noload): Likewise.
83329 (LDFLAGS-next): Likewise.
83330 (LDFLAGS-order2mod1.so): Likewise.
83331 (LDFLAGS-order2mod2.so): Likewise.
83332 (LDFLAGS-tst-initorder2): Likewise.
83333 (LDFLAGS-tst-initorder2a.so): Likewise.
83334 (LDFLAGS-tst-initorder2b.so): Likewise.
83335 (LDFLAGS-tst-initorder2c.so): Likewise.
83336 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
83337
83338 2012-05-02 David S. Miller <davem@davemloft.net>
83339
83340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83341
83342 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
83343
83344 [BZ #14055]
83345 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
83346
83347 2012-05-02 Andreas Jaeger <aj@suse.de>
83348
83349 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
83350 since we manipulate rounding mode.
83351 (CPPFLAGS-test-idouble.c): Likewise.
83352 (CPPFLAGS-test-ifloat.c): Likewise.
83353 (CFLAGS-test-ldouble.c): Likewise.
83354 (CFLAGS-test-double.c): Likewise.
83355 (CFLAGS-test-float.c): Likewise.
83356 (CFLAGS-test-misc.c): Likewise.
83357 (CFLAGS-test-test-fenv.c): Likewise.
83358
83359 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
83360
83361 [BZ #2550]
83362 [BZ #2570]
83363 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
83364 comparisons to determine direction to adjust input.
83365
83366 2012-05-01 Roland McGrath <roland@hack.frob.com>
83367
83368 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
83369 output to the target.
83370
83371 * scripts/localplt.awk: New file.
83372 * elf/Makefile ($(objpfx)check-localplt): Target removed.
83373 (check-localplt-CFLAGS): Variable removed.
83374 ($(all-built-dso:=.jmprel)): New static pattern rule.
83375 (generated): Add those targets.
83376 (localplt-built-dso): New variable.
83377 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
83378
83379 * elf/check-localplt.c: File removed.
83380
83381 * scripts/check-execstack.awk: New file.
83382 * elf/Makefile ($(objpfx)check-execstack): Target removed.
83383 (check-execstack-CFLAGS): Variable removed.
83384 ($(objpfx)check-execstack.h): Target removed.
83385 ($(objpfx)execstack-default): New target.
83386 (generated): Add that instead of check-execstack.h.
83387 ($(all-built-dso:=.phdr)): New static pattern rule.
83388 (generated): Add those targets.
83389 * elf/check-execstack.c: File removed.
83390
83391 * scripts/check-textrel.awk: New file.
83392 * elf/Makefile ($(objpfx)check-textrel): Target removed.
83393 (check-textrel-CFLAGS): Variable removed.
83394 (all-built-dso): Use := to define.o
83395 ($(all-built-dso:=.dyn)): New static pattern rule.
83396 (generated): Add those targets.
83397 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
83398 * config.make.in (READELF): New substituted variable.
83399 * elf/check-textrel.c: File removed.
83400
83401 2012-05-01 Joseph Myers <joseph@codesourcery.com>
83402
83403 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83404 allow.
83405 * conform/data/ctype.h-data [C99-based standards] (isblank):
83406 Expect function.
83407 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
83408 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
83409 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83410 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
83411 Specify type. Require positive value.
83412 (EILSEQ): Likewise.
83413 (ERANGE): Likewise.
83414 [ISO || POSIX] (EILSEQ): Do not expect.
83415 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
83416 Specify type. Require positive value.
83417 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
83418 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
83419 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
83420 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
83421 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
83422 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
83423 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
83424 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
83425 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
83426 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
83427 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
83428 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
83429 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
83430 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
83431 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
83432 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
83433 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
83434 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
83435 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
83436 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
83437 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
83438 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
83439 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
83440 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
83441 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
83442 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
83443 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
83444 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
83445 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
83446 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
83447 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
83448 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
83449 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
83450 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
83451 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
83452 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
83453 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
83454 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
83455 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
83456 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
83457 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
83458 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
83459 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
83460 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
83461 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
83462 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
83463 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
83464 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
83465 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
83466 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
83467 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
83468 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
83469 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
83470 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
83471 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
83472 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
83473 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
83474 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
83475 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
83476 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
83477 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
83478 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
83479 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
83480 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
83481 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
83482 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
83483 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
83484 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
83485 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
83486 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
83487 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
83488 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
83489 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
83490 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
83491 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
83492 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
83493 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
83494 Require >= 2.
83495 (FLT_ROUNDS): Expect as macro, not constant.
83496 (FLT_MANT_DIG): Use macro-int-constant.
83497 (DBL_MANT_DIG): Likewise.
83498 (LDBL_MANT_DIG): Likewise.
83499 (FLT_DIG): Likewise.
83500 (DBL_DIG): Likewise.
83501 (LDBL_DIG): Likewise.
83502 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
83503 (DBL_MIN_EXP): Likewise.
83504 (LDBL_MIN_EXP): Likewise.
83505 (FLT_MAX_EXP): Use macro-int-constant.
83506 (DBL_MAX_EXP): Likewise.
83507 (LDBL_MAX_EXP): Likewise.
83508 (FLT_MAX_10_EXP): Likewise.
83509 (DBL_MAX_10_EXP): Likewise.
83510 (LDBL_MAX_10_EXP): Likewise.
83511 (FLT_MAX): Use macro-constant.
83512 (DBL_MAX): Likewise.
83513 (LDBL_MAX): Likewise.
83514 (FLT_EPSILON): Use macro-constant. Give upper bound.
83515 (DBL_EPSILON): Likewise.
83516 (LDBL_EPSILON): Likewise.
83517 (FLT_MIN): Likewise.
83518 (DBL_MIN): Likewise.
83519 (LDBL_MIN): Likewise.
83520 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
83521 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
83522 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
83523 [ISO11] (FLT_HAS_SUBNORM): Likewise.
83524 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
83525 [ISO11] (DBL_DECIMAL_DIG): Likewise.
83526 [ISO11] (FLT_DECIMAL_DIG): Likewise.
83527 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
83528 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
83529 [ISO11] (FLT_TRUE_MIN): Likewise.
83530 [ISO11] (LDBL_TRUE_MIN): Likewise.
83531 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83532 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
83533 (SCHAR_MIN): Use macro-int-constant. Specify type.
83534 (SCHAR_MAX): Likewise.
83535 (UCHAR_MAX): Likewise.
83536 (CHAR_MIN): Likewise.
83537 (CHAR_MAX): Likewise.
83538 (MB_LEN_MAX): Use macro-int-constant.
83539 (SHRT_MIN): Use macro-int-constant. Specify type.
83540 (SHRT_MAX): Likewise.
83541 (USHRT_MAX): Likewise.
83542 (INT_MAX): Likewise.
83543 (INT_MIN): Use macro-int-constant. Specify type. Make upper
83544 bound negative.
83545 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
83546 bound with "U".
83547 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
83548 bound with "L".
83549 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
83550 bound negative. Suffix upper bound with "L".
83551 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
83552 bound with "UL".
83553 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
83554 Specify type.
83555 [C99-based standards] (LLONG_MAX): Likewise.
83556 [C99-based standards] (ULLONG_MAX): Likewise.
83557 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
83558 == 0.
83559 [ISO11] (max_align_t): Require type.
83560 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83561
83562 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
83563 from $CFLAGS, without defining away __attribute__ calls.
83564 (checknamespace): Use $CFLAGS_namespace.
83565
83566 * conform/conformtest.pl (@keywords): Only include C99 keywords
83567 for standards based on C99 or C11.
83568
83569 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
83570 Disable tests.
83571 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
83572 UNIX98]: Likewise.
83573
83574 * conform/conformtest.pl: Handle "macro-int-constant" and test for
83575 usability of symbols in #if.
83576
83577 * conform/conformtest.pl: If macro or constant types start
83578 "promoted:", expect the symbol to be of the following type
83579 promoted by the integer promotions.
83580
83581 * conform/conformtest.pl: Parse all "constant" and "macro" lines
83582 in one place. Also handle "macro-constant".
83583
83584 * conform/conformtest.pl: Only accept expected macro values with
83585 "==". Parse all "macro" lines in one place.
83586 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
83587
83588 * conform/conformtest.pl: Handle braced types on "constant" lines
83589 instead of handling "typed-constant".
83590 * conform/data/signal.h-data: Use "constant" instead of
83591 "typed-constant".
83592
83593 * conform/conformtest.pl: Handle "optional-" at start of lines in
83594 one place rather than duplicating several cases. Handle each
83595 format of "macro" line with initial "optional-".
83596
83597 * conform/conformtest.pl: Only accept expected constant or
83598 optional-constant values with "==". Parse all "constant" lines in
83599 one place. Parse all "optional-constant" lines in one place.
83600 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
83601 * conform/data/fmtmsg.h-data: Likewise.
83602 * conform/data/netinet/in.h-data: Likewise.
83603 * conform/data/tar.h-data: Likewise.
83604 * conform/data/limits.h-data: Use "==" form on "constant" and
83605 "optional-constant" lines.
83606
83607 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
83608 Use -std=c99 for XOPEN2K.
83609 (@knownproblems): Remove.
83610 (newtoken): Don't check %isknown.
83611
83612 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
83613 Do not expect macro.
83614 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
83615 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
83616 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
83617 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
83618 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
83619 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
83620 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
83621 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
83622 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
83623 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
83624 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
83625 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
83626 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
83627 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
83628 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
83629 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
83630 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
83631 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
83632 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
83633 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
83634 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
83635 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
83636 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
83637 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
83638 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
83639 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
83640 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
83641 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
83642 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
83643 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
83644 [XPG3] (acosh): Likewise.
83645 [XPG3] (asinh): Likewise.
83646 [XPG3] (atanh): Likewise.
83647 [XPG3] (cbrt): Likewise.
83648 [XPG3] (expm1): Likewise.
83649 [XPG3] (ilogb): Likewise.
83650 [XPG3] (log1p): Likewise.
83651 [XPG3] (logb): Likewise.
83652 [XPG3] (nextafter): Likewise.
83653 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
83654 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
83655 [XPG3] (remainder): Likewise.
83656 [XPG3] (rint): Likewise.
83657 [XPG3 || XPG4 || UNIX98] (round): Likewise.
83658 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
83659 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
83660 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
83661 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
83662 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
83663 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
83664 [UNIX98 || XOPEN2K] (scalb): Expect.
83665 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
83666 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
83667 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
83668 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
83669 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
83670 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
83671 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
83672 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
83673 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
83674 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
83675 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
83676 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
83677 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
83678 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
83679 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
83680 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
83681 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
83682 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
83683 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
83684 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
83685 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
83686 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
83687 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
83688 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
83689 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
83690 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
83691 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
83692 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
83693 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
83694 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
83695 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
83696 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
83697 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
83698 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
83699 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
83700 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
83701 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
83702 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
83703 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
83704 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
83705 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
83706 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
83707 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
83708 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
83709 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
83710 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
83711 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
83712 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
83713 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
83714 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
83715 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
83716 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
83717 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
83718 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
83719 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
83720 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
83721 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
83722 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
83723 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
83724 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
83725 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
83726 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
83727 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
83728 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
83729 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
83730 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
83731 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
83732 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
83733 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
83734 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
83735 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
83736 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
83737 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
83738 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
83739 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
83740 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
83741 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
83742 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
83743 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
83744 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
83745 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
83746 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
83747 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
83748 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
83749 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
83750 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
83751 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
83752 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
83753 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
83754 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
83755 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
83756 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
83757 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
83758 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
83759 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
83760 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
83761 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
83762 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
83763 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
83764 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
83765 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
83766 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
83767 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
83768 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
83769 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
83770 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
83771 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
83772 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
83773 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
83774 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
83775 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
83776 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
83777 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
83778 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
83779 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
83780 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
83781 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
83782 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
83783 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
83784 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
83785 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
83786 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
83787 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
83788 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
83789 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
83790 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
83791 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
83792 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
83793 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
83794 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
83795 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
83796 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
83797 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
83798 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
83799 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
83800 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
83801 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
83802
83803 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
83804 _XOPEN_SOURCE_EXTENDED for XPG4.
83805
83806 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
83807
83808 * Makeconfig (localtime): Remove variable.
83809 (inst_localtime-file): Likewise.
83810
83811 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
83812
83813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
83814 Update.
83815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
83816 Update.
83817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
83818 Update.
83819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
83820 Update.
83821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
83822 Update.
83823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
83824 Update.
83825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
83826 Update.
83827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
83828 Update.
83829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
83830 Update.
83831
83832 2012-05-01 Joseph Myers <joseph@codesourcery.com>
83833
83834 [BZ #2550]
83835 [BZ #2570]
83836 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
83837 comparisons to determine direction to adjust input.
83838 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
83839 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
83840 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
83841 Likewise.
83842 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
83843 Likewise.
83844 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
83845 Likewise.
83846 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
83847 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
83848 Likewise.
83849 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
83850 Likewise.
83851 * math/libm-test.inc (nexttoward_test): Add more tests.
83852
83853 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
83854
83855 [BZ #14040]
83856 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
83857 in version GLIBC_2.1, not GLIBC_2.0.
83858 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
83859 Likewise.
83860
83861 2012-04-30 Joseph Myers <joseph@codesourcery.com>
83862
83863 [BZ #13942]
83864 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
83865 (1 - x) * (1 + x).
83866 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
83867 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
83868 * math/libm-test.inc (acos_test): Add more tests.
83869 (asin_test): Likewise.
83870 * sysdeps/i386/fpu/libm-test-ulps: Update.
83871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83872
83873 [BZ #14034]
83874 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
83875 of square root.
83876 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
83877 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
83878 * math/libm-test.inc (acos_test_tonearest): New function.
83879 (acos_test_towardzero): Likewise.
83880 (acos_test_downward): Likewise.
83881 (acos_test_upward): Likewise.
83882 (asin_test_tonearest): Likewise.
83883 (asin_test_towardzero): Likewise.
83884 (asin_test_downward): Likewise.
83885 (asin_test_upward): Likewise.
83886 (main): Call the new functions.
83887 * sysdeps/i386/fpu/libm-test-ulps: Update.
83888 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83889
83890 [BZ #13884]
83891 [BZ #13924]
83892 * math/e_exp10.c: Include <float.h>.
83893 (__ieee754_exp10): Handle underflow here rather than multiplying
83894 large negative argument by M_LN10.
83895 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
83896 of __ieee754_expf.
83897 * math/e_exp10l.c: Include <float.h>.
83898 (__ieee754_exp10l): Handle underflow here rather than multiplying
83899 large negative argument by M_LN10l.
83900 * math/libm-test.inc (exp10_test): Add another test. Do not allow
83901 spurious overflow exception on underflow.
83902
83903 2012-04-29 Marek Polacek <polacek@redhat.com>
83904
83905 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
83906 (__fortify_function): New macro.
83907 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
83908 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
83909 __extern_always_inline.
83910 * libio/bits/stdio2.h: Likewise.
83911 * libio/bits/stdio.h: Likewise.
83912 * string/string.h: Likewise.
83913 * string/bits/string3.h: Likewise.
83914 * include/stdio.h: Likewise.
83915 * stdlib/bits/stdlib.h: Likewise.
83916 * stdlib/stdlib.h: Likewise.
83917 * rt/bits/mqueue2.h: Likewise.
83918 * rt/mqueue.h: Likewise.
83919 * posix/bits/unistd.h: Likewise.
83920 * posix/unistd.h: Likewise.
83921 * io/bits/poll2.h: Likewise.
83922 * io/bits/fcntl2.h: Likewise.
83923 * io/fcntl.h: Likewise.
83924 * io/sys/poll.h: Likewise.
83925 * misc/bits/syslog.h: Likewise.
83926 * misc/bits/syslog-ldbl.h: Likewise.
83927 * misc/sys/syslog.h: Likewise.
83928 * socket/bits/socket2.h: Likewise.
83929 * socket/sys/socket.h: Likewise.
83930 * debug/tst-chk1.c: Likewise.
83931 * wcsmbs/bits/wchar2.h: Likewise.
83932 * wcsmbs/bits/wchar-ldbl.h: Likewise.
83933 * wcsmbs/wchar.h: Likewise.
83934
83935 2012-04-29 Andreas Jaeger <aj@suse.de>
83936
83937 * Makerules (tests): Remove enable-check-abi protection.
83938 (check-abi-warn): Remove.
83939 (check-abi-%): Remove check-abi-warn usage.
83940
83941 * configure.in: Remove check-abi configure option.
83942 * configure: Regenerated.
83943 * config.make.in (enable-check-abi): Remove.
83944
83945 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
83946
83947 [BZ #14033]
83948 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
83949 double functions to double *_finite functions.
83950
83951 [BZ #13941]
83952 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
83953 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
83954 LDBL_MIN_EXP.
83955 * stdio-common/Makefile (tests): Add tst-sprintf3.
83956 * stdio-common/tst-sprintf3.c: New file.
83957
83958 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
83959 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
83960
83961 2012-04-28 Joseph Myers <joseph@codesourcery.com>
83962
83963 * conform/conformtest.pl: Remove duplicate typed-constant
83964 handling.
83965
83966 2012-04-28 David S. Miller <davem@davemloft.net>
83967
83968 * Makerules (%.abilist): Add vpath on sysdep_dirs.
83969 (check-abi-%): Remove AWK script prerequisite and explicit
83970 abilist directory.
83971 (check-abi): Rewrite to just diff the symlist with the abilist.
83972 (config-tls, config-abi-config): Delete, no longer used.
83973 (update-abi-%): Remove AWK script and explicit abilist directory.
83974 (update-abi): Rewrite to simply compare and conditionally copy the
83975 symlist and the sysdep abilist file. Remove update-abi-config
83976 checks.
83977 * abilist/ld.abilist: Remove.
83978 * abilist/libBrokenLocale.abilist: Remove.
83979 * abilist/libanl.abilist: Remove.
83980 * abilist/libcrypt.abilist: Remove.
83981 * abilist/libdl.abilist: Remove.
83982 * abilist/librt.abilist: Remove.
83983 * abilist/libthread_db.abilist: Remove.
83984 * abilist/libutil.abilist: Remove.
83985 * scripts/extract-abilist.awk: Remove.
83986 * scripts/merge-abilist.awk: Remove.
83987 * sysdeps/generic/libcidn.abilist: New file.
83988 * sysdeps/generic/libnss_compat.abilist: New file.
83989 * sysdeps/generic/libnss_db.abilist: New file.
83990 * sysdeps/generic/libnss_dns.abilist: New file.
83991 * sysdeps/generic/libnss_files.abilist: New file.
83992 * sysdeps/generic/libnss_hesiod.abilist: New file.
83993 * sysdeps/generic/libnss_nis.abilist: New file.
83994 * sysdeps/generic/libnss_nisplus.abilist: New file.
83995 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
83996 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
83997 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
83998 file.
83999 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
84000 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
84001 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
84002 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
84003 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
84004 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
84005 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
84006 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
84007 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
84008 file.
84009 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
84010 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
84011 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
84012 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
84013 file.
84014 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
84015 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
84016 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
84017 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
84018 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
84019 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
84020 file.
84021 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
84022 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
84023 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
84024 file.
84025 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
84026 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
84027 New file.
84028 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
84029 New file.
84030 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
84031 New file.
84032 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
84033 New file.
84034 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
84035 New file.
84036 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
84037 New file.
84038 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
84039 New file.
84040 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
84041 New file.
84042 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
84043 New file.
84044 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
84045 New file.
84046 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
84047 New file.
84048 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
84049 New file.
84050 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
84051 New file.
84052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
84053 file.
84054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
84055 New file.
84056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
84057 New file.
84058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
84059 file.
84060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
84061 New file.
84062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
84063 New file.
84064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
84065 file.
84066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
84067 New file.
84068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
84069 New file.
84070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
84071 New file.
84072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
84073 New file.
84074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
84075 New file.
84076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
84077 New file.
84078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
84079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
84080 file.
84081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
84082 New file.
84083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
84084 file.
84085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
84086 file.
84087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
84088 file.
84089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
84090 file.
84091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
84092 file.
84093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
84094 New file.
84095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
84096 file.
84097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
84098 file.
84099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
84100 New file.
84101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
84102 file.
84103 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
84104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
84105 file.
84106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
84107 New file.
84108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
84109 file.
84110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
84111 file.
84112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
84113 file.
84114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
84115 file.
84116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
84117 file.
84118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
84119 New file.
84120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
84121 file.
84122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
84123 file.
84124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
84125 New file.
84126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
84127 file.
84128 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
84129 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
84130 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
84131 file.
84132 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
84133 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
84134 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
84135 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
84136 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
84137 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
84138 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
84139 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
84140 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
84141 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
84142 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
84143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
84144 file.
84145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
84146 New file.
84147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
84148 file.
84149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
84150 file.
84151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
84152 file.
84153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
84154 file.
84155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
84156 file.
84157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
84158 New file.
84159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
84160 New file.
84161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
84162 file.
84163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
84164 New file.
84165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
84166 file.
84167 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
84168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
84169 file.
84170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
84171 New file.
84172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
84173 file.
84174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
84175 file.
84176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
84177 file.
84178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
84179 file.
84180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
84181 file.
84182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
84183 New file.
84184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
84185 New file.
84186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
84187 file.
84188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
84189 New file.
84190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
84191 file.
84192
84193 2012-04-28 Joseph Myers <joseph@codesourcery.com>
84194
84195 * conform/conformtest.pl: Fix typo in handling typed-constant from
84196 allow-header.
84197
84198 2012-04-27 Joseph Myers <joseph@codesourcery.com>
84199
84200 * README: Cut down references to pre-2.6 Linux kernels and
84201 Linuxthreads. Update lists of configurations in libc and ports
84202 and sort alphabetically. Say "or newer" with Linux kernel version
84203 requirements.
84204
84205 * config.h.in [IS_IN_build]: Allow compiling without optimization.
84206
84207 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
84208
84209 [BZ #887]
84210 * math/libm-test.inc (logb_test_downward): New test to expose
84211 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
84212 rounding mode.
84213
84214 2012-04-27 Joseph Myers <joseph@codesourcery.com>
84215
84216 [BZ #14027]
84217 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
84218 to be done.
84219 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
84220 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
84221
84222 2012-04-26 Joseph Myers <joseph@codesourcery.com>
84223
84224 * sysdeps/unix/i386/brk.S: Remove file.
84225 * sysdeps/unix/i386/dl-brk.S: Likewise.
84226 * sysdeps/unix/i386/pipe.S: Likewise.
84227 * sysdeps/unix/i386/sigreturn.S: Likewise.
84228 * sysdeps/unix/i386/syscall.S: Likewise.
84229 * sysdeps/unix/i386/vfork.S: Likewise.
84230 * sysdeps/unix/i386/wait.S: Likewise.
84231
84232 * sysdeps/unix/common/tcsendbrk.c: Move to ...
84233 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
84234
84235 * configure.in (arm*-none*): Do not allow without
84236 --enable-hacker-mode.
84237 (netbsd*): Remove case setting base_os.
84238 (386bsd*): Likewise.
84239 (freebsd*): Likewise.
84240 (bsdi*): Likewise.
84241 (osf*): Likewise.
84242 (sunos*): Likewise.
84243 (ultrix*): Likewise.
84244 (newsos*): Likewise.
84245 (dynix*): Likewise.
84246 (*bsd*): Likewise.
84247 (sysv*): Likewise.
84248 (isc*): Likewise.
84249 (esix*): Likewise.
84250 (sco*): Likewise.
84251 (minix*): Likewise.
84252 (irix4*): Likewise.
84253 (irix6*): Likewise.
84254 (solaris[2-9]*): Likewise.
84255 (none): Likewise.
84256 * configure: Regenerated.
84257
84258 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84259
84260 [BZ #11521]
84261 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
84262 overflow or cancellation in calculating denominator.
84263 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
84264 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
84265 down expression to avoid unexpected rounding in newer GCCs.
84266 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
84267
84268 2012-04-26 David S. Miller <davem@davemloft.net>
84269
84270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
84271 long-double compat symbols.
84272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
84273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
84274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
84275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
84276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
84277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
84278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
84279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
84280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
84281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
84282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
84283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
84284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
84285
84286 2012-04-25 David S. Miller <davem@davemloft.net>
84287
84288 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
84289 HWCAP_* values only after the memory barriers have been defined.
84290 (atomic_full_barrier): Define.
84291 (atomic_read_barrier): Define.
84292 (atomic_write_barrier): Define.
84293
84294 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
84295
84296 * shlib-versions: Add libgcc_s version information.
84297 * sysdeps/generic/libgcc_s.h: Remove.
84298 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
84299 libgcc_s.h.
84300 * sysdeps/gnu/unwind-resume.c: Likewise.
84301 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
84302
84303 2012-04-25 David S. Miller <davem@davemloft.net>
84304
84305 * sysdeps/unix/sparc/brk.S: Delete.
84306 * sysdeps/unix/sparc/dl-brk.S: Delete.
84307 * sysdeps/unix/sparc/pipe.S: Delete.
84308 * sysdeps/unix/sparc/sysdep.S: Delete.
84309 * sysdeps/unix/sparc/sysdep.h: Delete.
84310 * sysdeps/unix/sparc/vfork.S: Delete.
84311 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
84312 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
84313 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
84314 (ret_ERRVAL, r0, r1, MOVE): Define.
84315 (JUMPTARGET): Remove.
84316 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
84317 sysdeps/unix/sparc/sysdep.h
84318 (ENTRY, END): Remove.
84319 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84320
84321 2012-04-25 Joseph Myers <joseph@codesourcery.com>
84322
84323 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
84324 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
84325 -DIS_IN_build.
84326
84327 * timezone/README: Update upstream location and email address for
84328 tzcode and tzdata.
84329 * timezone/zdump.c: Update from tzcode 2012b.
84330 * timezone/zic.c: Likewise.
84331
84332 * configure.in (libc_cv_as_needed): Remove test.
84333 * configure: Regenerated.
84334 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
84335 conditional definition.
84336 [$(have-as-needed) != yes] (no-as-needed): Likewise.
84337 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
84338 * config.make.in (have-as-needed): Remove variable.
84339
84340 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
84341 Paul Pluzhnikov <ppluzhnikov@google.com>
84342
84343 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
84344 strings correctly.
84345
84346 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
84347
84348 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
84349 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
84350 * sysdeps/sh/strlen.S: Likewise.
84351
84352 2012-04-24 Joseph Myers <joseph@codesourcery.com>
84353
84354 * sysdeps/unix/fork.S: Remove file.
84355 * sysdeps/unix/i386/fork.S: Likewise.
84356 * sysdeps/unix/sparc/fork.S: Likewise.
84357
84358 * sysdeps/unix/system.c: Remove file.
84359 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
84360
84361 * sysdeps/unix/getegid.S: Remove file.
84362 * sysdeps/unix/geteuid.S: Likewise.
84363
84364 2012-04-24 Roland McGrath <roland@hack.frob.com>
84365
84366 * scripts/check-localplt.awk: New file.
84367 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
84368 of diff.
84369 * scripts/data/localplt-generic.data: Add a comment.
84370
84371 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
84372 NODE when __dir_mkfile failed.
84373 * sysdeps/mach/hurd/symlinkat.c: Likewise.
84374 Reported by Ludovic Courtès <ludo@gnu.org>.
84375
84376 2012-04-24 Andreas Jaeger <aj@suse.de>
84377
84378 * Makerules (common-clean): Also remove gen-as-const-headers
84379 files.
84380
84381 2012-04-24 Joseph Myers <joseph@codesourcery.com>
84382
84383 * Makerules (native-compile): Do not change working directory for
84384 build. Use $(OUTPUT_OPTION) in command.
84385 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
84386
84387 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84388
84389 [BZ #13886]
84390 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
84391 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
84392 * math/libm-test.inc (floor_test): Add more tests.
84393 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
84394
84395 2012-04-24 Joseph Myers <joseph@codesourcery.com>
84396
84397 * sysdeps/unix/getdents.c: Remove file.
84398 * sysdeps/unix/sysv/getdents.c: Likewise.
84399 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
84400
84401 * sysdeps/unix/syscalls.list (madvise): Add syscall from
84402 sysdeps/unix/mman/syscalls.list.
84403 (mmap): Likewise.
84404 (mprotect): Likewise.
84405 (msync): Likewise.
84406 (munmap): Likewise.
84407 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
84408 * sysdeps/unix/mman/syscalls.list: Remove.
84409 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
84410
84411 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
84412 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
84413 * configure: Regenerated.
84414 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
84415 $(libgcc_s_suffix).
84416 * config.make.in (libgcc_s_suffix): Remove variable.
84417
84418 2012-04-23 Joseph Myers <joseph@codesourcery.com>
84419
84420 * sysdeps/unix/sysv/gethostname.c: Move to ...
84421 * sysdeps/posix/gethostname.c: ... here.
84422
84423 * sysdeps/unix/execve.S: Remove file.
84424
84425 * sysdeps/unix/_exit.S: Remove file.
84426
84427 2012-04-23 Andreas Jaeger <aj@suse.de>
84428
84429 [BZ #13739]
84430 * manual/Makefile: Remove make dist support, there's no
84431 need for a stand-alone documentation tar ball.
84432 (TEXI2DVI): Define always, it's not in Makeconfig.
84433 (dist): Removed.
84434 (tar-it): Removed.
84435 (edition): Removed.
84436 (glibc-doc-$(edition).tar): Removed
84437 (%.Z): Removed.
84438 (%.gz): Removed.
84439 (%.uu): Removed.
84440 (ETAGS): Remove, it's in Makeconfig.
84441 (move-if-change): Remove, it's in Makeconfig.
84442
84443 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
84444
84445 [BZ #13970]
84446 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
84447 (strtod, strtof, strtold, strtol, strtoul, strtoq)
84448 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
84449 (strtod_l, strtof_l, strtold_l): Remove __wur.
84450 It is not necessarily an error to ignore strtol's return value.
84451 One can reliably look at the stored endptr to decide whether
84452 the number had valid syntax.
84453
84454 2012-04-21 Andreas Jaeger <aj@suse.de>
84455
84456 [BZ #13739]
84457 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
84458
84459 2012-04-21 Joseph Myers <joseph@codesourcery.com>
84460
84461 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
84462 * sysdeps/unix/sysv/Versions: Remove file.
84463
84464 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
84465
84466 [BZ #13927]
84467 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84468
84469 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
84470
84471 [BZ #7064]
84472 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
84473 version from __vm86.
84474
84475 2012-04-20 Joseph Myers <joseph@codesourcery.com>
84476
84477 * sysdeps/unix/common/lxstat.c: Remove file.
84478 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
84479
84480 * sysdeps/unix/sysv/Makefile: Remove file.
84481
84482 * sysdeps/unix/sysv/direct.h: Remove file.
84483
84484 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
84485 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
84486 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
84487 * sysdeps/unix/sysv/bits/signum.h: Likewise.
84488 * sysdeps/unix/sysv/bits/stat.h: Likewise.
84489 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
84490 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
84491
84492 * sysdeps/unix/sysv/setrlimit.c: Remove file.
84493
84494 * sysdeps/unix/xmknod.c: Remove file.
84495 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
84496
84497 * sysdeps/unix/sysv/settimeofday.c: Remove file.
84498
84499 * sysdeps/unix/sysv/i386/time.S: Remove file.
84500
84501 * sysdeps/unix/fxstat.c: Remove file.
84502 * sysdeps/unix/xstat.c: Likewise.
84503 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
84504
84505 * sysdeps/unix/sysv/sigaction.c: Remove file.
84506
84507 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
84508 (sysdep_headers): Remove variable.
84509 [termio.h not in sysdep_headers] (generated): Likewise.
84510 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
84511 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
84512 * sysdeps/unix/sysv/tcdrain.c: Likewise.
84513 * sysdeps/unix/sysv/tcflow.c: Likewise.
84514 * sysdeps/unix/sysv/tcflush.c: Likewise.
84515 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
84516 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
84517 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
84518 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
84519 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
84520
84521 * sysdeps/unix/siglist.c: Remove file.
84522
84523 * sysdeps/unix/getppid.S: Remove file.
84524
84525 * sysdeps/unix/mkdir.c: Remove file.
84526 * sysdeps/unix/rmdir.c: Likewise.
84527
84528 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
84529
84530 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
84531 ERR_MAX value.
84532 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
84533 errlist-compat value.
84534
84535 2012-04-18 David S. Miller <davem@davemloft.net>
84536
84537 * sysdeps/generic/memcopy.h (reg_char): Delete.
84538 * debug/strcat_chk.c: Use char, not reg_char.
84539 * debug/strcpy_chk.c: Likewise.
84540 * debug/strncat_chk.c: Likewise.
84541 * debug/strncpy_chk.c: Likewise.
84542 * string/memchr.c: Likewise.
84543 * string/memrchr.c: Likewise.
84544 * string/rawmemchr.c: Likewise.
84545 * string/strcat.c: Likewise.
84546 * string/strchr.c: Likewise.
84547 * string/strchrnul.c: Likewise.
84548 * string/strcmp.c: Likewise.
84549 * string/strcpy.c: Likewise.
84550 * string/strncat.c: Likewise.
84551 * string/strncmp.c: Likewise.
84552 * string/strncpy.c: Likewise.
84553
84554 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
84555
84556 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
84557 __builtin_memcopy is called when src and dest ranges are known to not
84558 overlap.
84559
84560 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
84561
84562 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
84563 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
84564 fwd_align_merge macro call.
84565 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
84566 bwd_align_merge macro call.
84567 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84568
84569 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
84570
84571 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
84572 bwd_align_merge macros.
84573 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
84574 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
84575 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84576
84577 2012-04-18 David S. Miller <davem@davemloft.net>
84578
84579 * sysdeps/sparc/sparc64/memcopy.h: Delete.
84580
84581 2012-04-18 Andreas Jaeger <aj@suse.de>
84582
84583 [BZ #6794]
84584 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
84585 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
84586 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84587
84588 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
84589 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
84590 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84591
84592 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
84593 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
84594 Adjust for changed ldbl-128 files.
84595
84596 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
84597 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
84598 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84599
84600 2012-04-17 David S. Miller <davem@davemloft.net>
84601
84602 * sysdeps/sparc/sparc32/memcopy.h: Delete.
84603
84604 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
84605
84606 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
84607 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
84608 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
84609 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
84610 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
84611 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
84612
84613 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84614
84615 [BZ #6794]
84616 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
84617 * math/libm-test.inc: Add ilogb errno and exception tests.
84618 * math/w_ilogb.c: New file: ilogb wrapper.
84619 * math/w_ilogbf.c: New file: ilogbf wrapper.
84620 * math/w_ilogbl.c: New file: ilogbl wrapper.
84621 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
84622 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
84623 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
84624 exception being thrown with 0.0 as argument.
84625 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
84626 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
84627 exception being thrown with 0.0 as argument.
84628 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
84629 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84630 exception being thrown with 0.0 as argument.
84631 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
84632 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84633 exception being thrown with 0.0 as argument.
84634 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
84635 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
84636 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
84637 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
84638 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
84639 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
84640 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
84641 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
84642 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
84643
84644 2012-04-17 Petr Baudis <pasky@ucw.cz>
84645
84646 * include/sys/uio.h: Change __vector to __iovec to avoid clash
84647 with altivec.
84648
84649 2012-04-16 Marek Polacek <polacek@redhat.com>
84650
84651 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
84652
84653 2012-04-16 Marek Polacek <polacek@redhat.com>
84654
84655 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
84656 operands of fdivp instruction.
84657
84658 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
84659
84660 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
84661 * elf/tst-auditmod3b.c: Likewise.
84662 * elf/tst-auditmod4b.c: Likewise.
84663 * elf/tst-auditmod5b.c: Likewise.
84664 * elf/tst-auditmod6b.c: Likewise.
84665 * elf/tst-auditmod6c.c: Likewise.
84666 * elf/tst-auditmod7b.c: Likewise.
84667 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
84668 * sysdeps/x86_64/preconfigure.in: Likewise.
84669 * sysdeps/x86_64/preconfigure: Regenerated.
84670
84671 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
84672
84673 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
84674 __ILP32__.
84675
84676 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
84677
84678 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
84679 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
84680
84681 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
84682
84683 [BZ #13973]
84684 * locale/iso-639.def: Fix gl language name. Spotted by
84685 Yaron Shahrabani.
84686
84687 2012-04-12 Roland McGrath <roland@hack.frob.com>
84688
84689 [BZ #2074]
84690 * libio/libio.h (__io_write_fn): Update comment.
84691
84692 2012-04-12 Petr Baudis <pasky@ucw.cz>
84693
84694 [BZ #2074]
84695 * stdio.texi (Hook Functions): The user provided writer function
84696 is not allowed to return -1.
84697
84698 2012-04-11 David S. Miller <davem@davemloft.net>
84699
84700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
84701
84702 2012-04-11 Mike Frysinger <vapier@gentoo.org>
84703
84704 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
84705 Add a leading slash to rtkaio.
84706
84707 2012-04-11 Jim Meyering <meyering@redhat.com>
84708
84709 [BZ #11959]
84710 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
84711 It is not necessarily an error to ignore fwrite's return
84712 value. One can reliably use ferror to test for errors after
84713 the fact.
84714
84715 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
84716
84717 * bits/types.h (__snseconds_t): New type.
84718 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
84719
84720 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
84721 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
84722 (__SNSECONDS_T_TYPE): Likewise.
84723 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
84724 (__SNSECONDS_T_TYPE): Likewise.
84725 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
84726 (__SNSECONDS_T_TYPE): Likewise.
84727
84728 2012-04-10 Andreas Jaeger <aj@suse.de>
84729
84730 [BZ #2636]
84731 * manual/time.texi (Processor Time): Return type of times is
84732 elapsed real time since an arbitrary point in the past.
84733 (CPU Time): Move CLK_TCK from here...
84734 (Processor Time): ...to here. Correct description.
84735 * manual/conf.texi (Constants for Sysconf): Correct description of
84736 _SC_CLK_TCK.
84737
84738 2012-04-10 David S. Miller <davem@davemloft.net>
84739
84740 [BZ #13967]
84741 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
84742 where the is a gap between DT_REL(A) and DT_JMPREL.
84743
84744 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
84745
84746 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
84747 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
84748 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
84749
84750 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
84751
84752 * elf/dl-support.c (_dl_inhibit_cache): New variable.
84753 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
84754 (dl_main): Handle --inhibit-cache.
84755 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
84756 _dl_inhibit_cache.
84757 * elf/dl-load.c (_dl_map_object): Use it.
84758 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
84759
84760 2012-04-09 Joseph Myers <joseph@codesourcery.com>
84761
84762 [BZ #13872]
84763 * sysdeps/i386/fpu/e_powl.S (p78): New object.
84764 (__ieee754_powl): Saturate large exponents rather than testing for
84765 overflow of y*log2(x).
84766 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
84767 * math/libm-test.inc (pow_test): Do not permit spurious overflow
84768 exceptions.
84769
84770 [BZ #11521]
84771 * math/s_ctan.c: Include <float.h>.
84772 (__ctan): Avoid internal overflow or cancellation in calculating
84773 denominator.
84774 * math/s_ctanf.c: Likewise.
84775 * math/s_ctanl.c: Likewise.
84776 * math/s_ctanh.c: Likewise.
84777 * math/s_ctanhf.c: Likewise.
84778 * math/s_ctanhl.c: Likewise.
84779 * math/libm-test.inc (ctan_test): Add more tests.
84780 (ctanh_test): Likewise.
84781 * sysdeps/i386/fpu/libm-test-ulps: Update.
84782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84783
84784 2012-04-09 Andreas Jaeger <aj@suse.de>
84785
84786 [BZ #6894]
84787 * manual/filesys.texi (Directory Entries): Mention that d_namlen
84788 is an optional BSD extension.
84789
84790 [BZ #10254]
84791 * manual/stdio.texi (Opening Streams): Document additional fopen
84792 parameters.
84793
84794 2012-04-09 Roland McGrath <roland@hack.frob.com>
84795
84796 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
84797 %eax without telling the compiler.
84798
84799 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
84800
84801 [BZ # 13963]
84802 * manual/install.texi: Use sourceware.org.
84803
84804 2012-04-09 Joseph Myers <joseph@codesourcery.com>
84805
84806 [BZ #13873]
84807 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
84808 (__ieee754_pow): Generate overflow and underflow using huge*huge
84809 and tiny*tiny rather than just returning constant infinity or zero
84810 for large exponents.
84811 * math/libm-test.inc (pow_test): Require overflow exceptions for
84812 applicable cases of large exponents.
84813
84814 [BZ #706]
84815 * sysdeps/i386/fpu/e_pow.S (p10): New object.
84816 (__ieee754_pow): Use iterative multiplication algorithm only for
84817 integer exponents with absolute value below 1024. Check for odd
84818 integer exponents when using algorithm for real exponents.
84819 * math/libm-test.inc (pow_test): Add more tests.
84820 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84821
84822 2012-04-08 Joseph Myers <joseph@codesourcery.com>
84823
84824 [BZ #13705]
84825 * math/libm-test.inc (exp_test): Do not allow overflow exception
84826 on underflow test.
84827
84828 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
84829
84830 [BZ #13705]
84831 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
84832 instead of __kernel_standard_f.
84833
84834 2012-04-08 Mike Frysinger <vapier@gentoo.org>
84835
84836 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
84837 * sysdeps/x86_64/memset_chk.S: Likewise.
84838
84839 2012-04-08 Andreas Jaeger <aj@suse.de>
84840
84841 [BZ #10153]
84842 * manual/startup.texi (Environment Access): Describe return value
84843 for putenv and setenv.
84844
84845 [BZ #6895]
84846 * manual/filesys.texi (Directory Entries): Add description for
84847 DT_LNK.
84848
84849 [BZ #6890]
84850 * manual/filesys.texi (Directory Entries): Clarify that it's file
84851 system not operating system in the description of DT_UNKNOWN.
84852
84853 [BZ #6578]
84854 * manual/syslog.texi (closelog): Fix reference, it's openlog.
84855
84856 2012-04-08 Stephen Compall <s11@member.fsf.org>
84857
84858 [BZ #6649]
84859 * manual/llio.texi (Opening and Closing Files): Add cross
84860 reference to explain mode argument.
84861
84862 2012-04-07 Mike Frysinger <vapier@gentoo.org>
84863
84864 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
84865 * sysdeps/x86_64/memset_chk.S: Likewise.
84866
84867 2012-04-07 David S. Miller <davem@davemloft.net>
84868
84869 * elf/elf.h (R_SPARC_WDISP10): Define.
84870 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
84871 R_SPARC_SIZE32.
84872 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
84873 R_SPARC_SIZE64 and R_SPARC_H34.
84874
84875 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
84876
84877 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
84878 conditions and remove no longer applicable assertion.
84879
84880 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
84881
84882 * bits/byteswap.h: Include <features.h>.
84883 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
84884 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
84885
84886 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
84887
84888 * bits/byteswap.h (__bswap_16): Removed.
84889 Include <bits/byteswap-16.h> to get __bswap_16.
84890 * sysdeps/i386/bits/byteswap.h: Likewise.
84891 * sysdeps/s390/bits/byteswap.h: Likewise.
84892 * sysdeps/x86_64/bits/byteswap.h: Likewise.
84893 * bits/byteswap-16.h: New file.
84894 * sysdeps/i386/bits/byteswap-16.h: Likewise.
84895 * sysdeps/s390/bits/byteswap-16.h: Likewise.
84896 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
84897 * string/Makefile (headers): Add bits/byteswap-16.h.
84898
84899 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
84900
84901 [BZ #13895]
84902 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
84903 extra indirection.
84904 * nss/Makefile (tests-static, tests): Add tst-nss-static.
84905 * nss/tst-nss-static.c: New.
84906
84907 2012-04-06 Robert Millan <rmh@gnu.org>
84908
84909 [BZ #6486]
84910 * manual/llio.texi (File Position Primitive): lseek
84911 refers to WHENCE when it really means OFFSET.
84912
84913 2012-04-06 Andreas Jaeger <aj@suse.de>
84914
84915 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
84916 strncmp declarations.
84917
84918 * abilist/libc.abilist: Add __poll and __ppoll.
84919
84920 2012-04-05 David S. Miller <davem@davemloft.net>
84921
84922 * scripts/check-local-headers.sh: Accept a host triplet in the
84923 path matched by the exclude regexp.
84924
84925 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
84926 definition.
84927 * sysdeps/powerpc/powerpc32/dl-machine.h
84928 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
84929 * sysdeps/s390/s390-32/dl-machine.h
84930 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
84931 * sysdeps/sparc/sparc32/dl-machine.h
84932 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
84933 * sysdeps/sparc/sparc64/dl-machine.h
84934 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
84935
84936 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
84937 lazy binding.
84938 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
84939 undefined symbol errors.
84940
84941 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
84942 DT_NEEDED entries.
84943
84944 2012-04-05 Michael Matz <matz@suse.de>
84945
84946 [BZ #13592]
84947 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
84948
84949 2012-04-05 Andreas Jaeger <aj@suse.de>
84950
84951 [BZ #13908]
84952 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
84953 comment.
84954
84955 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
84956
84957 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
84958 which ROUND is no valid rounding mode.
84959
84960 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
84961
84962 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
84963 read again.
84964 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
84965
84966 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
84967
84968 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
84969 an exception using FPU order intentionally.
84970
84971 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
84972
84973 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
84974 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
84975 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
84976 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
84977
84978 2012-04-05 Simon Josefsson <simon@josefsson.org>
84979
84980 [BZ #12340]
84981 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
84982 EINVAL when BUFLEN is too smal.
84983
84984 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
84985
84986 [BZ #13553]
84987 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
84988 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
84989
84990 2012-04-03 Andreas Jaeger <aj@suse.de>
84991
84992 [BZ #13938]
84993 * manual/setjmp.texi (System V contexts): Fix sentence.
84994
84995 [BZ #13926]
84996 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
84997 New macro for this case.
84998 [!__GNUC__] (__bswap_64): New inline function for this case.
84999 * sysdeps/x86_64/bits/byteswap.h: Likewise.
85000 * bits/byteswap.h: Likewise.
85001 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
85002 ull, guard with __GLIBC_HAVE_LONG_LONG.
85003
85004 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
85005 __GLIBC_HAVE_LONG_LONG.
85006
85007 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
85008 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
85009
85010 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
85011
85012 [BZ #13691]
85013 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
85014 inptr and inend, rather than using last_ch.
85015
85016 2012-04-02 David S. Miller <davem@davemloft.net>
85017
85018 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
85019 * stdio-common/printf-parse.h (read_int): Change return type to
85020 'int', return -1 on INT_MAX overflow.
85021 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
85022 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
85023 overflows INT_MAX. Check for overflow of in-format-string precision
85024 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
85025 SIZE_MAX not INT_MAX for integer overflow test.
85026 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
85027 skip the construct in the format string but do not record anything.
85028 * stdio-common/bug22.c: Adjust to test both width/prevision
85029 INT_MAX overflow as well as total length INT_MAX overflow. Check
85030 explicitly for proper errno values.
85031
85032 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
85033
85034 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
85035 CHAR_MAX.
85036 * string/test-strcmp.c [! WIDE]: Likewise.
85037 * time/tst-mktime2.c: Likewise for INT_MAX.
85038 * string/test-string.h: #include <sys/param.h> for MIN.
85039
85040 * csu/init-first.c (__libc_init_first): Call __ctype_init.
85041 * sysdeps/i386/init-first.c (init): Likewise.
85042 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
85043 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
85044 * sysdeps/sh/init-first.c (init): Likewise.
85045
85046 2012-04-01 Ulrich Drepper <drepper@gmail.com>
85047
85048 * po/ru.po: Update from translation team.
85049 * po/vi.po: Likewise.
85050
85051 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
85052
85053 * resolv/nss_dns/dns-host.c: Merge copyright years.
85054
85055 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
85056
85057 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
85058 Optimize memcpy with prefetch if
85059 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
85060 src, dst pointers have unequal 16 byte alignments.
85061
85062 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
85063
85064 [BZ #13928]
85065 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
85066 from a CNAME entry and return the minimum ttl for the query.
85067 (gaih_getanswer_slice): Likewise.
85068
85069 2012-03-30 Jeff Law <law@redhat.com>
85070
85071 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
85072 due to long keys.
85073 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
85074 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
85075
85076 * resolv/nss_dns/dns-host.c: Update copyright year.
85077
85078 2012-03-30 Ulrich Drepper <drepper@gmail.com>
85079
85080 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
85081 requests to save a system call. Fix check that all bytes are sent.
85082
85083 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
85084 comments for sendmmsg.
85085
85086 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
85087
85088 [BZ #13691]
85089 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
85090 with only 1 character between 0x0041 and 0x01b0.
85091 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
85092 * wcsmbs/tst-mbsnrtowcs.c: New file.
85093
85094 2012-03-29 David S. Miller <davem@davemloft.net>
85095
85096 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
85097 small copies by hand.
85098
85099 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
85100
85101 [BZ #13761]
85102 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
85103 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
85104 group memberships.
85105
85106 2012-03-28 David S. Miller <davem@davemloft.net>
85107
85108 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
85109 that branches into memcpy.
85110 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
85111 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
85112 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
85113 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
85114 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
85115 bits.
85116 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
85117 implementation too.
85118 * sysdeps/sparc/mempcpy.S: New file.
85119
85120 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
85121 the IFUNC routine in the libc case.
85122 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
85123
85124 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
85125 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
85126 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
85127 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
85128 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
85129 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
85130 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
85131 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
85132
85133 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
85134 loop to 256 bytes instead of 64 bytes and fix test signedness.
85135
85136 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
85137 * sysdeps/sparc/sparc32/Makefile: rather than here...
85138 * sysdeps/sparc/sparc64/Makefile: and here.
85139
85140 2012-03-28 Ulrich Drepper <drepper@gmail.com>
85141
85142 * malloc/mallocbug.c: Avoid warnings about unused variables.
85143
85144 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
85145
85146 [BZ #13760]
85147 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
85148 in the right place. Discard and retry query if response is
85149 larger than input buffer size.
85150
85151 2012-03-28 Joseph Myers <joseph@codesourcery.com>
85152
85153 [BZ #369]
85154 [BZ #2678]
85155 [BZ #3866]
85156 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
85157 x for large integer exponent.
85158 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
85159 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
85160 sign of result as needed afterwards.
85161 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
85162 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
85163 result for underflowing pow the same as for overflow.
85164 (__kernel_standard_l): Handle powl overflow and underflow here
85165 rather than calling __kernel_standard.
85166 * math/libm-test.inc (pow_test): Add more tests.
85167
85168 [BZ #3868]
85169 [BZ #13879]
85170 [BZ #13910]
85171 [BZ #13911]
85172 [BZ #13912]
85173 [BZ #13913]
85174 [BZ #13915]
85175 [BZ #13916]
85176 [BZ #13917]
85177 [BZ #13918]
85178 [BZ #13919]
85179 [BZ #13920]
85180 [BZ #13921]
85181 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
85182 * sysdeps/ieee754/k_standard.c: Include <float.h>.
85183 (__kernel_standard_l): New function.
85184 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
85185 __kernel_standard.
85186 * math/w_acosl.c (__acosl): Likewise.
85187 * math/w_asinl.c (__asinl): Likewise.
85188 * math/w_atan2l.c (__atan2l): Likewise.
85189 * math/w_atanhl.c (__atanhl): Likewise.
85190 * math/w_coshl.c (__coshl): Likewise.
85191 * math/w_exp10l.c (__exp10l): Likewise.
85192 * math/w_exp2l.c (__exp2l): Likewise.
85193 * math/w_fmodl.c (__fmodl): Likewise.
85194 * math/w_hypotl.c (__hypotl): Likewise.
85195 * math/w_j0l.c (__j0l, __y0l): Likewise.
85196 * math/w_j1l.c (__j1l, __y1l): Likewise.
85197 * math/w_jnl.c (__jnl, __ynl): Likewise.
85198 * math/w_lgammal.c (__lgammal): Likewise.
85199 * math/w_log10l.c (__log10l): Likewise.
85200 * math/w_log2l.c (__log2l): Likewise.
85201 * math/w_logl.c (__logl): Likewise.
85202 * math/w_powl.c (__powl): Likewise.
85203 * math/w_remainderl.c (__remainderl): Likewise.
85204 * math/w_scalbl.c (sysv_scalbl): Likewise.
85205 * math/w_sinhl.c (__sinhl): Likewise.
85206 * math/w_sqrtl.c (__sqrtl): Likewise.
85207 * math/w_tgammal.c (__tgammal): Likewise.
85208 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
85209 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
85210 * math/libm-test.inc (acos_test): Add more tests.
85211 (acosh_test): Likewise.
85212 (asin_test): Likewise.
85213 (atanh_test): Likewise.
85214 (exp_test): Likewise.
85215 (exp10_test): Likewise.
85216 (exp2_test): Likewise.
85217 (expm1_test): Likewise.
85218 (lgamma_test): Likewise.
85219 (log_test): Likewise.
85220 (log10_test): Likewise.
85221 (log1p_test): Likewise.
85222 (log2_test): Likewise.
85223 (pow_test): Do not allow some spurious overflow exceptions.
85224 (sqrt_test): Add more tests.
85225 (tgamma_test): Likewise.
85226 (y0_test): Likewise.
85227 (y1_test): Likewise.
85228 (yn_test): Likewise.
85229
85230 2012-03-27 Anton Blanchard <anton@samba.org>
85231
85232 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
85233 MAP_HUGETLB.
85234 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
85235 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
85236 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
85237
85238 2012-03-27 David S. Miller <davem@davemloft.net>
85239
85240 * conform/Makefile: Run run-conformtest.sh using $(BASH).
85241
85242 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
85243 have-as-vis3 check.
85244
85245 2012-03-27 Andreas Jaeger <aj@suse.de>
85246
85247 * sysdeps/x86_64/elf/configure.in: Moved to ...
85248 * sysdeps/x86_64/configure.in: ... here.
85249 * sysdeps/x86_64/elf/start.S: Moved to ...
85250 * sysdeps/x86_64/start.S: ... here.
85251 * sysdeps/x86_64/elf/configure: Delete.
85252
85253 * sysdeps/x86_64/configure.in: Merge contents from
85254 sysdeps/i386/configure.in (without i686 check).
85255
85256 * sysdeps/i386/elf/Versions: Merge into ...
85257 * sysdeps/i386/Versions: ... this.
85258 * sysdeps/i386/elf/Versions: Delete file.
85259 * sysdeps/i386/elf/start.S: Moved to ...
85260 * sysdeps/i386/start.S: ...here.
85261 * sysdeps/i386/elf/configure.in: Merge into...
85262 * sysdeps/i386/configure.in: ...here.
85263 * sysdeps/i386/elf/configure.in: Delete file.
85264 * sysdeps/i386/elf/configure: Delete file.
85265
85266 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
85267 * debug/backtracesyms.c: ... here.
85268 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
85269 * debug/backtracesymsfd.c: ... here.
85270 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
85271 * sysdeps/generic/ifunc-sel.h: ... here.
85272
85273 * sysdeps/unix/i386/start.c: Delete file.
85274 * sysdeps/unix/sparc/start.c: Delete file.
85275 * sysdeps/unix/start.c: Delete file.
85276
85277 * sysdeps/sh/elf/configure.in: Moved to ...
85278 * sysdeps/sh/configure.in: ... here.
85279 * sysdeps/sh/elf/start.S: Moved to ...
85280 * sysdeps/sh/start.S: ... here.
85281 * sysdeps/sh/elf/configure: Delete file.
85282
85283 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
85284 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
85285 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
85286 * sysdeps/powerpc/powerpc64/entry.h: ... here.
85287 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
85288 * sysdeps/powerpc/powerpc64/start.S: here.
85289 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
85290 * sysdeps/powerpc/powerpc64/Makefile: ... this.
85291 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
85292 * sysdeps/powerpc/powerpc64/configure.in: ... this.
85293 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
85294
85295 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
85296 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
85297 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
85298 * sysdeps/powerpc/powerpc32/start.S: ... here.
85299 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
85300 * sysdeps/powerpc/powerpc32/configure.in: ... this.
85301 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
85302
85303 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
85304 * sysdeps/powerpc/ifunc-sel.h: ... here.
85305 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
85306 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
85307
85308 * sysdeps/sparc/elf/configure.in: Moved to ...
85309 * sysdeps/sparc/configure.in: ... here.
85310 * sysdeps/sparc/elf/configure: Delete file.
85311 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
85312 * sysdeps/sparc/sparc32/start.S: ... here.
85313 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
85314 * sysdeps/sparc/sparc64/start.S: ... here.
85315 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
85316 * sysdeps/sparc/sparc32/Makefile: ... this.
85317 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
85318 * sysdeps/sparc/sparc64/Makefile: ... this.
85319
85320 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
85321 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
85322 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
85323 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
85324 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
85325 * sysdeps/s390/s390-32/setjmp.S: ... here.
85326 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
85327 * sysdeps/s390/s390-32/configure.in: ... here.
85328 * sysdeps/s390/s390-32/elf/configure: Delete file.
85329 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
85330 * sysdeps/s390/s390-32/start.S: ... here.
85331
85332 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
85333 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
85334 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
85335 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
85336 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
85337 * sysdeps/s390/s390-64/setjmp.S: ... here.
85338 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
85339 * sysdeps/s390/s390-64/configure.in: ... here
85340 * sysdeps/s390/s390-64/elf/configure: Delete file.
85341 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
85342 * sysdeps/s390/s390-64/start.S: ... here.
85343 * sysdeps/s390/s390-64/elf/configure: Delete.
85344
85345 * configure.in: Remove support for elf directories in sysdeps.
85346
85347 * configure: Regenerated.
85348 * sysdeps/i386/configure: Regenerated.
85349 * sysdeps/powerpc/powerpc32/configure: Regenerated.
85350 * sysdeps/powerpc/powerpc64/configure: Regenerated.
85351 * sysdeps/s390/s390-32/configure: Regenerated.
85352 * sysdeps/s390/s390-64/configure: Regenerated.
85353 * sysdeps/sh/configure: Regenerated.
85354 * sysdeps/sparc/configure: Regenerated.
85355 * sysdeps/x86_64/configure: Regenerated.
85356
85357 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
85358
85359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85360
85361 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
85362 denormal result into account.
85363
85364 2012-03-25 Roland McGrath <roland@hack.frob.com>
85365
85366 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
85367 Reported by Allan McRae <allan@archlinux.org>.
85368
85369 2012-03-23 Jeff Law <law@redhat.com>
85370
85371 * nss/getnssent.c (__nss_getent): Fix typo.
85372
85373 2012-03-23 David S. Miller <davem@davemloft.net>
85374
85375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85376
85377 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
85378
85379 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
85380 to pad to uint64_t for each field.
85381 (dl_tls_index): Replace unsigned long with uint64_t.
85382
85383 2012-03-23 Daniel Jacobowitz <dmj@google.com>
85384 Paul Pluzhnikov <ppluzhnikov@google.com>
85385
85386 [BZ #6528]
85387 * grp/Makefile (otherlibs): Don't set it.
85388 * inet/Makefile (otherlibs): Likewise.
85389 * login/Makefile (otherlibs): Likewise.
85390 * nscd/Makefile (otherlibs): Likewise.
85391 * posix/Makefile (otherlibs): Likewise.
85392 * pwd/Makefile (otherlibs): Likewise.
85393 * rt/Makefile (otherlibs): Likewise.
85394 * sunrpc/Makefile (otherlibs): Likewise.
85395 * nss/Makefile (otherlibs): Likewise.
85396 Add libnss_files to routines and static-only-routines.
85397 ($(objpfx)getent): Remove rule.
85398 * resolv/Makefile: Add libnss_dns and libresolv to routines and
85399 static-only-routines.
85400
85401 2012-03-22 Joseph Myers <joseph@codesourcery.com>
85402
85403 [BZ #13892]
85404 * math/s_cexp.c: Include <float.h>.
85405 (__cexp): Handle exp result overflowing not necessarily
85406 overflowing both real and imaginary parts of result.
85407 * math/s_cexpf.c: Likewise.
85408 * math/s_cexpl.c: Likewise.
85409 * math/libm-test.inc (cexp_test): Add more tests.
85410 * sysdeps/i386/fpu/libm-test-ulps: Update.
85411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85412
85413 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85414
85415 * include/link.h (ELFW): New macro.
85416 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
85417 Replace ELF64_R_TYPE with ELFW(R_TYPE).
85418
85419 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85420
85421 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
85422 with uint64_t.
85423
85424 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85425
85426 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
85427 declaration.
85428 (struct La_x32_retval): Likewise.
85429
85430 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85431
85432 * sysdeps/x86_64/preconfigure.in: New file.
85433 * sysdeps/x86_64/preconfigure: New generated file.
85434
85435 2012-03-22 Joseph Myers <joseph@codesourcery.com>
85436
85437 [BZ #13824]
85438 * math/e_exp2l.c: Include <float.h>.
85439 (__ieee754_exp2l): Handle overflow and underflow cases
85440 separately. Only pass fractional part of argument to
85441 __ieee754_expl.
85442 * math/libm-test.inc (exp2_test): Add more tests.
85443
85444 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
85445 negating x to take absolute value.
85446 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
85447 Likewise.
85448 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
85449 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
85450 Likewise.
85451 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
85452 computing low part if x was negated.
85453 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
85454
85455 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85456
85457 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
85458 la_x32_gnu_pltexit.
85459 (pltexit): Cast int_retval to ptrdiff_t.
85460 * elf/tst-auditmod3b.c: Likewise.
85461 * elf/tst-auditmod4b.c: Likewise.
85462 * elf/tst-auditmod5b.c: Likewise.
85463 * elf/tst-auditmod6b.c: Likewise.
85464 * elf/tst-auditmod6c.c: Likewise.
85465 * elf/tst-auditmod7b.c: Likewise.
85466
85467 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
85468 and x32_gnu_pltexit.
85469
85470 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
85471 __ELF_NATIVE_CLASS.
85472 (La_x32_regs): New macro.
85473 (La_x32_retval): Likewise.
85474 (la_x32_gnu_pltenter): New function prototype.
85475 (la_x32_gnu_pltexit): Likewise.
85476
85477 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
85478
85479 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
85480 exponent.
85481
85482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85483
85484 * configure.in (libc_cv_cc_nofma): Check for option to disable
85485 generation of FMA instructions.
85486 * configure: Regenerate.
85487 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
85488 * sysdeps/ieee754/dbl-64/Makefile: New file.
85489 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
85490 Remove brandred-fma4.
85491 (CFLAGS-brandred-fma4.c): Remove.
85492 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
85493 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
85494 define.
85495 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
85496 define.
85497
85498 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85499
85500 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
85501 LLONG_MAX != LONG_MAX.
85502 (_itoa_word): Use _ITOA_WORD_TYPE on value.
85503 (_fitoa_word): Likewise.
85504 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
85505 LLONG_MAX != LONG_MAX.
85506 * stdio-common/_itowa.h: Include <_itoa.h>.
85507 (_itowa_word): Use _ITOA_WORD_TYPE on value.
85508 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
85509 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
85510 only if not defined.
85511 (_ITOA_WORD_TYPE): Likewise.
85512 (_itoa_word): Use _ITOA_WORD_TYPE on value.
85513 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
85514
85515 2012-03-21 David S. Miller <davem@davemloft.net>
85516
85517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85518
85519 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85520
85521 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
85522 of x86_64 when setting libc_cv_slibdir, libdir and
85523 libc_cv_localedir.
85524 * sysdeps/unix/sysv/linux/configure: Regenerated.
85525
85526 2012-03-21 Joseph Myers <joseph@codesourcery.com>
85527
85528 * manual/lang.texi (Old Varargs): Remove section.
85529 (How Variadic): Update menu.
85530 (va_start): Do not mention varargs.h.
85531
85532 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
85533 Joseph Myers <joseph@codesourcery.com>
85534
85535 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
85536 link test.
85537 * configure: Regenerated.
85538
85539 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
85540
85541 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
85542 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
85543 conformtest.pl
85544
85545 2012-03-21 Joseph Myers <joseph@codesourcery.com>
85546
85547 * NOTES: Remove.
85548 * Makefile (files-for-dist): Remove NOTES.
85549 (NOTES): Remove rule.
85550 * README: Don't refer to NOTES.
85551 * manual/creature.texi: Don't include macros.texi.
85552 * manual/intro.texi (creature.texi): Remove comment referring to
85553 NOTES.
85554
85555 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
85556 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
85557 * configure: Regenerated.
85558 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
85559 LIBC_TRY_CC_OPTION.
85560 (libc_cv_as_i686): Likewise.
85561 (libc_cv_cc_avx): Likewise.
85562 (libc_cv_cc_sse2avx): Likewise.
85563 (libc_cv_cc_fma4): Likewise.
85564 (libc_cv_cc_novzeroupper): Likewise.
85565 * sysdeps/i386/configure: Regenerated.
85566
85567 [BZ #13883]
85568 * sysdeps/i386/fpu/s_cexp.S: Remove.
85569 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
85570 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
85571 * math/libm-test.inc (cexp_test): Add more tests.
85572 * sysdeps/i386/fpu/libm-test-ulps: Update.
85573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85574
85575 2012-03-21 Allan McRae <allan@archlinux.org>
85576
85577 * timezone/Makefile: Do not install iso3166.tab and zone.tab
85578
85579 2012-03-21 Joseph Myers <joseph@codesourcery.com>
85580
85581 [BZ #13871]
85582 * math/w_exp2.c: Do not include <float.h>.
85583 (o_threshold, u_threshold): Remove.
85584 (__exp2): Calculate result before checking finiteness and calling
85585 __kernel_standard.
85586 * math/w_exp2f.c: Likewise.
85587 * math/w_exp2l.c: Likewise.
85588 * math/libm-test.inc (exp2_test): Require overflow exception for
85589 1e6 input.
85590
85591 [BZ #3866]
85592 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
85593 range of signed 64-bit integers before using fistpll. Remove
85594 checks for whether integers fit in mantissa bits.
85595 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
85596 the range of signed 32-bit integers before using fistpl. Remove
85597 checks for whether integers fit in mantissa bits.
85598 * sysdeps/i386/fpu/e_powl.S (p64): New object.
85599 (__ieee754_powl): Test for y outside the range of signed 64-bit
85600 integers before using fistpll. Reduce 64-bit values to 63-bit
85601 ones as needed.
85602 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
85603 divide-by-zero is raised for zero to large negative powers.
85604 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
85605 (__ieee754_powl): Test for y outside the range of signed 64-bit
85606 integers before using fistpll. Reduce 64-bit values to 63-bit
85607 ones as needed.
85608 * math/libm-test.inc (pow_test): Add more tests.
85609
85610 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
85611
85612 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
85613 <stdio-common/_itoa.h>.
85614 * debug/segfault.c: Likewise.
85615 * elf/dl-cache.c: Likewise.
85616 * elf/dl-minimal.c: Likewise.
85617 * elf/dl-misc.c: Likewise.
85618 * elf/dl-sysdep.c: Likewise.
85619 * elf/dl-version.c: Likewise.
85620 * elf/rtld.c: Likewise.
85621 * hurd/hurdsock.c: Likewise.
85622 * hurd/lookup-retry.c: Likewise.
85623 * malloc/malloc.c: Likewise.
85624 * malloc/mtrace.c: Likewise.
85625 * nscd/nscd_getgr_r.c: Likewise.
85626 * nscd/nscd_getpw_r.c: Likewise.
85627 * nscd/nscd_getserv_r.c: Likewise.
85628 * posix/getopt_init.c: Likewise.
85629 * posix/wordexp.c: Likewise.
85630 * stdio-common/_itoa.c: Likewise.
85631 * stdio-common/printf_fphex.c: Likewise.
85632 * stdio-common/vfprintf.c: Likewise.
85633 * string/_strerror.c: Likewise.
85634 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
85635 * sysdeps/i386/i686/hp-timing.h: Likewise.
85636 * sysdeps/mach/_strerror.c: Likewise.
85637 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
85638 * sysdeps/mach/hurd/sethostid.c: Likewise.
85639 * sysdeps/mach/hurd/xmknodat.c: Likewise.
85640 * sysdeps/mach/xpg-strerror.c: Likewise.
85641 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
85642 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
85643 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
85644 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
85645 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
85646 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
85647 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
85648 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
85649 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
85650 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
85651 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
85652 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
85653 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
85654 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
85655 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
85656 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
85657 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
85658 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
85659 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
85660 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
85661 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
85662
85663 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
85664
85665 * stdio-common/_itoa.h: Moved to ...
85666 * sysdeps/generic/_itoa.h: Here.
85667
85668 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
85669
85670 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
85671 instead of "_itoa.h" and "_itowa.h".
85672 * stdio-common/vfprintf.: Likewise.
85673
85674 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
85675
85676 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
85677 <bits/wordsize.h>.
85678 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
85679 (__signbit): Likewise.
85680 (llrintf): Likewise.
85681 (llrint): Likewise.
85682
85683 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
85684
85685 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
85686 __WORDSIZE != 64.
85687
85688 2012-03-20 Joseph Myers <joseph@codesourcery.com>
85689
85690 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
85691 OVERFLOW_EXCEPTION_OK.
85692 * math/libm-test.inc ("Philosophy"): Update comment about
85693 exception testing.
85694 (OVERFLOW_EXCEPTION): Define.
85695 (OVERFLOW_EXCEPTION_OK): Likewise.
85696 (INVALID_EXCEPTION_OK): Renumber.
85697 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
85698 (IGNORE_ZERO_INF_SIGN): Likewise.
85699 (test_exceptions): Handle FE_OVERFLOW.
85700 (exp10_test): Expect overflow exceptions.
85701 (exp2_test): Likewise.
85702 (expm1_test): Likewise.
85703 (nextafter_test): Likewise.
85704 (pow_test): Likewise.
85705 (scalbn_test): Likewise.
85706 (scalbln_test): Likewise.
85707
85708 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85709
85710 * sysdeps/x86_64/bits/atomic.h
85711 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
85712 64bit integer.
85713 (atomic_exchange_acq): Likewise.
85714 (__arch_exchange_and_add_body): Likewise.
85715 (__arch_add_body): Likewise.
85716 (atomic_add_negative): Likewise.
85717 (atomic_add_zero): Likewise.
85718
85719 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85720
85721 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
85722 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
85723
85724 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85725
85726 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
85727 Check __x86_64__ instead of __WORDSIZE.
85728
85729 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85730
85731 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
85732
85733 2012-03-19 David S. Miller <davem@davemloft.net>
85734
85735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85736
85737 * sysdeps/sparc/fpu/fenv_private.h: New file.
85738 * sysdeps/sparc/fpu/math_private.h: Use it.
85739 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
85740 Remove.
85741 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
85742 (libc_feholdexcept_setroundl): Remove.
85743 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
85744 Remove.
85745 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
85746 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
85747
85748 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85749
85750 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
85751 int64_t instead of long int.
85752 (INSERT_WORDS64): Likewise.
85753
85754 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85755
85756 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
85757 _Unwind_GetCFA return to _Unwind_Ptr first.
85758
85759 2012-03-19 Joseph Myers <joseph@codesourcery.com>
85760
85761 [BZ #13629]
85762 * math/s_clog.c: Include <float.h>.
85763 (__clog): Scale large or subnormal inputs.
85764 * math/s_clogf.c: Likewise.
85765 * math/s_clogl.c: Likewise.
85766 * math/s_clog10.c: Include <float.h>.
85767 (M_LOG10_2): Define.
85768 (__clog10): Scale large or subnormal inputs.
85769 * math/s_clog10f.c: Likewise.
85770 * math/s_clog10l.c: Likewise.
85771 * math/libm-test.inc (clog_test): Add more tests.
85772 (clog10_test): Likewise.
85773 * sysdeps/i386/fpu/libm-test-ulps: Update.
85774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85775
85776 [BZ #11451]
85777 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
85778 x and y.
85779 * math/libm-test.inc (atan2_test): Add another test.
85780
85781 * Makerules (common-objdir-compile): Remove.
85782 * sysdeps/unix/Makefile (config-generated): Do not add
85783 $(unix-generated) to variable.
85784 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
85785 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
85786 Remove rule.
85787 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
85788 Likewise.
85789 [generic bits/local_lim.h] (before-compile): Do not append to
85790 variable.
85791 [generic bits/local_lim.h] (common-generated): Likewise.
85792 [generic sys/param.h] (before-compile): Do not append to variable.
85793 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
85794 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
85795 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
85796 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
85797 include.
85798 [generic sys/param.h] (sys/param.h-includes): Remove variable.
85799 [generic sys/param.h] (sys/param.h-includes): Remove rule.
85800 [generic sys/param.h] ($(addprefix
85801 $(common-objpfx),$(sys/param.h-includes))): Likewise.
85802 [generic sys/param.h] (common-generated): Do not append to
85803 variable.
85804 [generic sys/param.h] (sysdep_headers): Likewise.
85805 [generic bits/errno.h] (before-compile): Do not append to
85806 variable.
85807 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
85808 rule.
85809 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
85810 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
85811 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
85812 [generic bits/errno.h] (common-generated): Do not append to
85813 variable.
85814 [generic bits/ioctls.h] (before-compile): Do not append to
85815 variable.
85816 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
85817 rule.
85818 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
85819 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
85820 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
85821 rule.
85822 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
85823 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
85824 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
85825 [generic bits/ioctls.h] (common-generated): Do not append to
85826 variable.
85827 [generic sys/syscall.h] (syscall.h): Remove variable.
85828 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
85829 rule.
85830 [generic sys/syscall.h] (before-compile): Do not append to
85831 variable.
85832 [generic sys/syscall.h] (common-generated): Likewise.
85833 * sysdeps/unix/errnos-tmpl.c: Remove file.
85834 * sysdeps/unix/errnos.awk: Likewise.
85835 * sysdeps/unix/ioctls-tmpl.c: Likewise.
85836 * sysdeps/unix/ioctls.awk: Likewise.
85837 * sysdeps/unix/mk-local_lim.c: Likewise.
85838 * sysdeps/unix/snarf-ioctls: Likewise.
85839
85840 2012-03-19 Richard Henderson <rth@twiddle.net>
85841
85842 * sysdeps/i386/fpu/fenv_private.h: New file.
85843 * sysdeps/i386/fpu/math_private.h: Use it.
85844 (math_opt_barrier, math_force_eval): Remove.
85845 (libc_feholdexcept_setround_53bit): Remove.
85846 (libc_feupdateenv_53bit): Remove.
85847 * sysdeps/x86_64/fpu/math_private.h: Likewise.
85848 (math_opt_barrier, math_force_eval): Remove.
85849 (libc_feholdexcept): Remove.
85850 (libc_feholdexcept_setround): Remove.
85851 (libc_fetestexcept, libc_fesetenv): Remove.
85852 (libc_feupdateenv_test): Remove.
85853 (libc_feupdateenv, libc_feholdsetround): Remove.
85854 (libc_feresetround): Remove.
85855
85856 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
85857 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
85858
85859 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
85860 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
85861 (libc_feupdateenv_testl): New.
85862 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
85863 (libc_feupdateenv_testf): New.
85864 (libc_feupdateenv): Use libc_feupdateenv_test.
85865 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
85866 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
85867
85868 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
85869 (libc_feholdsetroundf, libc_feholdsetroundl): New.
85870 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
85871 (libc_feresetround_noex): New.
85872 (libc_feresetround_noexf): New.
85873 (libc_feresetround_noexl): New.
85874 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
85875 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
85876 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
85877 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
85878 SET_RESTORE_ROUND.
85879 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
85880 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
85881 (__cos): Likewise.
85882 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
85883 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
85884 SET_RESTORE_ROUND_NOEX.
85885 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
85886 SET_RESTORE_ROUND_NOEXF.
85887 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
85888 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
85889 (libc_feholdsetroundf): New.
85890 (libc_feresetround, libc_feresetroundf): New.
85891
85892 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
85893 (libc_feholdexcept_setround_53bit): Convert from macro to function.
85894 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
85895
85896 * sysdeps/generic/math_private.h: Include <fenv.h>.
85897 (default_libc_feholdexcept): New.
85898 (default_libc_feholdexcept_setround): New.
85899 (default_libc_fesetenv, default_libc_feupdateenv): New.
85900 (libc_feholdexcept): Only define if undefined.
85901 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
85902 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
85903 (libc_feholdexcept_setroundl): Likewise.
85904 (libc_feholdexcept_setround_53bit): Likewise.
85905 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
85906 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
85907 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
85908 (libc_feupdateenv_53bit): Likewise.
85909 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
85910 (libc_feholdexcept): Convert from macro to inline function.
85911 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
85912 (libc_fesetenv, libc_feupdateenv): Likewise.
85913
85914 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
85915 not previously defined.
85916 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
85917 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
85918 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
85919 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
85920 * sysdeps/ieee754/flt-32/math_private.h: New file.
85921 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
85922 math_private.h below SET_FLOAT_WORD.
85923 (__isnan, __isinf_ns, __finite): Remove.
85924 (__isnanf, __isinf_nsf, __finitef): Remove.
85925
85926 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
85927
85928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85929
85930 2012-03-17 David S. Miller <davem@davemloft.net>
85931
85932 [BZ #6471]
85933 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
85934 for 2.16.
85935
85936 2012-03-16 David S. Miller <davem@davemloft.net>
85937
85938 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
85939 warnings.
85940
85941 [BZ #6471]
85942 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
85943 properly.
85944 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
85945 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
85946 sysdep_routines when subdir is sysvipc.
85947 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
85948 __getshmlba helper.
85949
85950 * sysdeps/sparc/fpu/libm-test/ulps: Update.
85951
85952 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
85953
85954 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
85955 [__LP64__].
85956
85957 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
85958
85959 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
85960 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
85961 (__lround): Renamed to ...
85962 (__llround): This. Replace long int with long long int.
85963 Define lround functions as aliases of llround functions.
85964 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
85965
85966 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
85967
85968 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
85969 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
85970 adresses to uintptr_t. Replace "long int" and "unsigned long
85971 int" with "greg_t" on va_arg.
85972
85973 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
85974
85975 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
85976 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
85977
85978 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
85979 Move e_machine check before EI_CLASS check. Handle x32
85980 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
85981 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
85982 SKIP_EM_IA_64 and include
85983 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
85984
85985 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
85986 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
85987 (add_system_dir): New macro.
85988
85989 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
85990 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
85991
85992 2012-03-16 Joseph Myers <joseph@codesourcery.com>
85993
85994 [BZ #2551]
85995 [BZ #2552]
85996 [BZ #2553]
85997 [BZ #2554]
85998 [BZ #2562]
85999 [BZ #2563]
86000 [BZ #2565]
86001 [BZ #2566]
86002 [BZ #2576]
86003 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
86004 (y0): Likewise.
86005 * math/w_j0f.c (j0f): Likewise.
86006 (y0f): Likewise.
86007 * math/w_j0l.c (__j0l): Likewise.
86008 (__y0l): Likewise.
86009 * math/w_j1.c (j1): Likewise.
86010 (y1): Likewise.
86011 * math/w_j1f.c (j1f): Likewise.
86012 (y1f): Likewise.
86013 * math/w_j1l.c (__j1l): Likewise.
86014 (__y1l): Likewise.
86015 * math/w_jn.c (jn): Likewise.
86016 (yn): Likewise.
86017 * math/w_jnf.c (jnf): Likewise.
86018 (ynf): Likewise.
86019 * math/w_jnl.c (__jnl): Likewise.
86020 (__ynl): Likewise.
86021 * math/libm-test.inc (j0_test): Add more tests.
86022 (j1_test): Likewise.
86023 (jn_test): Likewise. Add trailing semicolon to existing test.
86024 (y0_test): Likewise.
86025 (y1_test): Likewise.
86026 * sysdeps/i386/fpu/libm-test-ulps: Update.
86027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86028
86029 [BZ #13851]
86030 [BZ #13854]
86031 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
86032 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
86033 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
86034 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
86035 (__tanl): Set errno for infinite argument.
86036 * sysdeps/i386/fpu/mptan.c: Remove.
86037 * sysdeps/i386/fpu/s_tan.S: Likewise.
86038 * sysdeps/i386/fpu/s_tanl.S: Likewise.
86039 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
86040 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
86041 * math/libm-test.inc (tan_test): Add more tests and enable more
86042 tests for double and long double.
86043 * sysdeps/i386/fpu/libm-test-ulps: Update.
86044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86045
86046 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
86047
86048 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
86049 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
86050
86051 2012-03-16 Roland McGrath <roland@hack.frob.com>
86052
86053 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
86054 * configure.in: Use it for both main tree and add-ons.
86055 * configure: Regenerated.
86056
86057 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86058
86059 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
86060
86061 2012-03-16 Joseph Myers <joseph@codesourcery.com>
86062
86063 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
86064 in comment.
86065
86066 [BZ #13851]
86067 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
86068 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
86069 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
86070 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
86071 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
86072 infinite argument.
86073 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
86074 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
86075 != 0 for prec == 2.
86076 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
86077 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
86078 * sysdeps/i386/fpu/s_cosl.S: Likewise.
86079 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
86080 * sysdeps/i386/fpu/s_sinl.S: Likewise.
86081 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
86082 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
86083 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
86084 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
86085 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
86086 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
86087 * math/libm-test.inc (cos_test): Add more tests and enable more
86088 tests for long double.
86089 (sin_test): Likewise.
86090 (sincos_test): Likewise.
86091 * sysdeps/i386/fpu/libm-test-ulps: Update.
86092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86093
86094 2012-03-16 David S. Miller <davem@davemloft.net>
86095
86096 * sysdeps/sparc/fpu/math_private.h: New file.
86097
86098 2012-03-15 David S. Miller <davem@davemloft.net>
86099
86100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
86101 file.
86102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
86103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
86104 file.
86105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
86106 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
86107 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
86108 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
86109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
86110 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
86111 sysdep routines.
86112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86113
86114 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
86115 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
86116
86117 * sysdeps/sparc/sparc-ifunc.h: New file.
86118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
86119 sparc-ifunc.h
86120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
86121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
86122 Likewise.
86123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
86124 Likewise.
86125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
86126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
86127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
86128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
86129 Likewise.
86130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
86131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
86132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
86133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
86134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
86135 Likewise.
86136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
86137 Likewise.
86138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
86139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
86140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
86141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
86142 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
86143 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
86144 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
86145 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
86146 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
86147 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
86148 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
86149 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
86150 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
86151 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
86152 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
86153 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
86154 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
86155 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
86156 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
86157 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
86158 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
86159 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
86160 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
86161 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
86162
86163 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
86164
86165 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
86166 scaling.
86167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86168
86169 2012-03-15 Andreas Jaeger <aj@suse.de>
86170
86171 [BZ #13852]
86172 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
86173 ieee754/flt-32 implementation for sin, cos and sincos.
86174 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
86175 * sysdeps/i386/fpu/s_cosf.S: Likewise.
86176 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
86177 * sysdeps/i386/fpu/s_sinf.S: Likewise.
86178 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
86179 ieee754/flt-32 implementation for tan.
86180
86181 * math/libm-test.inc (cos_test): Enable some large input tests for
86182 float as well
86183 (sin_test): Likewise.
86184 (sincos_test): Likewise.
86185 (tan_test): Add tests for large input.
86186
86187 * sysdeps/i386/fpu/libm-test-ulps: Update.
86188
86189 2012-03-15 Andreas Jaeger <aj@suse.de>
86190
86191 [BZ #13658]
86192 * math/libm-test.inc (cos_test): Add more test cases.
86193 (sin_test): Likewise.
86194 (sincos_test): Likewise.
86195
86196 2012-03-15 Andreas Jaeger <aj@suse.de>
86197
86198 [BZ #13837]
86199 * math/libm-test.inc (cos_test): Add a test case for large input
86200 value.
86201 (sin_test): Likewise.
86202 (sincos_test): Likewise.
86203
86204 2012-03-15 Andreas Jaeger <aj@suse.de>
86205 Joseph Myers <joseph@codesourcery.com>
86206
86207 [BZ #13658]
86208 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
86209 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
86210 * sysdeps/i386/fpu/branred.c: Likewise.
86211 * sysdeps/i386/fpu/dosincos.c: Likewise.
86212 * sysdeps/i386/fpu/mpa.c: Likewise.
86213 * sysdeps/i386/fpu/s_cos.S: Likewise.
86214 * sysdeps/i386/fpu/s_sin.S: Likewise.
86215 * sysdeps/i386/fpu/s_sincos.S: Likewise.
86216 * sysdeps/i386/fpu/sincos32.c: Likewise.
86217
86218 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
86219 Define.
86220 (libc_feupdateenv_53bit): Define.
86221 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
86222 Define.
86223 (libc_feupdateenv_53bit): Define.
86224
86225 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
86226 53 bit (without extend i386 double precision).
86227
86228 * math/libm-test.inc (sincos_test): Add tests for large input.
86229 (sin): Likewise.
86230 (cos): Likewise.
86231
86232 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
86233
86234 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
86235
86236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86237
86238 2012-03-15 David S. Miller <davem@davemloft.net>
86239
86240 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
86241 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
86242 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
86243 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
86244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
86245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
86246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
86247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
86248 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
86249 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
86250 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
86251 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
86252 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
86253 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
86254 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
86255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
86256 file.
86257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
86258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
86259 file.
86260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
86261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
86262 file.
86263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
86264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
86265 file.
86266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
86267 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
86268 fmin/fmax sysdep routines.
86269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86270
86271 2012-03-14 David S. Miller <davem@davemloft.net>
86272
86273 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
86274 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
86275 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
86276 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
86277 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
86278 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
86279 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
86280 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
86281 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
86282 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
86283 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
86284 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
86285 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
86286 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
86287 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
86288 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
86289 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
86290 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
86291 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
86292 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
86293 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
86294 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
86295 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
86296 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
86297 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
86298 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
86299 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
86300 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
86301 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
86302 routines.
86303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
86304 file.
86305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
86306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
86307 file.
86308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
86309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
86310 file.
86311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
86312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
86313 file.
86314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
86315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
86316 file.
86317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
86318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
86319 file.
86320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
86321 file.
86322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
86323 file.
86324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
86325 file.
86326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
86327 New file.
86328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
86329 file.
86330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
86331 file.
86332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
86333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
86334 file.
86335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
86336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
86337 file.
86338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
86339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
86340 file.
86341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
86342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
86343 VIS3 routines.
86344
86345 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
86346 New file.
86347
86348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
86349
86350 * sysdeps/sparc/configure.in: New file.
86351 * sysdeps/sparc/configure: Generate.
86352 * configure.in (libc_cv_sparc_as_vis3): Substitute.
86353 * configure: Regenerate.
86354 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
86355 * config.make.in (have-as-vis3): New.
86356 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
86357 available use -Av9d instead of -Av9a.
86358 * sysdeps/sparc/sparc64/Makefile: Likewise.
86359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
86360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
86361 New file.
86362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
86363 file.
86364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
86365 New file.
86366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
86367 file.
86368 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
86369 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
86370 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
86371 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
86372 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
86373
86374 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
86375 fzeros/fnegs to load 0x80000000 into a float register instead of
86376 using the stack.
86377 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
86378
86379 2012-03-14 Joseph Myers <joseph@codesourcery.com>
86380
86381 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86382 bits/syscall.h.
86383 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
86384 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
86385 ($(inst_includedir)/bits/syscall.h): Remove rule.
86386 ($(objpfx)bits/syscall.d): Include instead of
86387 $(objpfx)syscall-list.d.
86388 (generated): Change syscall-list.h and syscall-list.d to
86389 bits/syscall.h and bits/syscall.d.
86390
86391 2012-03-14 Roland McGrath <roland@hack.frob.com>
86392
86393 [BZ #13846]
86394 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
86395
86396 2012-03-14 Joseph Myers <joseph@codesourcery.com>
86397
86398 [BZ #13841]
86399 * math/s_csqrt.c: Include <float.h>.
86400 (__csqrt): Scale large or subnormal inputs.
86401 * math/s_csqrtf.c: Likewise.
86402 * math/s_csqrtl.c: Likewise.
86403 * math/libm-test.inc (csqrt_test): Add more tests.
86404 * sysdeps/i386/fpu/libm-test-ulps: Update.
86405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86406
86407 [BZ #13840]
86408 * math/libm-test.inc (hypot_test): Add more tests.
86409
86410 2012-03-13 David S. Miller <davem@davemloft.net>
86411
86412 [BZ #13840]
86413 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
86414 double-precision for the calculation instead of scaling.
86415
86416 2012-03-13 Joseph Myers <joseph@codesourcery.com>
86417
86418 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
86419 manipulate bits before adding and subtracting TWO52[sx].
86420 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
86421 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
86422 Likewise.
86423 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
86424
86425 2012-03-13 David S. Miller <davem@davemloft.net>
86426
86427 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
86428 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
86429 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
86430 rtld-global-offsets.h
86431 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86432
86433 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
86434 large parameters.
86435
86436 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
86437
86438 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
86439 'err' in the ifdef scope in which it is actually used.
86440
86441 * nss/nss_db/db-init.c: Include string.h
86442
86443 2012-03-12 David S. Miller <davem@davemloft.net>
86444
86445 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
86446 masking out of the most significant byte of random value used.
86447 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86448 Fix coding style in previous change.
86449
86450 * sysdeps/unix/sysv/linux/kernel-features.h
86451 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
86452 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
86453 expression.
86454 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
86455 later.
86456
86457 2012-03-11 David S. Miller <davem@davemloft.net>
86458
86459 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
86460 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
86461 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
86462 for 'resultvar' otherwise things get truncated on 64-bit.
86463
86464 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86465 Fix masking out of the most significant byte of random value used.
86466
86467 * sysdeps/sparc/fpu/libm-test-ulps: Update.
86468
86469 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
86470
86471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86472
86473 2012-03-09 David S. Miller <davem@davemloft.net>
86474
86475 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
86476 variables with appropriate CPP guards.
86477 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
86478 from the frame pointer, not the stack pointer. Correct layout
86479 comments. Fix test on resulting framesize and the management of
86480 the outregs buffer for pltexit. Preserve floating point return
86481 values across _dl_call_pltexit call.
86482 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
86483 framesize and the management of the outregs buffer for pltexit.
86484 Preserve floating point return values across _dl_call_pltexit
86485 call.
86486 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
86487 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
86488 (la_sparc64_gnu_pltexit): New functions.
86489 (print_exit): Fix format string for return register value.
86490
86491 2012-03-10 Joseph Myers <joseph@codesourcery.com>
86492
86493 * sunrpc/Makefile (others): Add rpcgen.
86494 ($(objpfx)rpcgen): Remove special build rule and dependency on
86495 libc.
86496 * sunrpc/rpcgen.c: New file.
86497
86498 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
86499
86500 [BZ #13673]
86501 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
86502 * stdio-common/bug-vfprintf-nargs.c: Likewise.
86503 * sysdeps/i386/crti.S: Likewise.
86504 * sysdeps/i386/crtn.S: Likewise.
86505 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
86506 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
86507 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
86508 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
86509 * sysdeps/sh/crti.S: Likewise.
86510 * sysdeps/sh/crtn.S: Likewise.
86511 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
86512
86513 [BZ #13673]
86514 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
86515 with URL.
86516 * locale/programs/locfile-kw.gperf: Likewise.
86517 * locale/programs/charmap-kw.h: Regenerated.
86518 * locale/programs/locfile-kw.h: Likewise.
86519
86520 [BZ #13673]
86521 * intl/plural.y: Replace FSF snail mail address with URL.
86522 * intl/plural.c: Regenerated.
86523
86524 2012-03-09 Richard Henderson <rth@twiddle.net>
86525
86526 * include/math_private.h: Remove file.
86527 * math/math_private.h: Move file ...
86528 * sysdeps/generic/math_private.h: ... here.
86529
86530 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
86531 * sysdeps/powerpc/fpu/math_private.h: Likewise.
86532 * sysdeps/x86_64/fpu/math_private.h: Likewise.
86533
86534 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
86535 and <math_private.h>.
86536 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
86537 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
86538 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
86539 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
86540 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
86541 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
86542 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
86543 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86544 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
86545 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
86546 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86547 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
86548 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
86549 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86550 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
86551 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
86552 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
86553 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
86554 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
86555 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
86556 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86557 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
86558 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
86559 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86560 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
86561 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
86562 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
86563 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
86564 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86565 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
86566 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
86567 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86568 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
86569 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
86570 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
86571 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
86572 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
86573 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
86574 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
86575 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86576 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
86577 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
86578 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
86579 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
86580 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
86581 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
86582 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
86583 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
86584 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
86585 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
86586 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
86587 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
86588 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
86589 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
86590 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
86591 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
86592 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86593 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
86594 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
86595 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
86596 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
86597 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
86598 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86599 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
86600 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
86601 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
86602 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
86603 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
86604 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
86605 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
86606 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
86607 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
86608 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
86609 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
86610 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
86611 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
86612 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
86613 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
86614 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
86615 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
86616 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
86617 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
86618 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
86619 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
86620 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
86621 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
86622 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
86623 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
86624 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
86625 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
86626 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
86627 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
86628 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86629 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
86630 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
86631 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
86632 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
86633 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
86634 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
86635 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
86636 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
86637 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
86638 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
86639 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
86640 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
86641 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
86642 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
86643 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
86644 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
86645 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
86646 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
86647 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
86648 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
86649 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
86650 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
86651 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
86652 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
86653 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
86654 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
86655 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
86656 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
86657 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
86658 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
86659 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
86660 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
86661 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
86662 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
86663 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
86664 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
86665 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
86666 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
86667 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
86668 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
86669 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
86670 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
86671 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
86672 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
86673 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
86674 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
86675 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
86676 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
86677 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
86678 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
86679 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
86680 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
86681 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
86682 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
86683 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
86684 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
86685 * sysdeps/ieee754/k_standard.c: Likewise.
86686 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
86687 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
86688 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
86689 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
86690 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
86691 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
86692 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
86693 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
86694 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
86695 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
86696 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
86697 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
86698 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
86699 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
86700 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
86701 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
86702 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
86703 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
86704 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
86705 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
86706 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
86707 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
86708 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
86709 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
86710 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
86711 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
86712 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
86713 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
86714 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
86715 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
86716 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
86717 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
86718 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
86719 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
86720 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
86721 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
86722 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
86723 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
86724 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
86725 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
86726 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
86727 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
86728 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
86729 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
86730 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
86731 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
86732 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
86733 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
86734 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
86735 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
86736 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
86737 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
86738 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
86739 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
86740 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
86741 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
86742 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
86743 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
86744 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
86745 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
86746 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
86747 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
86748 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
86749 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
86750 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
86751 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
86752 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
86753 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
86754 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
86755 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
86756 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
86757 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
86758 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
86759 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
86760 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
86761 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
86762 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
86763 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
86764 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
86765 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
86766 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
86767 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
86768 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
86769 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
86770 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
86771 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
86772 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
86773 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
86774 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
86775 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
86776 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
86777 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
86778 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
86779 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
86780 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
86781 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
86782 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
86783 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
86784 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
86785 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
86786 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
86787 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
86788 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
86789 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
86790 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
86791 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
86792 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
86793 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
86794 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
86795 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
86796 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
86797 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
86798 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
86799 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
86800 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
86801 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
86802 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
86803 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
86804 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
86805 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
86806 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
86807 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
86808 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
86809 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
86810 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
86811 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
86812 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
86813 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
86814 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
86815 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
86816 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
86817 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
86818 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
86819 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
86820 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
86821 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
86822 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
86823 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
86824 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
86825 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
86826 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
86827 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
86828 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
86829 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
86830 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
86831 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
86832 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
86833 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
86834 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
86835 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
86836 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
86837 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
86838 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
86839 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
86840 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
86841 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
86842 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
86843 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
86844 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
86845 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
86846 * sysdeps/ieee754/s_lib_version.c: Likewise.
86847 * sysdeps/ieee754/s_matherr.c: Likewise.
86848 * sysdeps/ieee754/s_signgam.c: Likewise.
86849 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
86850 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
86851 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
86852 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
86853 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
86854 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
86855 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
86856 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
86857 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
86858 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
86859 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
86860 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
86861 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
86862 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
86863 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
86864 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
86865 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
86866 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
86867 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
86868 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
86869 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
86870
86871 2012-03-09 Joseph Myers <joseph@codesourcery.com>
86872
86873 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
86874 * sunrpc/rpc_main.c: Likewise.
86875 * sunrpc/rpc_svcout.c: Likewise.
86876
86877 2012-03-09 David S. Miller <davem@davemloft.net>
86878
86879 * include/math_private.h: New file.
86880
86881 2012-03-09 Joseph Myers <joseph@codesourcery.com>
86882
86883 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
86884 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
86885 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
86886 from <bits/socket_type.h>.
86887 (enum __socket_type): Don't define here.
86888 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
86889 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86890 bits/socket_type.h.
86891
86892 [BZ #13566]
86893 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
86894 checking __USE_GNU.
86895
86896 * Makerules ($(inst_includedir)/%.h): New rule.
86897 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
86898 (install-others): Remove variable setting.
86899 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
86900
86901 2012-03-08 Richard Henderson <rth@twiddle.net>
86902
86903 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
86904 from macro to inline function; merge with the
86905 !__LIBC_INTERNAL_MATH_INLINES version.
86906 (__ieee754_sqrtf): Likewise.
86907
86908 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
86909 to inline function.
86910 (__rintf, __floor, __floorf): Likewise.
86911
86912 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
86913 macro to inline function.
86914 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
86915
86916 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
86917 not <math/math_private.h>.
86918
86919 2012-03-08 David S. Miller <davem@davemloft.net>
86920
86921 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
86922 copyright year.
86923 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
86924
86925 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
86926
86927 * resolv/gai_misc.c (handle_requests): Fix struct timespec
86928 normalization.
86929 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
86930 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
86931
86932 2012-03-08 Ulrich Drepper <drepper@gmail.com>
86933
86934 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
86935 be defined individually, they must be defined as a block. Define
86936 S for printing a string instead of hidint the different by using a
86937 macro for adding the 'l'.
86938 * stdio-common/tst-fphex-wide.c: Adjust.
86939
86940 2012-03-07 Marek Polacek <polacek@redhat.com>
86941
86942 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
86943
86944 2012-03-08 Marek Polacek <polacek@redhat.com>
86945
86946 [BZ #13806]
86947 * stdio-common/Makefile (tests): Add tst-fphex-wide.
86948 * stdio-common/tst-fphex.c: Define a few macros to make the
86949 test reusable. Use them.
86950 * stdio-common/tst-fphex-wide.c: New file.
86951
86952 2012-03-08 Joseph Myers <joseph@codesourcery.com>
86953
86954 [BZ #6911]
86955 * manual/macros.texi (gnusystems): New macro.
86956 (nongnusystems): Likewise.
86957 (gnulinuxhurdsystems): Likewise.
86958 (gnuhurdsystems): Likewise..
86959 (gnulinuxsystems): Likewise.
86960 * manual/charset.texi: Use new macros or @theglibc{} to refer to
86961 variants of the GNU system, not "GNU system".
86962 * manual/conf.texi: Likewise.
86963 * manual/errno.texi: Likewise. Update example of errno macro
86964 expansion.
86965 * manual/filesys.texi: Likewise.
86966 (getumask): Document as specific to GNU/Hurd.
86967 * manual/install.texi: Likewise. Reword some references to
86968 GNU/Linux.
86969 * manual/intro.texi: Likewise.
86970 * manual/io.texi: Likewise.
86971 (File Name Portability): Detail which constraints are inapplicable
86972 to all GNU systems and which are only inapplicable to GNU/Hurd.
86973 * manual/job.texi: Likewise.
86974 * manual/llio.texi: Likewise.
86975 (O_NOCTTY): Document as present on GNU/Linux.
86976 * manual/maint.texi: Likewise.
86977 * manual/memory.texi: Likewise.
86978 * manual/pattern.texi: Likewise.
86979 * manual/pipe.texi: Likewise.
86980 * manual/process.texi: Likewise.
86981 * manual/resource.texi: Likewise.
86982 (RUSAGE_CHILDREN): Remove statement about specifying a particular
86983 child on GNU/Hurd.
86984 * manual/setjmp.texi: Likewise.
86985 * manual/signal.texi: Likewise.
86986 * manual/startup.texi: Likewise.
86987 * manual/stdio.texi: Likewise.
86988 * manual/terminal.texi: Likewise.
86989 (ONLCR): Document as POSIX.
86990 (OXTABS): Document availability on GNU/Linux as XTABS.
86991 (ONOEOT): Document availability separately from other bits.
86992 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
86993 * manual/time.texi: Likewise.
86994 * manual/users.texi: Likewise.
86995 * INSTALL: Regenerated.
86996 * sysdeps/gnu/errlist.c: Regenerated.
86997
86998 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
86999 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
87000 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
87001 puts.
87002 * configure: Regenerated.
87003
87004 2012-03-07 Joseph Myers <joseph@codesourcery.com>
87005
87006 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
87007 default includes instead of AC_HEADER_CHECK.
87008 * sysdeps/i386/configure: Regenerated.
87009
87010 [BZ #10716]
87011 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
87012 * math/s_cacoshf.c (__cacoshf): Likewise.
87013 * math/s_cacoshl.c (__cacoshl): Likewise.
87014 * math/s_casinh.c (__casinh): Set signs of result from argument.
87015 * math/s_casinhf.c (__casinhf): Likewise.
87016 * math/s_casinhl.c (__casinhl): Likewise.
87017 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
87018 (casinh_test): Add more tests.
87019 * sysdeps/i386/fpu/libm-test-ulps: Update.
87020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87021
87022 2012-03-07 Ulrich Drepper <drepper@gmail.com>
87023
87024 * po/zh_TW.po: Update from translation team.
87025
87026 * login/Makefile (distribute): Remove variable.
87027 * catgets/Makefile: Likewise.
87028 * mach/Makefile: Likewise.
87029 * malloc/Makefile: Likewise.
87030 * misc/Makefile: Likewise.
87031 * iconv/Makefile: Likewise.
87032 * nscd/Makefile: Likewise.
87033 * hurd/Makefile: Likewise.
87034 * manual/Makefile: Likewise.
87035 * locale/Makefile: Likewise.
87036 * intl/Makefile: Likewise.
87037 * conform/Makefile: Likewise.
87038 * nss/Makefile: Likewise.
87039 * time/Makefile: Likewise.
87040 * soft-fp/Makefile: Likewise.
87041 * dirent/Makefile: Likewise.
87042 * gmon/Makefile: Likewise.
87043 * po/Makefile: Likewise.
87044 * rt/Makefile: Likewise.
87045 * socket/Makefile: Likewise.
87046 * math/Makefile: Likewise.
87047 * signal/Makefile: Likewise.
87048 * debug/Makefile: Likewise.
87049 * elf/Makefile: Likewise.
87050 * timezone/Makefile: Likewise.
87051 * stdlib/Makefile: Likewise.
87052 * iconvdata/Makefile: Likewise.
87053 * sunrpc/Makefile: Likewise.
87054 * io/Makefile: Likewise.
87055 * argp/Makefile: Likewise.
87056 * inet/Makefile: Likewise.
87057 * hesiod/Makefile: Likewise.
87058 * grp/Makefile: Likewise.
87059 * csu/Makefile: Likewise.
87060 * wctype/Makefile: Likewise.
87061 * crypt/Makefile: Likewise.
87062 * libio/Makefile: Likewise.
87063 * string/Makefile: Likewise.
87064 * nis/Makefile: Likewise.
87065 * resolv/Makefile: Likewise.
87066 * stdio-common/Makefile: Likewise.
87067 * wcsmbs/Makefile: Likewise.
87068 * dlfcn/Makefile: Likewise.
87069 * posix/Makefile: Likewise.
87070
87071 [BZ #6959]
87072 * timezone/Makefile: Don't install timezone files, just the programs
87073 and scripts.
87074
87075 2012-03-06 Ulrich Drepper <drepper@gmail.com>
87076
87077 * nss/databases.def: Add missing gshadow entry.
87078
87079 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
87080
87081 2012-03-06 Marek Polacek <polacek@redhat.com>
87082
87083 [BZ #13726]
87084 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
87085 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
87086 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
87087 * stdio-common/tst-long-dbl-fphex.c: New file.
87088
87089 2012-03-06 David S. Miller <davem@davemloft.net>
87090
87091 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
87092 (set_obp_int): New function.
87093 (get_obp_int): New function.
87094 (__get_clockfreq_via_dev_openprom): Likewise.
87095 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
87096 Avoid unused variable warnings on 'val' and use builtin_expect.
87097 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
87098 __builtin_expect.
87099 (INLINE_CLONE_SYSCALL): Likewise.
87100
87101 2012-03-05 David S. Miller <davem@davemloft.net>
87102
87103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
87104
87105 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
87106
87107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87108
87109 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
87110 only for |x| >= 40.
87111 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87112
87113 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
87114
87115 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
87116 Replace gettimeofday with __vdso_gettimeofday.
87117
87118 * sysdeps/unix/sysv/linux/x86_64/init-first.c
87119 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
87120 __vdso_clock_gettime and __vdso_getcpu.
87121
87122 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
87123 time with __vdso_time.
87124
87125 2012-03-05 Joseph Myers <joseph@codesourcery.com>
87126
87127 * manual/lang.texi (size_t): Note types to which size_t may be
87128 equivalent with the GNU C Library, but do not describe when
87129 differences between them are significant.
87130
87131 2012-03-05 Andreas Jaeger <aj@suse.de>
87132
87133 * sysdeps/i386/fpu/libm-test-ulps: Update.
87134
87135 2012-03-05 Joseph Myers <joseph@codesourcery.com>
87136
87137 [BZ #3976]
87138 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
87139 (__ieee754_pow): Save and restore rounding mode and use
87140 round-to-nearest for main computations.
87141 * math/libm-test.inc (pow_test_tonearest): New function.
87142 (pow_test_towardzero): Likewise.
87143 (pow_test_downward): Likewise.
87144 (pow_test_upward): Likewise.
87145 (main): Call the new functions.
87146 * sysdeps/i386/fpu/libm-test-ulps: Update.
87147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87148
87149 [BZ #3976]
87150 * math/libm-test.inc (cosh_test_tonearest): New function.
87151 (cosh_test_towardzero): Likewise.
87152 (cosh_test_downward): Likewise.
87153 (cosh_test_upward): Likewise.
87154 (sinh_test_tonearest): Likewise.
87155 (sinh_test_towardzero): Likewise.
87156 (sinh_test_downward): Likewise.
87157 (sinh_test_upward): Likewise.
87158 (main): Call the new functions.
87159 * sysdeps/i386/fpu/libm-test-ulps: Update.
87160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87161
87162 2012-03-05 Tom de Vries <tom@codesourcery.com>
87163
87164 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
87165 default stack guard is set in last bytes.
87166 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
87167
87168 2012-03-05 Kees Cook <keescook@chromium.org>
87169
87170 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
87171
87172 [BZ #13656]
87173 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
87174 possibly allocate from heap instead of stack.
87175 * stdio-common/bug-vfprintf-nargs.c: New file.
87176 * stdio-common/Makefile (tests): Add nargs overflow test.
87177
87178 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
87179
87180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87181
87182 2012-03-03 Marek Polacek <polacek@redhat.com>
87183
87184 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
87185 * math/math_private.h: Likewise.
87186 * stdlib/tst-strtod.c: Likewise.
87187 * sysdeps/i386/i486/bits/atomic.h: Likewise.
87188 * sysdeps/x86_64/bits/atomic.h: Likewise.
87189
87190 2012-03-02 David S. Miller <davem@davemloft.net>
87191
87192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
87193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
87194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
87195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
87196 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
87197 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
87198 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
87199 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
87200
87201 2012-03-02 Roland McGrath <roland@hack.frob.com>
87202
87203 [BZ #13792]
87204 * manual/examples/README: New file, says the example source files
87205 can be used under GPL>=2.
87206 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
87207 line containing just "*/".
87208 * manual/examples/add.c: Add copyright header (GPL>=2).
87209 * manual/examples/argp-ex1.c: Likewise.
87210 * manual/examples/argp-ex2.c: Likewise.
87211 * manual/examples/argp-ex3.c: Likewise.
87212 * manual/examples/argp-ex4.c: Likewise.
87213 * manual/examples/atexit.c: Likewise.
87214 * manual/examples/db.c: Likewise.
87215 * manual/examples/dir.c: Likewise.
87216 * manual/examples/dir2.c: Likewise.
87217 * manual/examples/execinfo.c: Likewise.
87218 * manual/examples/filecli.c: Likewise.
87219 * manual/examples/filesrv.c: Likewise.
87220 * manual/examples/fmtmsgexpl.c: Likewise.
87221 * manual/examples/genpass.c: Likewise.
87222 * manual/examples/inetcli.c: Likewise.
87223 * manual/examples/inetsrv.c: Likewise.
87224 * manual/examples/isockad.c: Likewise.
87225 * manual/examples/longopt.c: Likewise.
87226 * manual/examples/memopen.c: Likewise.
87227 * manual/examples/memstrm.c: Likewise.
87228 * manual/examples/mkfsock.c: Likewise.
87229 * manual/examples/mkisock.c: Likewise.
87230 * manual/examples/mygetpass.c: Likewise.
87231 * manual/examples/pipe.c: Likewise.
87232 * manual/examples/popen.c: Likewise.
87233 * manual/examples/rprintf.c: Likewise.
87234 * manual/examples/search.c: Likewise.
87235 * manual/examples/select.c: Likewise.
87236 * manual/examples/setjmp.c: Likewise.
87237 * manual/examples/sigh1.c: Likewise.
87238 * manual/examples/sigusr.c: Likewise.
87239 * manual/examples/stpcpy.c: Likewise.
87240 * manual/examples/strdupa.c: Likewise.
87241 * manual/examples/strftim.c: Likewise.
87242 * manual/examples/strncat.c: Likewise.
87243 * manual/examples/subopt.c: Likewise.
87244 * manual/examples/swapcontext.c: Likewise.
87245 * manual/examples/termios.c: Likewise.
87246 * manual/examples/testopt.c: Likewise.
87247 * manual/examples/testpass.c: Likewise.
87248 * manual/examples/timeval_subtract.c: Likewise.
87249
87250 [BZ #13792]
87251 * manual/time.texi (Elapsed Time): Move timeval_subtract example
87252 function to ...
87253 * manual/timeval_subtract.c.texi: ... here, new file.
87254
87255 2012-03-02 David S. Miller <davem@davemloft.net>
87256
87257 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
87258
87259 2012-03-02 Joseph Myers <joseph@codesourcery.com>
87260
87261 [BZ #3976]
87262 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
87263 (__sin): Save and restore rounding mode and use round-to-nearest
87264 for all computations.
87265 (__cos): Save and restore rounding mode and use round-to-nearest
87266 for all computations.
87267 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
87268 <fenv.h>.
87269 (tan): Save and restore rounding mode and use round-to-nearest for
87270 all computations.
87271 * math/libm-test.inc (cos_test_tonearest): New function.
87272 (cos_test_towardzero): Likewise.
87273 (cos_test_downward): Likewise.
87274 (cos_test_upward): Likewise.
87275 (sin_test_tonearest): Likewise.
87276 (sin_test_towardzero): Likewise.
87277 (sin_test_downward): Likewise.
87278 (sin_test_upward): Likewise.
87279 (tan_test_tonearest): Likewise.
87280 (tan_test_towardzero): Likewise.
87281 (tan_test_downward): Likewise.
87282 (tan_test_upward): Likewise.
87283 (main): Call the new functions.
87284 * sysdeps/i386/fpu/libm-test-ulps: Update.
87285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87286
87287 [BZ #10135]
87288 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
87289 small n, then large n, before computing and testing k+n.
87290 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
87291 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
87292 Likewise.
87293 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
87294 Likewise.
87295 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
87296 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
87297 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
87298 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
87299 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
87300 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
87301 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
87302 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
87303 * math/libm-test.inc (scalbn_test): Add more tests.
87304 (scalbln_test): Likewise.
87305
87306 * manual/filesys.texi (mode_t): Describe constraints on size and
87307 signedness, not exact equivalence to a particular type.
87308 (ino_t): Likewise.
87309 (ino64_t): Likewise.
87310 (dev_t): Likewise.
87311 (nlink_t): Likewise.
87312 (blkcnt_t): Likewise.
87313 (blkcnt64_t): Likewise.
87314 * manual/llio.texi (off_t): Likewise.
87315
87316 [BZ #3976]
87317 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
87318 (__ieee754_exp): Save and restore rounding mode and use
87319 round-to-nearest for all computations.
87320 * math/libm-test.inc (exp_test_tonearest): New function.
87321 (exp_test_towardzero): Likewise.
87322 (exp_test_downward): Likewise.
87323 (exp_test_upward): Likewise.
87324 (main): Call the new functions.
87325 * sysdeps/i386/fpu/libm-test-ulps: Update.
87326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87327
87328 2012-03-01 Chris Demetriou <cgd@google.com>
87329
87330 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
87331 have predictable order.
87332
87333 2012-03-01 David S. Miller <davem@davemloft.net>
87334
87335 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
87336
87337 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
87338 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
87339 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
87340 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
87341
87342 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
87343 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
87344 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
87345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
87346 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
87347 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
87348 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
87349 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
87350 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
87351
87352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
87353
87354 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
87355 * sysdeps/sparc/fpu/libm-test-ulps: to here.
87356 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
87357
87358 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
87359 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
87360 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
87361 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
87362 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
87363 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
87364 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
87365 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
87366 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
87367 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
87368 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
87369 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87370 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
87371 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
87372 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
87373 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87374 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
87375 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
87376 * sysdeps/sparc/elf/configure: Regenerated.
87377
87378 2012-03-01 Joseph Myers <joseph@codesourcery.com>
87379
87380 * configure.in (AS, LD): Require binutils 2.20 or later.
87381 * configure: Regenerated.
87382 * manual/install.texi (Tools for Compilation): Give binutils 2.20
87383 as required minimum version.
87384 * INSTALL: Regenerated.
87385
87386 [BZ #2541]
87387 [BZ #4108]
87388 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
87389 before squaring exponent.
87390 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
87391 bottom long double and 27 bits of top long double before squaring
87392 exponent.
87393 * math/libm-test.inc (erfc_test): Add more tests.
87394 * sysdeps/i386/fpu/libm-test-ulps: Update.
87395 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
87396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87397
87398 2012-03-01 Kai Tietz <ktietz@redhat.com>
87399
87400 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
87401 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
87402 containing bit-fields.
87403 * soft-fp/extended.h (_FP_UNION_E): Likewise.
87404 * soft-fp/single.h (_FP_UNION_S): Likewise.
87405 * soft-fp/double.h (_FP_UNION_D): Likewise.
87406
87407 2012-02-29 Joseph Myers <joseph@codesourcery.com>
87408
87409 [BZ #13786]
87410 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
87411 not include ../strcmp.S.
87412 [USE_AS_STRNCASECMP_L]: Likewise.
87413 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
87414 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
87415 * sysdeps/i386/i686/multiarch/strncase_l-c.c
87416 (__strncasecmp_l_ia32): Define as alias to
87417 __strncasecmp_l_nonascii.
87418
87419 [BZ #5794]
87420 * math/libm-test.inc (expm1_test): Add test for bug 5794.
87421 * sysdeps/i386/fpu/libm-test-ulps: Update.
87422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87423
87424 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
87425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87426
87427 2012-02-29 Jeff Law <law@redhat.com>
87428
87429 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
87430 out of bounds read.
87431
87432 2012-02-29 Marek Polacek <polacek@redhat.com>
87433
87434 [BZ #13706]
87435 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
87436 * elf/Makefile: Add rules to run tst-unused-dep.out.
87437
87438 2012-02-28 David S. Miller <davem@davemloft.net>
87439
87440 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
87441 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
87442 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
87443 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
87444 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
87445 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
87446
87447 2012-02-29 Joseph Myers <joseph@codesourcery.com>
87448
87449 * math/libm-test.inc (llround_test): Move one test from
87450 lround_test. Use TEST_f_L in moved test.
87451 (lround_test): Move misplaced test to llround_test. Add testcase
87452 from bug 2561.
87453
87454 2012-02-28 Ulrich Drepper <drepper@gmail.com>
87455
87456 * sysdeps/x86_64/fpu/e_expf.S: New file.
87457 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
87458
87459 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
87460
87461 [BZ #13637]
87462 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
87463 of remain_len that may cause incomplete multi-byte character and
87464 false match.
87465 * posix/bug-regex33.c: New file.
87466 * posix/Makefile (tests): Add bug-regex33.
87467
87468 2012-02-28 Joseph Myers <joseph@codesourcery.com>
87469
87470 * manual/macros.texi: New file.
87471 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
87472 * manual/libc.texinfo: Include macros.texi.
87473 * manual/creatute.texi: Likewise.
87474 * manual/install.texi: Likewise.
87475 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
87476 @glibcadj{} in references to the GNU C Library.
87477 * manual/charset.texi: Likewise.
87478 * manual/conf.texi: Likewise.
87479 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
87480 when not using those macros.
87481 * manual/creature.texi: Likewise.
87482 * manual/crypt.texi: Likewise.
87483 * manual/errno.texi: Likewise.
87484 * manual/filesys.texi: Likewise.
87485 * manual/header.texi: Likewise.
87486 * manual/install.texi: Likewise.
87487 * manual/intro.texi: Likewise.
87488 * manual/io.texi: Likewise.
87489 * manual/job.texi: Likewise.
87490 * manual/lang.texi: Likewise.
87491 * manual/libc.texiinfo: Likewise.
87492 * manual/llio.texi: Likewise.
87493 * manual/locale.texi: Likewise.
87494 * manual/maint.texi: Likewise.
87495 * manual/math.texi: Likewise.
87496 * manual/memory.texi: Likewise.
87497 * manual/message.texi: Likewise.
87498 * manual/nss.texi: Likewise.
87499 * manual/pattern.texi: Likewise.
87500 * manual/process.texi: Likewise.
87501 * manual/resource.texi: Likewise.
87502 * manual/search.texi: Likewise.
87503 * manual/setjmp.texi: Likewise.
87504 * manual/signal.texi: Likewise.
87505 * manual/socket.texi: Likewise.
87506 * manual/startup.texi: Likewise.
87507 * manual/stdio.texi: Likewise.
87508 * manual/string.texi: Likewise.
87509 * manual/sysinfo.texi: Likewise.
87510 * manual/syslog.texi: Likewise.
87511 * manual/terminal.texi: Likewise.
87512 * manual/time.texi: Likewise.
87513 * manual/users.texi: Likewise.
87514 * INSTALL: Regenerated.
87515 * NOTES: Regenerated.
87516 * sysdeps/gnu/errlist.c: Regenerated.
87517
87518 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
87519
87520 * include/dirent.h: Include <dirstream.h> before
87521 <dirent/dirent.h>.
87522
87523 2012-02-28 David S. Miller <davem@davemloft.net>
87524
87525 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
87526 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
87527 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
87528 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
87529
87530 2012-02-27 David S. Miller <davem@davemloft.net>
87531
87532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
87533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
87534 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
87535 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
87536
87537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
87538 frame pointer instead of stack pointer relative arg slot.
87539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87540 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87541 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87542
87543 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
87544
87545 [BZ #3992]
87546 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
87547
87548 2012-02-27 David S. Miller <davem@davemloft.net>
87549
87550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
87551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
87553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
87554 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87555 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87556 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
87557 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
87558
87559 2012-02-27 Joseph Myers <joseph@codesourcery.com>
87560
87561 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
87562 later. Allow versions 5-9.
87563 * configure: Regenerated.
87564 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
87565 required minimum version and 4.6 as recommended version. Do not
87566 mention bugs in GCC 2.7 and 2.8.
87567 * INSTALL: Regenerated.
87568
87569 2012-02-27 David S. Miller <davem@davemloft.net>
87570
87571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
87572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
87573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
87574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
87575 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
87576 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
87577 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
87578 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
87579
87580 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
87581 manipulate bits before adding and subtracting TWO112[sx].
87582 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
87583
87584 2012-02-27 Roland McGrath <roland@hack.frob.com>
87585
87586 [BZ #13775]
87587 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
87588 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
87589 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
87590 being in POSIX, because they are in 1003.1-2008.
87591
87592 * rt/tst-aio.c: Include <fcntl.h>.
87593 * rt/tst-aio7.c: Likewise.
87594 * rt/tst-aio64.c: Likewise.
87595
87596 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
87597
87598 2012-02-27 Joseph Myers <joseph@codesourcery.com>
87599
87600 * manual/install.texi (--with-headers): Describe headers as
87601 interface headers, not private headers.
87602 (Specific advice for GNU/Linux systems): Describe use of headers
87603 from "make headers_install", not private headers from older
87604 kernels.
87605 * INSTALL: Regenerated.
87606 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
87607 Change to 2.6.19.
87608 * sysdeps/unix/sysv/linux/configure: Regenerated.
87609
87610 * manual/llio.texi (fclean): Remove documentation.
87611
87612 * manual/Makefile (libc-texi-generated): New variable. Include
87613 version.texi.
87614 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
87615 $(libc-texi-generated), not duplicated list of files.
87616 (version.texi, stamp-version): New rules.
87617 (realclean): Remove $(libc-texi-generated), not individual files
87618 from that list. Do not remove dir-add.texinfo.
87619 * manual/libc.texinfo: Comment out uses of edition numbers and
87620 references to printed manual. Remove last-updated dates.
87621 (EDITION): Comment out.
87622 (ISBN): Likewise.
87623 (VERSION, UPDATED): Remove.
87624 (version.texi): Include.
87625
87626 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
87627
87628 * sysdeps/posix/spawni.c: Include <signal.h>.
87629 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
87630 * sysdeps/pthread/aio_fsync.c: Likewise.
87631
87632 2012-02-26 Ulrich Drepper <drepper@gmail.com>
87633
87634 * conform/Makefile (tests): Run only when not cross-compiling and
87635 when fast-check is not defined.
87636
87637 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
87638 * conform/data/limits.h-data: Fixes for POSIX2008.
87639 * conform/run-conformtest.sh: Run all tests.
87640 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
87641 headers.
87642 * include/bits/dlfcn.h: Likewise.
87643 * include/langinfo.h: Likewise.
87644 * include/monetary.h: Likewise.
87645 * include/sys/poll.h: Likewise.
87646
87647 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
87648 for __USE_GNU.
87649 * posix/spawn.h: Define __need_sigset_t.
87650 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
87651 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
87652 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
87653 to get sigevent_t only.
87654 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
87655 only for __USE_GNU.
87656 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87657 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
87658 process_vm_writev only for __USE_GNU.
87659 * termios/termios.h: Declare tcgetsid also for POSIX2008.
87660
87661 * conform/Makefile: For now ignore errors from run-conformtest.
87662 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
87663 POSIX to avoid namespace pollution. Don't prepend headers.
87664 * conform/data/aio.h-data: Fixes for POSIX testing.
87665 * conform/data/fcntl.h-data: Likewise.
87666 * conform/data/glob.h-data: Likewise.
87667 * conform/data/grp.h-data: Likewise.
87668 * conform/data/pthread.h-data: Likewise.
87669 * conform/data/pwd.h-data: Likewise.
87670 * conform/data/signal.h-data: Likewise.
87671 * conform/data/spawn.h-data: Likewise.
87672 * conform/data/stdio.h-data: Likewise.
87673 * conform/data/stdlib.h-data: Likewise.
87674 * conform/data/stropts.h-data: Likewise.
87675 * conform/data/sys/mman.h-data: Likewise.
87676 * conform/data/sys/stat.h-data: Likewise.
87677 * conform/data/sys/types.h-data: Likewise.
87678 * conform/data/sys/wait.h-data: Likewise.
87679 * conform/data/time.h-data: Likewise.
87680 * conform/data/unistd.h-data: Likewise.
87681 * conform/data/utime.h-data: Likewise.
87682
87683 * io/sys/stat.h: fchmod was always in POSIX.
87684 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
87685 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
87686 * rt/aio.h: Define __need_timespec before including <time.h>.
87687 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
87688 struct. Add forward declaration of pthread_attr_t and use it in
87689 sigevent.
87690 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
87691 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
87692 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
87693 always remove CLK_TCK definition.
87694
87695 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
87696
87697 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
87698
87699 2012-02-25 Ulrich Drepper <drepper@gmail.com>
87700
87701 * conform/run-conformtest.sh: New file.
87702 * conform/Makefile: Run run-conformtest for tests.
87703 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
87704 support.
87705
87706 * conform/data/uchar.h-data: New file.
87707 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
87708 * conform/data/arpa/inet.h-data: Likewise.
87709 * conform/data/assert.h-data: Likewise.
87710 * conform/data/complex.h-data: Likewise.
87711 * conform/data/cpio.h-data: Likewise.
87712 * conform/data/ctype.h-data: Likewise.
87713 * conform/data/dirent.h-data: Likewise.
87714 * conform/data/dlfcn.h-data: Likewise.
87715 * conform/data/errno.h-data: Likewise.
87716 * conform/data/fcntl.h-data: Likewise.
87717 * conform/data/float.h-data: Likewise.
87718 * conform/data/fmtmsg.h-data: Likewise.
87719 * conform/data/fnmatch.h-data: Likewise.
87720 * conform/data/ftw.h-data: Likewise.
87721 * conform/data/glob.h-data: Likewise.
87722 * conform/data/grp.h-data: Likewise.
87723 * conform/data/iconv.h-data: Likewise.
87724 * conform/data/inttypes.h-data: Likewise.
87725 * conform/data/langinfo.h-data: Likewise.
87726 * conform/data/libgen.h-data: Likewise.
87727 * conform/data/limits.h-data: Likewise.
87728 * conform/data/locale.h-data: Likewise.
87729 * conform/data/math.h-data: Likewise.
87730 * conform/data/monetary.h-data: Likewise.
87731 * conform/data/mqueue.h-data: Likewise.
87732 * conform/data/ndbm.h-data: Likewise.
87733 * conform/data/net/if.h-data: Likewise.
87734 * conform/data/netdb.h-data: Likewise.
87735 * conform/data/netinet/in.h-data: Likewise.
87736 * conform/data/nl_types.h-data: Likewise.
87737 * conform/data/poll.h-data: Likewise.
87738 * conform/data/pthread.h-data: Likewise.
87739 * conform/data/pwd.h-data: Likewise.
87740 * conform/data/regex.h-data: Likewise.
87741 * conform/data/sched.h-data: Likewise.
87742 * conform/data/search.h-data: Likewise.
87743 * conform/data/semaphore.h-data: Likewise.
87744 * conform/data/setjmp.h-data: Likewise.
87745 * conform/data/signal.h-data: Likewise.
87746 * conform/data/spawn.h-data: Likewise.
87747 * conform/data/stdarg.h-data: Likewise.
87748 * conform/data/stdio.h-data: Likewise.
87749 * conform/data/stdlib.h-data: Likewise.
87750 * conform/data/string.h-data: Likewise.
87751 * conform/data/strings.h-data: Likewise.
87752 * conform/data/stropts.h-data: Likewise.
87753 * conform/data/sys/ipc.h-data: Likewise.
87754 * conform/data/sys/mman.h-data: Likewise.
87755 * conform/data/sys/msg.h-data: Likewise.
87756 * conform/data/sys/resource.h-data: Likewise.
87757 * conform/data/sys/select.h-data: Likewise.
87758 * conform/data/sys/sem.h-data: Likewise.
87759 * conform/data/sys/shm.h-data: Likewise.
87760 * conform/data/sys/socket.h-data: Likewise.
87761 * conform/data/sys/stat.h-data: Likewise.
87762 * conform/data/sys/statvfs.h-data: Likewise.
87763 * conform/data/sys/time.h-data: Likewise.
87764 * conform/data/sys/timeb.h-data: Likewise.
87765 * conform/data/sys/times.h-data: Likewise.
87766 * conform/data/sys/types.h-data: Likewise.
87767 * conform/data/sys/uio.h-data: Likewise.
87768 * conform/data/sys/un.h-data: Likewise.
87769 * conform/data/sys/utsname.h-data: Likewise.
87770 * conform/data/sys/wait.h-data: Likewise.
87771 * conform/data/syslog.h-data: Likewise.
87772 * conform/data/tar.h-data: Likewise.
87773 * conform/data/termios.h-data: Likewise.
87774 * conform/data/utime.h-data: Likewise.
87775 * conform/data/utmpx.h-data: Likewise.
87776 * conform/data/varargs.h-data: Likewise.
87777 * conform/data/wchar.h-data: Likewise.
87778 * conform/data/wctype.h-data: Likewise.
87779 * conform/data/wordexp.h-data: Likewise.
87780
87781 * include/stropts.h: New file.
87782 * include/uchar.h: New file.
87783 * include/aio.h: Changes to allow conformtest.pl to use the headers.
87784 * include/assert.h: Likewise.
87785 * include/ctype.h: Likewise.
87786 * include/dirent.h: Likewise.
87787 * include/dlfcn.h: Likewise.
87788 * include/fcntl.h: Likewise.
87789 * include/fnmatch.h: Likewise.
87790 * include/glob.h: Likewise.
87791 * include/grp.h: Likewise.
87792 * include/libio.h: Likewise.
87793 * include/locale.h: Likewise.
87794 * include/math.h: Likewise.
87795 * include/net/if.h: Likewise.
87796 * include/netdb.h: Likewise.
87797 * include/netinet/in.h: Likewise.
87798 * include/pthread.h: Likewise.
87799 * include/pwd.h: Likewise.
87800 * include/regex.h: Likewise.
87801 * include/sched.h: Likewise.
87802 * include/search.h: Likewise.
87803 * include/setjmp.h: Likewise.
87804 * include/signal.h: Likewise.
87805 * include/stdio.h: Likewise.
87806 * include/stdlib.h: Likewise.
87807 * include/string.h: Likewise.
87808 * include/sys/cdefs.h: Likewise.
87809 * include/sys/mman.h: Likewise.
87810 * include/sys/msg.h: Likewise.
87811 * include/sys/resource.h: Likewise.
87812 * include/sys/select.h: Likewise.
87813 * include/sys/socket.h: Likewise.
87814 * include/sys/stat.h: Likewise.
87815 * include/sys/statvfs.h: Likewise.
87816 * include/sys/time.h: Likewise.
87817 * include/sys/times.h: Likewise.
87818 * include/sys/uio.h: Likewise.
87819 * include/sys/utsname.h: Likewise.
87820 * include/sys/wait.h: Likewise.
87821 * include/termios.h: Likewise.
87822 * include/time.h: Likewise.
87823 * include/ulimit.h: Likewise.
87824 * include/unistd.h: Likewise.
87825 * include/utime.h: Likewise.
87826 * include/wchar.h: Likewise.
87827 * include/wctype.h: Likewise.
87828 * include/wordexp.h: Likewise.
87829
87830 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
87831
87832 * time/time.h: TIME_UTC must be a macro.
87833 Make timespec_get available for ISO C11 only as well.
87834
87835 2012-02-24 Ulrich Drepper <drepper@gmail.com>
87836
87837 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
87838 Reported by Peng Haitao <penght@cn.fujitsu.com>.
87839
87840 2012-02-24 Joseph Myers <joseph@codesourcery.com>
87841
87842 * configure.in: Use -o not -a in test for unsupported multi-arch.
87843
87844 2012-02-24 Joseph Myers <joseph@codesourcery.com>
87845
87846 * manual/texinfo.tex: Update to version 2012-01-19.16.
87847
87848 2012-02-24 Joseph Myers <joseph@codesourcery.com>
87849
87850 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
87851
87852 2012-02-24 Roland McGrath <roland@hack.frob.com>
87853
87854 [BZ #13738]
87855 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
87856 * manual/fdl-1.3.texi: New file.
87857 * manual/fdl-1.1.texi: File removed.
87858
87859 [BZ #13738]
87860 * manual/libc.texinfo (FDL_VERSION): New @set.
87861 Use it for mention of FDL in cover text.
87862 (Documentation License): Use it in @include file name.
87863
87864 2012-02-22 Joseph Myers <joseph@codesourcery.com>
87865 Roland McGrath <roland@hack.frob.com>
87866
87867 [BZ #5461]
87868 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
87869 (not LONG_LONG_MAX and LONG_LONG_MIN.
87870 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
87871 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
87872 name.
87873 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
87874
87875 2012-02-22 Joseph Myers <joseph@codesourcery.com>
87876
87877 [BZ #2547]
87878 [BZ #11365]
87879 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
87880 manipulate bits before adding and subtracting TWO23[sx].
87881 * math/libm-test.inc (nearbyint_test): Add more tests.
87882
87883 2012-02-22 Joseph Myers <joseph@codesourcery.com>
87884
87885 [BZ #2548]
87886 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
87887 bits before adding and subtracting TWO23[sx].
87888 * math/libm-test.inc (rint_test): Add more tests.
87889 (rint_test_tonearest): Likewise.
87890 (rint_test_towardzero): Likewise.
87891 (rint_test_downward): Likewise.
87892 (rint_test_upward: Likewise.
87893
87894 2012-02-22 Joseph Myers <joseph@codesourcery.com>
87895
87896 [BZ #10110]
87897 * include/stdc-predef.h: New file. Extracted from features.h.
87898 * include/features.h: Include stdc-predef.h.
87899 * Makefile (headers): Add stdc-predef.h.
87900 * CONFORMANCE (Compiler limitations): Update.
87901
87902 2012-02-22 Joseph Myers <joseph@codesourcery.com>
87903
87904 * manual/libc.texinfo (VERSION, UPDATED): Revert.
87905
87906 2012-02-21 David S. Miller <davem@davemloft.net>
87907
87908 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
87909 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
87910
87911 2012-02-20 David S. Miller <davem@davemloft.net>
87912
87913 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
87914 using a normal save/restore sequence, rather than allocating a
87915 dummy stack frame just to store a frame pointer and restore.
87916 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87917
87918 2012-02-21 Joseph Myers <joseph@codesourcery.com>
87919
87920 * manual/install.texi: Fix stray word in line-wrapped comment.
87921
87922 2012-02-20 David S. Miller <davem@davemloft.net>
87923
87924 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
87925 both binutils and gcc support GOTDATA.
87926
87927 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
87928 "rd %pc" in the PIC register setup sequences.
87929
87930 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
87931 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
87932 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
87933 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
87934 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
87935 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
87936 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
87937 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87938 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
87939 (SYSCALL_ERROR_HANDLER): Likewise.
87940 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
87941 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
87942 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
87943 (SYSCALL_ERROR_HANDLER): Likewise.
87944
87945 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
87946 (HAVE_GCC_GOTDATA): New.
87947 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
87948 relocation support in both binutils and gcc.
87949 * sysdeps/sparc/elf/configure: Regenerate.
87950
87951 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
87952 * sysdeps/sparc/sparc32/elf/configure: Delete.
87953 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
87954 * sysdeps/sparc/sparc64/elf/configure: Delete.
87955 * sysdeps/sparc/elf/configure.in: New file.
87956 * sysdeps/sparc/elf/configure: Generate.
87957
87958 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
87959 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
87960 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
87961 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
87962 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
87963
87964 2012-02-21 Joseph Myers <joseph@codesourcery.com>
87965
87966 * manual/install.texi: Do not mention specific glibc version
87967 numbers.
87968 * manual/libc.texinfo (VERSION, UPDATED): Update.
87969 (@copying): Use @copyright{} and range of years.
87970
87971 2012-02-21 Joseph Myers <joseph@codesourcery.com>
87972
87973 [BZ #13695]
87974 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
87975 [crti.S not in sysdirs] (generated): Do not append.
87976 [crti.S not in sysdirs] (omit-deps): Likewise.
87977 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
87978 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
87979 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
87980 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
87981 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
87982 Likewise.
87983 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
87984 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
87985 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
87986 * csu/defs.awk: Remove file.
87987 * sysdeps/generic/initfini.c: Likewise.
87988 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
87989 variable.
87990 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
87991 Likewise.
87992
87993 2012-02-20 Joseph Myers <joseph@codesourcery.com>
87994
87995 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
87996 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
87997 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
87998 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
87999 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
88000 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
88001 <bits/epoll.h>.
88002 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
88003 (__EPOLL_PACKED): Define to empty if not defined by
88004 <bits/epoll.h>.
88005 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
88006 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88007 bits/epoll.h.
88008
88009 2012-02-20 Joseph Myers <joseph@codesourcery.com>
88010
88011 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
88012 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
88013 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
88014 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
88015 <bits/timerfd.h>.
88016 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
88017 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88018 bits/timerfd.h.
88019
88020 2012-02-20 Joseph Myers <joseph@codesourcery.com>
88021
88022 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
88023 in C locale.
88024 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
88025 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
88026 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
88027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88028
88029 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
88030
88031 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88032 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
88033
88034 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
88035
88036 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
88037 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
88038 defined.
88039 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
88040 Likewise.
88041 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
88042 entry for 2.16.
88043
88044 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
88045
88046 * math/w_acos.c: Use non-signaling floating-point comparisons.
88047 * math/w_acosf.c: Likewise.
88048 * math/w_acosh.c: Likewise.
88049 * math/w_acoshf.c: Likewise.
88050 * math/w_acoshl.c: Likewise.
88051 * math/w_acosl.c: Likewise.
88052 * math/w_asin.c: Likewise.
88053 * math/w_asinf.c: Likewise.
88054 * math/w_asinl.c: Likewise.
88055 * math/w_atanh.c: Likewise.
88056 * math/w_atanhf.c: Likewise.
88057 * math/w_atanhl.c: Likewise.
88058 * math/w_exp2.c: Likewise.
88059 * math/w_exp2f.c: Likewise.
88060 * math/w_exp2l.c: Likewise.
88061 * math/w_j0.c: Likewise.
88062 * math/w_j0f.c: Likewise.
88063 * math/w_j0l.c: Likewise.
88064 * math/w_j1.c: Likewise.
88065 * math/w_j1f.c: Likewise.
88066 * math/w_j1l.c: Likewise.
88067 * math/w_jn.c: Likewise.
88068 * math/w_jnf.c: Likewise.
88069 * math/w_log.c: Likewise.
88070 * math/w_log10.c: Likewise.
88071 * math/w_log10f.c: Likewise.
88072 * math/w_log10l.c: Likewise.
88073 * math/w_log2.c: Likewise.
88074 * math/w_log2f.c: Likewise.
88075 * math/w_log2l.c: Likewise.
88076 * math/w_logf.c: Likewise.
88077 * math/w_logl.c: Likewise.
88078 * math/w_sqrt.c: Likewise.
88079 * math/w_sqrtf.c: Likewise.
88080 * math/w_sqrtl.c: Likewise.
88081 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
88082 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
88083 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
88084 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
88085 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
88086
88087 2012-02-19 Joseph Myers <joseph@codesourcery.com>
88088
88089 [BZ #9739]
88090 * manual/string.texi (strnlen): Use correct parameter name in
88091 equivalent expression.
88092
88093 2012-02-19 Joseph Myers <joseph@codesourcery.com>
88094
88095 [BZ #11174]
88096 * manual/users.texi (seteuid): Consistently use neweuid for
88097 argument name.
88098
88099 2012-02-19 Joseph Myers <joseph@codesourcery.com>
88100
88101 [BZ #13704]
88102 * manual/nss.texi (Services in the NSS configuration): Correct
88103 list of services in example configuration file.
88104
88105 2012-02-19 Nick Bowler <nbowler@draconx.ca>
88106
88107 [BZ #11322]
88108 * manual/arith.texi: Remove statements about negative zero
88109 behaving identically to zero.
88110
88111 2012-02-18 Joseph Myers <joseph@codesourcery.com>
88112
88113 [BZ #5993]
88114 * manual/install.texi: Do not document upgrading from libc5.
88115
88116 2012-02-18 Joseph Myers <joseph@codesourcery.com>
88117
88118 [BZ #4596]
88119 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
88120
88121 2012-02-18 David S. Miller <davem@davemloft.net>
88122
88123 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
88124 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
88125 %o7 across the call.
88126 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
88127 instead.
88128 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
88129 SETUP_PIC_REG_LEAF.
88130 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
88131 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
88132 * sysdeps/sparc/crtn.S: Likewise.
88133
88134 2012-02-17 Ulrich Drepper <drepper@gmail.com>
88135
88136 * aout/Makefile: Remove.
88137
88138 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
88139
88140 [BZ #13058]
88141 * manual/examples/argp-ex1.c (main): Format definition in GNU
88142 style.
88143 * manual/examples/argp-ex2.c (main): Likewise.
88144 * manual/examples/argp-ex3.c (main): Likewise.
88145 * manual/examples/argp-ex4.c (main): Likewise.
88146 * manual/examples/longopt.c (main): Use new-style prototype
88147 definition.
88148 * manual/examples/strncat.c (main): Specify return type and use
88149 (void) for arguments.
88150 * manual/examples/subopt.c (main): Use char **argv argument.
88151
88152 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88153
88154 [BZ #5077]
88155 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
88156 rounding modes.
88157
88158 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
88159
88160 [BZ #6907]
88161 * manual/string.texi (strchr): Change when strchrnul is
88162 recommended.
88163
88164 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
88165
88166 [BZ #174]
88167 * manual/locale.texi (setlocale): Document LOCPATH.
88168
88169 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88170
88171 [BZ #10210]
88172 * manual/process.texi (execle): Move @dots{} before last argument.
88173
88174 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
88175
88176 [BZ #12047]
88177 * manual/charset.texi (Generic Charset Conversion): Fix typo
88178 (LC_TYPE -> LC_CTYPE).
88179
88180 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
88181
88182 [BZ #5805]
88183 * manual/arith.texi (scalbn): Use @var{} on parameter names.
88184 (scalbnf): Likewise.
88185 (scalbnl): Likewise.
88186 (scalbln): Likewise.
88187 (scalblnf): Likewise.
88188 (scalblnl): Likewise.
88189 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
88190 (vwarnx): Likewise.
88191 (verr): Likewise.
88192 (verrx): Likewise.
88193 * manual/filesys.texi (telldir): Use braces around return type.
88194 * manual/llio.texi (mmap): Add space after comma.
88195 (mmap64): Likewise.
88196 * manual/math.texi (jn): Use @var{} on parameter names.
88197 (jnf): Likewise.
88198 (jnl): Likewise.
88199 (yn): Likewise.
88200 (ynf): Likewise.
88201 (ynl): Likewise.
88202 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
88203 line.
88204 * manual/resource.texi (ulimit): Use @dots{} instead of literal
88205 "...".
88206 (sched_get_priority_min): Remove semicolon on @deftypefun line.
88207 (sched_get_priority_max): Likewise.
88208 * manual/signal.texi (sigvec): Add space after comma.
88209 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
88210 names.
88211 (if_indextoname): Likewise.
88212 (if_freenameindex): Likewise.
88213 (sendto): Use ',' instead of '.' in prototype.
88214 * manual/startup.texi (syscall): Use @dots{} instead of literal
88215 "...".
88216 * manual/stdio.texi (__fpending): Separate initial words of
88217 paragraph from @deftypefun line.
88218 * manual/syslog.texi (syslog): Use @dots{} instead of literal
88219 "...".
88220 (vsyslog): Use @var{} on parameter names.
88221 * manual/terminal.texi (stty): Use @var{} on parameter names.
88222 * manual/users.texi (getutmp): Use @var{} on parameter names.
88223 (getutmpx): Likewise.
88224
88225 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88226
88227 [BZ #6884]
88228 * manual/stdio.texi (fopen): Fix typos in description of
88229 ",ccs=STRING".
88230
88231 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
88232
88233 [BZ #4026]
88234 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
88235 get clock_id definition.
88236
88237 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
88238
88239 [BZ #4822]
88240 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
88241 (madvise): Cast every argument to void on its own.
88242
88243 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88244
88245 [BZ #9902]
88246 * manual/startup.texi (Exit Status): Fix typo.
88247
88248 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88249
88250 [BZ #10140]
88251 * manual/examples/argp-ex1.c: Include <stdlib.h>.
88252 * manual/examples/argp-ex2.c: Likewise.
88253 * manual/examples/argp-ex3.c: Likewise.
88254
88255 2012-02-16 Richard Henderson <rth@redhat.com>
88256
88257 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
88258 * sysdeps/s390/s390-32/initfini.c: Remove.
88259 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
88260 * sysdeps/s390/s390-64/initfini.c: Remove.
88261
88262 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
88263
88264 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
88265 compiler output for sysdeps/generic/initfini.c.
88266 * sysdeps/sh/elf/initfini.c: Remove file.
88267
88268 2012-02-16 David S. Miller <davem@davemloft.net>
88269
88270 [BZ #11494]
88271 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
88272
88273 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
88274 * sysdeps/sparc/crti.S: New file.
88275 * sysdeps/sparc/crtn.S: New file.
88276 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
88277 * sysdeps/sparc/sparc64/Makefile: Likewise.
88278
88279 2012-02-15 Mike Frysinger <vapier@gentoo.org>
88280
88281 [BZ #3335]
88282 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
88283
88284 2012-02-15 Roland McGrath <roland@hack.frob.com>
88285
88286 [BZ #4822]
88287 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
88288
88289 * mach/devstream.c (cookie_io_functions_t): Macro removed.
88290 (write, read, close): Likewise.
88291 Patch by Aurelien Jarno <aurelien@aurel32.net>.
88292
88293 2012-02-15 Joseph Myers <joseph@codesourcery.com>
88294
88295 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
88296 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
88297 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
88298 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
88299 <bits/signalfd.h>.
88300 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
88301 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88302 bits/signalfd.h.
88303
88304 2012-02-14 Marek Polacek <polacek@redhat.com>
88305
88306 * sysdeps/x86_64/crti.S: New file.
88307 * sysdeps/x86_64/crtn.S: New file.
88308 * sysdeps/x86_64/elf/initfini.c: Remove file.
88309
88310 2012-02-13 Joseph Myers <joseph@codesourcery.com>
88311
88312 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
88313 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
88314 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
88315 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
88316 <bits/inotify.h>.
88317 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
88318 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88319 bits/inotify.h.
88320
88321 2012-02-13 Joseph Myers <joseph@codesourcery.com>
88322
88323 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
88324 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
88325 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
88326 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
88327 <bits/eventfd.h>.
88328 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
88329 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88330 bits/eventfd.h.
88331
88332 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
88333
88334 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
88335 __feraiseexcept instead of feraiseexcept.
88336
88337 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
88338 nanosleep invocations.
88339 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
88340 strings, and add error checking for a nanosleep invocations.
88341
88342 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
88343
88344 Replace FSF snail mail address with URLs, as per GNU coding standards.
88345 Most of the snail mail addresses were wrong anyway, and omitting
88346 them makes the source code easier to maintain. Almost all of the
88347 changes are to license notices and to locale LC_IDENTIFICATION
88348 addresses, except for this one:
88349 * manual/libc.texinfo: In "Published by", give the FSF's URL,
88350 not its snail mail address.
88351
88352 2012-02-09 Richard Henderson <rth@twiddle.net>
88353
88354 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
88355 of kernel-features.h.
88356
88357 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
88358
88359 2012-02-08 Marek Polacek <polacek@redhat.com>
88360
88361 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
88362 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
88363 * sysdeps/gnu/_G_config.h: Likewise.
88364 * sysdeps/generic/_G_config.h: Likewise.
88365
88366 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
88367
88368 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
88369 tests.
88370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88371
88372 * sysdeps/powerpc/powerpc32/crti.S: New file.
88373 * sysdeps/powerpc/powerpc32/crtn.S: New file.
88374 * sysdeps/powerpc/powerpc64/crti.S: New file.
88375 * sysdeps/powerpc/powerpc64/crtn.S: New file.
88376
88377 * Makeconfig (have-initfini): Don't set.
88378 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
88379 * configure.in (nopic_initfini): Don't substitute.
88380 * config.h.in (HAVE_INITFINI): Don't #undef.
88381 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
88382 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
88383
88384 2012-02-08 Joseph Myers <joseph@codesourcery.com>
88385
88386 Support crti.S and crtn.S provided directly by architectures.
88387 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
88388 [crti.S in sysdirs] (omit-deps): Likewise.
88389 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
88390 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
88391 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
88392 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
88393 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
88394 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
88395 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
88396 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
88397 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
88398 compiler output for sysdeps/generic/initfini.c.
88399 * sysdeps/i386/elf/Makefile: Remove file.
88400 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
88401
88402 2012-02-07 Marek Polacek <polacek@redhat.com>
88403
88404 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
88405 * sysdeps/gnu/_G_config.h: Likewise.
88406 * sysdeps/mach/hurd/_G_config.h: Likewise.
88407
88408 2012-02-07 Marek Polacek <polacek@redhat.com>
88409
88410 * math/Makefile (tests): Add tst-CMPLX2.
88411 * math/tst-CMPLX2.c: New file.
88412
88413 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
88414
88415 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88416
88417 * math/libm-test.inc (jn_test): Add missing L suffix.
88418
88419 2012-02-06 Marek Polacek <polacek@redhat.com>
88420
88421 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
88422 * sysdeps/i386/fpu/e_powf.S: Likewise.
88423 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
88424 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
88425 * sysdeps/i386/fpu/e_acosh.S: Likewise.
88426 * sysdeps/i386/fpu/e_pow.S: Likewise.
88427 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
88428 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
88429 * sysdeps/i386/fpu/s_expm1.S: Likewise.
88430 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
88431 * sysdeps/i386/fpu/e_log2.S: Likewise.
88432 * sysdeps/i386/fpu/e_log2l.S: Likewise.
88433 * sysdeps/i386/fpu/e_scalb.S: Likewise.
88434 * sysdeps/i386/fpu/e_powl.S: Likewise.
88435 * sysdeps/i386/fpu/s_log1p.S: Likewise.
88436 * sysdeps/i386/fpu/e_log10f.S: Likewise.
88437 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
88438 * sysdeps/i386/fpu/e_logl.S: Likewise.
88439 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
88440 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
88441 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
88442 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
88443 * sysdeps/i386/fpu/e_log2f.S: Likewise.
88444 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
88445 * sysdeps/i386/fpu/e_log.S: Likewise.
88446 * sysdeps/i386/fpu/s_cexp.S: Likewise.
88447 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
88448 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
88449 * sysdeps/i386/fpu/e_logf.S: Likewise.
88450 * sysdeps/i386/fpu/e_log10l.S: Likewise.
88451 * sysdeps/i386/fpu/e_atanh.S: Likewise.
88452 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
88453 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
88454 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
88455 * sysdeps/i386/fpu/e_log10.S: Likewise.
88456 * sysdeps/i386/fpu/s_frexp.S: Likewise.
88457 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
88458 * sysdeps/i386/fpu/s_asinh.S: Likewise.
88459 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
88460 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
88461 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
88462 * sysdeps/i386/asm-syntax.h: Likewise.
88463 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
88464 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
88465 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
88466 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
88467 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
88468 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
88469 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
88470 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
88471 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
88472 * sysdeps/powerpc/sysdep.h: Likewise.
88473 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
88474 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
88475
88476 2012-02-06 Joseph Myers <joseph@codesourcery.com>
88477
88478 [BZ #411]
88479 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
88480
88481 2012-02-06 Joseph Myers <joseph@codesourcery.com>
88482
88483 * sysdeps/i386/sysdep.h: Include <features.h>.
88484 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
88485 version.
88486
88487 2012-02-05 Joseph Myers <joseph@codesourcery.com>
88488
88489 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
88490 Define.
88491 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
88492 LOAD_PIC_REG_STR.
88493
88494 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88495
88496 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
88497 (SETUP_PIC_REG): Use GET_PC_THUNK.
88498 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
88499 macro.
88500
88501 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88502
88503 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
88504 for non-PIC compilation.
88505 (SETUP_PIC_REG): Add .p2align directive.
88506 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
88507 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
88508 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
88509 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
88510 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
88511 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
88512 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
88513 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
88514 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
88515 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
88516 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
88517 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
88518 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
88519 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
88520 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
88521 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
88522 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
88523 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
88524 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
88525 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
88526 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
88527 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
88528 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
88529 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
88530 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
88531 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
88532 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
88533 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
88534 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
88535 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
88536 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
88537 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
88538 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
88539 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
88540 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
88541 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
88542 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
88543 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
88544 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
88545 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
88546 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
88547
88548 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88549
88550 * math/tst-CMPLX.c: Include <stdio.h>.
88551
88552 2012-01-31 Joseph Myers <joseph@codesourcery.com>
88553
88554 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
88555 float.
88556 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
88557 * sysdeps/sparc/bits/mathdef.h: Likewise.
88558
88559 2012-01-31 Marek Polacek <polacek@redhat.com>
88560
88561 * libio/libio.h: Don't define _PARAMS.
88562 * locale/programs/config.h: Don't define PARAMS.
88563 * stdlib/strtol_l.c: Likewise.
88564 (__strtol_l): Remove PARAMS from the prototype.
88565
88566 2012-01-31 Ulrich Drepper <drepper@gmail.com>
88567
88568 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
88569 names. Just use the correct names. Remove unnecessary wrapper
88570 functions.
88571 * malloc/arena.c: Likewise.
88572 * malloc/hooks.c: Likewise.
88573
88574 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
88575 ARENA_TEST says not to. Simplify test for creation of a new arena.
88576 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
88577
88578 2012-01-30 Ulrich Drepper <drepper@gmail.com>
88579
88580 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
88581 into tail calls.
88582 (update_get_addr): New function.
88583 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
88584 GET_ADDR_MODULE parameter.
88585
88586 2012-01-30 Joseph Myers <joseph@codesourcery.com>
88587
88588 * crypt/cert.c: Remove __STDC__ conditionals.
88589 * crypt/crypt-entry.c: Likewise.
88590 * crypt/crypt_util.c: Likewise.
88591 * libio/filedoalloc.c: Likewise.
88592 * libio/fileops.c: Likewise.
88593 * libio/genops.c: Likewise.
88594 * libio/iofclose.c: Likewise.
88595 * libio/iofdopen.c: Likewise.
88596 * libio/iofopen.c: Likewise.
88597 * libio/iofopen64.c: Likewise.
88598 * libio/iogetdelim.c: Likewise.
88599 * libio/iopopen.c: Likewise.
88600 * libio/obprintf.c: Likewise.
88601 * libio/oldfileops.c: Likewise.
88602 * libio/oldiofclose.c: Likewise.
88603 * libio/oldiofdopen.c: Likewise.
88604 * libio/oldiofopen.c: Likewise.
88605 * libio/oldiopopen.c: Likewise.
88606 * libio/wfiledoalloc.c: Likewise.
88607 * libio/wgenops.c: Likewise.
88608 * locale/programs/xmalloc.c: Likewise.
88609 * misc/syslog.c: Likewise.
88610 * stdio-common/xbug.c: Likewise.
88611 * string/memchr.c: Likewise.
88612 * string/memcmp.c: Likewise.
88613 * string/memrchr.c: Likewise.
88614 * string/rawmemchr.c: Likewise.
88615 * sysdeps/posix/getcwd.c: Likewise.
88616 * time/strftime_l.c: Likewise.
88617
88618 2012-01-30 Joseph Myers <joseph@codesourcery.com>
88619
88620 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
88621 * config.make.in (config-cflags-sse2avx): Define.
88622 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
88623 Fix typo.
88624
88625 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
88626
88627 * scripts/config.guess: Update from upstream config git repository.
88628 * scripts/config.sub: Likewise.
88629
88630 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
88631
88632 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
88633 (EM_NUM): Update.
88634 (R_TILEPRO_*, R_TILEGX_*): New macros.
88635
88636 * scripts/firstversions.awk: Fix bug in version range handling.
88637
88638 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
88639
88640 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
88641
88642 * include/sys/epoll.h: New file.
88643 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
88644 libc_hidden_def.
88645
88646 2012-01-28 Ulrich Drepper <drepper@gmail.com>
88647
88648 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
88649 Avoid unnecessary __WORDSIZE == 64 test.
88650 (fmaxf): Use VEX format if possible.
88651 (fmax): Likewise.
88652 (fminf): Likewise.
88653 (fmin): Likewise.
88654
88655 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
88656 * math/math_private.h: Remove libc_fegetround* and
88657 libc_fesetround*.
88658 * sysdeps/i386/configure.in: Check for -msse2avx.
88659 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
88660 also if SSE2AVX is defined.
88661 Remove libc_fegetround* and libc_fesetround*.
88662 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
88663 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
88664 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
88665 of HAS_YMM_USABLE.
88666 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88667 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88668 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88669 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88670 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88671
88672 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
88673
88674 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
88675
88676 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
88677 size is not set.
88678 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
88679
88680 2012-01-27 Ulrich Drepper <drepper@gmail.com>
88681
88682 [BZ #13618]
88683 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
88684 relocation.
88685 * Makeconfig (libm): Define.
88686 * elf/Makefile: Add rules to build and run tst-relsort1.
88687 * elf/tst-relsort1.c: New file.
88688 * elf/tst-relsort1mod1.c: New file.
88689 * elf/tst-relsort1mod2.c: New file.
88690
88691 2012-01-27 Joseph Myers <joseph@codesourcery.com>
88692
88693 * math/s_ldexp.c: Remove __STDC__ conditionals.
88694 * math/s_ldexpf.c: Likewise.
88695 * math/s_ldexpl.c: Likewise.
88696 * math/s_nextafter.c: Likewise.
88697 * math/s_nexttowardf.c: Likewise.
88698 * math/s_significand.c: Likewise.
88699 * math/s_significandf.c: Likewise.
88700 * math/s_significandl.c: Likewise.
88701 * math/w_jnl.c: Likewise.
88702 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
88703 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
88704 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
88705 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
88706 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
88707 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
88708 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
88709 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
88710 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
88711 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
88712 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
88713 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
88714 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
88715 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
88716 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
88717 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
88718 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
88719 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
88720 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
88721 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
88722 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
88723 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
88724 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
88725 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
88726 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
88727 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
88728 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
88729 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
88730 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
88731 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
88732 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
88733 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
88734 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
88735 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
88736 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
88737 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
88738 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
88739 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
88740 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
88741 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
88742 * sysdeps/ieee754/k_standard.c: Likewise.
88743 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
88744 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
88745 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
88746 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
88747 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
88748 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
88749 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
88750 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
88751 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
88752 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
88753 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
88754 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
88755 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
88756 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
88757 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
88758 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
88759 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
88760 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
88761 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
88762 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
88763 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
88764 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
88765 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
88766 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
88767 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
88768 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
88769 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
88770 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
88771 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
88772 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
88773 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
88774 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
88775 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
88776 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
88777 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
88778 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
88779 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
88780 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
88781 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
88782 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
88783 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
88784 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
88785 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
88786 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
88787 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
88788 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
88789 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
88790 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
88791 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
88792 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
88793 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
88794 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
88795 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
88796 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
88797 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
88798 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
88799 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
88800 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
88801 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
88802 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
88803 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
88804 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
88805 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
88806 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
88807 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
88808 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
88809 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
88810 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
88811 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
88812 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
88813 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
88814 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
88815 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
88816 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
88817 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
88818 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
88819 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
88820 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
88821 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
88822 * sysdeps/ieee754/s_matherr.c: Likewise.
88823 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
88824 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
88825 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
88826 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
88827
88828 2012-01-26 Joseph Myers <joseph@codesourcery.com>
88829
88830 * crypt/md5.h: Remove __STDC__ conditionals.
88831 * libio/libioP.h: Likewise.
88832 * locale/programs/config.h: Likewise.
88833 * sysdeps/generic/sysdep.h: Likewise.
88834 * sysdeps/i386/asm-syntax.h: Likewise.
88835 * sysdeps/s390/asm-syntax.h: Likewise.
88836 * sysdeps/unix/sysdep.h: Likewise.
88837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
88838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
88839
88840 2012-01-26 Joseph Myers <joseph@codesourcery.com>
88841
88842 * libio/libio.h: Remove __STDC__ conditionals.
88843 * malloc/obstack.h: Likewise.
88844 * math/complex.h: Likewise.
88845 * math/math.h: Likewise.
88846 * sysdeps/generic/_G_config.h: Likewise.
88847 * sysdeps/gnu/_G_config.h: Likewise.
88848 * sysdeps/mach/hurd/_G_config.h: Likewise.
88849 * sysdeps/powerpc/bits/mathdef.h: Likewise.
88850 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
88851 * sysdeps/sparc/bits/mathdef.h: Likewise.
88852
88853 2012-01-26 Ulrich Drepper <drepper@gmail.com>
88854
88855 [BZ #13583]
88856 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
88857 Clean up HAS_* macros.
88858 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
88859 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
88860 possible.
88861 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
88862 HAS_AVX.
88863 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88864 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88865 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88866 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88867 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88868
88869 2012-01-25 Joseph Myers <joseph@codesourcery.com>
88870
88871 * elf/tst-unique3.cc (gets): Remove declaration.
88872 * elf/tst-unique3lib.cc (gets): Likewise.
88873 * elf/tst-unique3lib2.cc (gets): Likewise.
88874 * elf/tst-unique4.cc (gets): Likewise.
88875
88876 2012-01-24 Ulrich Drepper <drepper@gmail.com>
88877
88878 * include/stdio.h: Add C++ protection. Add gets declarations and
88879 definitions.
88880 * debug/tst-chk1.c: Don't declare gets here.
88881 * stdio-common/tst-gets.c: Likewise.
88882
88883 2012-01-24 Joseph Myers <joseph@codesourcery.com>
88884
88885 * posix/glob: Remove directory.
88886
88887 2012-01-24 Joseph Myers <joseph@codesourcery.com>
88888
88889 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
88890
88891 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
88892
88893 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
88894 of the non-standard EPFNOSUPPORT.
88895
88896 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
88897
88898 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
88899 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
88900 ANYWHERE set to 1 only on KERN_NO_SPACE error.
88901
88902 2012-01-21 Ulrich Drepper <drepper@gmail.com>
88903
88904 * wcsmbs/uchar.h: Test __STDC_VERSION__.
88905
88906 2012-01-20 Ulrich Drepper <drepper@gmail.com>
88907
88908 * nscd/aicache.c (addhstaiX): Do not cache negative results of
88909 transient errors.
88910 * nscd/grpcache.c (cache_addgr): Likewise.
88911 * nscd/hstcache.c (cache_addhst): Likewise.
88912 * nscd/initgrcache.c (addinitgroupsX): Likewise.
88913 * nscd/pwdcache.c (cache_addpw): Likewise.
88914 * nscd/servicescache.c (cache_addserv): Likewise.
88915
88916 2012-01-16 Ulrich Drepper <drepper@gmail.com>
88917
88918 * malloc/malloc.c: Various cleanups.
88919 * malloc/hooks.c: Likewise.
88920
88921 * stdlib/Makefile (tests): Add bug-fmtmsg1.
88922 * stdlib/bug-fmtmsg1.c: New file.
88923
88924 * stdlib/fmtmsg.c (init): Add missing unlock.
88925 Patch by Peng Haitao <penght@cn.fujitsu.com>.
88926
88927 2012-01-12 Marek Polacek <polacek@redhat.com>
88928
88929 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
88930 and _GNU_SOURCE.
88931
88932 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
88933
88934 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
88935 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
88936 macro to ensure uniqueness of label name.
88937 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
88938 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
88939
88940 2012-01-11 Ulrich Drepper <drepper@gmail.com>
88941
88942 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
88943
88944 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
88945 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
88946 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
88947 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
88948
88949 2012-01-10 Ulrich Drepper <drepper@gmail.com>
88950
88951 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
88952
88953 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
88954 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
88955 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
88956
88957 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
88958
88959 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
88960 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
88961 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
88962 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
88963
88964 * math/bits/math-finite.h: Add ldexp support.
88965
88966 2012-01-10 Marek Polacek <polacek@redhat.com>
88967
88968 * locale/programs/localedef.h (show_archive_content): Add noreturn
88969 attribute.
88970
88971 2012-01-09 Ulrich Drepper <drepper@gmail.com>
88972
88973 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
88974
88975 2012-01-08 Ulrich Drepper <drepper@gmail.com>
88976
88977 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
88978
88979 * io/Makefile (headers): Add bits/poll2.h.
88980
88981 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
88982
88983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
88984 typo #include statement.
88985
88986 2012-01-08 Ulrich Drepper <drepper@gmail.com>
88987
88988 * include/sys/cdefs.h: Define __attribute_alloc_size.
88989 * catgets/gencat.c: Add alloc_size attribute and apply consistently
88990 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
88991 * elf/pldd.c: Likewise.
88992 * iconv/iconv_charmap.c: Likewise.
88993 * iconv/iconvconfig.c: Likewise.
88994 * iconv/strtab.c: Likewise.
88995 * locale/programs/locale.c: Likewise.
88996 * locale/programs/localedef.h: Likewise.
88997 * locale/programs/simple-hash.c: Likewise.
88998 * nscd/nscd.h: Likewise.
88999 * nss/makedb.c: Likewise.
89000 * sysdeps/generic/ldconfig.h: Likewise.
89001 * locale/programs/localedef.c: Remove xmalloc prototype.
89002 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
89003
89004 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
89005
89006 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
89007 appropriate.
89008
89009 2012-01-08 Ulrich Drepper <drepper@gmail.com>
89010
89011 * math/Makefile (tests): Add tst-CMPLX.
89012 * math/tst-CMPLX.c: New file.
89013
89014 * math/complex.h (CMPLXL): Fix typo.
89015
89016 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
89017 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
89018 GLIBC_2.16.
89019 * debug/tst-chk1.c: Add poll and ppoll tests.
89020 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
89021 * include/sys/poll.h: Add hidden proto for ppoll.
89022 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
89023 * sysdeps/mach/hurd/ppoll.c: Likewise.
89024 * io/ppoll.c: Likewise.
89025 * debug/poll_chk.c: New file.
89026 * debug/ppoll_chk.c: New file.
89027 * include/bits/poll2.h: New file.
89028 * io/bits/poll2.h: New file.
89029
89030 [BZ #1350]
89031 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
89032
89033 * configure.in: static is always set to yes. Remove.
89034 * config.make.in: Don't set build-static.
89035 * Makeconfig: Remove use of build-static.
89036 * dlfcn/Makefile: Likewise.
89037 * elf/Makefile: Likewise.
89038 * math/Makefile: Likewise.
89039 * misc/Makefile: Likewise.
89040 * nptl/Makefile: Likewise.
89041 * sysdeps/mach/hurd/Makefile: Likewise.
89042
89043 * configure.in: PWD_P is not used anymore.
89044 * config.make.in: Remove PWD_P entry.
89045
89046 * configure.in: Remove last remnants of RANLIB.
89047 No need to check for signed size_t anymore.
89048 Don't set libc_commonpagesize and libc_relro_required here for Alpha
89049 and IA-64.
89050 Remove __builtin_expect test because we require at least gcc 3.4.
89051 * aclocal.m4: Likewise.
89052
89053 * wcsmbs/mbrtoc16.c: Implement using towc function.
89054 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
89055 * wcsmbs/wcsmbsload.c: Likewise.
89056 * iconv/gconv_simple.c: Likewise.
89057 * iconv/gconv_int.h: Likewise.
89058 * iconv/gconv_builtin.h: Likewise.
89059 * iconv/iconv_prog.c: Remove CHAR16 handling.
89060
89061 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
89062
89063 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
89064
89065 * configure.in: Remove --with-elf and --enable-bounded options.
89066 Dont set base_machine for ia64. More non-ELF conditions removed.
89067 Remove testing and setting of leading underscore information.
89068 * config.make.in (build-bounded): Set to no.
89069 * config.h.in: Remove NO_UNDERSCORES entry.
89070 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
89071 them.
89072 * csu/start.c: Remove !NO_UNDERSCORE code.
89073 * locale/localeinfo.h: Likewise.
89074 * sysdeps/generic/machine-gmon.h: Likewise.
89075 * sysdeps/generic/sysdep.h: Likewise.
89076 * sysdeps/i386/sysdep.h: Likewise.
89077 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89078 * sysdeps/mach/sysdep.h: Likewise.
89079 * sysdeps/s390/s390-32/sysdep.h: Likewise.
89080 * sysdeps/s390/s390-64/sysdep.h: Likewise.
89081 * sysdeps/sh/sysdep.h: Likewise.
89082 * sysdeps/sparc/sparc32/alloca.S: Likewise.
89083 * sysdeps/unix/i386/sysdep.S: Likewise.
89084 * sysdeps/unix/sparc/start.c: Likewise.
89085 * sysdeps/unix/sparc/sysdep.S: Likewise.
89086 * sysdeps/unix/sparc/sysdep.h: Likewise.
89087 * sysdeps/unix/start.c: Likewise.
89088 * sysdeps/unix/x86_64/sysdep.S: Likewise.
89089 * sysdeps/x86_64/sysdep.h: Likewise.
89090
89091 2012-01-07 Ulrich Drepper <drepper@gmail.com>
89092
89093 [BZ #13553]
89094 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
89095 for non-gcc.
89096 * argp/argp-fmtstream.h: Use const instead __const.
89097 * argp/argp.h: Likewise.
89098 * assert/assert.h: Likewise.
89099 * bits/fenv.h: Likewise.
89100 * bits/sched.h: Likewise.
89101 * bits/sigset.h: Likewise.
89102 * bits/sigthread.h: Likewise.
89103 * catgets/nl_types.h: Likewise.
89104 * conform/data/pthread.h-data: Likewise.
89105 * crypt/crypt-private.h: Likewise.
89106 * crypt/crypt.h: Likewise.
89107 * crypt/crypt_util.c: Likewise.
89108 * ctype/ctype.h: Likewise.
89109 * debug/execinfo.h: Likewise.
89110 * debug/mbsnrtowcs_chk.c: Likewise.
89111 * debug/mbsrtowcs_chk.c: Likewise.
89112 * debug/wcsnrtombs_chk.c: Likewise.
89113 * debug/wcsrtombs_chk.c: Likewise.
89114 * debug/wcstombs_chk.c: Likewise.
89115 * dirent/dirent.h: Likewise.
89116 * dlfcn/dlfcn.h: Likewise.
89117 * elf/neededtest4.c: Likewise.
89118 * grp/grp.h: Likewise.
89119 * gshadow/gshadow.h: Likewise.
89120 * iconv/gconv.h: Likewise.
89121 * iconv/gconv_int.h: Likewise.
89122 * iconv/gconv_simple.c: Likewise.
89123 * iconv/iconv.h: Likewise.
89124 * iconv/loop.c: Likewise.
89125 * iconv/skeleton.c: Likewise.
89126 * include/aio.h: Likewise.
89127 * include/aliases.h: Likewise.
89128 * include/argz.h: Likewise.
89129 * include/arpa/inet.h: Likewise.
89130 * include/assert.h: Likewise.
89131 * include/dirent.h: Likewise.
89132 * include/dlfcn.h: Likewise.
89133 * include/execinfo.h: Likewise.
89134 * include/fcntl.h: Likewise.
89135 * include/fenv.h: Likewise.
89136 * include/glob.h: Likewise.
89137 * include/grp.h: Likewise.
89138 * include/libintl.h: Likewise.
89139 * include/mntent.h: Likewise.
89140 * include/netdb.h: Likewise.
89141 * include/pwd.h: Likewise.
89142 * include/rpc/netdb.h: Likewise.
89143 * include/sched.h: Likewise.
89144 * include/search.h: Likewise.
89145 * include/shadow.h: Likewise.
89146 * include/signal.h: Likewise.
89147 * include/stdio.h: Likewise.
89148 * include/stdlib.h: Likewise.
89149 * include/string.h: Likewise.
89150 * include/sys/socket.h: Likewise.
89151 * include/sys/stat.h: Likewise.
89152 * include/sys/statfs.h: Likewise.
89153 * include/sys/statvfs.h: Likewise.
89154 * include/sys/syslog.h: Likewise.
89155 * include/sys/time.h: Likewise.
89156 * include/sys/uio.h: Likewise.
89157 * include/time.h: Likewise.
89158 * include/unistd.h: Likewise.
89159 * include/utmp.h: Likewise.
89160 * include/wchar.h: Likewise.
89161 * include/wctype.h: Likewise.
89162 * inet/aliases.h: Likewise.
89163 * inet/arpa/inet.h: Likewise.
89164 * inet/netinet/ether.h: Likewise.
89165 * inet/netinet/in.h: Likewise.
89166 * intl/libintl.h: Likewise.
89167 * io/bits/fcntl2.h: Likewise.
89168 * io/fcntl.h: Likewise.
89169 * io/ftw.h: Likewise.
89170 * io/sys/poll.h: Likewise.
89171 * io/sys/stat.h: Likewise.
89172 * io/sys/statfs.h: Likewise.
89173 * io/sys/statvfs.h: Likewise.
89174 * io/utime.h: Likewise.
89175 * libio/bits/stdio.h: Likewise.
89176 * libio/bits/stdio2.h: Likewise.
89177 * libio/libio.h: Likewise.
89178 * libio/libioP.h: Likewise.
89179 * libio/stdio.h: Likewise.
89180 * locale/lc-ctype.c: Likewise.
89181 * locale/locale.h: Likewise.
89182 * login/utmp.h: Likewise.
89183 * malloc/arena.c: Likewise.
89184 * malloc/malloc.c: Likewise.
89185 * malloc/malloc.h: Likewise.
89186 * malloc/mcheck.c: Likewise.
89187 * malloc/mtrace.c: Likewise.
89188 * math/bits/mathcalls.h: Likewise.
89189 * math/fenv.h: Likewise.
89190 * math/math_private.h: Likewise.
89191 * misc/bits/error.h: Likewise.
89192 * misc/bits/syslog.h: Likewise.
89193 * misc/err.h: Likewise.
89194 * misc/error.h: Likewise.
89195 * misc/fstab.h: Likewise.
89196 * misc/mntent.h: Likewise.
89197 * misc/regexp.h: Likewise.
89198 * misc/search.h: Likewise.
89199 * misc/sgtty.h: Likewise.
89200 * misc/sys/mman.h: Likewise.
89201 * misc/sys/syslog.h: Likewise.
89202 * misc/sys/uio.h: Likewise.
89203 * misc/sys/xattr.h: Likewise.
89204 * misc/ttyent.h: Likewise.
89205 * nis/rpcsvc/ypclnt.h: Likewise.
89206 * nss/nss.h: Likewise.
89207 * posix/bits/unistd.h: Likewise.
89208 * posix/fnmatch.h: Likewise.
89209 * posix/glob.h: Likewise.
89210 * posix/sched.h: Likewise.
89211 * posix/spawn.h: Likewise.
89212 * posix/sys/wait.h: Likewise.
89213 * posix/unistd.h: Likewise.
89214 * posix/wordexp.h: Likewise.
89215 * pwd/pwd.h: Likewise.
89216 * resolv/netdb.h: Likewise.
89217 * resource/sys/resource.h: Likewise.
89218 * rt/aio.h: Likewise.
89219 * rt/bits/mqueue2.h: Likewise.
89220 * rt/mqueue.h: Likewise.
89221 * shadow/shadow.h: Likewise.
89222 * signal/signal.h: Likewise.
89223 * socket/send.c: Likewise.
89224 * socket/sendto.c: Likewise.
89225 * socket/sys/socket.h: Likewise.
89226 * stdio-common/printf.h: Likewise.
89227 * stdlib/bits/stdlib.h: Likewise.
89228 * stdlib/fmtmsg.h: Likewise.
89229 * stdlib/monetary.h: Likewise.
89230 * stdlib/stdlib.h: Likewise.
89231 * stdlib/ucontext.h: Likewise.
89232 * streams/stropts.h: Likewise.
89233 * string/argz.h: Likewise.
89234 * string/bits/string2.h: Likewise.
89235 * string/string.h: Likewise.
89236 * string/strings.h: Likewise.
89237 * sunrpc/rpc/auth.h: Likewise.
89238 * sunrpc/rpc/auth_des.h: Likewise.
89239 * sunrpc/rpc/clnt.h: Likewise.
89240 * sunrpc/rpc/netdb.h: Likewise.
89241 * sunrpc/rpc/pmap_clnt.h: Likewise.
89242 * sunrpc/rpc/xdr.h: Likewise.
89243 * sysdeps/generic/inttypes.h: Likewise.
89244 * sysdeps/generic/net/if.h: Likewise.
89245 * sysdeps/generic/sys/swap.h: Likewise.
89246 * sysdeps/gnu/net/if.h: Likewise.
89247 * sysdeps/gnu/utmpx.h: Likewise.
89248 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
89249 * sysdeps/i386/i486/bits/string.h: Likewise.
89250 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
89251 * sysdeps/s390/bits/string.h: Likewise.
89252 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
89253 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
89254 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
89255 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
89256 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
89257 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
89258 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
89259 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
89260 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
89261 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
89262 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
89263 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
89264 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
89265 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
89266 * sysdeps/unix/sysv/linux/readv.c: Likewise.
89267 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
89268 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
89269 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89270 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
89271 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
89272 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89273 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
89274 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
89275 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
89276 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
89277 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
89278 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
89279 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89280 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
89281 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
89282 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
89283 * sysvipc/sys/ipc.h: Likewise.
89284 * sysvipc/sys/msg.h: Likewise.
89285 * sysvipc/sys/sem.h: Likewise.
89286 * sysvipc/sys/shm.h: Likewise.
89287 * termios/termios.h: Likewise.
89288 * time/sys/time.h: Likewise.
89289 * time/time.h: Likewise.
89290 * wcsmbs/bits/wchar2.h: Likewise.
89291 * wcsmbs/uchar.h: Likewise.
89292 * wcsmbs/wchar.h: Likewise.
89293 * wctype/wctype.h: Likewise.
89294
89295 [BZ #13551]
89296 * Makeconfig: Remove all but ELF support including AIX support.
89297 * Makerules: Likewise.
89298 * config.h.in: Likewise.
89299 * config.make.in: Likewise.
89300 * configure: Likewise.
89301 * configure.in: Likewise.
89302 * csu/Makefile: Likewise.
89303 * csu/version.c: Likewise.
89304 * debug/Makefile: Likewise.
89305 * dlfcn/Makefile: Likewise.
89306 * elf/Makefile: Likewise.
89307 * extra-lib.mk: Likewise.
89308 * iconv/Makefile: Likewise.
89309 * include/libc-symbols.h: Likewise.
89310 * include/shlib-compat.h: Likewise.
89311 * resolv/Makefile: Likewise.
89312 * resolv/res_libc.c: Likewise.
89313 * rt/Makefile: Likewise.
89314 * sysdeps/i386/asm-syntax.h: Likewise.
89315 * sysdeps/i386/sysdep.h: Likewise.
89316 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89317 * sysdeps/mach/sysdep.h: Likewise.
89318 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
89319 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
89320 * sysdeps/s390/asm-syntax.h: Likewise.
89321 * sysdeps/s390/s390-32/sysdep.h: Likewise.
89322 * sysdeps/s390/s390-64/sysdep.h: Likewise.
89323 * sysdeps/sh/sysdep.h: Likewise.
89324 * sysdeps/unix/sparc/sysdep.h: Likewise.
89325 * sysdeps/wordsize-32/divdi3.c: Likewise.
89326 * sysdeps/x86_64/sysdep.h: Likewise.
89327
89328 * argp/Versions: Remove _argp_unlock_xxx.
89329
89330 [BZ #13559]
89331 * abilist/ld.abilist: Update. Adjust for removal of tls option.
89332 * abilist/libBrokenLocale.abilist: Likewise.
89333 * abilist/libanl.abilist: Likewise.
89334 * abilist/libc.abilist: Likewise.
89335 * abilist/libcrypt.abilist: Likewise.
89336 * abilist/libdl.abilist: Likewise.
89337 * abilist/libm.abilist: Likewise.
89338 * abilist/libnsl.abilist: Likewise.
89339 * abilist/libpthread.abilist: Likewise.
89340 * abilist/libresolv.abilist: Likewise.
89341 * abilist/librt.abilist: Likewise.
89342 * abilist/libthread_db.abilist: Likewise.
89343 * abilist/libutil.abilist: Likewise.
89344 * abilist/libnss_db.abilist: New file.
89345
89346 * scripts/abilist.awk: Add support for indirect functions.
89347
89348 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
89349
89350 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
89351
89352 * shlib-versions: Remove entries for ports architectures.
89353
89354 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
89355 files in ports.
89356 * elf/stackguard-macros.h: Remove support for IA-64.
89357 * elf/tst-auditmod1.c: Likewise.
89358 * sysdeps/generic/ldsodefs.h: Likewise.
89359
89360 * sysdeps/unix/sysv/linux/configure.in: Ports should define
89361 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
89362 configure files.
89363
89364 [BZ #13552]
89365 * configure.in: Remove --enable-omitfp support.
89366 * FAQ.in: Adjust.
89367 * config.make.in: Likewise.
89368 * Makeconfig: Likewise.
89369 * manual/install.texi: Likewise.
89370
89371 In case anyone cares, the IA-64 architecture could move to ports.
89372 * sysdeps/ia64/*: Removed.
89373 * sysdeps/unix/sysv/linux/ia64/*: Removed.
89374 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
89375
89376 [BZ #13555]
89377 * configure.in: Remove entries for unsupported architectures.
89378
89379 [BZ #13533]
89380 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
89381 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
89382 routines.
89383 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
89384 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
89385 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
89386 fall back to using wcrtomb.
89387 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
89388 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
89389 renaming.
89390 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
89391 * wcsmbs/tst-c16c32-1.c: New file.
89392
89393 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
89394 local variable.
89395
89396 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
89397
89398 * elf/tst-unique3.cc: Add explicit declaration of gets.
89399 * elf/tst-unique3lib.cc: Likewise.
89400 * elf/tst-unique3lib2.cc: Likewise.
89401 * elf/tst-unique4.cc: Likewise.
89402
89403 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
89404
89405 2012-01-06 Joseph Myers <joseph@codesourcery.com>
89406
89407 [BZ #13566]
89408 * assert/assert.h (static_assert): Don't define for C++.
89409 * libio/stdio.h (gets): Do declare for C++ <= C++11.
89410 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
89411
89412 2012-01-03 Ulrich Drepper <drepper@gmail.com>
89413
89414 * iconv/loop.c (single loop): Fix assertion in storing of
89415 remaining bytes.
89416
89417 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
89418
89419 2012-01-01 Ulrich Drepper <drepper@gmail.com>
89420
89421 * posix/getconf.c: Update copyright year.
89422 * nss/getent.c: Likewise.
89423 * nss/makedb.c: Likewise.
89424 * iconv/iconvconfig.c: Likewise.
89425 * iconv/iconv_prog.c: Likewise.
89426 * elf/ldconfig.c: Likewise.
89427 * elf/pldd.c: Likewise.
89428 * elf/sotruss.ksh: Likewise.
89429 * catgets/gencat.c: Likewise.
89430 * csu/version.c: Likewise.
89431 * elf/ldd.bash.in: Likewise.
89432 * elf/sprof.c (print_version): Likewise.
89433 * locale/programs/locale.c: Likewise.
89434 * locale/programs/localedef.c: Likewise.
89435 * login/programs/pt_chown.c: Likewise.
89436 * nscd/nscd.c (print_version): Likewise.
89437 * debug/xtrace.sh: Likewise.
89438 * malloc/memusage.sh: Likewise.
89439 * malloc/mtrace.pl: Likewise.
89440 * debug/catchsegv.sh: Likewise.
89441
89442 2011-12-30 Jakub Jelinek <jakub@redhat.com>
89443
89444 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
89445 pure attribute.
89446
89447 2011-12-24 Ulrich Drepper <drepper@gmail.com>
89448
89449 [BZ #13533]
89450 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
89451 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
89452 transformations.
89453 * iconv/gconv_int.h: Likewise.
89454 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
89455 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
89456 from libc for GLIBC_2.16.
89457 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
89458 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
89459 * wcsmbs/uchar.h: Really define mbstate_t.
89460 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
89461 * wcsmbs/c16rtomb.c: New file.
89462 * wcsmbs/mbrtoc16.c: New file.
89463 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
89464 for C/POSIX locale.
89465 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
89466 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
89467
89468 * wcsmbs/wchar.h: Add missing __restrict.
89469
89470 2011-12-23 Ulrich Drepper <drepper@gmail.com>
89471
89472 [BZ #13532]
89473 * time/Makefile (routines): Add timespec_get.
89474 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
89475 * time/time.h: Define TIME_UTC and declare timespec_get. Define
89476 timespec for ISO C11.
89477 * time/timespec_get.c: New file.
89478 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
89479 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
89480
89481 [BZ #13531]
89482 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
89483 * stdlib/stdlib.h: Declare aligned_alloc.
89484 * Versions.def: Add GLIBC_2.16 for libc.
89485 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
89486
89487 [BZ 13527]
89488 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
89489 ISO C11.
89490
89491 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
89492 code.
89493
89494 [BZ #13528]
89495 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
89496
89497 [BZ #13529]
89498 * assert/assert.h (static_assert): Define.
89499
89500 * version.h: Update for 2.16 development version.
89501
89502 [BZ #13526]
89503 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
89504 _ISOC11_SOURCE.
89505
89506 * version.h (RELEASE): Bump for 2.15 release.
89507 * include/features.h (__GLIBC_MINOR__): Bump to 15.
89508
89509 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
89510 Patch by Marek Polacek <mpolacek@redhat.com>.
89511
89512 * bits/byteswap.h: Protect long long constants with __extension__.
89513 * sysdeps/i386/bits/byteswap.h: Likewise.
89514 * sysdeps/ia64/bits/byteswap.h: Likewise.
89515 * sysdeps/s390/bits/byteswap.h: Likewise.
89516 * sysdeps/x86_64/bits/byteswap.h: Likewise.
89517
89518 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89519
89520 [BZ #13540]
89521 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
89522 destination buffer.
89523 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
89524
89525 2011-12-23 Marek Polacek <polacek@redhat.com>
89526
89527 * elf/dl-addr.c (determine_info): Add inline keyword.
89528 * elf/tst-auditmod4b.c (check_avx): Likewise.
89529 * elf/tst-auditmod6b.c (check_avx): Likewise.
89530 * elf/tst-auditmod6c.c (check_avx): Likewise.
89531 * elf/tst-auditmod7b.c (check_avx): Likewise.
89532
89533 2011-12-23 Ulrich Drepper <drepper@gmail.com>
89534
89535 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
89536 !__SSE_MATH__.
89537
89538 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89539
89540 [BZ #13540]
89541 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
89542 processing for last bytes.
89543
89544 2011-08-06 Bruno Haible <bruno@clisp.org>
89545
89546 [BZ #13061]
89547 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
89548 U+0385, not to U+1FEE.
89549
89550 [BZ #13062]
89551 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
89552 entry for U+00A5 U+0301.
89553
89554 2011-12-22 Ulrich Drepper <drepper@gmail.com>
89555
89556 [BZ #13166]
89557 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
89558 buffer for the output is too small.
89559
89560 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
89561 optimization.
89562
89563 [BZ #13185]
89564 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
89565 SSE flags if possible.
89566
89567 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89568
89569 [BZ #13540]
89570 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
89571 processing for last bytes.
89572
89573 2011-12-22 Joseph Myers <joseph@codesourcery.com>
89574
89575 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
89576 (syscall-list-default-options, syscall-list-default-condition)
89577 (syscall-list-includes): Define.
89578 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
89579 list of ABIs and options and #if conditions for each ABI. Do not
89580 handle common syscalls between ABIs specially.
89581 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
89582 Remove.
89583 (syscall-list-variants, syscall-list-32bit-options)
89584 (syscall-list-32bit-condition, syscall-list-64bit-options)
89585 (syscall-list-64bit-condition): Define.
89586 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
89587 (syscall-list-variants, syscall-list-32bit-options)
89588 (syscall-list-32bit-condition, syscall-list-64bit-options)
89589 (syscall-list-64bit-condition): Define.
89590 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
89591 Remove.
89592 (syscall-list-variants, syscall-list-32bit-options)
89593 (syscall-list-32bit-condition, syscall-list-64bit-options)
89594 (syscall-list-64bit-condition): Define.
89595 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
89596 Remove.
89597 (syscall-list-variants, syscall-list-32bit-options)
89598 (syscall-list-32bit-condition, syscall-list-64bit-options)
89599 (syscall-list-64bit-condition): Define.
89600
89601 2011-12-22 Ulrich Drepper <drepper@gmail.com>
89602
89603 * locale/iso-639.def: Add brx entry.
89604
89605 [BZ #13328]
89606 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
89607 Proposed by Mariusz_Cukr <marcukr@op.pl>.
89608
89609 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
89610 __feraiseexcept_renamed.
89611
89612 2011-12-21 Ulrich Drepper <drepper@gmail.com>
89613
89614 [BZ #13538]
89615 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
89616 EPOLLET with unsigned values.
89617 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89618 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89619
89620 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
89621 to large cancellation.
89622 * math/s_cacoshf.c: Likewise.
89623 * math/s_cacoshl.c: Likewise.
89624
89625 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
89626
89627 [BZ #13305]
89628 [BZ #12786]
89629 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
89630 * math/s_cacoshf.c: Likewise.
89631 * math/s_cacoshl.c: Likewise.
89632
89633 2011-12-21 Ulrich Drepper <drepper@gmail.com>
89634
89635 [BZ #13439]
89636 * iconv/gconv.h: Define __GCONV_SWAP.
89637 * iconvdata/unicode.c: The swap bit must be stored in __flags.
89638 * iconvdata/utf-16.c: Likewise.
89639 * iconvdata/utf-32.c: Likewise.
89640
89641 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
89642
89643 [BZ #13524]
89644 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
89645 numerator after shifting it by one limb.
89646
89647 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
89648
89649 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
89650 under [__USE_EXTERN_INLINES].
89651
89652 2011-12-17 Ulrich Drepper <drepper@gmail.com>
89653
89654 [BZ #13446]
89655 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
89656
89657 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89658
89659 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
89660 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
89661 optimized code.
89662 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
89663 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
89664 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
89665 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
89666 for strncasecmp/strncasecmp_l compilation.
89667 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
89668 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
89669
89670 2011-12-08 Marek Polacek <mpolacek@redhat.com>
89671
89672 [BZ #13484]
89673 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
89674 of __asm__.
89675
89676 2011-12-17 Ulrich Drepper <drepper@gmail.com>
89677
89678 [BZ #13506]
89679 * time/tzfile.c (__tzfile_read): Check values from file header.
89680
89681 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
89682
89683 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
89684 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
89685 * powerpc/powerpc32/dl-start.S: Likewise.
89686 * powerpc/powerpc32/elf/start.S: Likewise.
89687 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
89688 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
89689 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
89690 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
89691 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
89692 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
89693 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
89694 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
89695 * powerpc/powerpc32/fpu/s_round.S: Likewise.
89696 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
89697 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
89698 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
89699 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
89700 * powerpc/powerpc32/memset.S: Likewise.
89701 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
89702 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
89703 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
89704 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
89705 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
89706 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
89707 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
89708 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
89709 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
89710 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
89711 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
89712 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
89713 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
89714
89715 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89716
89717 * math/libm-test.inc: Added more nearbyint tests.
89718 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
89719 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
89720 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
89721 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
89722
89723 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
89724
89725 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
89726 FD_CLOEXEC.
89727
89728 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89729
89730 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
89731 Add wcscpy-ssse3 wcscpy-c.
89732 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
89733 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
89734 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
89735 * sysdeps/x86_64/wcschr.S: New file.
89736 * sysdeps/x86_64/wcsrchr.S: New file.
89737 * string/test-strcmp.c: Remove checking of wcscmp function for
89738 wrong alignments.
89739 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
89740 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
89741 wcsrchr-sse2 wcsrchr-c.
89742 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
89743 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
89744 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
89745 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
89746 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
89747 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
89748 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
89749 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
89750 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
89751 * wcsmbc/wcschr.c (WCSCHR): New macro.
89752
89753 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89754
89755 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
89756 * wcsmbs/test-wcsrchr.c: New file.
89757 * string/test-strrchr.c: Add wcsrchr support.
89758 (WIDE): New macro.
89759 * wcsmbs/test-wcscpy.c: New file.
89760 * string/test-strcpy.c: Add wcscpy support.
89761 (WIDE): New macro.
89762
89763 2011-12-10 Ulrich Drepper <drepper@gmail.com>
89764
89765 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
89766 the inner loop.
89767
89768 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
89769
89770 [BZ #13472]
89771 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
89772
89773 2011-12-04 Ulrich Drepper <drepper@gmail.com>
89774
89775 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
89776 Minor optimizations.
89777
89778 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
89779 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
89780 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
89781
89782 2011-12-03 Ulrich Drepper <drepper@gmail.com>
89783
89784 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
89785 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
89786 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
89787 for gcc to avoid warnings.
89788 * inet/Makefile (tests): Add tst-checks.
89789 * inet/tst-checks.c: New file.
89790
89791 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
89792 warning.
89793
89794 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
89795 __wmemcmp_sse2.
89796
89797 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
89798 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
89799
89800 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
89801
89802 2011-12-02 Ulrich Drepper <drepper@gmail.com>
89803
89804 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
89805 problem.
89806
89807 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
89808
89809 2011-11-29 Joseph Myers <joseph@codesourcery.com>
89810
89811 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
89812 conditional on GCC version.
89813 (__arch_compare_and_exchange_val_8_acq)
89814 (__arch_compare_and_exchange_val_16_acq)
89815 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
89816 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
89817 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
89818
89819 2011-12-02 Joseph Myers <joseph@codesourcery.com>
89820
89821 * sysdeps/sh/backtrace.c: New file.
89822
89823 2011-12-02 Andreas Schwab <schwab@redhat.com>
89824
89825 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
89826 parenthesis.
89827
89828 2011-12-01 Andreas Schwab <schwab@redhat.com>
89829
89830 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
89831 falling back to utime.
89832
89833 2011-11-30 Andreas Schwab <schwab@redhat.com>
89834
89835 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
89836 expectations for float.
89837
89838 2011-11-29 Andreas Schwab <schwab@redhat.com>
89839
89840 * locale/weight.h (findidx): Add parameter len.
89841 * locale/weightwc.h (findidx): Likewise.
89842 * posix/fnmatch_loop.c (FCT): Adjust caller.
89843 * posix/regcomp.c (build_equiv_class): Likewise.
89844 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
89845 * posix/regexec.c (check_node_accept_bytes): Likewise.
89846 * string/strcoll_l.c (STRCOLL): Likewise.
89847 * string/strxfrm_l.c (STRXFRM): Likewise.
89848
89849 2011-11-17 Ulrich Drepper <drepper@gmail.com>
89850
89851 * Makefile.in: Remove CVSOPT handling.
89852 * configure.in: Remove use of AC_REVISION.
89853 * iconvdata/Makefile (distribute): No need to filter out CVS.
89854 * scripts/list-sources.sh: Remove CVS, subversion and monotone
89855 handling.
89856
89857 2011-11-16 Andreas Schwab <schwab@redhat.com>
89858
89859 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
89860 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
89861 [USE_AS_STRNCASECMP_L]: Likewise.
89862 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
89863 NO_TLS_DIRECT_SEG_REFS.
89864 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
89865 Fix argument offsets for non-PIC.
89866 [USE_AS_STRNCASECMP_L]: Likewise.
89867 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
89868 NO_TLS_DIRECT_SEG_REFS.
89869
89870 2011-11-15 Ulrich Drepper <drepper@gmail.com>
89871
89872 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
89873 O_CLOEXEC.
89874 * locale/loadlocale.c (_nl_load_locale): Likewise.
89875
89876 2011-11-15 Andreas Schwab <schwab@redhat.com>
89877
89878 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
89879 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
89880 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
89881 (SYSCALL_GETTIME): Set errno on error.
89882
89883 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
89884 count references to noai6ai_cached.
89885
89886 2011-11-15 Ulrich Drepper <drepper@gmail.com>
89887
89888 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
89889
89890 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
89891 FD_CLOEXEC for /proc/self/maps.
89892
89893 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
89894 FD_CLOEXEC for /proc/meminfo.
89895
89896 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
89897 gai.conf.
89898
89899 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
89900 FD_CLOEXEC for given file.
89901
89902 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
89903
89904 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
89905 FD_CLOEXEC for /etc/hosts.
89906 (_gethtent): Likewise.
89907
89908 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
89909
89910 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
89911 cancellation and set FD_CLOEXEC for /etc/netgroup.
89912
89913 * nss/nss_files/files-key.c (search): Don't allow cancellation when
89914 reading /etc/publickey.
89915
89916 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
89917 allow cancellation when reading /etc/group.
89918
89919 * nss/nss_files/files-alias.c (internal_setent): Don't allow
89920 cancellation.
89921 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
89922
89923 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
89924 when using data file.
89925
89926 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
89927
89928 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
89929 (write_nis_obj): Use "c" and "e" in fopen.
89930
89931 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
89932
89933 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
89934
89935 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
89936
89937 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
89938
89939 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
89940 locale.alias.
89941
89942 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
89943
89944 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
89945
89946 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
89947
89948 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
89949 file parsing and set FD_CLOEXEC.
89950
89951 2011-11-14 Ulrich Drepper <drepper@gmail.com>
89952
89953 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
89954
89955 2011-11-14 Andreas Schwab <schwab@redhat.com>
89956
89957 * malloc/arena.c (arena_get2): Don't call reused_arena when
89958 _int_new_arena failed.
89959
89960 2011-11-14 Ulrich Drepper <drepper@gmail.com>
89961
89962 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
89963 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
89964 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
89965 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
89966 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
89967 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
89968 to compile strcasecmp and strncasecmp.
89969 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
89970 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
89971
89972 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
89973
89974 2011-11-13 Ulrich Drepper <drepper@gmail.com>
89975
89976 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
89977 locale-defines.sym to gen-as-const-headers.
89978 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
89979 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
89980 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
89981 to compile strcasecmp and strncasecmp.
89982 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
89983 strcasecmp_l and strncasecmp_l.
89984 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
89985 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
89986 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
89987 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
89988 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
89989 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
89990 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
89991 * sysdeps/i386/i686/multiarch/strncase.S: New file.
89992 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
89993 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
89994 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
89995
89996 2011-11-12 Ulrich Drepper <drepper@gmail.com>
89997
89998 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
89999 result of SYSDEP_GETTIME_CPU to retval.
90000 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
90001 parameter list to macro. Remove trailing semicolon. Adjust users.
90002
90003 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
90004 variable.
90005
90006 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
90007 mantissa words.
90008 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
90009
90010 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
90011 from unused variable.
90012
90013 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
90014 DWARF definitions.
90015 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
90016 for assembling.
90017
90018 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
90019 over namespaces.
90020
90021 * sunrpc/rpc_prot.c (rejected): Fix case value.
90022
90023 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
90024 unsigned long long int to avoid warnings in shift.
90025
90026 * posix/regex_internal.c (re_string_reconstruct): Actually use result
90027 of use of trans.
90028 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
90029 variable tmp.
90030
90031 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
90032 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
90033 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
90034
90035 * nis/nis_table.c (nis_list): Use variable of correct type for
90036 result of __follow_path call.
90037
90038 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
90039
90040 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
90041 of math functions ceil, trunc, floor, round, and sqrt, when
90042 avaliable on the platform.
90043 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
90044 name clash.
90045 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
90046 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
90047 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
90048
90049 2011-10-30 Marek Polacek <mpolacek@redhat.com>
90050
90051 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
90052 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
90053
90054 2011-11-11 Roland McGrath <roland@hack.frob.com>
90055
90056 * include/unistd.h: Fix __readlink return type.
90057 Reported by Chris Metcalf <cmetcalf@tilera.com>.
90058
90059 2011-11-11 Ulrich Drepper <drepper@gmail.com>
90060
90061 * stdlib/ucontext.h: Undo last change for makecontext.
90062
90063 2011-11-11 Andreas Schwab <schwab@redhat.com>
90064
90065 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
90066
90067 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
90068 * setjmp/setjmp.h: Mark functions as non-leaf.
90069 * setjmp/bits/setjmp2.h: Likewise.
90070 * stdlib/ucontext.h: Likewise.
90071
90072 2011-11-10 Andreas Schwab <schwab@redhat.com>
90073
90074 * malloc/arena.c (_int_new_arena): Don't increment narenas.
90075 (reused_arena): Don't check arena limit.
90076 (arena_get2): Atomically check arena limit.
90077
90078 2011-11-08 Ulrich Drepper <drepper@gmail.com>
90079
90080 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
90081 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
90082
90083 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
90084 instructions.
90085
90086 2011-11-07 Andreas Schwab <schwab@redhat.com>
90087
90088 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
90089 handler when locking.
90090
90091 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
90092 Fix size of allocated buffer.
90093
90094 2011-11-04 Andreas Schwab <schwab@redhat.com>
90095
90096 [BZ #10103]
90097 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
90098 declarations for long double functions.
90099 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
90100
90101 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
90102
90103 2011-11-03 Andreas Schwab <schwab@redhat.com>
90104
90105 * nscd/nscd.c (main): Don't start AVC thread until credentials are
90106 installed.
90107
90108 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
90109 is disabled.
90110
90111 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
90112
90113 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
90114
90115 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
90116
90117 * include/alloca.h (stackinfo_alloca_round): Define.
90118 (extend_alloca): Use it.
90119 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
90120 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
90121 here.
90122
90123 * scripts/check-local-headers.sh: Ignore libaudit.h.
90124
90125 * nscd/Makefile (extra-objs): Make recursively expanded.
90126
90127 2011-11-01 Ulrich Drepper <drepper@gmail.com>
90128
90129 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
90130 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
90131
90132 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
90133 * posix/tst-rfc3484-2.c: Likewise.
90134 * posix/tst-rfc3484-3.c: Likewise.
90135
90136 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
90137 process_vm_writev.
90138 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
90139 process_vm_writev.
90140 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
90141 process_vm_writev from libc using GLIBC_2.15 version.
90142
90143 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
90144
90145 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
90146
90147 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
90148 stack usage.
90149
90150 2011-10-31 Ulrich Drepper <drepper@gmail.com>
90151
90152 [BZ #13367]
90153 * nss/getent.c (initgroups_keys): Show error message in case no group
90154 names are given.
90155
90156 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
90157 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
90158 __bump_nl_timestamp.
90159 * nscd/connections (nscd_init): When host database is served open
90160 netlink socket and request notification about configuration changes.
90161 (main_loop_poll): Track netlink file descriptor and bump timestamp
90162 in case data becomes available.
90163 (main_loop_epoll): Likewise.
90164 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
90165 (database_pers_head): Add extra_data fileds.
90166 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
90167 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
90168 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
90169 Adjust caller.
90170 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
90171 in6ai data, call __free_in6ai.
90172 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
90173 Add -DHAVE_NETLINK.
90174 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
90175 interface information. Reuse previous data if netlink timestamp
90176 is not changed.
90177 (__bump_nl_timestamp): New function.
90178 (__free_in6ai): New function.
90179
90180 2011-10-30 Ulrich Drepper <drepper@gmail.com>
90181
90182 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
90183 close_not_cancel_no_status here.
90184 (__check_pf): Reorganize code a bit to not call close twice if OOM.
90185
90186 2011-10-29 Ulrich Drepper <drepper@gmail.com>
90187
90188 [BZ #13276]
90189 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
90190 return value.
90191
90192 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
90193 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
90194 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
90195
90196 2011-07-03 Andreas Jaeger <aj@suse.de>
90197
90198 [BZ #10709]
90199 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
90200 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
90201 * math/libm-test.inc (sin_test): Add test case.
90202
90203 2011-10-29 Ulrich Drepper <drepper@gmail.com>
90204
90205 [BZ #13337]
90206 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
90207 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90208
90209 * elf/chroot_canon.c (chroot_canon): Cleanups.
90210
90211 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
90212
90213 [BZ #13335]
90214 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
90215 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90216
90217 * string/test-strchr.c: Make usable for strchrnul testing.
90218 * string/test-strchrnul.c: New file.
90219 * string/Makefile (strop-tests): Add strchrnul.
90220
90221 * po/it.po: Update from translation team.
90222 * po/es.po: Likewise.
90223
90224 2011-10-28 Ulrich Drepper <drepper@gmail.com>
90225
90226 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
90227 the three constants needed as parameters. Drop the others.
90228 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
90229 __m128i_strloadu_tolower.
90230 Create and initialize variable zero and use it in all the places
90231 where _mm_setzero_si128 was used.
90232
90233 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
90234 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
90235 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
90236 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
90237 anymore.
90238 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
90239 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
90240 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
90241 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
90242 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
90243 __mpranred, __mptan.
90244 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
90245 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
90246 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
90247 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
90248 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
90249 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
90250 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
90251 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
90252 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
90253
90254 2011-10-28 Andreas Schwab <schwab@redhat.com>
90255
90256 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
90257 redefine if SHARED.
90258 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
90259
90260 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
90261 wide char related routines to wcsmbs subdir.
90262
90263 2011-10-27 Andreas Schwab <schwab@redhat.com>
90264
90265 [BZ #13344]
90266 * misc/sys/cdefs.h (__THROWNL): Define.
90267 * posix/unistd.h: Use __THREADNL instead of __THREAD
90268 for memory synchronization functions.
90269
90270 2011-10-26 Roland McGrath <roland@hack.frob.com>
90271
90272 [BZ #13349]
90273 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
90274 doesn't exist.
90275 * manual/stdio.texi (Obstack Streams): Node removed.
90276
90277 2011-10-26 Andreas Schwab <schwab@redhat.com>
90278
90279 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
90280 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90281 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90282
90283 * math/math_private.h (math_force_eval): Allow non-addressable
90284 arguments.
90285 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
90286
90287 2011-10-25 Ulrich Drepper <drepper@gmail.com>
90288
90289 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
90290 file is not needed.
90291
90292 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
90293 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
90294 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
90295 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
90296 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
90297 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
90298 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
90299 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
90300 Add AVX variants.
90301 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
90302 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
90303 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
90304 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
90305 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
90306 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
90307 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
90308 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
90309 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
90310 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
90311 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
90312 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
90313 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
90314 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
90315 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
90316 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
90317 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
90318 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
90319 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
90320
90321 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
90322 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
90323
90324 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
90325 place. Use VEX encoding when compiling for AVX.
90326
90327 2011-10-25 Andreas Schwab <schwab@redhat.com>
90328
90329 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
90330 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
90331
90332 * string/test-strchr.c (do_test): Don't generate NUL bytes.
90333
90334 2011-10-25 Ulrich Drepper <drepper@gmail.com>
90335
90336 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
90337 useless if() expression.
90338 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
90339 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
90340 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
90341 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
90342 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
90343 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90344 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
90345 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
90346 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
90347 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
90348 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
90349 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
90350 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
90351 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
90352 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
90353 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90354 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
90355 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
90356 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
90357
90358 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
90359
90360 2011-10-25 Andreas Schwab <schwab@redhat.com>
90361
90362 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
90363 condition.
90364 * elf/dl-fini.c (_dl_sort_fini): Likewise.
90365
90366 2011-10-25 Ulrich Drepper <drepper@gmail.com>
90367
90368 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
90369 .text section. Avoid duplicate constants.
90370 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
90371 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90372 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
90373 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90374 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90375 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90376 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90377 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90378 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
90379 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
90380 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
90381 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
90382 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
90383 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
90384 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
90385 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
90386 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
90387 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
90388 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
90389 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90390 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
90391 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
90392 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
90393 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
90394 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
90395 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
90396 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
90397 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
90398 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
90399 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
90400 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
90401 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
90402 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
90403 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
90404 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
90405 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
90406 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
90407 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
90408 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
90409 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
90410 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
90411 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
90412 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
90413 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
90414 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
90415
90416 2011-10-24 Ulrich Drepper <drepper@gmail.com>
90417
90418 * sysdeps/x86_64/dla.h: Move to ...
90419 * sysdeps/x86_64/fpu/dla.h: ...here.
90420 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
90421 situations. Use __builtin_fma only for gcc 4.6 and up.
90422
90423 * config.make.in: Add have-mfma4 entry.
90424 * configure.in: Substitute libc_cv_cc_fma4.
90425 * math/Makefile (dbl-only-routines): Add sincostab.
90426 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
90427 Use __sincostab not sincos.
90428 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
90429 name is a macro.
90430 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90431 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90432 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90433 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
90434 using __copysign.
90435 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
90436 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
90437 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
90438 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
90439 and __inv.
90440 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
90441 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
90442 __copysign.
90443 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
90444 define aliases when function name is a macro.
90445 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
90446 sysdeps/ieee754/dbl-64/sincos.tbl.
90447 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
90448 fma4-enabled routines.
90449 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
90450 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
90451 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
90452 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
90453 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
90454 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
90455 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
90456 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
90457 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
90458 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
90459 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
90460 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
90461 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
90462 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
90463 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
90464 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
90465 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
90466 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
90467 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
90468 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
90469 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
90470 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
90471 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
90472 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
90473 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
90474 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
90475 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
90476 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
90477 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
90478 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
90479
90480 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
90481 rename.
90482 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90483 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90484 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90485 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90486 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90487 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90488 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90489 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90490
90491 2011-10-24 Andreas Schwab <schwab@redhat.com>
90492
90493 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
90494
90495 2011-10-23 Ulrich Drepper <drepper@gmail.com>
90496
90497 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
90498
90499 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
90500 prediction.
90501 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
90502
90503 * string/strnlen.c: Don't define STRNLEN, reverse logic.
90504 Remove unused variable magic_bits.
90505 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
90506
90507 * string/strnlen.c: Define and use STRNLEN macro.
90508 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
90509 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
90510 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
90511 * wcsmbs/wcslen.c: Define and use WCSLEN.
90512 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
90513 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
90514 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
90515 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
90516 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
90517 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
90518 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
90519
90520 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90521
90522 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90523 strnlen-sse2-no-bsf.
90524 Rename strlen-no-bsf to strlen-sse2-no-bsf.
90525 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
90526 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
90527 Add strnlen support.
90528 (USE_AS_STRNLEN): New macro.
90529 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
90530 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
90531 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
90532 * sysdeps/x86_64/wcslen.S: New file.
90533
90534 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
90535
90536 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
90537 XMM-moves are used for copying on small sizes.
90538
90539 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90540
90541 * wcsmbs/Makefile (strop-tests): Add wcschr.
90542 * wcsmbs/test-wcschr.c: New file.
90543 * string/test-strchr.c: Update.
90544 Add wcschr support.
90545 (WIDE): New macro.
90546
90547 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90548
90549 * wcsmbs/Makefile (strop-tests): Add wcslen.
90550 * wcsmbs/test-wcslen.c: New file.
90551 * string/test-strlen.c: Update.
90552 Add wcslen support.
90553 (WIDE): New macro.
90554
90555 2011-10-23 Ulrich Drepper <drepper@gmail.com>
90556
90557 * po/it.po: Update from translation team.
90558
90559 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90560
90561 * sysdeps/x86_64/wcscmp.S: Update.
90562 Fix wrong comparison semantics.
90563 wcscmp shall use signed comparison not unsigned.
90564 Don't use substraction to avoid overflow bug.
90565 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
90566 * wcsmbc/wcscmp.c: Likewise.
90567 * string/test-strcmp.c: Likewise.
90568 Add new tests to check cases with negative values.
90569
90570 2011-10-23 Ulrich Drepper <drepper@gmail.com>
90571
90572 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
90573 * sysdeps/x86_64/dla.h: ...here. New file.
90574 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
90575 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90576 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90577 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90578 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90579 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
90580 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90581 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90582 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90583
90584 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
90585
90586 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
90587 __ynl_finite aliases.
90588
90589 2011-10-22 Ulrich Drepper <drepper@gmail.com>
90590
90591 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
90592
90593 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
90594 define DLA_FMA.
90595 [DLA_FMA] (EMULV): Use DLA_FMA.
90596 [DLA_FMA] (MUL12): Use EMULV.
90597 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
90598 that are not needed.
90599 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90600 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90601 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90602 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90603 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90604 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90605 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90606
90607 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
90608
90609 * math/s_nan.c: Undef __nan.
90610 * math/s_nanf.c: Undef __nanf.
90611 * math/s_nanl.c: Undef __nanl.
90612 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
90613 "math_private.h".
90614
90615 2011-10-22 Ulrich Drepper <drepper@gmail.com>
90616
90617 * math/s_catan.c: Add branch predictions.
90618 * math/s_catanf.c: Likewise.
90619 * math/s_catanh.c: Likewise.
90620 * math/s_catanhf.c: Likewise.
90621 * math/s_catanhl.c: Likewise.
90622 * math/s_catanl.c: Likewise.
90623 * math/s_cexp.c: Likewise.
90624 * math/s_cexpf.c: Likewise.
90625 * math/s_cexpl.c: Likewise.
90626 * math/s_clog.c: Likewise.
90627 * math/s_clog10.c: Likewise.
90628 * math/s_clog10f.c: Likewise.
90629 * math/s_clog10l.c: Likewise.
90630 * math/s_clogf.c: Likewise.
90631 * math/s_clogl.c: Likewise.
90632 * math/s_csqrt.c: Likewise.
90633 * math/s_csqrtf.c: Likewise.
90634 * math/s_csqrtl.c: Likewise.
90635 * math/s_ctanf.c: Likewise.
90636 * math/s_ctanh.c: Likewise.
90637 * math/s_ctanhf.c: Likewise.
90638 * math/s_ctanhl.c: Likewise.
90639 * math/s_ctanl.c: Likewise.
90640
90641 * math/math_private.h: Define __nan, __nanf, __nanl.
90642 * math/s_cacosh.c: Include <math_private.h>.
90643 * math/s_cacoshl.c: Likewise.
90644 * math/s_casinh.c: Likewise.
90645 * math/s_casinhf.c: Likewise.
90646 * math/s_casinhl.c: Likewise.
90647 * math/s_ccos.c: Rely entire on ccosh.
90648 * math/s_ccosf.c: Rely entire on ccoshf.
90649 * math/s_ccosl.c: Rely entirely on ccoshl.
90650 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
90651 Remove tests for FE_INVALID.
90652 * math/s_ccoshf.c: Likewise.
90653 * math/s_ccoshl.c: Likewise.
90654 * math/s_csin.c: Likewise.
90655 * math/s_csinf.c: Likewise.
90656 * math/s_csinh.c Likewise.
90657 * math/s_csinhf.c: Likewise.
90658 * math/s_csinhl.c: Likewise.
90659 * math/s_csinl.c: Likewise.
90660 * math/s_ctan.c: Likewise.
90661 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
90662 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
90663 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
90664
90665 2011-10-21 Ulrich Drepper <drepper@gmail.com>
90666
90667 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
90668 compilation problems.
90669
90670 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
90671 __builtin_expect.
90672
90673 2011-10-20 Ulrich Drepper <drepper@gmail.com>
90674
90675 * sysdeps/i386/configure.in: Test for -mfma4 option.
90676 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
90677 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
90678 COMMON_CPUID_INDEX_80000001.
90679 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
90680 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
90681 use it if FMA3 is not supported.
90682 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
90683
90684 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
90685 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
90686
90687 2011-10-20 Andreas Schwab <schwab@redhat.com>
90688
90689 [BZ #12892]
90690 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
90691 it would create a cycle with a link time dependency.
90692
90693 2011-10-19 Ulrich Drepper <drepper@gmail.com>
90694
90695 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
90696 instruction.
90697 * string/Makefile (strop-tests): Add rawmemchr.
90698 * string/test-rawmemchr.c: New file.
90699
90700 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
90701 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
90702 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
90703 when compiling str{,n}casecmp and when AVX is available. Hook up
90704 new optimized code in initializers.
90705
90706 2011-10-19 Andreas Schwab <schwab@redhat.com>
90707
90708 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
90709 __feraiseexcept instead of feraiseexcept.
90710
90711 2011-10-18 Ulrich Drepper <drepper@gmail.com>
90712
90713 * math/math_private.h: Define defaults for libc_fetestexcept and
90714 libc_feupdateenv.
90715 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
90716 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
90717 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
90718 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
90719 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
90720 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
90721 libc_fetestexcept and libc_feupdateenv.
90722
90723 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
90724 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
90725 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
90726 * sysdeps/x86_64/fpu/math_private.h: Define special version of
90727 libc_feholdexcept_setround.
90728
90729 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
90730 Add s_nearbyint-c and s_nearbyintf-c.
90731 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
90732 nearbyintf inlines.
90733 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
90734 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
90735 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
90736 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
90737
90738 * math/math_private.h: Define defaults for libc_fegetround,
90739 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
90740 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
90741 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
90742 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
90743 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
90744 standard functions.
90745 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
90746 Remove comments and hacks for old compiler versions.
90747 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
90748 libc_fegetround, libc_fesetround, libc_feholdexcept, and
90749 libc_feholdexceptl.
90750
90751 2011-10-18 Andreas Schwab <schwab@redhat.com>
90752
90753 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
90754 (__feraiseexcept_renamed): Add __NTH.
90755 (feraiseexcept): Add __NTH. Rename local variables to fix
90756 namespace violations.
90757
90758 2011-10-17 Ulrich Drepper <drepper@gmail.com>
90759
90760 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
90761
90762 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
90763
90764 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
90765 recently added interfaces.
90766 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
90767
90768 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
90769 about macro parameter expansion.
90770
90771 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
90772 __NO_MATH_INLINES is defined. Cleanups.
90773
90774 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
90775 and __floorf is target has SSE4.1.
90776 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
90777 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
90778 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
90779 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
90780
90781 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
90782 name.
90783 (floorf): Likewise.
90784
90785 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
90786
90787 2011-10-17 Andreas Schwab <schwab@redhat.com>
90788
90789 * misc/sys/cdefs.h: Fix last change.
90790
90791 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
90792 database lookup.
90793
90794 2011-10-16 Ulrich Drepper <drepper@gmail.com>
90795
90796 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
90797
90798 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
90799 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
90800 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
90801 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
90802 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
90803 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
90804 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
90805 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
90806 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
90807 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
90808 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
90809 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
90810 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
90811 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
90812 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
90813 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
90814 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
90815 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
90816 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
90817 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
90818 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
90819 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
90820
90821 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
90822 ceil, ceilf, floor, floorf.
90823
90824 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
90825 Perform IRELATIVE relocations last.
90826
90827 * elf/do-rel.h: Add another parameter nrelative, replacing the
90828 local variable with the same name. Change name of the function
90829 to end in Rel or Rela (uppercase).
90830 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
90831 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
90832 elf_dynamic_do_##reloc function.
90833
90834 2011-10-15 Ulrich Drepper <drepper@gmail.com>
90835
90836 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
90837 is sufficient, at least on modern CPUs.
90838
90839 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
90840
90841 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
90842 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
90843
90844 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
90845 __expl_finite.
90846 * math/bits/math-finite.h: Add entries for exp.
90847 * math/e_expl.c: Add __*_finite alias.
90848 * sysdeps/i386/fpu/e_exp.S: Likewise.
90849 * sysdeps/i386/fpu/e_expf.S: Likewise.
90850 * sysdeps/i386/fpu/e_expl.c: Likewise.
90851 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90852 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
90853 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
90854 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
90855 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
90856 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
90857 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
90858
90859 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
90860 is sufficient, at least on modern CPUs.
90861
90862 * ctype/ctype-info.c (__ctype_init): Define.
90863 * include/ctype.h (__ctype_init): Declare.
90864 (__ctype_b_loc): The variable is always initialized.
90865 (__ctype_toupper_loc): Likewise.
90866 (__ctype_tolower_loc): Likewise.
90867 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
90868 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
90869
90870 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
90871
90872 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
90873
90874 * configure.in: Also look in $cxxmachine/include for C++ system
90875 headers.
90876
90877 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90878
90879 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
90880 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
90881 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
90882 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
90883 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
90884 (USE_AS_WMEMCMP): New macro.
90885 Fixing indents.
90886 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
90887 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
90888 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
90889 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
90890 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90891 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
90892 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
90893 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
90894 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
90895 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
90896 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
90897 (USE_AS_WMEMCMP): New macro.
90898 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
90899 * sysdeps/string/test-memcmp.c: Update.
90900 Fix simple_wmemcmp.
90901 Add new tests.
90902 * wcsmbs/wmemcmp.c: Update.
90903 (WMEMCMP): New macro.
90904 Fix overflow bug.
90905
90906 2011-10-12 Andreas Jaeger <aj@suse.de>
90907
90908 [BZ #13268]
90909 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
90910
90911 2011-10-15 Ulrich Drepper <drepper@gmail.com>
90912
90913 * libio/iofwide.c (do_length): Avoid warning.
90914
90915 * ctype/ctype.h (__isctype_f): Add missing __THROW.
90916
90917 2011-10-14 Ulrich Drepper <drepper@gmail.com>
90918
90919 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
90920
90921 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
90922 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
90923 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
90924 * sysdeps/i386/i686/fpu/e_log.S: New file.
90925 * sysdeps/i386/i686/fpu/e_logf.S: New file.
90926 * sysdeps/i386/i686/fpu/e_logl.S: New file.
90927
90928 * ctype/ctype.h: Add support for inlined isXXX functions when
90929 compiling C++ code.
90930
90931 2011-10-14 Andreas Schwab <schwab@redhat.com>
90932
90933 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
90934
90935 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
90936
90937 2011-10-13 Roland McGrath <roland@hack.frob.com>
90938
90939 [BZ #13291]
90940 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
90941
90942 2011-10-13 Andreas Schwab <schwab@redhat.com>
90943
90944 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
90945 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
90946 feraiseexcept.
90947
90948 * sysdeps/x86_64/memrchr.S: Check for zero size.
90949
90950 * string/stratcliff.c: Add memrchr tests.
90951
90952 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90953
90954 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90955 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
90956 rawmemchr-sse2 rawmemchr-sse2-bsf.
90957 * sysdeps/i386/i686/multiarch/memchr.S: New file.
90958 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
90959 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
90960 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
90961 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
90962 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
90963 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
90964 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
90965 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
90966 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
90967 * string/memrchr.c (MEMRCHR): New macro.
90968
90969 2011-10-12 Ulrich Drepper <drepper@gmail.com>
90970
90971 Add integration with gcc's -ffinite-math-only and optimize wrapper
90972 functions in libm.
90973 * Versions.def: Define GLIBC_2.15 version for libm.
90974 * math/Makefile (headers): Add bits/math-finite.h.
90975 * math/bits/math-finite.h: New file.
90976 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
90977 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
90978 * math/e_acoshl.c: Add __*_finite alias.
90979 * math/e_acosl.c: Likewise.
90980 * math/e_asinl.c: Likewise.
90981 * math/e_atan2l.c: Likewise.
90982 * math/e_atanhl.c: Likewise.
90983 * math/e_coshl.c: Likewise.
90984 * math/e_exp10.c: Likewise.
90985 * math/e_exp10f.c: Likewise.
90986 * math/e_exp10l.c: Likewise.
90987 * math/e_exp2l.c: Likewise.
90988 * math/e_fmodl.c: Likewise.
90989 * math/e_gammal_r.c: Likewise.
90990 * math/e_hypotl.c: Likewise.
90991 * math/e_j0l.c: Likewise.
90992 * math/e_j1l.c: Likewise.
90993 * math/e_jnl.c: Likewise.
90994 * math/e_lgammal_r.c: Likewise.
90995 * math/e_log10l.c: Likewise.
90996 * math/e_log2l.c: Likewise.
90997 * math/e_logl.c: Likewise.
90998 * math/e_powl.c: Likewise.
90999 * math/e_sinhl.c: Likewise.
91000 * math/e_sqrtl.c: Likewise.
91001 * math/e_scalb.c: Completely rewritten and optimized.
91002 * math/e_scalbf.c: Likewise.
91003 * math/e_scalbl.c: Likewise.
91004 * math/w_acos.c: Likewise.
91005 * math/w_acosf.c: Likewise.
91006 * math/w_acosl.c: Likewise.
91007 * math/w_acosh.c: Likewise.
91008 * math/w_acoshf.c: Likewise.
91009 * math/w_acoshl.c: Likewise.
91010 * math/w_asin.c: Likewise.
91011 * math/w_asinf.c: Likewise.
91012 * math/w_asinl.c: Likewise.
91013 * math/w_atan2.c: Likewise.
91014 * math/w_atan2f.c: Likewise.
91015 * math/w_atan2l.c: Likewise.
91016 * math/w_atanh.c: Likewise.
91017 * math/w_atanhf.c: Likewise.
91018 * math/w_atanhl.c: Likewise.
91019 * math/w_exp10.c: Likewise.
91020 * math/w_exp10f.c: Likewise.
91021 * math/w_exp10l.c: Likewise.
91022 * math/w_fmod.c: Likewise.
91023 * math/w_fmodf.c: Likewise.
91024 * math/w_fmodl.c: Likewise.
91025 * math/w_j0.c: Likewise.
91026 * math/w_j0f.c: Likewise.
91027 * math/w_j0l.c: Likewise.
91028 * math/w_j1.c: Likewise.
91029 * math/w_j1f.c: Likewise.
91030 * math/w_j1l.c: Likewise.
91031 * math/w_jn.c: Likewise.
91032 * math/w_jnf.c: Likewise.
91033 * math/w_log.c: Likewise.
91034 * math/w_logf.c: Likewise.
91035 * math/w_logl.c: Likewise.
91036 * math/w_log10.c: Likewise.
91037 * math/w_log10f.c: Likewise.
91038 * math/w_log10l.c: Likewise.
91039 * math/w_log2.c: Likewise.
91040 * math/w_log2f.c: Likewise.
91041 * math/w_log2l.c: Likewise.
91042 * math/w_pow.c: Likewise.
91043 * math/w_powf.c: Likewise.
91044 * math/w_powl.c: Likewise.
91045 * math/w_remainder.c: Likewise.
91046 * math/w_remainderf.c: Likewise.
91047 * math/w_remainderl.c: Likewise.
91048 * math/w_scalb.c: Likewise.
91049 * math/w_scalbf.c: Likewise.
91050 * math/w_scalbl.c: Likewise.
91051 * math/w_sqrt.c: Likewise.
91052 * math/w_sqrtf.c: Likewise.
91053 * math/w_sqrtl.c: Likewise.
91054 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
91055 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
91056 used.
91057 * math/math_private.h: Declare __kernel_standard_f.
91058 * math/w_cosh.c: Remove cruft and optimize a bit.
91059 * math/w_coshf.c: Likewise.
91060 * math/w_coshl.c: Likewise.
91061 * math/w_exp2.c: Likewise.
91062 * math/w_exp2f.c: Likewise.
91063 * math/w_exp2l.c: Likewise.
91064 * math/w_hypot.c: Likewise.
91065 * math/w_hypotf.c: Likewise.
91066 * math/w_hypotl.c: Likewise.
91067 * math/w_lgamma.c: Likewise.
91068 * math/w_lgamma_r.c: Likewise.
91069 * math/w_lgammaf.c: Likewise.
91070 * math/w_lgammaf_r.c: Likewise.
91071 * math/w_lgammal.c: Likewise.
91072 * math/w_lgammal_r.c: Likewise.
91073 * math/w_sinh.c: Likewise.
91074 * math/w_sinhf.c: Likewise.
91075 * math/w_sinhl.c: Likewise.
91076 * math/w_tgamma.c: Likewise.
91077 * math/w_tgammaf.c: Likewise.
91078 * math/w_tgammal.c: Likewise.
91079 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
91080 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
91081 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
91082 Minor optimizations. Pretty printing. Remove cruft.
91083 * sysdeps/i386/fpu/e_acosf.S: Likewise.
91084 * sysdeps/i386/fpu/e_acosh.S: Likewise.
91085 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
91086 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
91087 * sysdeps/i386/fpu/e_acosl.c: Likewise.
91088 * sysdeps/i386/fpu/e_asin.S: Likewise.
91089 * sysdeps/i386/fpu/e_asinf.S: Likewise.
91090 * sysdeps/i386/fpu/e_atan2.S: Likewise.
91091 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
91092 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
91093 * sysdeps/i386/fpu/e_atanh.S: Likewise.
91094 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
91095 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
91096 * sysdeps/i386/fpu/e_exp10.S: Likewise.
91097 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
91098 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
91099 * sysdeps/i386/fpu/e_exp2.S: Likewise.
91100 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
91101 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
91102 * sysdeps/i386/fpu/e_fmod.S: Likewise.
91103 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
91104 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
91105 * sysdeps/i386/fpu/e_hypot.S: Likewise.
91106 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
91107 * sysdeps/i386/fpu/e_log.S: Likewise.
91108 * sysdeps/i386/fpu/e_log10.S: Likewise.
91109 * sysdeps/i386/fpu/e_log10f.S: Likewise.
91110 * sysdeps/i386/fpu/e_log10l.S: Likewise.
91111 * sysdeps/i386/fpu/e_log2.S: Likewise.
91112 * sysdeps/i386/fpu/e_log2f.S: Likewise.
91113 * sysdeps/i386/fpu/e_log2l.S: Likewise.
91114 * sysdeps/i386/fpu/e_logf.S: Likewise.
91115 * sysdeps/i386/fpu/e_logl.S: Likewise.
91116 * sysdeps/i386/fpu/e_pow.S: Likewise.
91117 * sysdeps/i386/fpu/e_powf.S: Likewise.
91118 * sysdeps/i386/fpu/e_powl.S: Likewise.
91119 * sysdeps/i386/fpu/e_remainder.S: Likewise.
91120 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
91121 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
91122 * sysdeps/i386/fpu/e_scalb.S: Likewise.
91123 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
91124 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
91125 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
91126 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
91127 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
91128 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
91129 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
91130 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
91131 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
91132 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
91133 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
91134 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
91135 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
91136 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
91137 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
91138 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
91139 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
91140 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
91141 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
91142 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
91143 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
91144 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
91145 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
91146 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
91147 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
91148 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
91149 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
91150 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
91151 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
91152 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
91153 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
91154 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
91155 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
91156 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
91157 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
91158 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
91159 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
91160 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
91161 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
91162 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
91163 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
91164 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
91165 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
91166 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
91167 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
91168 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
91169 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
91170 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
91171 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
91172 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
91173 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
91174 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
91175 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
91176 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
91177 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
91178 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
91179 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
91180 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
91181 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
91182 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
91183 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
91184 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
91185 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
91186 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
91187 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
91188 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
91189 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
91190 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
91191 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
91192 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
91193 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
91194 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
91195 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
91196 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
91197 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
91198 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
91199 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
91200 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
91201 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
91202 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
91203 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
91204 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
91205 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
91206 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
91207 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
91208 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
91209 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
91210 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
91211 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
91212 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
91213 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
91214 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
91215 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
91216 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
91217 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
91218 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
91219 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
91220 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
91221 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
91222 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
91223 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
91224 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
91225 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
91226 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
91227 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
91228 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
91229 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
91230 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
91231 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
91232 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
91233 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
91234 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
91235 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
91236 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
91237 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
91238 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
91239 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
91240 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
91241 (__isnanf): Likewise.
91242 (__isinf_ns): Likewise.
91243 (__isinf_nsf): Likewise.
91244 (__finite): Likewise.
91245 (__finitef): Likewise.
91246 (__ieee754_sqrt): Define as macro.
91247 (__ieee754_sqrtf): Define as macro.
91248 (__ieee754_sqrtl): Define as macro.
91249 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
91250 inlined copy.
91251 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
91252 __FINITE_MATH_ONLY__ consistent.
91253 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
91254
91255 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
91256
91257 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
91258 of rawmemchr.
91259
91260 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
91261
91262 2011-10-09 Ulrich Drepper <drepper@gmail.com>
91263
91264 * po/ja.po: Update from translation team.
91265
91266 2011-10-08 Roland McGrath <roland@hack.frob.com>
91267
91268 * locale/programs/locarchive.c (prepare_address_space): New function.
91269 (create_archive, enlarge_archive, open_archive): Use it.
91270
91271 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
91272 inside [SHARED], where it is used.
91273
91274 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
91275
91276 * nss/getent.c (netgroup_keys): Remove unused variable.
91277 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
91278
91279 2011-10-08 Ulrich Drepper <drepper@gmail.com>
91280
91281 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
91282 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
91283 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
91284 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
91285 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
91286 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
91287 * math/Makefile (libm-calls): Add s_isinf_ns.
91288 * math/divtc3.c: Use __isinf_nsl instead of isinf.
91289 * math/multc3.c: Likewise.
91290 * math/s_casin.c: Likewise.
91291 * math/s_casinf.c: Likewise.
91292 * math/s_casinl.c: Likewise.
91293 * math/s_ccos.c: Likewise.
91294 * math/s_ccosf.c: Likewise.
91295 * math/s_ccosl.c: Likewise.
91296 * math/s_ctan.c: Likewise.
91297 * math/s_ctanf.c: Likewise.
91298 * math/s_ctanh.c: Likewise.
91299 * math/s_ctanhf.c: Likewise.
91300 * math/s_ctanhl.c: Likewise.
91301 * math/s_ctanl.c: Likewise.
91302 * math/w_fmod.c: Likewise.
91303 * math/w_fmodf.c: Likewise.
91304 * math/w_fmodl.c: Likewise.
91305 * math/w_remainder.c: Likewise.
91306 * math/w_remainderf.c: Likewise.
91307 * math/w_remainderl.c: Likewise.
91308 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
91309 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
91310 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
91311 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
91312 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
91313 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
91314 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
91315 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
91316
91317 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
91318 of the number.
91319 * stdio-common/printf_fphex.c: Likewise.
91320 * stdio-common/printf_size.c: Likewise.
91321
91322 * math/e_exp10.c: Include math_private.h using <...> not "...".
91323 * math/e_exp10f.c: Likewise.
91324 * math/e_exp10l.c: Likewise.
91325 * math/e_exp2l.c: Likewise.
91326 * math/e_j0l.c: Likewise.
91327 * math/e_j1l.c: Likewise.
91328 * math/e_jnl.c: Likewise.
91329 * math/e_lgammal_r.c: Likewise.
91330 * math/e_rem_pio2l.c: Likewise.
91331 * math/e_scalb.c: Likewise.
91332 * math/e_scalbf.c: Likewise.
91333 * math/e_scalbl.c: Likewise.
91334 * math/k_cosl.c: Likewise.
91335 * math/k_sinl.c: Likewise.
91336 * math/k_tanl.c: Likewise.
91337 * math/s_cacoshf.c: Likewise.
91338 * math/s_catan.c: Likewise.
91339 * math/s_catanf.c: Likewise.
91340 * math/s_catanh.c: Likewise.
91341 * math/s_catanhf.c: Likewise.
91342 * math/s_catanhl.c: Likewise.
91343 * math/s_catanl.c: Likewise.
91344 * math/s_ccosh.c: Likewise.
91345 * math/s_ccoshf.c: Likewise.
91346 * math/s_ccoshl.c: Likewise.
91347 * math/s_cexp.c: Likewise.
91348 * math/s_cexpf.c: Likewise.
91349 * math/s_cexpl.c: Likewise.
91350 * math/s_clog.c: Likewise.
91351 * math/s_clog10.c: Likewise.
91352 * math/s_clog10f.c: Likewise.
91353 * math/s_clog10l.c: Likewise.
91354 * math/s_clogf.c: Likewise.
91355 * math/s_clogl.c: Likewise.
91356 * math/s_csin.c: Likewise.
91357 * math/s_csinf.c: Likewise.
91358 * math/s_csinh.c: Likewise.
91359 * math/s_csinhf.c: Likewise.
91360 * math/s_csinhl.c: Likewise.
91361 * math/s_csinl.c: Likewise.
91362 * math/s_csqrt.c: Likewise.
91363 * math/s_csqrtf.c: Likewise.
91364 * math/s_csqrtl.c: Likewise.
91365 * math/s_ctan.c: Likewise.
91366 * math/s_ctanf.c: Likewise.
91367 * math/s_ctanh.c: Likewise.
91368 * math/s_ctanhf.c: Likewise.
91369 * math/s_ctanhl.c: Likewise.
91370 * math/s_ctanl.c: Likewise.
91371 * math/s_ldexp.c: Likewise.
91372 * math/s_ldexpf.c: Likewise.
91373 * math/s_ldexpl.c: Likewise.
91374 * math/s_significand.c: Likewise.
91375 * math/s_significandf.c: Likewise.
91376 * math/s_significandl.c: Likewise.
91377 * math/w_acos.c: Likewise.
91378 * math/w_acosf.c: Likewise.
91379 * math/w_acosh.c: Likewise.
91380 * math/w_acoshf.c: Likewise.
91381 * math/w_acoshl.c: Likewise.
91382 * math/w_acosl.c: Likewise.
91383 * math/w_asin.c: Likewise.
91384 * math/w_asinf.c: Likewise.
91385 * math/w_asinl.c: Likewise.
91386 * math/w_atan2.c: Likewise.
91387 * math/w_atan2f.c: Likewise.
91388 * math/w_atan2l.c: Likewise.
91389 * math/w_atanh.c: Likewise.
91390 * math/w_atanhf.c: Likewise.
91391 * math/w_atanhl.c: Likewise.
91392 * math/w_cosh.c: Likewise.
91393 * math/w_coshf.c: Likewise.
91394 * math/w_coshl.c: Likewise.
91395 * math/w_dremf.c: Likewise.
91396 * math/w_exp10.c: Likewise.
91397 * math/w_exp10f.c: Likewise.
91398 * math/w_exp10l.c: Likewise.
91399 * math/w_exp2.c: Likewise.
91400 * math/w_exp2f.c: Likewise.
91401 * math/w_fmod.c: Likewise.
91402 * math/w_fmodf.c: Likewise.
91403 * math/w_fmodl.c: Likewise.
91404 * math/w_hypot.c: Likewise.
91405 * math/w_hypotf.c: Likewise.
91406 * math/w_hypotl.c: Likewise.
91407 * math/w_j0.c: Likewise.
91408 * math/w_j0f.c: Likewise.
91409 * math/w_j0l.c: Likewise.
91410 * math/w_j1.c: Likewise.
91411 * math/w_j1f.c: Likewise.
91412 * math/w_j1l.c: Likewise.
91413 * math/w_jn.c: Likewise.
91414 * math/w_jnf.c: Likewise.
91415 * math/w_jnl.c: Likewise.
91416 * math/w_lgamma.c: Likewise.
91417 * math/w_lgamma_r.c: Likewise.
91418 * math/w_lgammaf.c: Likewise.
91419 * math/w_lgammaf_r.c: Likewise.
91420 * math/w_lgammal.c: Likewise.
91421 * math/w_lgammal_r.c: Likewise.
91422 * math/w_log.c: Likewise.
91423 * math/w_log10.c: Likewise.
91424 * math/w_log10f.c: Likewise.
91425 * math/w_log10l.c: Likewise.
91426 * math/w_log2.c: Likewise.
91427 * math/w_log2f.c: Likewise.
91428 * math/w_log2l.c: Likewise.
91429 * math/w_logf.c: Likewise.
91430 * math/w_logl.c: Likewise.
91431 * math/w_pow.c: Likewise.
91432 * math/w_powf.c: Likewise.
91433 * math/w_powl.c: Likewise.
91434 * math/w_remainder.c: Likewise.
91435 * math/w_remainderf.c: Likewise.
91436 * math/w_remainderl.c: Likewise.
91437 * math/w_scalb.c: Likewise.
91438 * math/w_scalbf.c: Likewise.
91439 * math/w_scalbl.c: Likewise.
91440 * math/w_sinh.c: Likewise.
91441 * math/w_sinhf.c: Likewise.
91442 * math/w_sinhl.c: Likewise.
91443 * math/w_sqrt.c: Likewise.
91444 * math/w_sqrtf.c: Likewise.
91445 * math/w_sqrtl.c: Likewise.
91446 * math/w_tgamma.c: Likewise.
91447 * math/w_tgammaf.c: Likewise.
91448 * math/w_tgammal.c: Likewise.
91449
91450 * po/ja.po: Update from translation team.
91451
91452 2011-09-29 Andreas Jaeger <aj@suse.de>
91453
91454 [BZ #13179]
91455 * sunrpc/netname.c (netname2host): Fix logic.
91456
91457 [BZ #6779]
91458 [BZ #6783]
91459 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
91460 correctly.
91461 * math/w_remainder.c (__remainder): Likewise.
91462 * math/w_remainderf.c (__remainderf): Likewise.
91463 * math/libm-test.inc (remainder_test): Add test cases.
91464
91465 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
91466
91467 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
91468 sdiv_qrnnd.
91469
91470 2011-10-07 Ulrich Drepper <drepper@gmail.com>
91471
91472 * string/test-memcmp.c: Avoid unncessary #defines.
91473 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
91474
91475 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91476
91477 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
91478 Use new sse2 version for core i3 - i7 as it's faster
91479 than sse42 version.
91480 (bit_Prefer_PMINUB_for_stringop): New.
91481 * sysdeps/x86_64/rawmemchr.S: Update.
91482 Replace with faster SSE2 version.
91483 * sysdeps/x86_64/memrchr.S: New file.
91484 * sysdeps/x86_64/memchr.S: Update.
91485 Replace with faster SSE2 version.
91486
91487 2011-09-12 Marek Polacek <mpolacek@redhat.com>
91488
91489 * elf/dl-load.c (lose): Add cast to avoid warning.
91490
91491 2011-10-07 Ulrich Drepper <drepper@gmail.com>
91492
91493 * po/ca.po: Update from translation team.
91494
91495 * inet/getnetgrent_r.c: Hook up nscd.
91496 * nscd/Makefile (routines): Add nscd_netgroup.
91497 (nscd-modules): Add netgroupcache.
91498 (CFLAGS-netgroupcache.c): Define.
91499 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
91500 (cache_search): Add const to second parameter.
91501 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
91502 INNETGR.
91503 (dbs): Add netgrdb entry.
91504 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
91505 (verify_persistent_db): Handle netgrdb.
91506 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
91507 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
91508 GETFDNETGR.
91509 (netgroup_response_header): Define.
91510 (innetgroup_response_header): Define.
91511 (datahead): Add netgroup_response_header and innetgroup_response_header
91512 elements.
91513 * nscd/nscd.conf: Add entries for netgroup cache.
91514 * nscd/nscd.h (dbtype): Add netgrdb.
91515 (_PATH_NSCD_NETGROUP_DB): Define.
91516 (netgroup_iov_disabled): Declare.
91517 (xmalloc, xcalloc, xrealloc): Move declarations here.
91518 (cache_search): Adjust prototype.
91519 Add netgroup-related prototypes.
91520 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
91521 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
91522 (__nscd_innetgr): Declare.
91523 * nscd/selinux.c (perms): Use access_vector_t as element type and
91524 add netgroup-related initializers.
91525 * nscd/netgroupcache.c: New file.
91526 * nscd/nscd_netgroup.c: New file.
91527 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
91528 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
91529 For four parameters use innetgr.
91530 * nss/nss_files/files-init.c: Add definition and callback for netgr.
91531 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
91532 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
91533 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
91534
91535 * nscd/connections.c (register_traced_file): Don't register file
91536 for disabled databases.
91537
91538 2011-10-06 Ulrich Drepper <drepper@gmail.com>
91539
91540 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
91541
91542 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
91543 from tree and freeing node.
91544
91545 2011-09-25 Jiri Olsa <jolsa@redhat.com>
91546
91547 * nss/nsswitch.c (__nss_database_lookup): Handle
91548 nss_parse_service_list out of memory case.
91549
91550 2011-09-15 Jiri Olsa <jolsa@redhat.com>
91551
91552 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
91553 out of memory case.
91554
91555 2011-10-04 Andreas Schwab <schwab@redhat.com>
91556
91557 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
91558 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
91559 pass it down.
91560 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
91561 elf_machine_rela, elf_machine_lazy_rel.
91562 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
91563 (ELF_DYNAMIC_DO_REL): Likewise.
91564 (ELF_DYNAMIC_DO_RELA): Likewise.
91565 (ELF_DYNAMIC_RELOCATE): Likewise.
91566 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
91567 to ELF_DYNAMIC_DO_REL.
91568 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
91569 (dl_main): In trace mode always set __RTLD_NOIFUNC.
91570 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
91571 elf_machine_rela.
91572 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
91573 skip_ifunc, don't call ifunc function if non-zero.
91574 (elf_machine_rela): Likewise.
91575 (elf_machine_lazy_rel): Likewise.
91576 (elf_machine_lazy_rela): Likewise.
91577 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
91578 (elf_machine_lazy_rel): Likewise.
91579 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
91580 Likewise.
91581 (elf_machine_lazy_rel): Likewise.
91582 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91583 Likewise.
91584 (elf_machine_lazy_rel): Likewise.
91585 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
91586 (elf_machine_lazy_rel): Likewise.
91587 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
91588 (elf_machine_lazy_rel): Likewise.
91589 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
91590 (elf_machine_lazy_rel): Likewise.
91591 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
91592 (elf_machine_lazy_rel): Likewise.
91593 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
91594 (elf_machine_lazy_rel): Likewise.
91595 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
91596 (elf_machine_lazy_rel): Likewise.
91597
91598 2011-09-28 Ulrich Drepper <drepper@gmail.com>
91599
91600 * nss/nss_files/files-init.c (_nss_files_init): Use static
91601 initialization for all the *_traced_file variables.
91602
91603 2011-09-28 Andreas Schwab <schwab@redhat.com>
91604
91605 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91606
91607 2011-09-27 Roland McGrath <roland@hack.frob.com>
91608
91609 [BZ #13226]
91610 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
91611
91612 2011-09-27 Andreas Schwab <schwab@redhat.com>
91613
91614 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
91615 Reread the line before reparsing it.
91616
91617 2011-09-26 Andreas Schwab <schwab@redhat.com>
91618
91619 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
91620
91621 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
91622 Maxim Kuvyrkov <maxim@codesourcery.com>
91623 Joseph Myers <joseph@codesourcery.com>
91624
91625 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
91626 if needed for __stack_chk_guard.
91627
91628 2011-09-19 Roland McGrath <roland@hack.frob.com>
91629
91630 * sysdeps/posix/spawni.c (script_execute): Always define it.
91631 It will be optimized away if unused.
91632 (maybe_script_execute): New function.
91633 (__spawni): Call it.
91634
91635 * Makerules: Don't include tls.make.
91636 (config-tls): Always set to thread.
91637 * tls.make.c: File removed.
91638
91639 2011-09-19 Mike Frysinger <vapier@gentoo.org>
91640
91641 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
91642 * config.make.in (CPPFLAGS-config): New substituted variable.
91643
91644 2011-09-15 Ulrich Drepper <drepper@gmail.com>
91645
91646 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
91647
91648 [BZ #13192]
91649 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
91650 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
91651
91652 2011-09-15 Roland McGrath <roland@hack.frob.com>
91653
91654 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
91655 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
91656 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
91657 (CALL_FAIL): Likewise.
91658 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
91659 (CALL_FAIL): Macro removed.
91660 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
91661
91662 2011-09-15 Ulrich Drepper <drepper@gmail.com>
91663
91664 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
91665 for __FINITE_MATH_ONLY__ == 1.
91666
91667 2011-09-15 Andreas Schwab <schwab@redhat.com>
91668
91669 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
91670 __ieee754_sqrt instead of sqrt.
91671 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
91672 __ieee754_sqrtf instead of sqrtf.
91673 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
91674 __floorf instead of floorf.
91675 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
91676 __floorf, __truncf instead of floorf, truncf.
91677
91678 2011-09-14 Ulrich Drepper <drepper@gmail.com>
91679
91680 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
91681
91682 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
91683 __extern_always_inline.
91684 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
91685 32-bit.
91686
91687 2011-09-14 Andreas Schwab <schwab@redhat.com>
91688
91689 * elf/rtld.c (dl_main): Also relocate in dependency order when
91690 doing symbol dependency testing.
91691
91692 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
91693
91694 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91695 Always define `refsym'.
91696
91697 2011-09-13 Andreas Schwab <schwab@redhat.com>
91698
91699 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
91700 (__FD_ELT): Renamed from __FDELT.
91701 * misc/bits/select2.h (__FD_ELT): Likewise.
91702 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
91703 __FD_MASK instead of __FDELT, __FDMASK.
91704 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
91705 Likewise.
91706 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
91707 Likewise.
91708
91709 * elf/Makefile (gen-ldd): Fix pattern.
91710
91711 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
91712 (init_tls): Likewise.
91713
91714 2011-09-12 Ulrich Drepper <drepper@gmail.com>
91715
91716 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
91717
91718 2011-09-12 Andreas Schwab <schwab@redhat.com>
91719
91720 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
91721 `struct cmsghdr *' instead of `void *'.
91722 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
91723 Likewise.
91724
91725 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
91726
91727 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
91728 if non-absolute.
91729 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
91730 ldd_rewrite_script.
91731
91732 2011-09-11 Ulrich Drepper <drepper@gmail.com>
91733
91734 * configure.in: Remove --with-tls option.
91735 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
91736 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
91737 out in case it is missing.
91738 * sysdeps/ia64/elf/configure.in: Likewise.
91739 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
91740 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
91741 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
91742 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
91743 * sysdeps/sh/elf/configure.in: Likewise.
91744 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
91745 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
91746 * sysdeps/x86_64/elf/configure.in: Likewise.
91747 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
91748 * sysdeps/mach/hurd/tls.h: Likewise.
91749
91750 [BZ #13067]
91751 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
91752
91753 [BZ #13090]
91754 * configure.in: Fix use of AC_INIT.
91755
91756 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
91757
91758 2011-09-10 Ulrich Drepper <drepper@gmail.com>
91759
91760 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
91761 __set_errno.
91762 * malloc/hooks.c: Likewise.
91763
91764 [BZ #11929]
91765 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
91766 variables statically.
91767 (narenas): Initialize.
91768 (list_lock): Initialize.
91769 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
91770 initializtion of main_arena and list_lock. Small cleanups.
91771 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
91772 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
91773 Add initializers to main_arena and mp_.
91774 (malloc_state): Remove pagesize member. Change all users to use
91775 GLRO(dl_pagesize).
91776
91777 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
91778 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
91779 is always initialized.
91780
91781 * malloc/malloc.c: Removed unused configurations and dead code.
91782 * malloc/arena.c: Likewise.
91783 * malloc/hooks.c: Likewise.
91784 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
91785
91786 * include/tls.h: Removed. USE___THREAD must always be defined.
91787 * bits/libc-tsd.h: Don't handle !USE___THREAD.
91788 * elf/dl-libc.c: Likewise.
91789 * elf/dl-tsd.c: Likewise.
91790 * include/errno.h: Likewise.
91791 * include/netdb.h: Likewise.
91792 * include/resolv.h: Likewise.
91793 * inet/herrno-loc.c: Likewise.
91794 * inet/herrno.c: Likewise.
91795 * malloc/arena.c: Likewise.
91796 * malloc/hooks.c: Likewise.
91797 * malloc/malloc.c: Likewise.
91798 * resolv/res-state.c: Likewise.
91799 * resolv/res_libc.c: Likewise.
91800 * sysdeps/i386/dl-machine.h: Likewise.
91801 * sysdeps/ia64/dl-machine.h: Likewise.
91802 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
91803 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
91804 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
91805 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
91806 * sysdeps/sh/dl-machine.h: Likewise.
91807 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
91808 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
91809 * sysdeps/unix/i386/sysdep.S: Likewise.
91810 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
91811 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
91812 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
91813 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
91814 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
91815 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
91816 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
91817 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
91818 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
91819 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
91820 * sysdeps/unix/x86_64/sysdep.S: Likewise.
91821 * sysdeps/x86_64/dl-machine.h: Likewise.
91822 * tls.make.c: Likewise.
91823
91824 * configure.in: Remove --with-__thread option. Make tests for
91825 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
91826 tls_model attribute fail if no support is available. Remove
91827 USE_IN_LIBIO.
91828 * Makeconfig: Adjust for dropped configure option. All features are
91829 now mandatory.
91830 * Makerules: Likewise.
91831 * Versions.def: Likewise.
91832 * argp/argp-fmtstream.c: Likewise.
91833 * argp/argp-fmtstream.h: Likewise.
91834 * argp/argp-help.c: Likewise.
91835 * assert/assert.c: Likewise.
91836 * config.h.in: Likewise.
91837 * config.make.in: Likewise.
91838 * configure: Likewise.
91839 * configure.in: Likewise.
91840 * csu/Versions: Likewise.
91841 * csu/init.c: Likewise.
91842 * elf/tst-audit2.c: Likewise.
91843 * elf/tst-tls10.c: Likewise.
91844 * elf/tst-tls10.h: Likewise.
91845 * elf/tst-tls11.c: Likewise.
91846 * elf/tst-tls12.c: Likewise.
91847 * elf/tst-tls14.c: Likewise.
91848 * elf/tst-tlsmod11.c: Likewise.
91849 * elf/tst-tlsmod12.c: Likewise.
91850 * elf/tst-tlsmod13.c: Likewise.
91851 * elf/tst-tlsmod13a.c: Likewise.
91852 * elf/tst-tlsmod14a.c: Likewise.
91853 * elf/tst-tlsmod15b.c: Likewise.
91854 * elf/tst-tlsmod16a.c: Likewise.
91855 * elf/tst-tlsmod16b.c: Likewise.
91856 * elf/tst-tlsmod7.c: Likewise.
91857 * elf/tst-tlsmod8.c: Likewise.
91858 * elf/tst-tlsmod9.c: Likewise.
91859 * gmon/gmon.c: Likewise.
91860 * grp/fgetgrent_r.c: Likewise.
91861 * grp/putgrent.c: Likewise.
91862 * hurd/fopenport.c: Likewise.
91863 * include/libc-symbols.h: Likewise.
91864 * include/tls.h: Likewise.
91865 * intl/gettextP.h: Likewise.
91866 * intl/loadinfo.h: Likewise.
91867 * locale/global-locale.c: Likewise.
91868 * locale/localeinfo.h: Likewise.
91869 * mach/devstream.c: Likewise.
91870 * malloc/arena.c: Likewise.
91871 * malloc/set-freeres.c: Likewise.
91872 * misc/err.c: Likewise.
91873 * misc/getttyent.c: Likewise.
91874 * misc/mntent_r.c: Likewise.
91875 * posix/getopt.c: Likewise.
91876 * posix/wordexp.c: Likewise.
91877 * pwd/fgetpwent_r.c: Likewise.
91878 * resolv/Versions: Likewise.
91879 * resolv/res_hconf.c: Likewise.
91880 * shadow/fgetspent_r.c: Likewise.
91881 * shadow/putspent.c: Likewise.
91882 * stdio-common/printf_fphex.c: Likewise.
91883 * stdio-common/tmpfile.c: Likewise.
91884 * stdlib/abort.c: Likewise.
91885 * stdlib/fmtmsg.c: Likewise.
91886 * sunrpc/auth_unix.c: Likewise.
91887 * sunrpc/clnt_perr.c: Likewise.
91888 * sunrpc/clnt_tcp.c: Likewise.
91889 * sunrpc/clnt_udp.c: Likewise.
91890 * sunrpc/clnt_unix.c: Likewise.
91891 * sunrpc/openchild.c: Likewise.
91892 * sunrpc/svc_simple.c: Likewise.
91893 * sunrpc/svc_tcp.c: Likewise.
91894 * sunrpc/svc_udp.c: Likewise.
91895 * sunrpc/svc_unix.c: Likewise.
91896 * sunrpc/xdr.c: Likewise.
91897 * sunrpc/xdr_array.c: Likewise.
91898 * sunrpc/xdr_rec.c: Likewise.
91899 * sunrpc/xdr_ref.c: Likewise.
91900 * sunrpc/xdr_stdio.c: Likewise.
91901
91902 2011-09-09 Ulrich Drepper <drepper@gmail.com>
91903
91904 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91905
91906 2011-07-03 Andreas Jaeger <aj@suse.de>
91907
91908 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
91909 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
91910 regenerate with gen-libm-tests.pl.
91911
91912 2010-05-12 Petr Baudis <pasky@suse.cz>
91913
91914 [BZ #11589]
91915 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
91916 around j0() zero points by switching to j1().
91917 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
91918 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
91919 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
91920 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
91921
91922 2011-09-09 Ulrich Drepper <drepper@gmail.com>
91923
91924 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
91925 instead of 0.
91926 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
91927 instead of 0.
91928 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
91929 Patch in part by Pavel Roskin <proski@gnu.org>.
91930
91931 [BZ #13138]
91932 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
91933 realloc.
91934 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
91935 Free memory block if necessary.
91936
91937 [BZ #12847]
91938 * libio/genops.c (INTDEF): For string streams the _lock pointer can
91939 be NULL. Don't lock in this case.
91940
91941 2011-09-09 Roland McGrath <roland@hack.frob.com>
91942
91943 * elf/elf.h (ELFOSABI_GNU): New macro.
91944 (ELFOSABI_LINUX): Define to that.
91945
91946 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
91947
91948 * string/strncat.c (strncat): Undef the symbol in case it has been
91949 defined in bits/string.h.
91950
91951 2011-09-09 Ulrich Drepper <drepper@gmail.com>
91952
91953 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
91954
91955 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
91956 link map.
91957
91958 2011-08-17 Andreas Jaeger <aj@suse.de>
91959
91960 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
91961
91962 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
91963 Ian Lance Taylor <iant@google.com>
91964
91965 * math/libm-test.inc (lround_test): New testcase.
91966 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
91967
91968 2011-09-08 Ulrich Drepper <drepper@gmail.com>
91969
91970 * Makefile: Remove support for automatic cvs check-ins.
91971 * Makerules: Likewise.
91972 * config.make.in: Likewise.
91973 * configure.in: Likewise.
91974 * intl/Makefile: Likewise.
91975 * locale/Makefile: Likewise.
91976 * po/Makefile: Likewise.
91977 * posix/Makefile: Likewise.
91978 * sysdeps/gnu/Makefile: Likewise.
91979 * sysdeps/mach/hurd/Makefile: Likewise.
91980 * sysdeps/sparc/sparc32/Makefile: Likewise.
91981
91982 [BZ #13118]
91983 * posix/Makefile (bug-regex32-ENV): Define.
91984 Patch by John Stanley <jpsinthemix@verizon.net>.
91985
91986 * misc/Makefile (headers): Add bits/select2.h.
91987 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
91988 * misc/bits/select2.h: New file.
91989 * include/bits/select2.h: New file.
91990 * debug/Makefile (routines): Add fdelt_chk.
91991 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
91992 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
91993 FD_ISSET.
91994 * debug/fdelt_chk.c: New file.
91995
91996 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
91997 * wcsmbs/test-wmemcmp.c: Likewise.
91998 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
91999 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
92000
92001 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92002
92003 * string/Makefile (strop-tests): Add memcmp.
92004 * string/test-wmemcmp.c: New file.
92005 * string/test-memcmp.c: Add wmemcmp support.
92006
92007 2011-09-08 Roland McGrath <roland@hack.frob.com>
92008
92009 [BZ #13153]
92010 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
92011 2011-07-19 change.
92012
92013 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
92014 garbage value in a __mach_port_mod_refs call in the cases of the
92015 task-self and thread-self ports.
92016
92017 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
92018
92019 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
92020
92021 2011-09-08 Andreas Schwab <schwab@redhat.com>
92022
92023 * elf/dl-load.c (lose): Check for non-null L.
92024
92025 2011-09-07 Ulrich Drepper <drepper@gmail.com>
92026
92027 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
92028
92029 * elf/dl-libc.c (dlerror_run): Pass back error code from
92030 dl_catch_error.
92031
92032 [BZ #13123]
92033 * elf/dl-load.c (lose): Free l_origin if it is valid.
92034
92035 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
92036 names.
92037 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
92038 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92039 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92040 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92041 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
92042 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
92043
92044 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92045
92046 * sysdeps/powerpc/fpu/e_hypot.c: New file.
92047 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
92048 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
92049 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
92050 * sysdeps/powerpc/fpu/k_cosf.c: New file.
92051 * sysdeps/powerpc/fpu/k_sinf.c: New file.
92052 * sysdeps/powerpc/fpu/s_cosf.c: New file.
92053 * sysdeps/powerpc/fpu/s_sinf.c: New file.
92054 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
92055 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
92056
92057 2011-08-15 Alan Modra <amodra@gmail.com>
92058
92059 [BZ #13092]
92060 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
92061 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
92062 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
92063 ppc_mcount to static-only-routines.
92064 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
92065 __mcount_internal.
92066 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
92067 __mcount_internal with usual JUMPTARGET. Remove useless nop.
92068
92069 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
92070
92071 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
92072 for finite and infinity parameters.
92073
92074 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
92075
92076 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
92077 and add nop instructions for throughput optimization.
92078 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
92079
92080 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
92081
92082 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
92083 aligned copy for power7 with vector-scalar instructions.
92084 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
92085
92086 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
92087
92088 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
92089 AVX check.
92090
92091 2011-09-07 Andreas Schwab <schwab@redhat.com>
92092
92093 [BZ #13144]
92094 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
92095 last change.
92096
92097 2011-09-07 Ulrich Drepper <drepper@gmail.com>
92098
92099 * sysdeps/unix/sysv/linux/x86_64/init-first.c
92100 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
92101 syscall wrapper around clock_gettime in __vdso_clock_gettime.
92102 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
92103 clock_gettime.
92104
92105 2011-09-06 Ulrich Drepper <drepper@gmail.com>
92106
92107 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
92108 Forgot to demangle the pointer.
92109
92110 * sysdeps/i386/sysdep.h: Define atom_text_section.
92111 * sysdeps/x86_64/sysdep.h: Likewise.
92112 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
92113 section with atom_text_section.
92114 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92115 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92116 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
92117 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92118 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
92119
92120 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
92121 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
92122 already be defined. Change to take two parameters and don't assign
92123 result to variable. Adjust all users.
92124 Define INTERNAL_GETTIME if not already defined.
92125 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
92126 call.
92127 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
92128 HAVE_CLOCK_GETTIME_VSYSCALL.
92129 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
92130
92131 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
92132 gettimeofday vsyscall, just use time.
92133
92134 2011-09-06 Andreas Schwab <schwab@redhat.com>
92135
92136 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
92137 <errno.h>.
92138
92139 2011-09-06 Ulrich Drepper <drepper@gmail.com>
92140
92141 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
92142 syscall on x86-64.
92143 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
92144 syscall.
92145 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
92146 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
92147 syscall if possible.
92148
92149 2011-09-05 Ulrich Drepper <drepper@gmail.com>
92150
92151 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
92152 e_ident. Don't pass to find_mapsXX.
92153 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
92154
92155 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92156
92157 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92158 strchr-sse2-no-bsf strrchr-sse2-no-bsf
92159 * sysdeps/x86_64/multiarch/strchr.S: Update.
92160 Check bit_slow_BSF bit.
92161 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
92162 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
92163 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
92164
92165 2011-09-05 Ulrich Drepper <drepper@gmail.com>
92166
92167 [BZ #13134]
92168 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
92169 before glibc 2.15.
92170 (tryshell): Define.
92171 (__spawni): Change last parameter to be flag. Test
92172 SPAWN_XFLAGS_USE_PATH flag to use path or not.
92173 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
92174 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
92175 * posix/spawni.c: Likewise.
92176 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
92177 * posix/spawnp.c: Likewise. Change normal version to use
92178 SPAWN_XFLAGS_USE_PATH.
92179 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
92180 SPAWN_XFLAGS_TRY_SHELL.
92181
92182 [BZ #13150]
92183 * posix/glob.h: Remove gcc 1.x support.
92184
92185 [BZ #13068]
92186 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
92187
92188 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92189
92190 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92191 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
92192 strrchr-sse2-bsf
92193 * sysdeps/i386/i686/multiarch/strchr.S: New file.
92194 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
92195 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
92196 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
92197 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
92198 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
92199
92200 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92201
92202 * sysdeps/x86_64/wcscmp.S: New file.
92203
92204 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
92205 wcscmp-c wcscmp-sse2
92206 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
92207 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
92208 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
92209 * wcsmbs/wcscmp.c: Allow renaming.
92210
92211 2011-09-05 David S. Miller <davem@davemloft.net>
92212
92213 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
92214 stack slot, rather than the struct return pointer slot.
92215 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
92216 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
92217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
92218 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
92219
92220 2011-09-05 Ulrich Drepper <drepper@gmail.com>
92221
92222 * po/ja.po: Update from translation team.
92223
92224 [BZ #13144]
92225 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
92226 kernel in 64-bit binaries.
92227
92228 2011-09-01 David S. Miller <davem@davemloft.net>
92229
92230 * elf/elf.h (HWCAP_SPARC_*): Move to..
92231 * sysdeps/sparc/sysdep.h: this new file and add new values.
92232 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
92233 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
92234 _DL_HWCAP_COUNT to 24.
92235 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
92236 entries.
92237 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
92238 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
92239 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
92240 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
92241 instead of magic constants.
92242 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
92243
92244 2011-08-31 David S. Miller <davem@davemloft.net>
92245
92246 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
92247 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
92248 Reimplement to do errno handling inline.
92249 (SYSCALL_ERROR_HANDLER): New macro.
92250 (__SYSCALL_STRING): Do not do errno handling in asm.
92251 (__CLONE_SYSCALL_STRING): Delete.
92252 (__INTERNAL_SYSCALL_STRING): Delete.
92253 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
92254 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
92255 (PSEUDO): Reimplement to do errno handling inline.
92256 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
92257 (SYSCALL_ERROR_HANDLER): New macro.
92258 (__SYSCALL_STRING): Do not do errno handling in asm.
92259 (__CLONE_SYSCALL_STRING): Delete.
92260 (__INTERNAL_SYSCALL_STRING): Delete.
92261 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
92262 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
92263 i386.
92264 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
92265 (inline_syscall*): Add 'err' argument.
92266 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
92267 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
92268 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
92269 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
92270
92271 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
92272 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
92273
92274 2011-08-30 Andreas Schwab <schwab@redhat.com>
92275
92276 * elf/rtld.c (dl_main): Relocate objects in dependency order.
92277
92278 2011-08-29 Jiri Olsa <jolsa@redhat.com>
92279
92280 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
92281 directive.
92282
92283 2011-08-24 David S. Miller <davem@davemloft.net>
92284
92285 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
92286
92287 2011-08-24 Andreas Schwab <schwab@redhat.com>
92288
92289 * elf/Makefile: Add rules to build and run unload8 test.
92290 * elf/unload8.c: New file.
92291 * elf/unload8mod1.c: New file.
92292 * elf/unload8mod1x.c: New file.
92293 * elf/unload8mod2.c: New file.
92294 * elf/unload8mod3.c: New file.
92295
92296 * elf/dl-close.c (_dl_close_worker): Reset private search list if
92297 it wasn't used.
92298
92299 2011-08-23 David S. Miller <davem@davemloft.net>
92300
92301 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
92302 subtract stack bias.
92303 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
92304 %sp not %fp in calculations.
92305 (_JMPBUF_UNWINDS_ADJ): Likewise.
92306
92307 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
92308 (aio_suspend): Call it to force an exception region around the
92309 AIO_MISC_WAIT() invocation.
92310
92311 2011-08-23 Andreas Schwab <schwab@redhat.com>
92312
92313 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
92314 backslash.
92315
92316 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
92317
92318 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
92319 protection macro.
92320 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
92321 and <dl-machine.h>.
92322 (Elf64_FuncDesc): Remove.
92323
92324 2011-08-22 David S. Miller <davem@davemloft.net>
92325
92326 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
92327 sigaltstack check, add missing cfi directives.
92328 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
92329 missing cfi directives, and sigaltstack handling.
92330
92331 2011-08-16 Andreas Schwab <schwab@redhat.com>
92332
92333 [BZ #11724]
92334 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
92335 object is seen twice.
92336 * elf/dl-fini.c (_dl_sort_fini): Likewise.
92337
92338 * elf/Makefile (distribute): Add tst-initorder2.c.
92339 (tests): Add tst-initorder2.
92340 (modules-names): Add tst-initorder2a tst-initorder2b
92341 tst-initorder2c tst-initorder2d. Add rules to build them.
92342 ($(objpfx)tst-initorder2.out): New rule.
92343 * elf/tst-initorder2.c: New file.
92344 * elf/tst-initorder2.exp: New file.
92345
92346 2011-08-22 Andreas Schwab <schwab@redhat.com>
92347
92348 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
92349
92350 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
92351 dependencies back to end of function.
92352
92353 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
92354 $(elfobjdir)/ld.so.
92355
92356 2011-08-21 Ulrich Drepper <drepper@gmail.com>
92357
92358 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
92359 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
92360 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
92361 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
92362 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
92363 of __vdso_gettimeofday.
92364 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
92365 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
92366 attribute_hidden.
92367 (_libc_vdso_platform_setup): Remove initialization of
92368 __vdso_gettimeofday and __vdso_time.
92369
92370 2011-08-20 Ulrich Drepper <drepper@gmail.com>
92371
92372 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
92373 and fgetc_unlocked.
92374 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
92375 getc_unlocked.
92376
92377 * elf/dl-open.c (add_to_global): Report additions to the global scope
92378 for LD_DEBUG=scopes.
92379 (dl_open_worker): Also print scope of newly loaded dependencies.
92380 (_dl_show_scope): Indicate if there is no scope.
92381
92382 [BZ #13114]
92383 * stdio-common/Makefile (tests): Add bug24.
92384 * stdio-common/bug24.c: New file.
92385
92386 2011-08-19 Andreas Jaeger <aj@suse.de>
92387
92388 [BZ #13114]
92389 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
92390 non-existant file when using close-on-exec mode.
92391
92392 2011-08-20 Ulrich Drepper <drepper@gmail.com>
92393
92394 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
92395 the very first instruction.
92396
92397 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
92398 the CFI state in the end.
92399 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
92400 inclusion of dl-trampoline.h.
92401 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
92402
92403 2011-08-19 Andreas Schwab <schwab@redhat.com>
92404
92405 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
92406 expectations for long double.
92407
92408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
92409 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
92410
92411 2011-08-14 David S. Miller <davem@davemloft.net>
92412
92413 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
92414 artificual limit depends upon the system page size.
92415
92416 2011-08-17 Ulrich Drepper <drepper@gmail.com>
92417
92418 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
92419 * resolv/Makefile: Define CFLAGS-libresolv.
92420
92421 2011-08-17 Andreas Schwab <schwab@redhat.com>
92422
92423 * nss/makedb.c (compute_tables): Make variables used in nested
92424 function static.
92425
92426 2011-08-17 Ulrich Drepper <drepper@gmail.com>
92427
92428 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
92429 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
92430 if buffer was too small.
92431
92432 * elf/pldd.c (main): Attach to all threads in the process.
92433 Rewrite /proc handling to use *at functions.
92434
92435 2011-08-16 Ulrich Drepper <drepper@gmail.com>
92436
92437 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
92438 specifies first scope to show.
92439 (dl_open_worker): Update callers. Move printing scope of new
92440 object to before the relocation.
92441 * elf/rtld.c (dl_main): Update _dl_show_scope call.
92442 * sysdeps/generic/ldsodefs.h: Update declaration.
92443
92444 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
92445 string for the scope number.
92446
92447 2011-08-14 Ulrich Drepper <drepper@gmail.com>
92448
92449 * nscd/servicescache.c (cache_addserv): Make sure written is always
92450 initialized.
92451
92452 2011-08-14 Roland McGrath <roland@hack.frob.com>
92453
92454 * sysdeps/i386/i486/bits/atomic.h
92455 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
92456 statement expression, so as to suppress "set but not used" warning.
92457 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
92458
92459 * string/strncat.c (STRNCAT): Use prototype definition.
92460
92461 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
92462 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
92463 -Iprograms here.
92464 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
92465 (localedef-modules): Add localedef.
92466 (locale-modules): Add locale.
92467
92468 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
92469 * elf/rtld.c (dl_main): Invert order of assignment in last change,
92470 to avoid a warning.
92471
92472 2011-08-14 David S. Miller <davem@davemloft.net>
92473
92474 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
92475 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
92476
92477 2011-08-13 Ulrich Drepper <drepper@gmail.com>
92478
92479 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
92480 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
92481 * elf/rtld.c (dl_main): Set l_name of vDSO.
92482 Call _dl_show_scope when DL_DEBUG_SCOPES.
92483 (process_dl_debug): Recognize scopes flag and also set it for all.
92484 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
92485 Declare _dl_show_scope.
92486
92487 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
92488 (do_dlopen): Pass caller_dlopen to dl_open.
92489 (__libc_dlopen_mode): Initialize caller_dlopen.
92490
92491 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
92492 of libc. Make tolower call locale-independent. Optimize a bit by
92493 using isdigit instead of isalnum.
92494 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
92495
92496 2011-08-12 Ulrich Drepper <drepper@gmail.com>
92497
92498 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
92499 was a dependency or dynamically loaded.
92500
92501 2011-08-11 Ulrich Drepper <drepper@gmail.com>
92502
92503 * intl/l10nflist.c: Allow architecture-specific pop function.
92504 * sysdeps/x86_64/l10nflist.c: New file.
92505
92506 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
92507 classification.
92508
92509 2011-08-10 Andreas Schwab <schwab@redhat.com>
92510
92511 * include/dirent.h: Add libc_hidden_proto for scandirat and
92512 scandirat64. Don't declare __scandirat64.
92513 * dirent/scandirat.c: Add libc_hidden_def.
92514 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
92515 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
92516
92517 2011-08-10 David S. Miller <davem@davemloft.net>
92518
92519 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
92520 enum.
92521 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92522 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92523 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92524
92525 2011-08-09 Ulrich Drepper <drepper@gmail.com>
92526
92527 * Versions.def [libc]: Add GLIBC_2.15.
92528 * dirent/Makefile (routines): Add scandirat and scandirat64.
92529 * dirent/Versions [libc]: Export scandirat and scandirat64 for
92530 GLIBC_2.15.
92531 * dirent/dirent.h: Declare scandirat and scandirat64.
92532 * dirent/scandirat.c: New file.
92533 * dirent/scandirat64.c: New file.
92534 * sysdeps/wordsize-64/scandirat.c: New file.
92535 * sysdeps/wordsize-64/scandirat64.c: New file.
92536 * dirent/opendir.c: Define opendirat.
92537 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
92538 using scandirat.
92539 * dirent/scandir64.c: Adjust for scandir.c change.
92540 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
92541 __scandirat64, and __scandir_cancel_handler.
92542 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
92543 additional parameter and use openat instead of open (outside of ld.so).
92544 Add new __opendir as wrapper around __opendirat.
92545 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
92546 here without requiring old scandirat implementation.
92547
92548 2011-08-08 Ulrich Drepper <drepper@gmail.com>
92549
92550 * dirent/scandir.c (cancel_handler): Renamed to
92551 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
92552 defined. Adjust users.
92553 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
92554 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
92555
92556 2011-08-04 Ulrich Drepper <drepper@gmail.com>
92557
92558 * string/test-string.h (IMPL): Use __STRING to expand name and then
92559 stringify it.
92560
92561 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
92562 of cleanups.
92563
92564 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92565
92566 * string/Makefile: Update.
92567 (strop-tests): Append strncat.
92568 * string/test-wcscmp.c: New file.
92569 New comprehensive test for wcscmp.
92570 * string/test-strcmp.c: Update.
92571 (WIDE): New define.
92572
92573 2011-07-22 Andreas Schwab <schwab@redhat.com>
92574
92575 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
92576 line.
92577
92578 2011-07-26 Andreas Schwab <schwab@redhat.com>
92579
92580 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
92581 encoding to ACE if AI_IDN.
92582
92583 2011-08-01 Jakub Jelinek <jakub@redhat.com>
92584
92585 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
92586 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
92587
92588 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92589
92590 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
92591 Fix overflow bug in strncat.
92592 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
92593
92594 * string/test-strncat.c: Update.
92595 Add new tests for checking overflow bugs.
92596
92597 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92598
92599 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92600 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
92601 * sysdeps/i386/i686/multiarch/strcat.S: New file.
92602 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
92603 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
92604 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
92605 * sysdeps/i386/i686/multiarch/strncat.S: New file.
92606 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
92607 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
92608
92609 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
92610 (USE_AS_STRCAT): Define.
92611 Add strcat and strncat support.
92612 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92613
92614 2011-07-25 Andreas Schwab <schwab@redhat.com>
92615
92616 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
92617 __n bigger than INT_MAX+1.
92618 (__strncmp_g): Likewise.
92619
92620 2011-07-23 Ulrich Drepper <drepper@gmail.com>
92621
92622 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
92623 * libio/stido.h: Likewise.
92624
92625 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
92626 (AF_NFC): Define.
92627 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
92628 (AF_NFC): Define.
92629
92630 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
92631 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92632 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92633 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
92634 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92635
92636 [BZ #13021]
92637 * scripts/test-installation.pl: Don't expect libnss_test1 to be
92638 installed.
92639
92640 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
92641 typo.
92642 (_dl_x86_64_save_sse): Likewise.
92643
92644 2011-07-22 Ulrich Drepper <drepper@gmail.com>
92645
92646 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
92647 OSXSAVE.
92648 (_dl_x86_64_save_sse): Likewise.
92649
92650 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
92651
92652 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
92653
92654 2011-07-21 Andreas Schwab <schwab@redhat.com>
92655
92656 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
92657 change.
92658 (_dl_x86_64_save_sse): Use correct AVX check.
92659
92660 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92661
92662 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
92663 bug in strncpy/strncat.
92664 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
92665
92666 2011-07-21 Ulrich Drepper <drepper@gmail.com>
92667
92668 * string/tester.c (test_strcat): Add tests for different alignments
92669 of source and destination.
92670 (test_strncat): Likewise.
92671
92672 2011-07-20 Ulrich Drepper <drepper@gmail.com>
92673
92674 [BZ #12852]
92675 * posix/glob.c (glob): Check passed in values before using them in
92676 expressions to avoid some overflows.
92677 (glob_in_dir): Likewise.
92678
92679 [BZ #13007]
92680 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
92681 check for AVX enablement so that we don't crash with old kernels and
92682 new hardware.
92683 * elf/tst-audit4.c: Add same checks here.
92684 * elf/tst-audit6.c: Likewise.
92685
92686 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
92687
92688 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
92689
92690 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
92691
92692 2011-07-20 Ulrich Drepper <drepper@gmail.com>
92693
92694 * po/cs.po: Update from translation team.
92695 * po/bg.po: Likewise.
92696
92697 2011-07-12 Marek Polacek <mpolacek@redhat.com>
92698
92699 * misc/sys/cdefs.h: Add support for const attribute.
92700 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
92701 to gnu_dev_{major,minor,makedev} functions.
92702
92703 2011-07-20 Marek Polacek <mpolacek@redhat.com>
92704
92705 * intl/dcigettext.c (get_output_charset): Add missing bracket.
92706
92707 2011-07-20 Andreas Schwab <schwab@redhat.com>
92708
92709 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
92710 strlen results.
92711
92712 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
92713
92714 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
92715 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
92716 register in order to avoid conflicts with the soft frame pointer
92717 being held in r11 when necessary.
92718 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
92719 (INTERNAL_VSYSCALL_NCS): Likewise.
92720
92721 2011-07-14 Marek Polacek <mpolacek@redhat.com>
92722
92723 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
92724 * elf/dl-fini.c (_dl_fini): Adjust caller.
92725 * elf/dl-close.c (_dl_close_worker): Likewise.
92726 * sysdeps/generic/ldsodefs.h: Adjust declaration.
92727
92728 2011-07-15 Marek Polacek <mpolacek@redhat.com>
92729
92730 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
92731 "aux_cache->nlibs < 0".
92732
92733 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
92734 in the reload-count case.
92735
92736 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92737
92738 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92739 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
92740 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
92741 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
92742 * sysdeps/x86_64/multiarch/strcat.S: New file.
92743 * sysdeps/x86_64/multiarch/strncat.S: New file.
92744 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
92745 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
92746 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
92747 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
92748 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
92749 (USE_AS_STRCAT): Define.
92750 Add strcat and strncat support.
92751 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92752 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
92753 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
92754 * string/strncat.c: Update.
92755 (USE_AS_STRNCAT): Define.
92756 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92757 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
92758 and i7.
92759 * sysdeps/x86_64/multiarch/init-arch.h
92760 (bit_Prefer_PMINUB_for_stringop): New.
92761 (index_Prefer_PMINUB_for_stringop): Likewise.
92762 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
92763 bit_Prefer_PMINUB_for_stringop.
92764
92765 2011-07-19 Ulrich Drepper <drepper@gmail.com>
92766
92767 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
92768 buffer64.
92769 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
92770 of casting of buffer.
92771 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
92772 buffer32 and buffer64.
92773 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
92774 writes instead of casting of buffer.
92775 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
92776 buffer32.
92777 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
92778 casting of buffer.
92779
92780 2011-07-19 Andreas Schwab <schwab@redhat.com>
92781
92782 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
92783
92784 2011-07-19 Ulrich Drepper <drepper@gmail.com>
92785
92786 * nscd/nscd.c (termination_handler): Don't do anything for a database
92787 if it has not yet been initialized.
92788
92789 2011-07-18 Ulrich Drepper <drepper@gmail.com>
92790
92791 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
92792
92793 2011-07-15 Marek Polacek <mpolacek@redhat.com>
92794
92795 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
92796
92797 2011-07-18 Ulrich Drepper <drepper@gmail.com>
92798
92799 * po/nl.po: Update from translation team.
92800 * po/sv.po: Likewise.
92801
92802 2011-07-16 Roland McGrath <roland@hack.frob.com>
92803
92804 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
92805 now disallowed by GCC.
92806
92807 * configure.in (use-default-link): Default to yes if a test -shared
92808 link meets our qualifications.
92809 * configure: Regenerated.
92810
92811 * config.make.in (output-format): New variable.
92812 * configure.in: Check for ld --print-output-format support.
92813 * configure: Regenerated.
92814 * Makerules ($(common-objpfx)format.lds)
92815 [$(output-format) != unknown]: Just use $(output-format),
92816 instead of the linker-script munging.
92817
92818 2011-07-14 Roland McGrath <roland@hack.frob.com>
92819
92820 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
92821 of $(common-objpfx)shlib.lds.
92822 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
92823
92824 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
92825 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
92826
92827 * configure.in (-z relro check): Adjust test code to add a large
92828 writable data section after it.
92829 * configure: Regenerated.
92830
92831 2011-07-11 Roland McGrath <roland@hack.frob.com>
92832
92833 * configure.in (-z relro check): Fix test code to make the variable
92834 truly const.
92835 * configure: Regenerated.
92836
92837 2011-07-11 Ulrich Drepper <drepper@gmail.com>
92838
92839 * nscd/nscd.h (struct traced_file): Define.
92840 (struct database_dyn): Remove inotify_descr, reset_res, and filename
92841 elements. Add traced_files.
92842 (inotify_fd): Declare.
92843 (register_traced_file): Declare.
92844 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
92845 (inotify_fd): Export.
92846 (resolv_conf_descr): Remove.
92847 (nscd_init): Move inotify descriptor creation to main.
92848 Don't register files for notification here.
92849 (register_traced_file): New function.
92850 (invalidate_cache): Don't use reset_res to determine whether to call
92851 res_init, go through the list of registered files.
92852 (main_loop_poll): The inotify descriptors are now stored in the
92853 structures for the traced files.
92854 (main_loop_epoll): Likewise.
92855 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
92856 to __nss_disable_nscd.
92857 * nscd/cache.c (prune_cache): There is no single inotify descriptor
92858 for a database anymore. Check the records for all the registered
92859 files instead.
92860 * nss/Makefile (libnss_files-routines): Add files-init.
92861 (libnss_db-routines): Add db-init.
92862 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
92863 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
92864 * nss/nss_db/db-init.c: New file.
92865 * nss/nss_files/files-init.c: New file.
92866 * nss/nsswitch.c (nss_load_library): New function. Broken out of
92867 __nss_lookup_function.
92868 (__nss_lookup_function): Call nss_load_library.
92869 (nss_load_all_libraries): New function.
92870 (__nss_disable_nscd): Take parameter with callback function for files
92871 to register. Set is_nscd. Load all the DSOs for the NSS modules
92872 used for the cached services.
92873 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
92874 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
92875 options for features to all the files in nscd.
92876
92877 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
92878
92879 2011-07-10 Roland McGrath <roland@hack.frob.com>
92880
92881 * csu/elf-init.c (__libc_csu_init): Comment typo.
92882
92883 2011-07-09 Ulrich Drepper <drepper@gmail.com>
92884
92885 * po/pl.po: Update from translation team.
92886 * po/ja.po: Likewise.
92887 * po/ru.po: Likewise.
92888 * po/ko.po: Likewise.
92889 * po/fr.po: Likewise.
92890
92891 2011-07-09 Roland McGrath <roland@hack.frob.com>
92892
92893 * configure.in (.ctors/.dtors header and trailer check):
92894 Use an empirical test on a built program.
92895 * configure: Regenerated.
92896
92897 * configure.in (-z relro check): Use an empirical test on a built DSO.
92898 Detect, but do not require, on ia64.
92899 * configure: Regenerated.
92900
92901 * configure.in (READELF): Find it with AC_CHECK_TOOL.
92902 Update tests that use readelf to use $READELF instead.
92903 * configure: Regenerated.
92904
92905 2011-07-08 Ulrich Drepper <drepper@gmail.com>
92906
92907 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
92908 if the result is not used.
92909
92910 2011-07-05 Andreas Jaeger <aj@suse.de>
92911
92912 [BZ #9696]
92913 * stdlib/tst-strtod.c: Add testcase.
92914
92915 2011-07-07 Ulrich Drepper <drepper@gmail.com>
92916
92917 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
92918 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
92919 The latter has a higher limit. Take additional parameter to pass to
92920 the new function.
92921 (__pathconf): Pass file to __statfs_link_max.
92922 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
92923 __statfs_link_max.
92924 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
92925 __statfs_link_max.
92926
92927 [BZ #12868]
92928 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
92929 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
92930 Handle Lustre.
92931 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
92932 (__statfs_filesize_max): Likewise.
92933 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
92934
92935 2011-07-05 Andreas Jaeger <aj@suse.de>
92936
92937 * resolv/res_comp.c (dn_skipname): Remove unused variable.
92938
92939 2011-07-06 Marek Polacek <mpolacek@redhat.com>
92940
92941 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
92942 `status' variable.
92943 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
92944 Likewise.
92945
92946 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
92947
92948 * Makefile (strop-tests): Add strncat.
92949 * string/test-strncat.c: New file.
92950
92951 2011-06-30 Marek Polacek <mpolacek@redhat.com>
92952
92953 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
92954
92955 2011-06-21 Andreas Jaeger <aj@suse.de>
92956
92957 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
92958 Copy rule from iconvdata/Makefile.
92959
92960 2011-07-06 Ulrich Drepper <drepper@gmail.com>
92961
92962 [BZ #12922]
92963 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
92964 but no long options are defined, just return 'W'.
92965
92966 2011-06-22 Marek Polacek <mpolacek@redhat.com>
92967
92968 [BZ #9696]
92969 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
92970
92971 2011-07-06 Ulrich Drepper <drepper@gmail.com>
92972
92973 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
92974 netgroups to read.
92975 (innetgr): Likewise.
92976
92977 2011-07-05 Roland McGrath <roland@hack.frob.com>
92978
92979 * config.make.in (install_root): Default to $(DESTDIR).
92980
92981 2011-07-05 Ulrich Drepper <drepper@gmail.com>
92982
92983 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
92984
92985 2011-07-02 Roland McGrath <roland@hack.frob.com>
92986
92987 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
92988
92989 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
92990 containing directory rather than embedding absolute directory names.
92991
92992 * scripts/check-local-headers.sh: Rewritten using awk.
92993 Match by word, not by line. Print error messages for matches.
92994 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
92995
92996 * Makerules [shlib-lds-flags empty]:
92997 ($(common-objpfx)libc_pic.opts): New target.
92998 ($(common-objpfx)libc_pic.os.clean): New target.
92999 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
93000
93001 * config.make.in (OBJCOPY): New variable.
93002 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
93003 * configure: Regenerated.
93004
93005 * config.make.in (use-default-link): New variable.
93006 * configure.in (use_default_link): Grok --with-default-link to set it.
93007 * configure: Regenerated.
93008 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
93009 (shlib-lds, shlib-lds-flags): Define to empty.
93010
93011 * Makerules (shlib-lds): New variable.
93012 (shlib-lds-flags): New variable.
93013 (build-shlib, build-moduile, build-module-asneeded): Use it.
93014 ($(common-objpfx)libc.so): Use $(shlib-lds).
93015 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
93016 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
93017
93018 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
93019 DT_FLAGS/DT_FLAGS_1 with zero flags.
93020
93021 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
93022 linker script munging.
93023
93024 2011-07-02 Ulrich Drepper <drepper@gmail.com>
93025
93026 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
93027 as 128-bit value.
93028 * crypt/sha512.c (sha512_process_block): Perform total addition using
93029 128-bit if possible.
93030 (__sha512_finish_ctx): Likewise.
93031 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
93032 as 64-bit value.
93033 * crypt/sha256.c (SWAP64): Define.
93034 (sha256_process_block): Perform total addition using 64-bit if
93035 possible.
93036 (__sha256_finish_ctx): Likewise.
93037
93038 2011-07-01 Ulrich Drepper <drepper@gmail.com>
93039
93040 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
93041 * nscd/initgrcache.c (addinitgroupsX): Likewise.
93042 * nscd/hstcache.c (cache_addhst): Likewise.
93043 * nscd/grpcache.c (cache_addgr): Likewise.
93044 * nscd/aicache.c (addhstaiX): Likewise.
93045 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
93046
93047 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
93048
93049 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
93050 * nscd/initgrcache.c (addinitgroupsX): Likewise.
93051 * nscd/hstcache.c (cache_addhst): Likewise.
93052 * nscd/grpcache.c (cache_addgr): Likewise.
93053 * nscd/aicache.c (addhstaiX): Likewise.
93054
93055 2011-07-01 Andreas Schwab <schwab@redhat.com>
93056
93057 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
93058 domain only when needed.
93059
93060 2011-06-30 Andreas Schwab <schwab@redhat.com>
93061
93062 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
93063 is always restored.
93064
93065 2011-06-29 Ulrich Drepper <drepper@gmail.com>
93066
93067 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
93068 are re-adding the entry.
93069 * nscd/servicescache.c (cache_addserv): Likewise.
93070
93071 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
93072
93073 * sysdeps/generic/dl-irel.h: fix protection against multiple
93074 inclusions.
93075 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
93076
93077 2011-06-28 Ulrich Drepper <drepper@gmail.com>
93078
93079 [BZ #12935]
93080 * malloc/memusage.sh: Fix quoting in message.
93081 * debug/xtrace.sh: Likewise.
93082
93083 * configure.in: Remove support for --experimental-malloc option, make
93084 it the default.
93085 * config.make.in: Likewise.
93086 * malloc/Makefile: Likewise.
93087
93088 2011-06-27 Andreas Schwab <schwab@redhat.com>
93089
93090 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
93091 two-byte characters.
93092
93093 2011-06-27 Roland McGrath <roland@hack.frob.com>
93094
93095 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
93096 AC_CACHE_CHECK invocation.
93097 * configure: Regenerated.
93098
93099 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
93100
93101 2011-06-27 Ulrich Drepper <drepper@gmail.com>
93102
93103 [BZ #12350]
93104 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
93105 bit from old_res_options.
93106
93107 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
93108
93109 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
93110 value type for setfct.
93111
93112 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
93113
93114 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93115 __gettimeofday instead of gettimeofday.
93116
93117 2011-06-26 Ulrich Drepper <drepper@gmail.com>
93118
93119 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
93120
93121 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
93122
93123 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
93124
93125 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
93126 info.
93127
93128 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
93129
93130 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93131 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93132 strcpy-sse2-unaligned strncpy-sse2-unaligned
93133 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
93134 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
93135 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
93136 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
93137 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
93138 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
93139 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
93140 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
93141 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
93142 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
93143 (STRCPY): Support SSE2 and SSSE3 versions.
93144
93145 2011-06-24 Ulrich Drepper <drepper@gmail.com>
93146
93147 [BZ #12874]
93148 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
93149 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
93150 kernels which artificially limit size of requests.
93151
93152 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
93153
93154 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93155 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93156 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
93157 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
93158 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
93159 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
93160 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
93161 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
93162 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
93163 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
93164 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
93165 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
93166 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
93167 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
93168 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
93169 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93170 Enable unaligned load optimization for Intel Core i3, i5 and i7
93171 processors.
93172 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
93173 Define.
93174 (index_Fast_Unaligned_Load): Define.
93175 (HAS_FAST_UNALIGNED_LOAD): Define.
93176
93177 2011-06-23 Marek Polacek <mpolacek@redhat.com>
93178
93179 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
93180
93181 2011-06-22 Ulrich Drepper <drepper@gmail.com>
93182
93183 [BZ #12907]
93184 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
93185 until it is clear that the information is realy needed.
93186 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
93187
93188 2011-06-22 Andreas Schwab <schwab@redhat.com>
93189
93190 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
93191
93192 2011-06-22 Ulrich Drepper <drepper@gmail.com>
93193
93194 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93195 /sys/devices/system/cpu/online if it is usable.
93196
93197 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
93198 reading the information from the /proc filesystem to once a second.
93199
93200 2011-06-21 Andreas Jaeger <aj@suse.de>
93201
93202 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
93203 NULL after inclusion of kernel headers.
93204
93205 2011-06-21 Ulrich Drepper <drepper@gmail.com>
93206
93207 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
93208 calls to internal_setent.
93209
93210 [BZ #12885]
93211 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
93212 addresses using gethostbyname4_r ignore IPv4 addresses.
93213
93214 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
93215 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
93216
93217 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
93218
93219 2011-06-20 David S. Miller <davem@davemloft.net>
93220
93221 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
93222 inclusions.
93223 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
93224
93225 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
93226 (elf_irel): Use it.
93227 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
93228 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
93229 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
93230 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
93231 * sysdeps/x86_64/dl-irel.h: Likewise.
93232
93233 * elf/dl-runtime.c: Use elf_ifunc_invoke.
93234 * elf/dl-sym.c: Likewise.
93235
93236 2011-06-15 Ulrich Drepper <drepper@gmail.com>
93237
93238 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
93239 need to dereference resplen2.
93240
93241 2011-06-14 Andreas Schwab <schwab@redhat.com>
93242
93243 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
93244
93245 2011-06-15 Ulrich Drepper <drepper@gmail.com>
93246
93247 * Makeconfig: Define vardbdir and inst_vardbdir.
93248 * nss/Makefile: Add rules to install db-Makefile.
93249
93250 * nss/nss_db/db-XXX.c: Cleanup.
93251
93252 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
93253 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
93254 GLIBC_PRIVATE.
93255 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
93256 * nss/makedb.c: Implement -g option to specify that value strings
93257 are generated and should not be added to table iterated over for
93258 get*ent calls.
93259 * nss/nss_db/db-initgroups.c: New file.
93260
93261 * nss/getent.c: Add support for initgroups lookups through getgrouplist
93262 interface.
93263
93264 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
93265 (internal_getgrouplist): Adjust to name change.
93266 Update use_initgroups_entry if this is not the first call.
93267 * nss/databases.def: Add initgroups entry.
93268
93269 * nss/makedb.c (compute_tables): Check result of multiple hash table
93270 sizes to minimize maximum chain length.
93271
93272 2011-06-14 Ulrich Drepper <drepper@gmail.com>
93273
93274 * Versions.def: Add entry for libnss_db.
93275 * shlib-versions: Likewise.
93276 * nss/Makefile: Add rules to build libnss_db.
93277 * nss/Versions: Add libnss_db information. Organize libnss_files
93278 entries better.
93279 * nss/db-Makefile: Add gshadow support. Change rules for the new
93280 makedb progra. Some minor improvements to generate smaller files.
93281 * nss/nss_db/nss_db.h: Move NSS database header data structures to
93282 here from...
93283 * nss/makedb.c: ...here.
93284 Improve database format to be smaller and require less memory at
93285 runtime.
93286 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
93287 db anymore.
93288 * nss/nss_db/db-netgrp.c: Likewise.
93289 * nss/nss_db/db-open.c: Likewise.
93290 * nss/nss_files/flies-XXX.x: Adjust comments.
93291 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
93292 * nss/nss_files/files-grp.c: Likewise.
93293 * nss/nss_files/files-hosts.c: Likewise.
93294 * nss/nss_files/files-network.c: Likewise.
93295 * nss/nss_files/files-proto.c: Likewise.
93296 * nss/nss_files/files-pwd.c: Likewise.
93297 * nss/nss_files/files-rpc.c: Likewise.
93298 * nss/nss_files/files-service.c: Likewise.
93299 * nss/nss_files/files-sgrp.c: Likewise.
93300 * nss/nss_files/files-spwd.c: Likewise.
93301 * nss/nss_db/db-alias.c: Removed.
93302 * nss/nss_db/dummy-db.h: Removed.
93303
93304 2011-06-02 Ulrich Drepper <drepper@gmail.com>
93305
93306 * nss/makedb.c: Rewritten to not use database library.
93307 * nss/Makefile: Update to build new makedb program.
93308
93309 2011-06-14 Andreas Jaeger <aj@suse.de>
93310
93311 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
93312 memset declaration.
93313
93314 2011-06-10 Andreas Schwab <schwab@redhat.com>
93315
93316 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
93317 tmpbuf.
93318
93319 2011-06-10 Roland McGrath <roland@hack.frob.com>
93320
93321 * Makerules (shlib.lds): Fail if the linker script comes out empty.
93322 * elf/Makefile ($(objpfx)ld.so): Likewise.
93323
93324 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
93325 Don't list ld.so twice in dependencies.
93326
93327 * posix/bug-regex31.c: Include <stdlib.h>.
93328
93329 * nscd/hstcache.c (cache_addhst): Remove unused variable.
93330
93331 * nis/nss_compat/compat-spwd.c
93332 (getspent_next_nss_netgr): Remove unused variable.
93333 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
93334
93335 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
93336 nonmembers" output to use the right array.
93337
93338 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
93339
93340 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
93341
93342 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
93343 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
93344 * catgets/gencat.c (read_input_file): Likewise.
93345 * locale/programs/locarchive.c (enlarge_archive): Likewise.
93346
93347 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
93348 variable definition inside #if's controlling its use.
93349
93350 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
93351
93352 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
93353
93354 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
93355
93356 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
93357 unreachable code.
93358
93359 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
93360
93361 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
93362 * configure: Regenerated.
93363
93364 * Makerules: Revert last change.
93365 * elf/Makefile: Likewise.
93366
93367 2011-06-09 Roland McGrath <roland@hack.frob.com>
93368
93369 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
93370 * elf/Makefile ($(objpfx)librtld.os): Likewise.
93371 (reloc-link): Likewise.
93372
93373 2011-06-09 Ulrich Drepper <drepper@gmail.com>
93374
93375 * elf/Makefile: Add rules to build pldd.
93376 * elf/pldd.c: New file.
93377 * elf/pldd-xx.c: New file.
93378
93379 2011-06-07 Ulrich Drepper <drepper@gmail.com>
93380
93381 * version.h: Update for 2.15 development version.
93382
93383 2011-06-07 David S. Miller <davem@davemloft.net>
93384
93385 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
93386 ifuncs.
93387 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
93388 elf_machine_lazy_rel): Likewise.
93389 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
93390 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
93391 elf_machine_lazy_rel): Likewise.
93392 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
93393 dl_hwcap via passed in argument.
93394 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
93395 Likewise.
93396
93397 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
93398
93399 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
93400
93401 2011-06-06 Roland McGrath <roland@hack.frob.com>
93402
93403 [BZ #12849]
93404 * manual/fdl-1.1.texi: New file, verbatim from:
93405 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
93406 * manual/lgpl-2.1.texi: New file, verbatim from:
93407 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
93408 * manual/Makefile (licenses): New variable, list those new file names.
93409 (texis): Use it.
93410 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
93411
93412 * manual/fdl.texi: File removed.
93413 * manual/lesser.texi: File removed.
93414 * manual/libc.texinfo (Copying, Documentation License):
93415 Use new @include file names, put @appendix directive before @include.
93416
93417 2011-06-04 Jakub Jelinek <jakub@redhat.com>
93418
93419 [BZ #12841]
93420 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
93421 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
93422 (mq_open): Add __NTH.
93423
93424 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
93425
93426 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93427 Assume Intel Core i3/i5/i7 processor if AVX is available.
93428
93429 2011-05-31 Ulrich Drepper <drepper@gmail.com>
93430
93431 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
93432 typo.
93433
93434 2011-05-31 Andreas Schwab <schwab@redhat.com>
93435
93436 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
93437 memory. Use alloca_account. Fix memory leak when retrying.
93438
93439 2011-05-31 Ulrich Drepper <drepper@gmail.com>
93440
93441 * version.h (RELEASE): Bump for 2.14 release.
93442 * include/features.h (__GLIBC_MINOR__): Bump to 14.
93443
93444 * config.make.in (RANLIB): Remove entry.
93445
93446 2011-05-30 Ulrich Drepper <drepper@gmail.com>
93447
93448 * po/Makefile (po-sed-cmd): Add ksh to extensions.
93449 (libc.pot): Work around missing support for .ksh extension in xgettext.
93450
93451 [BZ #12684]
93452 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
93453 if both request failed.
93454 (send_dg): In case of server errors clear resplen or *resplen2.
93455
93456 [BZ #12454]
93457 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
93458 when there are multiple maps.
93459 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
93460 (_dl_fini): Remove test here.
93461
93462 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
93463
93464 2011-05-29 Ulrich Drepper <drepper@gmail.com>
93465
93466 [BZ #12350]
93467 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
93468 bit from old_res_options.
93469 (gaih_inet): Likewise.
93470
93471 [BZ #11099]
93472 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
93473 as signed.
93474
93475 * resolv/res_init.c (res_setoptions): Make the code more compact.
93476
93477 [BZ #11558]
93478 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
93479 set RES_USEVC.
93480
93481 [BZ #11634]
93482 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
93483
93484 * malloc/malloc.h: Mark malloc hook variables as deprecated.
93485
93486 [BZ #11781]
93487 * malloc/malloc.h: Declare malloc hook variables as volatile.
93488
93489 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
93490 in last patch.
93491
93492 [BZ #11799]
93493 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
93494 raise in the comment.
93495 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
93496 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
93497 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
93498
93499 2011-05-28 Ulrich Drepper <drepper@gmail.com>
93500
93501 [BZ #12811]
93502 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
93503 grow the buffers more if it already has to be sufficient.
93504 (build_wcs_upper_buffer): Likewise.
93505 * posix/regexec.c (check_matching): Likewise.
93506 (clean_state_log_if_needed): Likewise.
93507 (extend_buffers): Don't enlarge buffers beyond size of the input
93508 buffer.
93509 Patches mostly by Emil Wojak <emil@wojak.eu>.
93510 * posix/bug-regex32.c: New file.
93511 * posix/Makefile (tests): Add bug-regex32.
93512
93513 * locale/findlocale.c (_nl_find_locale): Return right away if
93514 _nl_explode_name failed.
93515 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
93516
93517 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
93518
93519 * debug/xtrace.sh: Unify messages.
93520 * malloc/memusage.sh: Likewise.
93521
93522 [BZ #12813]
93523 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
93524 time symbol from vDSO. Substitute with vsyscall if not available.
93525 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
93526 __vdso_time.
93527
93528 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
93529 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
93530 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
93531 Add sendmmsg and internal_sendmmsg.
93532 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
93533 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
93534 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
93535
93536 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
93537 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
93538 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
93539
93540 2011-05-27 Ulrich Drepper <drepper@gmail.com>
93541
93542 [BZ #12813]
93543 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
93544 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
93545 available.
93546 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
93547 __vdso_getcpu.
93548
93549 [BZ #12814]
93550 * iconvdata/Makefile (tests): Add bug-iconv9.
93551 * iconvdata/bug-iconv9.c: New file.
93552
93553 2011-05-27 Andreas Schwab <schwab@redhat.com>
93554
93555 [BZ #12814]
93556 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
93557
93558 2011-05-25 Jakub Jelinek <jakub@redhat.com>
93559
93560 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93561 (struct user_regs_struct): Change intcs field back to cs.
93562
93563 2011-05-25 Ulrich Drepper <drepper@gmail.com>
93564
93565 * po/ja.po: Update from translation team.
93566
93567 2011-05-23 Ulrich Drepper <drepper@gmail.com>
93568
93569 [BZ #12795]
93570 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
93571 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
93572
93573 2011-05-20 Andreas Schwab <schwab@redhat.com>
93574
93575 * stdlib/longlong.h: Update from GCC.
93576
93577 2011-05-23 Andreas Schwab <schwab@redhat.com>
93578
93579 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
93580 parameter name.
93581 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
93582 Add parameter name.
93583 (__sysconf): Pass it down.
93584
93585 2011-05-22 Ulrich Drepper <drepper@gmail.com>
93586
93587 [BZ #12671]
93588 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
93589 some situations.
93590 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
93591 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
93592 add in in __libc_use_alloca calls. Adjust callers.
93593 (glob): Use malloc in some situations.
93594
93595 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
93596 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
93597 pltexit.
93598
93599 2011-05-21 Ulrich Drepper <drepper@gmail.com>
93600
93601 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
93602 and CLOCK_BOOTTIME_ALARM.
93603
93604 [BZ #12782]
93605 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
93606 is returned.
93607
93608 * string/_strerror.c (__strerror_r): Print negative errors as signed
93609 numbers.
93610
93611 [BZ #12777]
93612 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
93613 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
93614 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
93615
93616 * configure.in: Fix typo in redirection and correct removal of test
93617 files in two cases.
93618
93619 [BZ #12788]
93620 * locale/setlocale.c (new_composite_name): Fix test to check for
93621 identical name of all categories.
93622
93623 [BZ #12792]
93624 * libio/filedoalloc.c (local_isatty): New function.
93625 (_IO_file_doallocate): Use local_isatty.
93626 * stdio-common/perror.c (perror): In case a new stream is used
93627 forward the stream error.
93628 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
93629 error flag.
93630
93631 2011-05-20 Ulrich Drepper <drepper@gmail.com>
93632
93633 [BZ #11884]
93634 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
93635 alloca.
93636 * include/alloca.h (extend_alloca_account): Define.
93637
93638 [BZ #11857]
93639 * posix/regex.h: Fix comments with documentation of user-accessible
93640 fields after compilation and describe correct free'ing of pattern
93641 after re_compile_pattern.
93642 Patch by Reuben Thomas <rrt@sc3d.org>.
93643
93644 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
93645
93646 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
93647 and -mno-altivec to prevent the compiler from using Altivec and/or
93648 VSX instructions when the corresponding registers are not available.
93649
93650 2011-05-19 Andreas Schwab <schwab@redhat.com>
93651
93652 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
93653
93654 2011-05-19 Ulrich Drepper <drepper@gmail.com>
93655
93656 * libio/freopen.c (freopen): Use __dup2, not dup2.
93657 * libio/freopen64.c (freopen64): Likewise.
93658
93659 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
93660
93661 [BZ #12775]
93662 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
93663 * math/Makefile (tests): Add test-powl.
93664 (CFLAGS-test-powl.c): Define.
93665 * math/test-powl.c: New file.
93666
93667 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
93668
93669 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
93670
93671 2011-05-17 Ulrich Drepper <drepper@gmail.com>
93672
93673 [BZ #11837]
93674 * iconvdata/gb18030.c: Update to GB18020-2005.
93675
93676 2011-05-16 Ulrich Drepper <drepper@gmail.com>
93677
93678 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
93679 RE_SYNTAX_POSIX_AWK): Update to match recent development.
93680 Patch by Aharon Robbins <arnold@skeeve.com>.
93681
93682 [BZ #11892]
93683 * stdlib/putenv.c (putenv): Don't always create copy of the variable
93684 on the stack.
93685
93686 [BZ #11895]
93687 * misc/pselect.c (__pselect): Handle timeout value errors hidden
93688 through underflows.
93689
93690 [BZ #12766]
93691 * misc/error.c (error_at_line): Ensure file_name and old_file_name
93692 point to strings before performing equality test for error_one_per_line
93693 mode.
93694
93695 [BZ #11697]
93696 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
93697
93698 [BZ #11820]
93699 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93700 (struct user_fpregs_struct): Avoid __uint*_t types.
93701
93702 [BZ #6420]
93703 * malloc/mtrace.c (tr_where): Add additional parameter to point to
93704 symbol info. Use it instead of calling _dl_addr locally.
93705 (lock_and_info): New function.
93706 (tr_freehook): Call lock_and_info and pass symbol info as additional
93707 parameter to tr_where.
93708 (tr_mallochook): Likewise.
93709 (tr_reallochook): Likewise.
93710 (tr_memalignhook): Likewise.
93711
93712 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
93713 used and couldn't be at all thread-safe.
93714
93715 2011-05-15 Ulrich Drepper <drepper@gmail.com>
93716
93717 * libio/freopen.c (freopen): Don't close old file descriptor
93718 before the new one is opened. Instead dup the new file descriptor
93719 to the old one after the new stream is created.
93720 * libio/freopen64.c (freopen64): Likewise.
93721 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
93722 * libio/fileops.c (_IO_new_file_close_it): Handle new
93723 _IO_FLAGS2_NOCLOSE flag.
93724 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
93725 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
93726 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
93727 _IO_FLAGS2_NOCLOSE flag.
93728 * include/unistd.h: Add hidden_proto for dup3.
93729 Define __have_dup3.
93730 * io/dup3.c: Define hidden symbol.
93731 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
93732
93733 [BZ #7101]
93734 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
93735 when an incomplete long option is used.
93736 * posix/tst-getopt_long1.c: New file.
93737 * posix/Makefile (tests): Add tst-getopt_long1.
93738
93739 [BZ #10138]
93740 * scripts/config.guess: Update from autoconf-2.68.
93741 * scripts/config.sub: Likewise.
93742
93743 [BZ #10157]
93744 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
93745 tests into ...
93746 (has_cpuclock): ...this. New function.
93747 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
93748 macro here based on has_cpuclock code.
93749
93750 [BZ #10149]
93751 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
93752 First byte (not low byte) is now always NUL.
93753 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
93754
93755 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
93756 Use non-cancelable interfaces.
93757
93758 [BZ #9809]
93759 * locale/iso-639.def: Add entry for Sorani.
93760
93761 [BZ #11901]
93762 * include/stdlib.h: Move include protection to the right place.
93763 Define abort_msg_s. Declare __abort_msg with it.
93764 * stdlib/abort.c (__abort_msg): Adjust type.
93765 * assert/assert.c (__assert_fail_base): New function. Majority
93766 of code from __assert_fail. Allocate memory for __abort_msg with
93767 mmap.
93768 (__assert_fail): Now call __assert_fail_base.
93769 * assert/assert-perr.c: Remove bulk of implementation. Use
93770 __assert_fail_base.
93771 * include/assert.hL Declare __assert_fail_base.
93772 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
93773 mmap.
93774 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
93775
93776 2011-05-14 Ulrich Drepper <drepper@gmail.com>
93777
93778 [BZ #11952]
93779 [BZ #12453]
93780 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
93781 until all modules are registered in the DTV.
93782 * elf/Makefile: Add rules to build and run tst-tls19.
93783 * elf/tst-tls19.c: New file.
93784 * elf/tst-tls19mod1.c: New file.
93785 * elf/tst-tls19mod2.c: New file.
93786 * elf/tst-tls19mod3.c: New file.
93787 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
93788
93789 [BZ #12083]
93790 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
93791 correctly.
93792
93793 [BZ #12601]
93794 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
93795 two-byte sequence errors.
93796 * iconvdata/Makefile (tests): Add bug-iconv8.
93797 * iconvdata/bug-iconv8.c: New file.
93798
93799 [BZ #12626]
93800 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
93801 buf2 definition.
93802
93803 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
93804
93805 [BZ #12432]
93806 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
93807 (dummy_getcfa): New function.
93808 (init): Get _Unwind_GetCFA address, use dummy if not found.
93809 (backtrace_helper): In recursion check, also check whether CFA changes.
93810 (__backtrace): Completely initialize arg.
93811
93812 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
93813 storing incomplete byte sequence in state object. Avoid testing for
93814 guaranteed too small input if we know there is enough data available.
93815
93816 2011-05-11 Andreas Schwab <schwab@redhat.com>
93817
93818 * Makeconfig (+link-pie): Indent.
93819 * Rules (binaries-pie): Define if $(have-fpie) and
93820 $(build-shared).
93821 (binaries-shared): Also filter out $(binaries-pie).
93822 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
93823 * nscd/Makefile (others-pie): Add nscd.
93824 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
93825 ($(objpfx)nscd): Remove command override.
93826 * login/Makefile (others-pie): Add pt_chown.
93827 ($(objpfx)pt_chown): Remove command override.
93828 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
93829 remove command overrides.
93830
93831 2011-05-13 Ulrich Drepper <drepper@gmail.com>
93832
93833 * libio/tst_putwc.c: Fix error messages.
93834
93835 [BZ #12724]
93836 * libio/fileops.c (_IO_new_file_close_it): Always flush when
93837 currently writing and seek to current position when not.
93838 * libio/Makefile (tests): Add bug-fclose1.
93839 * libio/bug-fclose1.c: New file.
93840
93841 2011-05-12 Ulrich Drepper <drepper@gmail.com>
93842
93843 [BZ #12511]
93844 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
93845 don't set DF_1_NODELETE here.
93846 (do_lookup_x): When entering new entry test for copy relocation
93847 and if necessary set DF_1_NODELETE flag.
93848 * elf/tst-unique4.cc: New file.
93849 * elf/tst-unique4.h: New file.
93850 * elf/tst-unique4lib.cc: New file.
93851 * elf/Makefile: Add rules to build and run tst-unique4.
93852 Patch by Piotr Bury <pbury@goahead.com>.
93853
93854 2011-05-11 Ulrich Drepper <drepper@gmail.com>
93855
93856 [BZ #12052]
93857 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
93858
93859 [BZ #12625]
93860 * misc/mntent_r.c (addmntent): Flush the stream after the output
93861
93862 [BZ #12393]
93863 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
93864 (is_trusted_path_normalize): Skip initial colon. Append slash
93865 to empty buffer. Duplicate is_trusted_path code but allow
93866 constructed patch to be prefix.
93867 (is_dst): Allow $ORIGIN followed by /.
93868 (_dl_dst_substitute): Correct clearing of check_for_trusted.
93869 Correct testing of result of is_trusted_path_normalize
93870 (decompose_rpath): Fix warning.
93871
93872 2011-05-10 Ulrich Drepper <drepper@gmail.com>
93873
93874 [BZ #11257]
93875 * grp/initgroups.c (internal_getgrouplist): When we found the service
93876 list through the initgroups entry in nsswitch.conf do not always
93877 continue on a successful lookup. Don't always use the
93878 __nss_group_database value if it is set.
93879 * nss/nsswitch.conf (initgroups): Change action for successful db
93880 lookup to continue for compatibility.
93881
93882 2011-05-09 Ulrich Drepper <drepper@gmail.com>
93883
93884 [BZ #11532]
93885 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
93886 and CP774 modules.
93887 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
93888 and CP774 modules.
93889 * iconvdata/tst-tables.sh: Likewise.
93890 * iconvdata/cp770.c: New file.
93891 * iconvdata/cp771.c: New file.
93892 * iconvdata/cp772.c: New file.
93893 * iconvdata/cp773.c: New file.
93894 * iconvdata/cp774.c: New file.
93895 * iconvdata/testdata/CP770: New file.
93896 * iconvdata/testdata/CP770..UTF8: New file.
93897 * iconvdata/testdata/CP771: New file.
93898 * iconvdata/testdata/CP771..UTF8: New file.
93899 * iconvdata/testdata/CP772: New file.
93900 * iconvdata/testdata/CP772..UTF8: New file.
93901 * iconvdata/testdata/CP773: New file.
93902 * iconvdata/testdata/CP773..UTF8: New file.
93903 * iconvdata/testdata/CP774: New file.
93904 * iconvdata/testdata/CP774..UTF8: New file.
93905
93906 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
93907 END CHARMAP line.
93908 * iconvdata/gen-8bit-gap.sh: Likewise.
93909 * iconvdata/gen-8bit.sh: Likewise.
93910
93911 * locale/iso-639.def: Add ary entry.
93912
93913 [BZ #11258]
93914 * locale/C-translit.h.in: Add U20A1 transliteration.
93915
93916 [BZ #12178]
93917 * locale/iso-639.def: Add wae entry.
93918 Patch by Kevin Bortis <bortis@translate-wae.ch>.
93919
93920 [BZ #12545]
93921 * locale/programs/localedef.c (construct_output_path): Use ssize_t
93922 for n.
93923
93924 [BZ #12711]
93925 * locale/C-translit.h.in: Add entry for U20B9.
93926 Patch by pravin.d.s@gmail.com.
93927
93928 2011-05-08 Ulrich Drepper <drepper@gmail.com>
93929
93930 [BZ #12713]
93931 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
93932 ENAMETOOLONG use generic getcwd.
93933 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
93934 in rtld. Use *stat64.
93935 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
93936 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
93937 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
93938 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
93939 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
93940 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
93941 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
93942 __fstatat64 macros.
93943 * include/dirent.h: Add libc_hidden_proto for rewinddir.
93944 * dirent/rewinddir.c: Add libc_hidden_def.
93945 * sysdeps/mach/hurd/rewinddir.c: Likewise.
93946 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
93947
93948 * include/dirent.h (__alloc_dir): Add flags parameter.
93949 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
93950 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
93951 __alloc_dir.
93952 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
93953 from fdopendir if O_CLOEXEC is already set.
93954
93955 2011-03-15 Alan Modra <amodra@gmail.com>
93956
93957 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
93958 l_tls_firstbyte_offset non-zero. Save padding offset in
93959 l_tls_firstbyte_offset for later use.
93960 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
93961 freeing static tls block.
93962
93963 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
93964
93965 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
93966 where #ifdef was intended. The intent is to prevent ARG_MAX from
93967 being defined by the kernel headers.
93968
93969 2011-05-07 Ulrich Drepper <drepper@gmail.com>
93970
93971 [BZ #12734]
93972 * resolv/resolv.h: Define RES_NOTLDQUERY.
93973 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
93974 no-tld-query and set RES_NOTLDQUERY.
93975 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
93976 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
93977 modern BIND to search name as TLD unless forbidden.
93978
93979 2011-05-07 Petr Baudis <pasky@suse.cz>
93980 Ulrich Drepper <drepper@gmail.com>
93981
93982 [BZ #12393]
93983 * elf/dl-load.c (fillin_rpath): Move trusted path check...
93984 (is_trusted_path): ...to here.
93985 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
93986 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
93987 using is_trusted_path_normalize() in setuid scripts.
93988
93989 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
93990
93991 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
93992 __BEGIN/__END_DECLS.
93993
93994 2011-05-06 Ulrich Drepper <drepper@gmail.com>
93995
93996 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
93997 NSS_STATUS_NOTFOUND if no record was found.
93998
93999 2011-05-05 Andreas Schwab <schwab@redhat.com>
94000
94001 * sunrpc/Makefile (headers): Add rpc/netdb.h.
94002 (headers-not-in-tirpc): Remove rpc/netdb.h
94003 * resolv/netdb.h: Revert last change.
94004
94005 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
94006
94007 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
94008 circular dependency between libgcc.a and libc.a.
94009
94010 2011-05-05 Andreas Schwab <schwab@redhat.com>
94011
94012 * resolv/netdb.h: Don't include <rpc/netdb.h>.
94013 * nis/Makefile: Don't install rpcsvc/*.
94014 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
94015 instead of <rpc/types.h>.
94016 (MAXHOSTNAMELEN): Define.
94017
94018 2011-05-03 Andreas Schwab <schwab@redhat.com>
94019
94020 * elf/ldconfig.c (add_dir): Don't crash on empty path.
94021
94022 2011-04-28 Maciej Babinski <mbabinski@google.com>
94023
94024 [BZ #12714]
94025 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
94026 gethostbyname4_r when IPv6 results are possible.
94027
94028 2011-05-02 Ulrich Drepper <drepper@gmail.com>
94029
94030 [BZ #12723]
94031 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
94032 _PC_PIPE_BUF handling.
94033
94034 2011-04-30 Bruno Haible <bruno@clisp.org>
94035
94036 [BZ #12717]
94037 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
94038 * resolv/netdb.h (getnameinfo): Change type of flags parameter
94039 to 'int'.
94040 * inet/getnameinfo.c (getnameinfo): Likewise.
94041
94042 2011-04-29 Ulrich Drepper <drepper@gmail.com>
94043
94044 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
94045 to groups setting in database lookup.
94046 * nss/nsswitch.conf: Add initgroups entry.
94047
94048 2011-04-22 Ulrich Drepper <drepper@gmail.com>
94049
94050 [BZ #12685]
94051 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
94052 mode string.
94053 Patch by Eric Blake <eblake@redhat.com>.
94054
94055 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
94056
94057 * sunrpc/Makefile (need-export-routines): Add svc_run.
94058 (routines): Remove svc_run.
94059 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
94060 * sunrpc/clnt_perr.c (clnt_perrno): Export.
94061 * sunrpc/svc_run.c (svc_run): Likewise.
94062 * sunrpc/svc_udp.c (svcudp_create): Likewise.
94063
94064 2011-04-21 Ulrich Drepper <drepper@gmail.com>
94065
94066 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
94067 problem in reallocation in last patch.
94068
94069 2011-04-20 Ulrich Drepper <drepper@gmail.com>
94070
94071 * sunrpc/Makefile: Move inclusion of Rules.
94072
94073 2011-04-19 Ulrich Drepper <drepper@gmail.com>
94074
94075 * nss/nss_files/files-initgroups.c: New file.
94076 * nss/Makefile (libnss_files-routines): Add files-initgroups.
94077 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
94078 _nss_files_initgroups_dyn.
94079
94080 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
94081
94082 * elf/elf.h (R_ARM_IRELATIVE): Define.
94083
94084 2011-04-19 Ulrich Drepper <drepper@gmail.com>
94085
94086 * po/ru.po: Update from translation team.
94087
94088 2011-04-17 Ulrich Drepper <drepper@gmail.com>
94089
94090 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
94091 dependencies.
94092
94093 2011-02-06 Mike Frysinger <vapier@gentoo.org>
94094
94095 [BZ #12653]
94096 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
94097 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
94098 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
94099 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
94100 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
94101
94102 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
94103
94104 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
94105 differing bytes.
94106 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
94107 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
94108 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
94109
94110 2011-04-17 Ulrich Drepper <drepper@gmail.com>
94111
94112 [BZ #12420]
94113 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
94114 storing it.
94115 * stdlib/bug-getcontext.c: New file.
94116 * stdlib/Makefile: Add rules to build and run bug-getcontext.
94117
94118 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
94119
94120 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
94121 instructions into .machine "z9-109".
94122 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
94123 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
94124
94125 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
94126
94127 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
94128 between environment variables and auxiliary vector.
94129
94130 2011-04-16 Ulrich Drepper <drepper@gmail.com>
94131
94132 * Makefile: Add rules to build linkobj/libc.so.
94133 * include/libc-symbols.h: Define libc_hidden_nolink.
94134 * include/rpc/auth.h: Mark functions which are to be hidden.
94135 * include/rpc/auth_des.h: Likewise.
94136 * include/rpc/auth_unix.h: Likewise.
94137 * include/rpc/clnt.h: Likewise.
94138 * include/rpc/des_crypt.h: Likewise.
94139 * include/rpc/key_prot.h: Likewise.
94140 * include/rpc/pmap_clnt.h: Likewise.
94141 * include/rpc/pmap_prot.h: Likewise.
94142 * include/rpc/pmap_rmt.h: Likewise.
94143 * include/rpc/rpc_msg.h: Likewise.
94144 * include/rpc/svc.h: Likewise.
94145 * include/rpc/svc_auth.h: Likewise.
94146 * include/rpc/xdr.h: Likewise.
94147 * nis/Makefile: Link all DSOs against linkobj/libc.so.
94148 * nss/Makefile: Likewise.
94149 * sunrpc/Makefile: Don't install headers. Build library with normal
94150 entry points. Don't build rpcinfo. Link RPC tests appropriately.
94151 * sunrpc/auth_des.c: Hide exported symbols by default, export some
94152 for the compat linking library. Remove use of INTDEF/INTUSE.
94153 * sunrpc/auth_none.c: Likewise.
94154 * sunrpc/auth_unix.c: Likewise.
94155 * sunrpc/authdes_prot.c: Likewise.
94156 * sunrpc/authuxprot.c: Likewise.
94157 * sunrpc/clnt_gen.c: Likewise.
94158 * sunrpc/clnt_perr.c: Likewise.
94159 * sunrpc/clnt_raw.c: Likewise.
94160 * sunrpc/clnt_simp.c: Likewise.
94161 * sunrpc/clnt_tcp.c: Likewise.
94162 * sunrpc/clnt_udp.c: Likewise.
94163 * sunrpc/clnt_unix.c: Likewise.
94164 * sunrpc/des_crypt.c: Likewise.
94165 * sunrpc/des_soft.c: Likewise.
94166 * sunrpc/get_myaddr.c: Likewise.
94167 * sunrpc/key_call.c: Likewise.
94168 * sunrpc/key_prot.c: Likewise.
94169 * sunrpc/netname.c: Likewise.
94170 * sunrpc/pm_getmaps.c: Likewise.
94171 * sunrpc/pm_getport.c: Likewise.
94172 * sunrpc/pmap_clnt.c: Likewise.
94173 * sunrpc/pmap_prot.c: Likewise.
94174 * sunrpc/pmap_prot2.c: Likewise.
94175 * sunrpc/pmap_rmt.c: Likewise.
94176 * sunrpc/publickey.c: Likewise.
94177 * sunrpc/rpc_cmsg.c: Likewise.
94178 * sunrpc/rpc_common.c: Likewise.
94179 * sunrpc/rpc_dtable.c: Likewise.
94180 * sunrpc/rpc_prot.c: Likewise.
94181 * sunrpc/rpc_thread.c: Likewise.
94182 * sunrpc/rtime.c: Likewise.
94183 * sunrpc/svc.c: Likewise.
94184 * sunrpc/svc_auth.c: Likewise.
94185 * sunrpc/svc_authux.c: Likewise.
94186 * sunrpc/svc_raw.c: Likewise.
94187 * sunrpc/svc_run.c: Likewise.
94188 * sunrpc/svc_simple.c: Likewise.
94189 * sunrpc/svc_tcp.c: Likewise.
94190 * sunrpc/svc_udp.c: Likewise.
94191 * sunrpc/svc_unix.c: Likewise.
94192 * sunrpc/svcauth_des.c: Likewise.
94193 * sunrpc/xcrypt.c: Likewise.
94194 * sunrpc/xdr.c: Likewise.
94195 * sunrpc/xdr_array.c: Likewise.
94196 * sunrpc/xdr_float.c: Likewise.
94197 * sunrpc/xdr_intXX_t.c: Likewise.
94198 * sunrpc/xdr_mem.c: Likewise.
94199 * sunrpc/xdr_rec.c: Likewise.
94200 * sunrpc/xdr_ref.c: Likewise.
94201 * sunrpc/xdr_sizeof.c: Likewise.
94202 * sunrpc/xdr_stdio.c: Likewise.
94203
94204 2011-04-10 Ulrich Drepper <drepper@gmail.com>
94205
94206 [BZ #12650]
94207 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
94208 * sysdeps/ia64/dl-tls.h: Likewise.
94209 * sysdeps/powerpc/dl-tls.h: Likewise.
94210 * sysdeps/s390/dl-tls.h: Likewise.
94211 * sysdeps/sh/dl-tls.h: Likewise.
94212 * sysdeps/sparc/dl-tls.h: Likewise.
94213 * sysdeps/x86_64/dl-tls.h: Likewise.
94214 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
94215
94216 2011-03-14 Andreas Schwab <schwab@redhat.com>
94217
94218 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
94219 rpath element also skip the following colon.
94220 (expand_dynamic_string_token): Add is_path parameter and pass
94221 down to DL_DST_REQUIRED and _dl_dst_substitute.
94222 (decompose_rpath): Call expand_dynamic_string_token with
94223 non-zero is_path. Ignore empty rpaths.
94224 (_dl_map_object_from_fd): Call expand_dynamic_string_token
94225 with zero is_path.
94226
94227 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
94228
94229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
94230 Make cancelable.
94231
94232 2011-04-09 Ulrich Drepper <drepper@gmail.com>
94233
94234 [BZ #12655]
94235 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
94236 Patch by Filipe David Manana <fdmanana@apache.org>.
94237
94238 2011-04-07 Andreas Schwab <schwab@redhat.com>
94239
94240 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
94241 Maintain aligned stack.
94242 (CHECK_RSP): Remove unused macro.
94243
94244 2011-04-03 Ulrich Drepper <drepper@gmail.com>
94245
94246 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
94247 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
94248
94249 2011-04-02 Ulrich Drepper <drepper@gmail.com>
94250
94251 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
94252
94253 * include/features.h: Mention __USE_XOPEN2K8 in comment.
94254
94255 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
94256
94257 [BZ #12518]
94258 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
94259 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
94260 * sysdeps/x86_64/memmove.c: New file.
94261 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
94262 (memcpy): Renamed to ...
94263 (__new_memcpy): This.
94264 (memcpy): Provide GLIBC_2_14 memcpy.
94265 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
94266 (memcpy): Provide GLIBC_2_2_5 memcpy.
94267
94268 2011-04-01 Ulrich Drepper <drepper@gmail.com>
94269
94270 [BZ #12631]
94271 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
94272
94273 2011-03-30 Andreas Schwab <schwab@redhat.com>
94274
94275 * misc/syncfs.c: New file.
94276 * misc/Makefile (routines): Add syncfs.
94277 * posix/unistd.h: Declare syncfs.
94278 * sysdeps/unix/syscalls.list: Add syncfs.
94279
94280 2011-04-01 Andreas Schwab <schwab@redhat.com>
94281
94282 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
94283 open_by_handle_at.
94284 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
94285 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94286 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94287 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94288 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94289 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
94290 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94291
94292 2011-04-01 Ulrich Drepper <drepper@gmail.com>
94293
94294 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
94295 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94296 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
94297 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94298 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94299 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94300 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94301
94302 * io/Makefile: Compile fallocate.c, fallocate64.c, and
94303 sync_file_range.c with -fexceptions.
94304 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
94305 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
94306 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
94307 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
94308 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
94309 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
94310 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
94311 sync_file_range as cancellation point
94312 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
94313 now a wrapper around __call_sync_file_range with cancellation handling.
94314 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
94315 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
94316 function name to __call_sync_file_range.
94317 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
94318 Add call_sync_file_range.
94319
94320 2011-04-01 Andreas Schwab <schwab@redhat.com>
94321
94322 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
94323 bits/timex.h.
94324
94325 2011-04-01 Ulrich Drepper <drepper@gmail.com>
94326
94327 * iconv/iconv.h: Fix typo in comment.
94328 * io/fcntl.h: Likewise.
94329 * libio/stdio.h: Likewise.
94330 * posix/spawn.h: Likewise.
94331 * posix/unistd.h: Likewise.
94332 * stdlib/stdlib.h: Likewise.
94333 * time/time.h: Likewise.
94334 * wcsmbs/wchar.h: Likewise.
94335
94336 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
94337 open_by_handle): Add.
94338 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
94339 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
94340 Augment a few comments.
94341 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94342 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94343 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94344 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94345 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94346 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
94347 open_by_handle.
94348
94349 * io/fcntl.h (AT_EMPTY_PATH): Define.
94350
94351 2011-03-30 Ulrich Drepper <drepper@gmail.com>
94352
94353 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
94354 * sysdeps/unix/sysv/linux/bits/time.h: New file.
94355 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
94356 to...
94357 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
94358 * Versions.def: Add GLIBC_2.14.
94359 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
94360 Export.
94361
94362 2011-03-22 Ulrich Drepper <drepper@gmail.com>
94363
94364 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
94365 round counter.
94366 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94367
94368 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
94369
94370 [BZ #12597]
94371 * string/test-strncmp.c (do_page_test): New function.
94372 (check2): Likewise.
94373 (test_main): Call check2.
94374 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
94375
94376 2011-03-20 Ulrich Drepper <drepper@gmail.com>
94377
94378 [BZ #12587]
94379 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
94380 Handle cache information in CPU leaf 4.
94381 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94382
94383 2011-03-18 Ulrich Drepper <drepper@gmail.com>
94384
94385 [BZ #12583]
94386 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
94387 character representation.
94388 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
94389
94390 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
94391
94392 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
94393 END(__isnan) to END(__isnanf) to match function entry point/label
94394 EALIGN(__isnanf,...).
94395
94396 2011-03-10 Jakub Jelinek <jakub@redhat.com>
94397
94398 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
94399
94400 2011-03-10 Ulrich Drepper <drepper@gmail.com>
94401
94402 [BZ #12510]
94403 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
94404 copy from the symbol referenced in the relocation to initialize the
94405 used variable.
94406 Patch by Piotr Bury <pbury@goahead.com>.
94407 * elf/Makefile: Add rules to build and tst-unique3.
94408 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
94409 * elf/tst-unique3.cc: New file.
94410 * elf/tst-unique3.h: New file.
94411 * elf/tst-unique3lib.cc: New file.
94412 * elf/tst-unique3lib2.cc: New file.
94413
94414 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
94415
94416 2011-03-10 Mike Frysinger <vapier@gentoo.org>
94417
94418 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
94419 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
94420 to _start.
94421
94422 2011-03-06 Ulrich Drepper <drepper@gmail.com>
94423
94424 * elf/dl-load.c (_dl_map_object): If we are looking for the first
94425 to-be-loaded object along a path to loader is ld.so.
94426
94427 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
94428 Ulrich Drepper <drepper@gmail.com>
94429
94430 * sysdeps/x86_64/memset.S: After aligning destination, code
94431 branches to different locations depending on the value of
94432 misalignment, when multiarch is enabled. Fix this.
94433
94434 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
94435
94436 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
94437 Set _x86_64_preferred_memory_instruction for AMD processsors.
94438 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94439 Set bit_Prefer_SSE_for_memop for AMD processors.
94440
94441 2011-03-04 Ulrich Drepper <drepper@gmail.com>
94442
94443 * libio/fmemopen.c (fmemopen): Optimize a bit.
94444
94445 2011-03-03 Andreas Schwab <schwab@redhat.com>
94446
94447 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
94448
94449 2011-03-03 Roland McGrath <roland@redhat.com>
94450
94451 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
94452
94453 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
94454
94455 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
94456 __bzero_ultra1 instead of __memset_ultra1.
94457
94458 2011-02-23 Andreas Schwab <schwab@redhat.com>
94459 Ulrich Drepper <drepper@gmail.com>
94460
94461 [BZ #12509]
94462 * include/link.h (struct link_map): Add l_orig_initfini.
94463 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
94464 returning unsuccessfully.
94465 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
94466 close of a file loaded at startup, restore the original l_initfini
94467 list.
94468 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
94469 list, store the pointer.
94470 * elf/Makefile ($(objpfx)noload-mem): New rule.
94471 (noload-ENV): Define.
94472 (tests): Add $(objpfx)noload-mem.
94473 * elf/noload.c: Include <memcheck.h>.
94474 (main): Call mtrace. Close all opened handles.
94475
94476 2011-02-17 Andreas Schwab <schwab@redhat.com>
94477
94478 [BZ #12454]
94479 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
94480 dependencies are missing.
94481
94482 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
94483
94484 Fix __if_freereq crash: Unlike the generic version which uses free,
94485 Hurd needs munmap.
94486 * sysdeps/mach/hurd/ifreq.h: New file.
94487
94488 2011-01-27 Petr Baudis <pasky@suse.cz>
94489 Ulrich Drepper <drepper@gmail.com>
94490
94491 [BZ 12445]#
94492 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
94493 to extend_alloca().
94494 * stdio-common/bug23.c: New file.
94495 * stdio-common/Makefile (tests): Add bug23.
94496
94497 2010-09-28 Andreas Schwab <schwab@redhat.com>
94498 Ulrich Drepper <drepper@gmail.com>
94499
94500 [BZ #12489]
94501 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
94502 before performing relro protection. At old place add assertion
94503 to make sure nothing changed.
94504
94505 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
94506 Glauber de Oliveira Costa <glommer@gmail.com>
94507
94508 * elf/elf.h: Add new ARM TLS relocs.
94509
94510 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
94511
94512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
94513 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
94514 cast from r3.
94515 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
94516 'tests' variable.
94517 * sysdeps/wordsize-64/tst-writev.c: New file.
94518
94519 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
94520
94521 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
94522 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
94523 insns in _dl_start to prevent a TOC reference before relocs are
94524 resolved.
94525
94526 2011-02-15 Ulrich Drepper <drepper@gmail.com>
94527
94528 [BZ #12469]
94529 * Makeconfig: Remove RANLIB definition.
94530 * Makerules: Don't use RANLIB.
94531 * aclocal.m4: Remove ranlib test.
94532 * configure.in: No need to check for ranlib.
94533 * elf/rtld-Rules: Don't use RANLIB.
94534
94535 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
94536
94537 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
94538 protection macro.
94539 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
94540 inclusion protection macro.
94541
94542 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
94543 SIGRTMIN and SIGRTMAX and print information in that case only when
94544 SIGRTMIN is defined.
94545
94546 2011-02-11 Jakub Jelinek <jakub@redhat.com>
94547
94548 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
94549 arginfo fn returning -1.
94550
94551 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
94552 and thousands string is zero terminated.
94553
94554 2011-02-03 Andreas Schwab <schwab@redhat.com>
94555
94556 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
94557 sysdeps/unix/sysv/linux/bits/socket.h.
94558
94559 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
94560
94561 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
94562 (__CPU_COUNT): Remove old macros.
94563 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
94564 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
94565 (__CPU_ALLOC, __CPU_FREE): Add macros.
94566 (__sched_cpualloc, __sched_cpufree): Add declarations.
94567
94568 2011-02-05 Ulrich Drepper <drepper@gmail.com>
94569
94570 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
94571 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
94572 * nscd/aicache.c (addhstaiX): Return timeout of added value.
94573 (readdhstai): Return value of addhstaiX call.
94574 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
94575 (addgrbyX): Return value returned by cache_addgr.
94576 (readdgrbyname): Return value returned by addgrbyX.
94577 (readdgrbygid): Likewise.
94578 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
94579 (addpwbyX): Return value returned by cache_addpw.
94580 (readdpwbyname): Return value returned by addhstbyX.
94581 (readdpwbyuid): Likewise.
94582 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
94583 (addservbyX): Return value returned by cache_addserv.
94584 (readdservbyname): Return value returned by addservbyX:
94585 (readdservbyport): Likewise.
94586 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
94587 (addhstbyX): Return value returned by cache_addhst.
94588 (readdhstbyname): Return value returned by addhstbyX.
94589 (readdhstbyaddr): Likewise.
94590 (readdhstbynamev6): Likewise.
94591 (readdhstbyaddrv6): Likewise.
94592 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
94593 (readdinitgroups): Return value returned by addinitgroupsX.
94594 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
94595 (prune_cache): Keep track of timeout value of re-added entries.
94596 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
94597 * nscd/nscd.h: Adjust prototypes of readd* functions.
94598
94599 2011-02-04 Roland McGrath <roland@redhat.com>
94600
94601 * nis/nis_server.c (nis_servstate): Use the right name for 0.
94602 (nis_stats): Likewise.
94603 * nis/nis_modify.c (nis_modify): Likewise.
94604 * nis/nis_remove.c (nis_remove): Likewise.
94605 * nis/nis_add.c (nis_add): Likewise.
94606
94607 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
94608
94609 * posix/fnmatch_loop.c: Add some consts.
94610
94611 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
94612
94613 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
94614
94615 [BZ #12460]
94616 * config.make.in (config-cflags-novzeroupper): Define.
94617 * configure.in: Substitute libc_cv_cc_novzeroupper.
94618 * elf/Makefile (AVX-CFLAGS): Define.
94619 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
94620 (CFLAGS-tst-auditmod4a.c): Likewise.
94621 (CFLAGS-tst-auditmod4b.c): Likewise.
94622 (CFLAGS-tst-auditmod6b.c): Likewise.
94623 (CFLAGS-tst-auditmod6c.c): Likewise.
94624 (CFLAGS-tst-auditmod7b.c): Likewise.
94625 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
94626
94627 2011-02-02 Ulrich Drepper <drepper@gmail.com>
94628
94629 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
94630 function to the callback.
94631 Patch partly by Jiri Olsa <jolsa@redhat.com>.
94632
94633 2011-02-02 Andreas Schwab <schwab@redhat.com>
94634
94635 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
94636 of errno.
94637
94638 2011-01-19 Ulrich Drepper <drepper@gmail.com>
94639
94640 [BZ #11724]
94641 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
94642 of constructors.
94643 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
94644 of destructors.
94645 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
94646
94647 [BZ #11724]
94648 * elf/Makefile: Add rules to build and run new test.
94649 * elf/tst-initorder.c: New file.
94650 * elf/tst-initorder.exp: New file.
94651 * elf/tst-initordera1.c: New file.
94652 * elf/tst-initordera2.c: New file.
94653 * elf/tst-initordera3.c: New file.
94654 * elf/tst-initordera4.c: New file.
94655 * elf/tst-initorderb1.c: New file.
94656 * elf/tst-initorderb2.c: New file.
94657 * elf/tst-order-a1.c: New file.
94658 * elf/tst-order-a2.c: New file.
94659 * elf/tst-order-a3.c: New file.
94660 * elf/tst-order-a4.c: New file.
94661 * elf/tst-order-b1.c: New file.
94662 * elf/tst-order-b2.c: New file.
94663 * elf/tst-order-main.c: New file.
94664 New test case by George Gensure <werkt0@gmail.com>.
94665
94666 2010-10-01 Andreas Schwab <schwab@redhat.com>
94667
94668 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
94669 decoding ACE if AI_CANONIDN.
94670
94671 2011-01-18 Ulrich Drepper <drepper@gmail.com>
94672
94673 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
94674
94675 2011-01-17 Ulrich Drepper <drepper@gmail.com>
94676
94677 * version.h (RELEASE): Bump for 2.13 release.
94678 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
94679
94680 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
94681
94682 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
94683 MADV_NOHUGEPAGE.
94684 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
94685 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
94686 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
94687 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
94688 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
94689 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
94690
94691 * posix/getconf.c: Update copyright year.
94692 * catgets/gencat.c: Likewise.
94693 * csu/version.c: Likewise.
94694 * debug/catchsegv.sh: Likewise.
94695 * debug/xtrace.sh: Likewise.
94696 * elf/ldconfig.c: Likewise.
94697 * elf/ldd.bash.in: Likewise.
94698 * elf/sprof.c (print_version): Likewise.
94699 * iconv/iconv_prog.c: Likewise.
94700 * iconv/iconvconfig.c: Likewise.
94701 * locale/programs/locale.c: Likewise.
94702 * locale/programs/localedef.c: Likewise.
94703 * malloc/memusage.sh: Likewise.
94704 * malloc/mtrace.pl: Likewise.
94705 * nscd/nscd.c (print_version): Likewise.
94706 * nss/getent.c: Likewise.
94707
94708 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
94709 PF_CAIF, and PF_ALG.
94710 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
94711
94712 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
94713
94714 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
94715 (modules-names): Use them.
94716 (ifunc-test-modules, ifunc-pie-tests): Define.
94717 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
94718 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
94719 (test-extras): Likewise.
94720 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
94721 $(compile-command.c).
94722 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
94723 (all-built-dso): Define.
94724 (check-textrel.out, check-execstack.out): Depend on it.
94725
94726 * configure.in: Don't override --enable-multi-arch.
94727
94728 2011-01-15 Ulrich Drepper <drepper@gmail.com>
94729
94730 [BZ #6812]
94731 * nscd/hstcache.c (tryagain): Define.
94732 (cache_addhst): Return tryagain not notfound for temporary errors.
94733 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
94734 failed.
94735
94736 2011-01-14 Ulrich Drepper <drepper@gmail.com>
94737
94738 [BZ #10563]
94739 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
94740 to make the syscall.
94741 * sysdeps/unix/sysv/linux/setgroups.c: New file.
94742
94743 [BZ #12378]
94744 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
94745 and fall back to matching as normal character if the string ends before
94746 the matching ']' is found. This is what POSIX requires.
94747 * posix/testfnm.c: Adjust test result.
94748 * posix/globtest.sh: Adjust test result. Add new test.
94749 * posix/tst-fnmatch.input: Likewise.
94750 * posix/tst-fnmatch2.c: Add new test.
94751
94752 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
94753
94754 * elf/Makefile (check-execstack): Revert last change. Depend on
94755 check-execstack.h.
94756 (check-execstack.h): New target.
94757 (generated): Add check-execstack.h.
94758 * elf/check-execstack.c: Include "check-execstack.h".
94759 (main): Revert last change.
94760 (handle_file): Return zero if GNU_STACK is absent and
94761 DEFAULT_STACK_PERMS doesn't include PF_X.
94762
94763 2011-01-13 Ulrich Drepper <drepper@gmail.com>
94764
94765 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
94766 in child fails because the descriptor is already closed.
94767 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
94768 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
94769 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
94770
94771 [BZ #12397]
94772 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
94773 syscall.
94774
94775 [BZ #10484]
94776 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
94777 temporary buffer used to handle multi lookups locally.
94778 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
94779
94780 2011-01-12 Ulrich Drepper <drepper@gmail.com>
94781
94782 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
94783 loader is ld.so.
94784
94785 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
94786
94787 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
94788 alignment for SSE2.
94789
94790 2011-01-12 Ulrich Drepper <drepper@gmail.com>
94791
94792 [BZ #12394]
94793 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
94794 characters. When rounding increased number of integer digits recompute
94795 number of groups.
94796 * stdio-common/tst-grouping.c: New file.
94797 * stdio-common/Makefile: Add rules to build and run tst-grouping.
94798
94799 2011-01-09 Ulrich Drepper <drepper@gmail.com>
94800
94801 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
94802 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
94803
94804 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
94805 void.
94806 * bits/select.h: Likewise.
94807
94808 2011-01-08 Ulrich Drepper <drepper@gmail.com>
94809
94810 * po/ja.po: Update from translation team.
94811
94812 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
94813
94814 [BZ #11155]
94815 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
94816 implementation just like for lxstat, fxstatat, et al.
94817
94818 2010-12-27 Jim Meyering <meyering@redhat.com>
94819
94820 [BZ #12348]
94821 * posix/regexec.c (build_trtable): Return failure indication upon
94822 calloc failure. Otherwise, re_search_internal could infloop on OOM.
94823
94824 2010-12-25 Ulrich Drepper <drepper@gmail.com>
94825
94826 [BZ #12201]
94827 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
94828 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
94829 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
94830 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
94831
94832 [BZ #12207]
94833 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
94834
94835 [BZ #12204]
94836 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
94837 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
94838
94839 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
94840
94841 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
94842 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
94843 script has SORT_BY_INIT_PRIORITY.
94844 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
94845 NO_CTORS_DTORS_SECTIONS is defined.
94846 * elf/soinit.c: Likewise.
94847 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
94848 NO_CTORS_DTORS_SECTIONS is defined.
94849 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
94850 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
94851 * sysdeps/sh/init-first.c: Likewise.
94852 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
94853
94854 2010-12-24 Ulrich Drepper <drepper@gmail.com>
94855
94856 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
94857 always use the slow path.
94858
94859 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
94860
94861 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
94862 similar rule which adds the sysdep directories to the header search in
94863 order to pick up the correct platform stackinfo.h.
94864 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
94865 perform test if it is, otherwise return successfully without testing.
94866 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
94867 DEFAULT_STACK_PERMS define in stackinfo.h.
94868 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
94869 defined in stackinfo.h.
94870 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
94871 DEFAULT_STACK_PERMS defined in stackinfo.h.
94872 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
94873 * sysdeps/ia64/stackinfo.h: Likewise.
94874 * sysdeps/s390/stackinfo.h: Likewise.
94875 * sysdeps/sh/stackinfo.h: Likewise.
94876 * sysdeps/sparc/stackinfo.h: Likewise.
94877 * sysdeps/x86_64/stackinfo.h: Likewise.
94878 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
94879 PF_X for powerpc64. Retain PF_X for powerpc32.
94880
94881 2010-12-19 Ulrich Drepper <drepper@gmail.com>
94882
94883 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
94884 accurately.
94885 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
94886 GETDENTS_64BIT_ALIGNED.
94887
94888 2010-12-14 Ulrich Drepper <dreper@gmail.com>
94889
94890 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
94891
94892 2010-12-10 Andreas Schwab <schwab@redhat.com>
94893
94894 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
94895 _GNU_SOURCE.
94896
94897 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
94898 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
94899 Remove __restrict.
94900 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
94901 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
94902
94903 2010-12-09 Ulrich Drepper <drepper@gmail.com>
94904
94905 [BZ #11655]
94906 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
94907 are initialized.
94908
94909 2010-12-09 Jakub Jelinek <jakub@redhat.com>
94910
94911 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
94912
94913 2010-12-03 Ulrich Drepper <drepper@gmail.com>
94914
94915 * po/it.po: Update from translation team.
94916
94917 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
94918
94919 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
94920 unused codes.
94921
94922 2010-11-30 Ulrich Drepper <drepper@gmail.com>
94923
94924 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
94925
94926 2010-11-24 Andreas Schwab <schwab@redhat.com>
94927
94928 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
94929 specially.
94930 (gaih_getanswer_slice): Likewise.
94931
94932 2010-10-20 Jakub Jelinek <jakub@redhat.com>
94933
94934 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
94935
94936 2010-05-31 Petr Baudis <pasky@suse.cz>
94937
94938 [BZ #11149]
94939 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
94940 silently even in the chroot mode.
94941
94942 2010-11-22 Ulrich Drepper <drepper@gmail.com>
94943
94944 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
94945 last patch a bit. Pretty printing
94946
94947 2010-05-31 Petr Baudis <pasky@suse.cz>
94948
94949 [BZ #10085]
94950 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
94951 initialization of skip_initgroups_dyn.
94952
94953 2010-11-19 Ulrich Drepper <drepper@gmail.com>
94954
94955 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
94956 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
94957
94958 2010-11-16 Ulrich Drepper <drepper@gmail.com>
94959
94960 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
94961
94962 2010-11-11 Andreas Schwab <schwab@redhat.com>
94963
94964 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
94965 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
94966 (tst-fnmatch-ENV): Set MALLOC_TRACE.
94967 ($(objpfx)tst-fnmatch-mem): New rule.
94968 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
94969 * posix/tst-fnmatch.c (main): Call mtrace.
94970
94971 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
94972
94973 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94974 Support Intel processor model 6 and model 0x2c.
94975
94976 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
94977
94978 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
94979 signed comparison.
94980
94981 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
94982
94983 [BZ #12205]
94984 * string/test-strncasecmp.c (check_result): New function.
94985 (do_one_test): Use it.
94986 (check1): New function.
94987 (test_main): Use it.
94988 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
94989 Support strcasecmp and strncasecmp.
94990
94991 2010-11-08 Ulrich Drepper <drepper@gmail.com>
94992
94993 [BZ #12194]
94994 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
94995 * sysdeps/x86_64/bits/byteswap.h: Likewise.
94996
94997 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
94998
94999 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
95000 IFUNC support.
95001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95002 memset-x86-64.
95003 * sysdeps/x86_64/multiarch/bzero.S: New file.
95004 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
95005 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
95006 * sysdeps/x86_64/multiarch/memset.S: New file.
95007 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
95008 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95009 Set bit_Prefer_SSE_for_memop for Intel processors.
95010 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
95011 Define.
95012 (index_Prefer_SSE_for_memop): Define.
95013 (HAS_PREFER_SSE_FOR_MEMOP): Define.
95014
95015 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
95016
95017 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
95018 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
95019
95020 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
95021
95022 [BZ #12191]
95023 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
95024 (__x86_64_raw_data_cache_size_half): Likewise.
95025 (__x86_64_raw_shared_cache_size): Likewise.
95026 (__x86_64_raw_shared_cache_size_half): Likewise.
95027
95028 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
95029 (__x86_64_raw_data_cache_size_half): Likewise.
95030 (__x86_64_raw_shared_cache_size): Likewise.
95031 (__x86_64_raw_shared_cache_size_half): Likewise.
95032 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
95033 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
95034 and __x86_64_raw_shared_cache_size_half. Round
95035 __x86_64_data_cache_size_half, __x86_64_data_cache_size
95036 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
95037 to multiple of 256 bytes.
95038
95039 2010-11-03 Ulrich Drepper <drepper@gmail.com>
95040
95041 [BZ #12167]
95042 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
95043 of inacessible symlinks. Verify result of symlink before returning it.
95044 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
95045 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
95046
95047 2010-10-28 Erich Ritz <erichritz@gmail.com>
95048
95049 * math/math.h (isinf): Fix typo in comment.
95050
95051 2010-11-01 Ulrich Drepper <drepper@gmail.com>
95052
95053 * po/da.po: Update from translation team.
95054
95055 2010-10-26 Ulrich Drepper <drepper@gmail.com>
95056
95057 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
95058 is added to the list.
95059
95060 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
95061 Ulrich Drepper <drepper@gmail.com>
95062
95063 * elf/dl-object.c (_dl_new_object): Don't append the new object to
95064 the global list here. Move code to...
95065 (_dl_add_to_namespace_list): ...here. New function.
95066 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
95067 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
95068 * elf/dl-load.c (lose): Don't remove the element from the list.
95069 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
95070 (_dl_map_object): Likewise.
95071
95072 2010-10-25 Ulrich Drepper <drepper@gmail.com>
95073
95074 [BZ #12159]
95075 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
95076 into all bytes of SSE register.
95077 Patch by Richard Li <richardpku@gmail.com>.
95078
95079 2010-10-24 Ulrich Drepper <drepper@gmail.com>
95080
95081 [BZ #12140]
95082 * malloc/malloc.c (_int_free): Fill correct number of bytes when
95083 perturbing.
95084
95085 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
95086
95087 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
95088 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
95089 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
95090 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
95091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
95092 submachine.
95093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
95094
95095 2010-10-22 Andreas Schwab <schwab@redhat.com>
95096
95097 * include/dlfcn.h (__RTLD_SECURE): Define.
95098 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
95099 mode & __RTLD_SECURE instead.
95100 (open_path): Rename preloaded parameter to secure.
95101 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
95102 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
95103 * elf/dl-deps.c (openaux): Likewise.
95104 * elf/rtld.c (struct map_args): Remove is_preloaded.
95105 (map_doit): Don't use it.
95106 (dl_main): Likewise.
95107 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
95108 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
95109
95110 2010-09-09 Andreas Schwab <schwab@redhat.com>
95111
95112 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
95113 (sysd-rules-targets): Remove duplicates.
95114 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
95115 rtld-%.$o dependency.
95116
95117 2010-10-18 Andreas Schwab <schwab@redhat.com>
95118
95119 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
95120 _dl_map_object do it.
95121
95122 2010-10-19 Ulrich Drepper <drepper@gmail.com>
95123
95124 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
95125 fast fma builtins, define the macros in the C99 standard.
95126 (FP_FAST_FMAF): Likewise.
95127 (FP_FAST_FMAL): Likewise.
95128 * sysdeps/x86_64/bits/mathdef.h: Likewise.
95129
95130 * bits/mathdef.h: Update copyright year.
95131 * sysdeps/powerpc/bits/mathdef.h: Likewise.
95132
95133 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
95134
95135 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
95136 builtins, define the macros in the C99 standard.
95137 (FP_FAST_FMAF): Likewise.
95138 (FP_FAST_FMAL): Likewise.
95139 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
95140 multiply/add.
95141 (FP_FAST_FMAF): Likewise.
95142
95143 2010-10-15 Jakub Jelinek <jakub@redhat.com>
95144
95145 [BZ #3268]
95146 * math/libm-test.inc (fma_test): Some new testcases.
95147 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
95148 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
95149 y and infinite z. Do multiplication by C already in long double.
95150 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
95151 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
95152 y and infinite z. Do bitwise or of inexact bit into u.d.
95153 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
95154 * sysdeps/i386/fpu/s_fmaf.S: Removed.
95155 * sysdeps/i386/fpu/s_fma.S: Removed.
95156 * sysdeps/i386/fpu/s_fmal.S: Removed.
95157
95158 2010-10-16 Jakub Jelinek <jakub@redhat.com>
95159
95160 [BZ #3268]
95161 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
95162 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
95163 computation is not scheduled after fetestexcept. Fix value
95164 of minimum denormal long double.
95165
95166 2010-10-14 Jakub Jelinek <jakub@redhat.com>
95167
95168 [BZ #3268]
95169 * math/libm-test.inc (fma_test): Add some more tests.
95170 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
95171 correctly.
95172
95173 2010-10-15 Andreas Schwab <schwab@redhat.com>
95174
95175 * scripts/data/localplt-s390-linux-gnu.data: New file.
95176 * scripts/data/localplt-s390x-linux-gnu.data: New file.
95177
95178 2010-10-13 Jakub Jelinek <jakub@redhat.com>
95179
95180 [BZ #3268]
95181 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
95182 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
95183 instead of dbl-64.
95184 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
95185 inlines.
95186 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
95187 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
95188 if one of x and y is very large and the other is subnormal.
95189 * sysdeps/s390/fpu/s_fmaf.c: New file.
95190 * sysdeps/s390/fpu/s_fma.c: New file.
95191 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
95192 * sysdeps/powerpc/fpu/s_fma.S: New file.
95193 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
95194 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
95195 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
95196
95197 2010-10-12 Jakub Jelinek <jakub@redhat.com>
95198
95199 [BZ #3268]
95200 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
95201 fma tests.
95202 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
95203 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
95204 * sysdeps/i386/i686/multiarch/s_fma.c: Include
95205 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
95206 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
95207 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
95208 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
95209
95210 2010-10-12 Ulrich Drepper <drepper@redhat.com>
95211
95212 [BZ #12078]
95213 * posix/regcomp.c (parse_branch): One more memory leak plugged.
95214 * posix/bug-regex31.input: Add test case.
95215
95216 2010-10-11 Ulrich Drepper <drepper@gmail.com>
95217
95218 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
95219 * posix/bug-regex31.input: New file.
95220
95221 [BZ #12078]
95222 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
95223 (parse_sub_exp): Fix last change, use postorder.
95224
95225 * posix/bug-regex31.c: New file.
95226 * posix/Makefile: Add rules to build and run bug-regex31.
95227
95228 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
95229
95230 [BZ #12078]
95231 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
95232
95233 [BZ #12108]
95234 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
95235 to have entries in sys_siglist.
95236
95237 [BZ #12093]
95238 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
95239 be NULL.
95240
95241 2010-10-07 Jakub Jelinek <jakub@redhat.com>
95242
95243 [BZ #3268]
95244 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
95245 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
95246 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
95247 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
95248 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
95249 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
95250 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
95251 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
95252 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
95253 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
95254 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
95255 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
95256 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
95257 * math/ftestexcept.c (fetestexcept): Likewise.
95258 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
95259 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
95260 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
95261 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
95262 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
95263 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
95264 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
95265
95266 2010-10-11 Ulrich Drepper <drepper@gmail.com>
95267
95268 [BZ #12107]
95269 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
95270 newline.
95271
95272 2010-10-06 Ulrich Drepper <drepper@gmail.com>
95273
95274 * string/bug-strstr1.c: New file.
95275 * string/Makefile: Add rules to build and run bug-strstr1.
95276
95277 2010-10-05 Eric Blake <eblake@redhat.com>
95278
95279 [BZ #12092]
95280 * string/str-two-way.h (two_way_long_needle): Always clear memory
95281 when skipping input due to the shift table.
95282
95283 2010-10-03 Ulrich Drepper <drepper@gmail.com>
95284
95285 [BZ #12005]
95286 * malloc/mcheck.c: Handle large requests.
95287
95288 [BZ #12077]
95289 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
95290 for strncmp and strncasecmp.
95291 * string/stratcliff.c: Add tests for strcmp and strncmp.
95292 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
95293
95294 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
95295
95296 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
95297 __set_fpscr.
95298
95299 2010-09-30 Andreas Jaeger <aj@suse.de>
95300
95301 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
95302 (CGROUP_SUPER_MAGIC): Define.
95303 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
95304 Handle btrfs and cgroup file systems.
95305 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
95306 Likewise.
95307
95308 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
95309
95310 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
95311 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
95312
95313 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
95314
95315 [BZ #12067]
95316 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
95317 trying to locate the ELF header.
95318
95319 2010-09-27 Andreas Schwab <schwab@redhat.com>
95320
95321 [BZ #11611]
95322 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
95323 Mask out sign-bit copies when constructing f_fsid.
95324
95325 2010-09-24 Petr Baudis <pasky@suse.cz>
95326
95327 * debug/stack_chk_fail_local.c: Add missing licence exception.
95328 * debug/warning-nop.c: Likewise.
95329
95330 2010-09-15 Joseph Myers <joseph@codesourcery.com>
95331
95332 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
95333 implementing getdents64 using getdents syscall, set d_type if
95334 __ASSUME_GETDENTS32_D_TYPE.
95335
95336 2010-09-16 Andreas Schwab <schwab@redhat.com>
95337
95338 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
95339 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
95340
95341 2010-09-21 Ulrich Drepper <drepper@redhat.com>
95342
95343 [BZ #12037]
95344 * posix/unistd.h: Undo change of feature selection for ftruncate from
95345 2010-01-11.
95346
95347 2010-09-20 Ulrich Drepper <drepper@redhat.com>
95348
95349 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
95350 detection.
95351
95352 2010-09-20 Andreas Schwab <schwab@redhat.com>
95353
95354 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
95355 fanotify_mark.
95356 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
95357
95358 2010-09-14 Andreas Schwab <schwab@redhat.com>
95359
95360 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
95361 variables after CHECK_SP call.
95362 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
95363
95364 2010-09-13 Andreas Schwab <schwab@redhat.com>
95365 Ulrich Drepper <drepper@redhat.com>
95366
95367 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
95368 re-relocationg ld.so.
95369 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
95370 _dl_init_paths call.
95371 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
95372 here anymore.
95373
95374 2010-09-14 Ulrich Drepper <drepper@redhat.com>
95375
95376 * resolv/res_init.c (__res_vinit): Count the default server we added.
95377
95378 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
95379 Ulrich Drepper <drepper@redhat.com>
95380
95381 [BZ #11968]
95382 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
95383 (____longjmp_chk): Use %ebx for saving value across system call.
95384 Add unwind info.
95385
95386 2010-09-06 Andreas Schwab <schwab@redhat.com>
95387
95388 * manual/Makefile: Don't mix pattern rules with normal rules.
95389
95390 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
95391
95392 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
95393 operation.
95394 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
95395 * libio/iofopncook.c (_IO_cookie_init): Likewise.
95396 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
95397 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
95398 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
95399 Likewise.
95400
95401 2010-09-04 Ulrich Drepper <drepper@redhat.com>
95402
95403 [BZ #11979]
95404 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
95405 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
95406
95407 2010-09-02 Ulrich Drepper <drepper@redhat.com>
95408
95409 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
95410 * sysdeps/x86_64/addmul_1.S: Likewise.
95411 * sysdeps/x86_64/lshift.S: Likewise.
95412 * sysdeps/x86_64/mul_1.S: Likewise.
95413 * sysdeps/x86_64/rshift.S: Likewise.
95414 * sysdeps/x86_64/sub_n.S: Likewise.
95415 * sysdeps/x86_64/submul_1.S: Likewise.
95416
95417 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
95418
95419 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
95420 Define __sched_param instead of SCHED_* and sched_param when
95421 <bits/sched.h> is included with __need_schedparam defined.
95422 * bits/sched.h [__need_schedparam]
95423 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
95424 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
95425 (__defined_schedparam): Define to 1.
95426 (__sched_param): New structure, identical to sched_param.
95427 (__need_schedparam): Undefine.
95428
95429 2010-08-31 Mike Frysinger <vapier@gentoo.org>
95430
95431 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
95432 (epoll_create1): Declare.
95433
95434 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
95435
95436 2010-08-31 Andreas Schwab <schwab@redhat.com>
95437
95438 [BZ #7066]
95439 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
95440 shifting retval into place.
95441
95442 2010-09-01 Ulrich Drepper <drepper@redhat.com>
95443
95444 * nis/rpcsvc/nis.h: Update copyright notice.
95445 * nis/rpcsvc/nis.x: Likewise.
95446 * nis/rpcsvc/nis_callback.h: Likewise.
95447 * nis/rpcsvc/nis_callback.x: Likewise.
95448 * nis/rpcsvc/nis_object.x: Likewise.
95449 * nis/rpcsvc/nis_tags.h: Likewise.
95450 * nis/rpcsvc/yp.h: Likewise.
95451 * nis/rpcsvc/yp.x: Likewise.
95452 * nis/rpcsvc/ypupd.h: Likewise.
95453 * nis/yp_xdr.c: Likewise.
95454 * nis/ypupdate_xdr.c: Likewise.
95455
95456 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
95457 mainly the body of pmap_getport. Add parameters to specify timeouts.
95458 (pmap_getport): Use __libc_rpc_getport.
95459 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
95460 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
95461 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
95462
95463 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
95464
95465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
95466 fanotify_mark.
95467
95468 2010-08-27 Roland McGrath <roland@redhat.com>
95469
95470 * sysdeps/i386/i686/multiarch/Makefile
95471 (CFLAGS-varshift.c): New variable.
95472
95473 2010-08-27 Ulrich Drepper <drepper@redhat.com>
95474
95475 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
95476 * sysdeps/i386/i686/multiarch/varshift.c: New file.
95477
95478 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
95479
95480 * sysdeps/x86_64/strlen.S: Minimal code improvement.
95481
95482 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
95483
95484 * sysdeps/x86_64/strlen.S: Unroll the loop.
95485 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95486 strlen-sse2 strlen-sse2-bsf.
95487 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
95488 __strlen_no_bsf if bit_Slow_BSF is set.
95489 (__strlen_sse42): Removed.
95490 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
95491 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
95492
95493 2010-08-25 Roland McGrath <roland@redhat.com>
95494
95495 * sysdeps/x86_64/multiarch/varshift.S: File removed.
95496 * sysdeps/x86_64/multiarch/varshift.c: New file.
95497 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
95498 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
95499 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
95500 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
95501
95502 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
95503
95504 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
95505 strlen-sse2 strlen-sse2-bsf.
95506 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
95507 __strlen_sse2_bsf if bit_Slow_BSF is unset.
95508 (__strlen_sse2): Removed.
95509 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
95510 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
95511 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
95512 bit_Slow_BSF for Atom.
95513 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
95514 (index_Slow_BSF): Define.
95515 (HAS_SLOW_BSF): Define.
95516
95517 2010-08-25 Ulrich Drepper <drepper@redhat.com>
95518
95519 [BZ #10851]
95520 * resolv/res_init.c (__res_vinit): When no server address at all
95521 is given default to loopback.
95522
95523 2010-08-24 Roland McGrath <roland@redhat.com>
95524
95525 * configure.in: Remove config-name.h generation.
95526 * configure: Regenerated.
95527 * config-name.in: File removed.
95528 * scripts/config-uname.sh: New file.
95529 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
95530 ($(objdir)config-name.h): New target.
95531
95532 * sunrpc/rpc_parse.h: Avoid nested comment.
95533
95534 2010-08-24 Richard Henderson <rth@redhat.com>
95535 Ulrich Drepper <drepper@redhat.com>
95536 H.J. Lu <hongjiu.lu@intel.com>
95537
95538 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
95539 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
95540 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
95541 Replace _mm_srli_si128 with __m128i_shift_right. Replace
95542 _mm_alignr_epi8 with _mm_loadu_si128.
95543 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
95544 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
95545 (__m128i_shift_right): Removed.
95546 * sysdeps/i386/i686/multiarch/varshift.h: New file.
95547 * sysdeps/i386/i686/multiarch/varshift.S: New file.
95548 * sysdeps/x86_64/multiarch/varshift.h: New file.
95549 * sysdeps/x86_64/multiarch/varshift.S: New file.
95550
95551 2010-08-21 Mike Frysinger <vapier@gentoo.org>
95552
95553 * configure.in: Move assembler checks to before sysdep dir checking.
95554
95555 2010-08-20 Petr Baudis <pasky@suse.cz>
95556
95557 * LICENSES: Sync the sunrpc license.
95558
95559 2010-08-19 Ulrich Drepper <drepper@redhat.com>
95560
95561 * sunrpc/auth_des.c: Update copyright notice once again.
95562 * sunrpc/auth_none.c: Likewise.
95563 * sunrpc/auth_unix.c: Likewise.
95564 * sunrpc/authdes_prot.c: Likewise.
95565 * sunrpc/authuxprot.c: Likewise.
95566 * sunrpc/bindrsvprt.c: Likewise.
95567 * sunrpc/clnt_gen.c: Likewise.
95568 * sunrpc/clnt_perr.c: Likewise.
95569 * sunrpc/clnt_raw.c: Likewise.
95570 * sunrpc/clnt_simp.c: Likewise.
95571 * sunrpc/clnt_tcp.c: Likewise.
95572 * sunrpc/clnt_udp.c: Likewise.
95573 * sunrpc/clnt_unix.c: Likewise.
95574 * sunrpc/des_crypt.c: Likewise.
95575 * sunrpc/des_soft.c: Likewise.
95576 * sunrpc/get_myaddr.c: Likewise.
95577 * sunrpc/getrpcport.c: Likewise.
95578 * sunrpc/key_call.c: Likewise.
95579 * sunrpc/key_prot.c: Likewise.
95580 * sunrpc/openchild.c: Likewise.
95581 * sunrpc/pm_getmaps.c: Likewise.
95582 * sunrpc/pm_getport.c: Likewise.
95583 * sunrpc/pmap_clnt.c: Likewise.
95584 * sunrpc/pmap_prot.c: Likewise.
95585 * sunrpc/pmap_prot2.c: Likewise.
95586 * sunrpc/pmap_rmt.c: Likewise.
95587 * sunrpc/rpc/auth.h: Likewise.
95588 * sunrpc/rpc/auth_unix.h: Likewise.
95589 * sunrpc/rpc/clnt.h: Likewise.
95590 * sunrpc/rpc/des_crypt.h: Likewise.
95591 * sunrpc/rpc/key_prot.h: Likewise.
95592 * sunrpc/rpc/netdb.h: Likewise.
95593 * sunrpc/rpc/pmap_clnt.h: Likewise.
95594 * sunrpc/rpc/pmap_prot.h: Likewise.
95595 * sunrpc/rpc/pmap_rmt.h: Likewise.
95596 * sunrpc/rpc/rpc.h: Likewise.
95597 * sunrpc/rpc/rpc_des.h: Likewise.
95598 * sunrpc/rpc/rpc_msg.h: Likewise.
95599 * sunrpc/rpc/svc.h: Likewise.
95600 * sunrpc/rpc/svc_auth.h: Likewise.
95601 * sunrpc/rpc/types.h: Likewise.
95602 * sunrpc/rpc/xdr.h: Likewise.
95603 * sunrpc/rpc_clntout.c: Likewise.
95604 * sunrpc/rpc_cmsg.c: Likewise.
95605 * sunrpc/rpc_common.c: Likewise.
95606 * sunrpc/rpc_cout.c: Likewise.
95607 * sunrpc/rpc_dtable.c: Likewise.
95608 * sunrpc/rpc_hout.c: Likewise.
95609 * sunrpc/rpc_main.c: Likewise.
95610 * sunrpc/rpc_parse.c: Likewise.
95611 * sunrpc/rpc_parse.h: Likewise.
95612 * sunrpc/rpc_prot.c: Likewise.
95613 * sunrpc/rpc_sample.c: Likewise.
95614 * sunrpc/rpc_scan.c: Likewise.
95615 * sunrpc/rpc_scan.h: Likewise.
95616 * sunrpc/rpc_svcout.c: Likewise.
95617 * sunrpc/rpc_tblout.c: Likewise.
95618 * sunrpc/rpc_util.c: Likewise.
95619 * sunrpc/rpc_util.h: Likewise.
95620 * sunrpc/rpcinfo.c: Likewise.
95621 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
95622 * sunrpc/rpcsvc/key_prot.x: Likewise.
95623 * sunrpc/rpcsvc/klm_prot.x: Likewise.
95624 * sunrpc/rpcsvc/mount.x: Likewise.
95625 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
95626 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
95627 * sunrpc/rpcsvc/rex.x: Likewise.
95628 * sunrpc/rpcsvc/rstat.x: Likewise.
95629 * sunrpc/rpcsvc/rusers.x: Likewise.
95630 * sunrpc/rpcsvc/sm_inter.x: Likewise.
95631 * sunrpc/rpcsvc/spray.x: Likewise.
95632 * sunrpc/rpcsvc/yppasswd.x: Likewise.
95633 * sunrpc/rtime.c: Likewise.
95634 * sunrpc/svc.c: Likewise.
95635 * sunrpc/svc_auth.c: Likewise.
95636 * sunrpc/svc_authux.c: Likewise.
95637 * sunrpc/svc_raw.c: Likewise.
95638 * sunrpc/svc_run.c: Likewise.
95639 * sunrpc/svc_simple.c: Likewise.
95640 * sunrpc/svc_tcp.c: Likewise.
95641 * sunrpc/svc_udp.c: Likewise.
95642 * sunrpc/svc_unix.c: Likewise.
95643 * sunrpc/svcauth_des.c: Likewise.
95644 * sunrpc/xcrypt.c: Likewise.
95645 * sunrpc/xdr.c: Likewise.
95646 * sunrpc/xdr_array.c: Likewise.
95647 * sunrpc/xdr_float.c: Likewise.
95648 * sunrpc/xdr_mem.c: Likewise.
95649 * sunrpc/xdr_rec.c: Likewise.
95650 * sunrpc/xdr_ref.c: Likewise.
95651 * sunrpc/xdr_sizeof.c: Likewise.
95652 * sunrpc/xdr_stdio.c: Likewise.
95653
95654 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
95655 handling.
95656
95657 2010-08-19 Andreas Schwab <schwab@redhat.com>
95658
95659 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
95660
95661 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
95662
95663 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
95664 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
95665 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
95666 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
95667 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
95668 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
95669 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
95670 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
95671 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
95672 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
95673 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
95674 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
95675 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
95676 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
95677
95678 2010-07-26 Anton Blanchard <anton@samba.org>
95679
95680 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
95681 * malloc/arena.c (heap_trim): Likewise.
95682
95683 2010-08-16 Ulrich Drepper <drepper@redhat.com>
95684
95685 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
95686 here. Not...
95687 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
95688 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
95689
95690 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
95691
95692 * sysdeps/i386/elf/Makefile: New file.
95693
95694 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
95695
95696 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
95697 from fanotify_init.
95698 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
95699 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
95700
95701 2010-08-15 Ulrich Drepper <drepper@redhat.com>
95702
95703 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
95704 of strncasecmp_l.
95705 * sysdeps/multiarch/strcmp.S: Likewise.
95706
95707 2010-08-14 Ulrich Drepper <drepper@redhat.com>
95708
95709 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
95710 strncase_l-nonascii.
95711 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
95712 Add strncase_l-ssse3.
95713 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
95714 * sysdeps/x86_64/strcmp.S: Likewise.
95715 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
95716 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
95717 * sysdeps/x86_64/strncase.S: New file.
95718 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
95719 * sysdeps/x86_64/strncase_l.S: New file.
95720 * string/Makefile (strop-tests): Add strncasecmp.
95721 * string/test-strncasecmp.c: New file.
95722
95723 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
95724 warning.
95725
95726 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
95727 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
95728
95729 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
95730
95731 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
95732
95733 2010-08-12 Ulrich Drepper <drepper@redhat.com>
95734
95735 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
95736 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
95737 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
95738
95739 2010-05-01 Alan Modra <amodra@gmail.com>
95740
95741 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
95742 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
95743 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
95744 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
95745 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
95746 tidying. Don't tail-call __sigjmp_save for static lib.
95747 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
95748 save location.
95749 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
95750 (CALL_MCOUNT): Add eh info, and nop after bl.
95751 (TAIL_CALL_SYSCALL_ERROR): New macro.
95752 (PSEUDO_RET): Use it.
95753 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
95754 Correct save location of integer regs and cr.
95755 (_dl_profile_resolve): Correct cr save location. Delete nops
95756 after bl when SHARED. Reduce cfi size a little by better
95757 placement of cfi directives.
95758 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
95759 make a stack frame. Instead use parm save area as a temp.
95760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
95761 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
95762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
95763 Don't make a stack frame for parent, use parm save area.
95764 Increase child stack frame to 112 bytes. Don't save unused reg,
95765 and adjust reg usage. Set up cfi on error recovery and
95766 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
95767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
95768 (__makecontext): Add dummy nop after jump to exit.
95769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
95770 Use correct parm save area and cr save, reduce stack frame.
95771 Correct cfi for possible PSEUDO_RET frame setup.
95772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
95773 Branch to local label emitted by PSEUDO_RET rather than
95774 __syscall_error.
95775
95776 2010-08-12 Andreas Schwab <schwab@redhat.com>
95777
95778 [BZ #11904]
95779 * locale/programs/locale.c (print_assignment): New function.
95780 (show_locale_vars): Use it.
95781
95782 2010-08-11 Ulrich Drepper <drepper@redhat.com>
95783
95784 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
95785 field.
95786 (struct statfs64): Likewise.
95787 (_STATFS_F_FLAGS): Define.
95788 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
95789 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
95790 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
95791 (ST_VALID): Define locally.
95792 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
95793 __statvfs_getflags, use the provided value.
95794 * sysdeps/unix/sysv/linux/kernel-features.h: Define
95795 __ASSUME_STATFS_F_FLAGS.
95796
95797 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
95798
95799 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
95800 Add sys/fanotify.h.
95801 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
95802 fanotify_mask for GLIBC_2.13.
95803 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
95804 fanotify_init and fanotify_mark.
95805 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
95806 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
95807
95808 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
95809 Add prlimit.
95810 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
95811 prlimit64 for GLIBC_2.13.
95812 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
95813 prlimit64.
95814 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
95815 syscall.
95816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
95817 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
95818 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
95819 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
95820 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
95821 add prlimit alias.
95822 * sysdeps/unix/sysv/linux/prlimit.c: New file.
95823
95824 [BZ #11903]
95825 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
95826 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
95827
95828 * nss/Makefile: Add rules to build and run tst-nss-test1.
95829 * shlib-versions: Add entry for libnss_test1.
95830 * nss/nss_test1.c: New file.
95831 * nss/tst-nss-test1.c: New file.
95832
95833 * nss/nsswitch.c (__nss_database_custom): Define new variable.
95834 (__nss_configure_lookup): Set appropriate entry in
95835 __nss_configure_lookup to true.
95836 * nss/nsswitch.h: Define enum with indeces of databases in
95837 databases and __nss_database_custom arrays. Declare
95838 __nss_database_custom.
95839 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
95840 to avoid using nscd when custom rules are installed.
95841 * nss/getXXbyYY_r.c: Likewise.
95842 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
95843
95844 * nss/nss_files/files-parse.c: Whitespace fixes.
95845
95846 2010-08-09 Ulrich Drepper <drepper@redhat.com>
95847
95848 [BZ #11883]
95849 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
95850 * posix/fnmatch_loop.c: Likewise.
95851
95852 2010-07-17 Andi Kleen <ak@linux.intel.com>
95853
95854 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
95855 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
95856 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
95857 * Versions.def [GLIBC_2.13]: Add.
95858
95859 2010-08-06 Ulrich Drepper <drepper@redhat.com>
95860
95861 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
95862 Also fail if tpwd after pwuid call is NULL.
95863
95864 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
95865
95866 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
95867 when converting to ms.
95868
95869 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
95870
95871 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
95872 EOPNOTSUPP errors with ENOTTY.
95873 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
95874 EOPNOTSUPP errors with ENOTTY.
95875
95876 2010-07-31 Ulrich Drepper <drepper@redhat.com>
95877
95878 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
95879 Add strcasecmp_l-ssse3.
95880 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
95881 strcasecmp.
95882 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
95883 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
95884 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
95885
95886 2010-07-30 Ulrich Drepper <drepper@redhat.com>
95887
95888 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
95889
95890 * string/Makefile (strop-tests): Add strcasecmp.
95891 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
95892 strcasecmp_l-nonascii.
95893 (gen-as-const-headers): Add locale-defines.sym.
95894 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
95895 * sysdeps/x86_64/strcasecmp.S: New file.
95896 * sysdeps/x86_64/strcasecmp_l.S: New file.
95897 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
95898 * sysdeps/x86_64/locale-defines.sym: New file.
95899 * string/test-strcasecmp.c: New file.
95900
95901 * string/test-strcasestr.c: Test both ends of the range of characters.
95902 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
95903
95904 2010-07-29 Roland McGrath <roland@redhat.com>
95905
95906 [BZ #11856]
95907 * manual/locale.texi (Yes-or-No Questions): Fix example code.
95908
95909 2010-07-27 Ulrich Drepper <drepper@redhat.com>
95910
95911 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
95912 for ld.so.
95913
95914 2010-07-27 Andreas Schwab <schwab@redhat.com>
95915
95916 * manual/memory.texi (Malloc Tunable Parameters): Document
95917 M_PERTURB.
95918
95919 2010-07-26 Roland McGrath <roland@redhat.com>
95920
95921 [BZ #11840]
95922 * configure.in (-fgnu89-inline check): Set and substitute
95923 gnu89_inline, not libc_cv_gnu89_inline.
95924 * configure: Regenerated.
95925 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
95926
95927 2010-07-26 Ulrich Drepper <drepper@redhat.com>
95928
95929 * string/test-strnlen.c: New file.
95930 * string/Makefile (strop-tests): Add strnlen.
95931 * string/tester.c (test_strnlen): Add a few more test cases.
95932 * string/tst-strlen.c: Better error reporting.
95933
95934 * sysdeps/x86_64/strnlen.S: New file.
95935
95936 2010-07-24 Ulrich Drepper <drepper@redhat.com>
95937
95938 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
95939 lower-latency instructions.
95940
95941 2010-07-23 Ulrich Drepper <drepper@redhat.com>
95942
95943 * string/test-strcasestr.c: New file.
95944 * string/test-strstr.c: New file.
95945 * string/Makefile (strop-tests): Add strstr and strcasestr.
95946 * string/str-two-way.h: Don't undefine MAX.
95947 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
95948
95949 2010-07-21 Andreas Schwab <schwab@redhat.com>
95950
95951 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
95952 strcasestr-nonascii.
95953 (CFLAGS-strcasestr-nonascii.c): Define.
95954 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
95955 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
95956 Remove unused attribute.
95957
95958 2010-07-20 Roland McGrath <roland@redhat.com>
95959
95960 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
95961 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
95962 ld.so.cache was broken. With it, there is no way to disable dsocaps
95963 like LD_HWCAP_MASK can disable hwcaps.
95964
95965 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
95966
95967 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
95968
95969 2010-07-16 Ulrich Drepper <drepper@redhat.com>
95970
95971 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
95972 call in strcasestr.
95973 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
95974 __strcasestr_sse42_nonascii.
95975 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
95976 strcasestr-nonascii.c.
95977 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
95978
95979 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
95980
95981 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
95982 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
95983 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
95984 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
95985
95986 2010-07-09 Ulrich Drepper <drepper@redhat.com>
95987
95988 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
95989 fcntl.
95990
95991 2010-07-06 Andreas Schwab <schwab@redhat.com>
95992
95993 [BZ #11577]
95994 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
95995 dl_signal_cerror.
95996
95997 2010-07-06 Ulrich Drepper <drepper@redhat.com>
95998
95999 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
96000 _PC_PIPE_BUF using F_GETPIPE_SZ.
96001
96002 2010-07-05 Roland McGrath <roland@redhat.com>
96003
96004 * manual/arith.texi (Rounding Functions): Fix rint description
96005 implicit in round description.
96006
96007 2010-07-02 Ulrich Drepper <drepper@redhat.com>
96008
96009 * elf/Makefile: Fix linking for a few tests to make recent linker
96010 happy.
96011
96012 2010-06-30 Andreas Schwab <schwab@redhat.com>
96013
96014 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
96015 $(common-objpfx)libc_nonshared.a.
96016
96017 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
96018
96019 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
96020 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
96021 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96022 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96023 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
96024 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
96025 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96026 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
96028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
96029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
96030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
96032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
96034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
96035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
96036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
96037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
96039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
96041 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
96042 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
96043 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
96044 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
96045 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
96046 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
96047 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
96048 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
96049 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
96050 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
96051 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
96052 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
96053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
96054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
96055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
96056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
96057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
96058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
96059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
96060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
96061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
96062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
96063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
96064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
96065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
96066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
96067
96068 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
96069
96070 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
96071 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
96072 * string/memmove.c (memmove): Renamed to ...
96073 (MEMMOVE): ...this. Default to memmove.
96074 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
96075 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
96076 (END_CHK): Define.
96077 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
96078 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
96079 mempcpy-ssse3-back memmove-ssse3-back.
96080 * sysdeps/x86_64/multiarch/bcopy.S: New file .
96081 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
96082 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
96083 * sysdeps/x86_64/multiarch/memcpy.S: New file.
96084 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
96085 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
96086 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
96087 * sysdeps/x86_64/multiarch/memmove.c: New file.
96088 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
96089 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
96090 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
96091 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
96092 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
96093 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
96094 Define.
96095 (index_Fast_Copy_Backward): Define.
96096 (HAS_ARCH_FEATURE): Define.
96097 (HAS_FAST_REP_STRING): Define.
96098 (HAS_FAST_COPY_BACKWARD): Define.
96099
96100 2010-06-21 Andreas Schwab <schwab@redhat.com>
96101
96102 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
96103 Restore proper fallback handling.
96104
96105 2010-06-19 Ulrich Drepper <drepper@redhat.com>
96106
96107 [BZ #11701]
96108 * posix/group_member.c (__group_member): Correct checking loop.
96109
96110 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
96111 OOM in getpwuid_r correctly. Return error number when the caller
96112 should return, otherwise -1.
96113 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
96114 call returning > 0 value.
96115 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
96116
96117 2010-06-07 Andreas Schwab <schwab@redhat.com>
96118
96119 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
96120 libc_nonshared.a from targets in modules-names.
96121
96122 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
96123
96124 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
96125 requires it.
96126
96127 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
96128
96129 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
96130 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
96131 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
96132 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
96133
96134 2010-06-02 Andreas Schwab <schwab@redhat.com>
96135
96136 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
96137
96138 2010-06-14 Ulrich Drepper <drepper@redhat.com>
96139
96140 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
96141 and F_GETPIPE_SZ.
96142 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
96143 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
96144 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
96145 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
96146 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
96147 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
96148
96149 2010-06-14 Roland McGrath <roland@redhat.com>
96150
96151 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
96152
96153 2010-06-07 Jakub Jelinek <jakub@redhat.com>
96154
96155 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
96156 __REDIRECT followed by __THROW.
96157 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
96158 * posix/getopt.h (getopt): Likewise.
96159
96160 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
96161
96162 * hurd/lookup-at.c (__file_name_lookup_at): Accept
96163 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
96164 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
96165 in AT_FLAGS.
96166 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
96167 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
96168
96169 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
96170
96171 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
96172
96173 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
96174
96175 [BZ #11640]
96176 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
96177 Properly check family and model.
96178
96179 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
96180
96181 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
96182
96183 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
96184
96185 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
96186
96187 2010-05-21 Ulrich Drepper <drepper@redhat.com>
96188
96189 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
96190 symbol reference.
96191
96192 2010-05-19 Andreas Schwab <schwab@redhat.com>
96193
96194 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
96195 symbol reference.
96196
96197 2010-05-21 Andreas Schwab <schwab@redhat.com>
96198
96199 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
96200 and internal_recvmmsg.
96201 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
96202 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
96203 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
96204 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
96205
96206 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
96207 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
96208 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
96209
96210 2010-05-20 Andreas Schwab <schwab@redhat.com>
96211
96212 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
96213
96214 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
96215
96216 POWER7 optimizations.
96217 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
96218 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
96219
96220 2010-05-19 Ulrich Drepper <drepper@redhat.com>
96221
96222 * version.h: Update for 2.13 development version.
96223
96224 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
96225
96226 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
96227 exceptions. Return 0.
96228
96229 2010-05-07 Roland McGrath <roland@redhat.com>
96230
96231 * elf/ldconfig.c (main): Add a const.
96232
96233 2010-05-06 Ulrich Drepper <drepper@redhat.com>
96234
96235 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
96236 (args_options): Add no-idn option.
96237 (ahosts_keys_int): Add idn_flags to ai_flags.
96238 (parse_option): Handle 'i' option to clear idn_flags.
96239
96240 * malloc/malloc.c (_int_free): Possible race in the most recently
96241 added check. Only act on the data if no current modification
96242 happened.
96243
96244 See ChangeLog.17 for earlier changes.